Repository navigation
feat(runtime): bound GitHub issuer and JWKS verification - #50
Conversation
|
@codex review |
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 2 days and 17 hours by commenting |
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's GuideAPIExpose the opt-in issuer verifier, key source, fixed issuer constants, transport protocol and response type for trusted embeddings.
ImplementationImplement fixed-endpoint HTTPS acquisition in an isolated helper, with verified TLS, bounded framing and deadlines, safe process cleanup, and freshness, rotation, coalescing and verification checks.
DocumentationRecord the ratified issuer-only commission, implementation scope, validation evidence, remaining gates and usage boundary across the feature artifacts.
TestsExercise issuer verification and transport behavior with synthetic issuer data, real RSA signatures and isolated loopback TLS, including freshness, concurrency, failure and cleanup cases.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|



Add an opt-in GitHub issuer/JWKS source for the accepted workload verifier. Trusted embeddings previously supplied an offline snapshot; this source obtains bounded fresh public metadata and delegates signature/claim verification to the unchanged core. Existing offline entrypoints remain unchanged.
The source fixes issuer/discovery/JWKS locations, verifies TLS chain/hostname, excludes redirects and ambient proxy/CA/keylog/credential inputs, bounds connection/shared-fetch deadlines and response/key sizes, coalesces/throttles refresh, replaces rotated snapshots and refuses stale fallback. One issuer source is shared across its audience-specific verifiers. It validates up to 64 external entries and projects only the selected eligible RSA key into the unchanged core API. Fresh time and generation checks surround I/O and crypto. The short-lived helper receives only fixed endpoint selectors and CA references; its HTTP request paths are literals. It is killed/reaped on timeout or interruption. OS process creation/scheduling remains a trusted-host boundary, not a hard realtime guarantee.
Authority: Brett Heap ratified opensoft/openXfactory#1307 at
04fad0559with #49 at0a2dda9, commissioning this slice after all three preparation PRs landed, including codeXfactory/codeXfactory#582. Feature 017 T003 is complete. Only its issuer/audience/transport/clock constructor fragment is supplied; full T002 operational/source/protection binding and all remaining runtime/live/human tasks stay pending. There is no neutral schema, dependency/pin/workflow change, signing service, protected dispatch, consumer lock, release or human assurance.Validation: 569 full-suite tests passed, including 113 issuer tests and seven existing selected-owning-source integrations, with zero failures/errors/skips. Both pin verifiers, syntax, plain/strict validators and all five canonical verified OpenSpec items pass. Actual loopback TLS and injected real-RSA cases cover trust, claims, deadlines, cache/rotation/races, malformed/truncated responses, zero-padded/overflowing freshness and helper cleanup. No public issuer or provider credential is used.
The local expert panel found two P2 issues; both were reproduced, corrected, regression-tested and independently closed. Hosted Sonar follow-up made the fixed endpoint boundary literal and reduced complexity without waivers or exclusions. At published head
7c6c113, all runnable hosted checks pass. Hosted Sonar quality gate is OK with zero open issues and no waiver or exclusion. The general hosted suite passed 566 tests with three existing shallow-history skips; the dedicated full-history carve and neutrality/pruning suites passed 84 and 60 tests respectively. The neutrality comparator reports IDENTICAL; its informational mirrored-child test failure is also present in preparation PR #49 and is separate from the passing dedicated suite. Tested source/tests at5cef834are unchanged by the final receipt-only commit. Full JUnit SHA-256:c41d8ce636295e347ef12eb14fe19dc0030dff1a3d4ab521164352c0640a4f6d. Independent readback found no attributable helper/fixture process, and owned key/state temporary roots were removed.Rollback keeps the existing offline verifier selected; this PR activates no runtime. GitHub Codex review is requested separately; quota refusal is not approval. Feedback remains deferred; neither historical blocked write was replayed.