Skip to content

docs: agent surface split (ADR 0029) + sprint gates 16-17 - #410

Merged
elliotBraem merged 1 commit into
fix/skill-library-version-driftfrom
docs/agent-surface-split
Oct 15, 2026
Merged

elliotBraem merged 1 commit into
fix/skill-library-version-driftfrom
docs/agent-surface-split

Conversation

@elliotBraem

Copy link
Copy Markdown
Contributor

Docs-only follow-up to the PR #403 design discussion (three surfaces, two ledgers, permissions layering).

What lands

  • ADR 0029 (Status: Proposed) — agent surface split: Connect Surface (better-near-auth agentConnect, session + wallet/passkey) / Operating Surface (plugins/agents, session owner routes + grant-scoped delegated routes) / Model Tools (MCP subset, grant per client, never owner intents); the two-ledger rule (engine DB = source of truth, auth tables = binding + retry ledger + grant custody); permission layering (ADR 0028 permissions gate reachability; policy bounds capability; grants are selected, never carried; refusals name the blocking layer); default-deny exposure principle for contract-generated routes.
  • Ticket 16 (ready-for-human) — decision ticket for the open fork: the durable role of feat(agents): agent-connect plugin — owner-controlled agent accounts on the NEAR Intents Agent API #403's endpoint layer once Stream B's vendored engine lands (keep as owner UX / supersede with plugins/agents / split by credential). Gates tickets 08–09.
  • Ticket 17 (ready-for-agent) — MCP per-tool permission filtering in host/src/services/mcp.ts (today: any authenticated session/key sees the whole generated catalog, no per-tool filtering). Hard prerequisite before agents-plugin routes merge into the api shell router. Blocks ticket 13.
  • SPRINT.md — graph gains the two gate edges; "two gates, seventeen tickets".
  • docs/adr/README.md — index backfill (0027/0028 were missing) + 0029 row; next-free number corrected to 0030.
  • GLOSSARY.md — "Agent surfaces" section: Connect Surface, Operating Surface, Model Tools.

Verification

  • node scripts/docs-link-check.mjs passes (49 files)
  • Docs-only: no changeset, no code changes

ADR 0029 records the three-surface model (connect UX / operating surface /
model tools), the two-ledger rule, the permission layering, and the
default-deny exposure principle; the durable role of #403's endpoint layer
stays open for ticket 16 (ready-for-human). Ticket 17 makes MCP per-tool
permission filtering a prerequisite for ticket 13. Sprint graph, ADR index
(backfills 0027-0028), and GLOSSARY surface vocabulary updated.
@elliotBraem
elliotBraem merged commit ad8aff8 into fix/skill-library-version-drift Oct 15, 2026
1 check 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