Skip to content

feat(core): tag requirements and define extension points - #398

Closed
brendanjryan wants to merge 5 commits into
mainfrom
pyramid/244acdc1-76ef-4a8c-9b8b-a63a0deb636e
Closed

brendanjryan wants to merge 5 commits into
mainfrom
pyramid/244acdc1-76ef-4a8c-9b8b-a63a0deb636e

Conversation

@brendanjryan

Copy link
Copy Markdown
Collaborator
  • Tags all 93 requirements in the core draft with 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)
  • Adds "Extension Fields" (section 9.4) to the core draft:
    • Receivers MUST ignore unrecognized fields in the challenge request JSON, the credential payload and the receipt JSON
    • Fields not defined by a published intent, method or extension spec MUST use a reverse-domain prefix (e.g. xyz.tempo.example)
    • Extension fields MUST NOT change the meaning of defined fields or relax their requirements
  • Existing text already covered unknown auth-params ("Custom Parameters") and the general rule to ignore unknown fields ("Versioning"); this new section names the JSON extension points and adds the prefix and no-relaxing rules
  • Bumps the core draft -01 → -02 with scripts/bump_and_rename.sh
  • Do not merge until Brendan says so: merging submits the new core revision to the IETF datatracker via submit-draft.yml
  • Rendered TXT vs main: only the docname and the new section change (Size Considerations becomes 9.5); IDs show up only as XML/HTML anchors
  • Checks: make lint, make test (80 passed), make check (rfclint passes); lint_requirements.py --strict from 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T04:01:54.188448Z 9601e8d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Spec Preview

Spec Changed Artifacts
draft-card-charge-00 Yes HTML · TXT · XML · PDF
draft-evm-charge-00 Yes HTML · TXT · XML · PDF
draft-evm-session-00 Yes HTML · TXT · XML · PDF
draft-hedera-charge-00 Yes HTML · TXT · XML · PDF
draft-hedera-session-00 Yes HTML · TXT · XML · PDF
draft-httpauth-payment-02 New HTML · TXT · XML · PDF
draft-lightning-charge-00 Yes HTML · TXT · XML · PDF
draft-lightning-session-00 Yes HTML · TXT · XML · PDF
draft-nearintents-charge-01 Yes HTML · TXT · XML · PDF
draft-payment-discovery-01 Yes HTML · TXT · XML · PDF
draft-payment-intent-charge-00 Yes HTML · TXT · XML · PDF
draft-payment-intent-subscription-00 Yes HTML · TXT · XML · PDF
draft-payment-transport-mcp-00 Yes HTML · TXT · XML · PDF
draft-solana-charge-00 Yes HTML · TXT · XML · PDF
draft-solana-session-00 Yes HTML · TXT · XML · PDF
draft-solana-subscription-00 Yes HTML · TXT · XML · PDF
draft-stellar-charge-00 Yes HTML · TXT · XML · PDF
draft-stripe-charge-00 Yes HTML · TXT · XML · PDF
draft-stripe-subscription-00 Yes HTML · TXT · XML · PDF
draft-tempo-charge-00 Yes HTML · TXT · XML · PDF
draft-tempo-session-00 Yes HTML · TXT · XML · PDF
draft-tempo-subscription-00 Yes HTML · TXT · XML · PDF
draft-usdc-charge-00 Yes HTML · TXT · XML · PDF
draft-xrpl-charge-00 Yes HTML · TXT · XML · PDF
draft-xrpl-session-00 Yes HTML · TXT · XML · PDF

Browse preview release assets

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-NNN anchors 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-01 is specs/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.

Comment thread specs/core/draft-httpauth-payment-01.md Resolved
Comment thread specs/core/draft-httpauth-payment-02.md Resolved
Comment thread specs/core/draft-httpauth-payment-02.md Resolved
@tempoxyz-bot

tempoxyz-bot commented Nov 9, 2026 •

Copy link
Copy Markdown

👁️ Cyclops Security Review

✅ Reviewed 605b322 (latest) · Coverage: full · ⚠️ 1 not rechecked finding · report
ℹ️ Not verifiable from the source alone (needs running code or deployed state): No pinned deployed SDK or extension demonstrates an existing security-critical field relying on mandatory comprehension. To verify it: Provide a pinned extension specification and implementation suppo
⏸️ The review of 605b322 did not recheck 1 earlier finding, so whether it still applies is unknown

# Severity Finding Introduced Status
1 ⚪ Needs review Namespace rule invalidates MCP challenge receipt binding 5df04d6 ⏸️ Not rechecked since 5df04d6

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

Still open from earlier reviews (1):

  • Unresolved: 1 minor or pre-existing.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 optional suggestion (a nit or a note on pre-existing code) was found and not posted.

Comment thread specs/core/draft-httpauth-payment-01.md Resolved
Comment on lines +991 to +999
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`).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 👍 / 👎.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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):

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.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants