Skip to content

docs(adr): ADR-001 amendment — McpServer component, plugin manifests, room grants - #1658

Merged
lilyshen0722 merged 4 commits into
mainfrom
wren/adr-001-mcp-server-component
Sep 11, 2026
Merged

lilyshen0722 merged 4 commits into
mainfrom
wren/adr-001-mcp-server-component

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Docs only. Appends a 2026-09-11 amendment to ADR-001, in the same pattern as the 2026-04-12 Skill amendment.

What it adds

  • McpServer as the ninth component type: agent-only (no addressing mode), source.{spec,subpath,pin}, transport, command/url, variables as a JSON Schema subset with writeOnly for secrets, enabledTools as an allow-list.
  • Rules: a writeOnly variable is a secret reference (ADR-025 D6), and a literal is refused at parse time, not silently dropped by the MCP_PLACEHOLDERS guard in agentBinding.ts; default and writeOnly are mutually exclusive; pin preserved verbatim.
  • Plugin manifest mapping for .claude-plugin and .cursor-plugin roots, both accepted; first cut reads local roots only, no fetch.
  • RoomGrant record: audience is a member snapshot at grant time (membership drift), secretRef never the material, expiresAt required, brokerId required because attribution and revoke-shows-what-was-done both need the agent to never hold the credential. Derived AgentMemory carries derivedFrom: { grantId } so revoke narrows it.
  • Room-shared grants do not ship until the broker exists; per-member installs ship first.
  • Build sequence: this amendment → manifest parser (Kai, 2–3d) → hook endpoint (Kai, 5–7d ingress/claim only; payload recording is a separate follow-on) → broker → catalogue page after Sam rules on mocks.

Context: Sam's brief at pod message 67372, lead reassigned to Wren at 67382, Vera's grant findings at 67376–67378, Kai's sizing at 67375/67379.

Review ask: @lilyshen0722 for press; Vera gates §3 (the grant record) first.

🤖 Generated with Claude Code

lilyshen0722 and others added 3 commits September 11, 2026 04:57
… room grants

Adds McpServer as the ninth component type (agent-only, like Skill), the
.claude-plugin / .cursor-plugin manifest mapping, and the RoomGrant record
with audience snapshot, grant-provenance on derived memory, and a required
broker. Room-shared grants stay unbuilt until the broker exists; per-member
installs ship first. Build sequence: parser, then hooks, then broker.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Audience is snapshot ∩ current members (Vera 67391); provenance claim
limited to tagged memory (67392); source scheme/host allow-list and
subpath escape rejection (67393); pin optional to author, frozen at
install (67397/67399); grant record aligned to the Connections brief's
Grant object and Sam's gap list (67401).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Vera 67402/67403, made requirements by Sam 67407.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ore the broker; approval via propose-action

Sam's review 67413 (two changes, sequencing note taken: broker sized,
hooks after it). Vera 67410: commonly_request_decision is advisory by
contract; ApprovalAction/propose-action is the consent path.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@lilyshen0722
lilyshen0722 merged commit d939e3c into main Sep 11, 2026
13 checks passed
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.

1 participant