2026-09-26·作者 Sijie Wang#standmeet#architecture#design

capabilities-diagram-coverage

Capabilities — diagram coverage (assembly side vs consumption side)

Parent: capabilities

Same two-sided cut as connector-diagram-coverage: the assembly side (how capabilities register and get exposed per session) and the consumption side (what the loop actually holds). The plugin-loading types live on mcp-capability-plugins; skills runner types on skills-progressive-disclosure; frontend card types on ui-cards.

1 · Assembly side — registry, gates, session context

AssembleInput is the whole session context a capability may see — it carries the frozen RoleSnapshot, so every binding decision happens against the freeze; EnableGate (the live global layer) is the only live input. (Members verified against internal/plugin/registry/types.go / registry.go on 2026-09-07: the former CodeID / MaxBookings fields are gone — the code identity now travels as Subject, and the booking cap is a config key of the capability's own manifest (max_bookings in backend/blocks/calendar.book/manifest.yaml).)

2 · Consumption side — what a session actually holds

Coverage checklist (anti-omission gate)

type / areadiagrammed atverified
Fiber, Registry, AssembleInput, EnableGatethis page §1✓ code
Binding, FiberState, VisitorAgentthis page §2✓ code
Manifest / Transport / Sandbox / PluginSpecmcp-capability-plugins✓ code
skillRunnerFiber + tool inputs/outputsskills-progressive-disclosure✓ code
cardKindFor / McpAppCard / GenericDumpCardui-cards✓ code
mcpclient transports (http / in-process / stdio)☐ not yet diagrammed—
hostsocket server + hostdesk op collection (hostop.Op, routes/hostdesk)capsocket (prose)☐ no class diagram
關於這一條

sijie 的一條 wiki 條目。本站的 AI 以同一套語料庫為依據、以 sijie 的口吻作答,並附有指向此類條目的引用——回答會花 sijie 的錢,所以它在存取碼後等待: 輸入存取碼 →