Repository navigation
refactor(coordinator): give provider challenges a connection owner - #1028
Gajesh2007 wants to merge 7 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review Parent refresh at |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…/coordinator-provider-challenges # Conflicts: # docs/architecture/security/attestation.md # docs/developer/build.md # docs/developer/test.md # docs/reference/protocol-messages.md
|
@codex review Refreshed the parent branch and resolved documentation/source-map conflicts. Existing subsystem implementations and regression tests are preserved. Exact parent composition and independent review pass; all coordinator test packages compile and documentation checks pass. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1056 for review and merge after #1094, #1095 and #1096. #1056 contains this branch's exact head ( |
Provider challenge transport, nonce tracking and verification were embedded in
api/provider.go. This gives each provider connection achallenge.Sessionand moves the ordered checks intochallenge.Verifier, with separate files for transport, signatures, posture, integrity and failure handling. The API retains registration, heartbeat processing and connection teardown, and supplies current registry, policy, trust and scheduler dependencies.Stacked on #1023 (
refactor/coordinator-codeidentity-owner).Before
After
The nonce is removed on delivery, timeout or cancellation. Expected nonce/timestamp values come from the issuing session, not the reply. The verifier still clears application evidence before checking signatures, refreshes model hashes before success can drain queued requests, and performs trust-reuse/scheduler settlement afterward. Missing legacy status signatures remain advisory; invalid signatures retain their existing failure handling. The five-minute interval, thirty-second response timeout, five-second control write and reconnect threshold remain unchanged.
All existing fixtures remain at the API boundary. A test-only adapter lets the direct verifier fixtures call the real owner without duplicating nonce state. The new two-connection WebSocket/P-256 fixture proves that one connection cannot consume another's challenge and that replay does not add a success. It passes against the original implementation; sharing the tracker across connections makes it fail at the intended assertion.
Validation:
Documentation follows the new owners and corrects old descriptions of existing failure behavior: runtime policy can exclude routing without changing hardware trust, and RDMA enablement alone does not fail a challenge. No production policy, wire schema, cryptography, model runtime or dependency pins change. No Apple service, provider executable, model or live database was used.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.