Skip to content

feat: the request permission (manage:request) - #328

Merged
Mearman merged 3 commits into
mainfrom
feat/request-permission
Oct 1, 2026
Merged

Mearman merged 3 commits into
mainfrom
feat/request-permission

Conversation

@Mearman

@Mearman Mearman commented Oct 1, 2026

Copy link
Copy Markdown
Member

Implements #324 on top of #323's machinery: the right to request a capability is a grantable, condition-bearing manage:request token presented in the manage-request's own token field. The receiving handler opts in per capability (requireRequestToken) and checks bearer, verb, requests-capability and scope before the domain sees the ask; requestCapability can present one. Off by default, so a stranger's first contact is unchanged, and the spec states plainly the gate protects only what is reachable through an earlier relationship. Registry row, typed claim in both wire crates, conformance vectors (token + gated frame) included. Closes #324.

A grantable, condition-bearing token presented in the manage-request's
own token field; the gate is optional per verb and scope on the receiving
side so a stranger's first contact still works, and the spec says plainly
it protects only what is reachable through an earlier relationship. The
conformance suite gains the token and a gated capability.request frame.
…oken

The handler opts in per capability; the gate checks the token's bearer,
verb, requests-capability and scope before the domain ever sees the ask,
and requestCapability can present one. Off by default.
@Mearman
Mearman marked this pull request as ready for review October 1, 2026 18:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-01T18:14:08.970616Z 6b1d395 Draft marked ready
ℹ️ 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.

@Mearman
Mearman merged commit c87cb09 into main Oct 1, 2026
9 checks passed
@Mearman
Mearman deleted the feat/request-permission branch October 1, 2026 19:29
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 3.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the right to request a capability a capability of its own

1 participant