Repository navigation
feat(core): tag requirements and define extension points - #398
brendanjryan wants to merge 5 commits into
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
Spec Preview
|
There was a problem hiding this comment.
Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.
I checked some things beyond the inline findings and found no problems with them:
- The 93
req-core-NNNanchors are unique and numbered 001 to 093 with no gaps. - The -01 to -02 rename breaks no references. The only place that still cites
I-D.ryan-httpauth-payment-01isspecs/methods/solana/draft-solana-session-00.md. That entry is a complete reference pinned to the datatracker URL for /01/, so it still resolves.
Extended reasoning...
The change renames the core Payment auth-scheme draft from -01 to -02, adds 93 requirement anchors and adds a new normative "Extension Fields" section. Inline findings were reported, so this body only lists what else was checked and ruled out. I confirmed that the anchors are unique and in sequence by searching the changed file. I also searched the repo for references to the old file name.
👁️ Cyclops Security Review✅ Reviewed 605b322 (latest) · Coverage: full ·
|
| Unprefixed field names are reserved for fields defined by this | ||
| document, by the registered intent the challenge names in its | ||
| `intent` parameter, and by the registered payment method it names in | ||
| its `method` parameter. These registries ({{payment-method-registry}}, | ||
| {{payment-intent-registry}}) scope each such field to one | ||
| specification. Any other field, including one an SDK, vendor or other | ||
| extension specification defines, MUST use a reverse-domain name prefix | ||
| under a domain its definer controls (for example, | ||
| `xyz.tempo.example`). |
There was a problem hiding this comment.
Needs review · unverified: Namespace rule invalidates MCP challenge receipt binding
The new namespace reservation requires every extension-specification field to be reverse-domain-prefixed, but the repository's MCP extension requires the unprefixed challengeId receipt field and emits it in core-style payment receipts. No receipt can conform to both specifications as written.
Full finding
The new namespace reservation requires every extension-specification field to be reverse-domain-prefixed, but the repository's MCP extension requires the unprefixed challengeId receipt field and emits it in core-style payment receipts. No receipt can conform to both specifications as written. Validators that enforce the new core rule may reject or strip the only receipt field associated with the fulfilled challenge, preventing reliable receipt correlation and potentially misattributing receipts across concurrent paid operations. Define challengeId in core, permit registered extension specifications to claim explicitly registered unprefixed fields, or revise MCP to use a coordinated namespaced field.
Valid? React with 👍 / 👎.
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- 🔴
specs/core/draft-httpauth-payment-01.md:1000—Every current intent and method draft, and the core's own examples, now break a MUST by using unprefixed fields like am…
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
req-core-001–093, using the convention from feat: add the requirement-ID convention, lint and schemas #397 (block IAL after each normative paragraph or list item)requestJSON, the credentialpayloadand the receipt JSONxyz.tempo.example)scripts/bump_and_rename.shsubmit-draft.ymlmake lint,make test(80 passed),make check(rfclint passes);lint_requirements.py --strictfrom feat: add the requirement-ID convention, lint and schemas #397 passes on this draft (93/93)Written with AI assistance (Pyramid): https://pyramid.tehq.net/threads/f53d29f3-d974-407e-91cb-7cad656c3500