Repository navigation
docs(adr): ADR-0046 §6.7 amendment — a book audience can name a capability - #37663
Conversation
…dience Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgV8bjXeBN9N25FTesc
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: First round. Read: card #36029 (its body and all six comments, the ruling record 7122770897 among them), this PR's body, file list and net diff against The Check-runs on the head, read at 2026-11-26T18:42Z: 49, all completed. 26 ① Derived judgments
② Semver levelNo changeset, and none is owed: the diff touches no released package. The ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Against the earlier text of ADR-0046: nothing is contradicted. The block opens by naming what the section "originally gave" and what is added, the form the framework#3963 amendment uses. The Status line's "§6.7 audience gating in the REST read gate" stays true. The first amendment's anonymous rule (only Nits, none of which moves this head:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head e5675cf · card #36029 · area s2-data · 2026-11-26T18:44ZL1 checklist
Tier: H. Landing: hand-off to the approver by the next stroke; ⛔ the seat does not merge. |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Tier H hand-off · 2026-11-26T18:46Z · head e5675cf · approver 维护者速读
|
Requested by Sales · project thread
Part of #36029 — the ADR half. The code half, #37591, merged as 81c68b3; the seat closes the card once this one has merged too.
Clause-②: no
Metadata-protocol: none
Skills-docs: none — a note to an ADR; the user-facing docs (
content/docs/ui/doc-pages.mdx) landed with #37591Skip-changeset: an ADR note releases nothing — no package changes, so there is no version to bump (
skip-changesetlabel)维护者速读
include: '*')。docs/adr/**,若座位判为 Tier H,需你批准后才能合并。What changes
One add-only amendment block in
docs/adr/0046-package-docs-as-metadata.md§6.7, placed right after the existingframework#3963amendment (+32 / −0; no existing line touched, the Status line included, so the generated ADR index is unchanged). It records:book.audiencegains a fourth form,{ systemPermission: 'TOKEN' }(strict): a signed-in caller whose ownsystemPermissionsholds the capability, through any permission set — the list an app'srequiredPermissionsis judged on. Anonymous, or an absent / non-list list, is denied (fail closed, ADR-0049). The set form and the capability form read two lists and never satisfy each other. On the MCP docs tools, a delegated OAuth grant is judged on the delegating person's own capabilities (ADR-0090 D10). The §6.7 union rule is unchanged.{ permissionSet }names one set, andsetup.accesscomes with several. Ruling of record 7122770897 (「A 按系统权限判定」); first consumerssetup_manual/studio_manual.include: '*'— an unstamped stored doc is in every package scope (contract review S1 on feat(spec): a book audience can name a capability, so Setup and Studio docs open only for callers who can open those apps #37591, 7196156631).Drafted at the ADR tier the surface mandates, then checked sentence by sentence against the merged code (
packages/spec/src/system/book.zod.ts,packages/rest/src/meta-item-read-gate.ts,packages/runtime/src/domains/mcp-package-docs.ts, the two manual files).Tests
No code. The 21 gate commands
dispatch-gates --commandsderives for this diff all ran at this head and exited 0 (--ranreconciliation: 21 of 21, 0 NOT-MEASURED), among themcheck:adr-index,check:adr-anchors,check:adr-symbol-anchors,check-adr-links.mjs,check:doc-authoringandcheck:pm-governed-merges.overlap-check: clean.Verification
Read
docs/adr/0046-package-docs-as-metadata.mdfrom the> **Amendment (objectstack#36029, 2026-11-26).**line; then the arm inpackages/spec/src/system/book.zod.ts(audienceAllows).Landing:
docs/adr/**is a governed surface. The seat judges Tier S (add-only ADR note) or Tier H oncheck-governed-merges.mjs; ADR-0046 names no decision or status heading, which the add-only reader may refuse.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgV8bjXeBN9N25FTesc
Generated by Claude Code