Repository navigation
docs(id): provider discovery & negotiation decision record (#5899) - #7603
Conversation
Settles the three questions #5686 left to #5899: tiered minimised discovery over signed declarations (outsiders learn nothing; members see minimised cards behind rotating handles; full manifests only for counterparts), pre-grant narrowing-only negotiation concluding in epoch-bound terms records that grants (#5900) cite, and a heartbeat/TTL stale lifecycle (live/suspect/stale/tombstoned) that never conflates staleness with revocation. Evidence: #5931 survey sections 6.1/6.3 and the static ProviderRegistry on main (world_caps.rs). Design only; no code.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Shepherd disposition (task 17315, lane code-c, 2026-11-16): merging. Docs-only PR — the provider discovery & negotiation decision record for #5899 (1 file, +371), written per doc/DOCUMENTATION_PROTOCOL.md against the #5931 field survey, explicitly not re-deciding siblings #5898/#5900/#5904/#5905. The record is absent from main and no later version superseded it; the issue's own closing rule asks for exactly this recorded decision. No Codex review comments exist on this PR (the connector posted none). Merging on shepherd verification; the evidence note lands on #5899, which closes per its stated rule. |
What
Adds
doc/2026-11-08T09-10-14Z_design_id5899_provider_discovery_negotiation/: the design decision record for issue #5899, settling the three questions parent #5686 left open — discovery visibility/minimisation, negotiation shape, and stale-provider handling. Design only; no code changes. Evidence base: the #5931 field survey and the current staticProviderManifest/ProviderRegistryinpkgs/id/crates/id-core/src/world_caps.rs(verified on origin/main2b3ca04ac8: static catalog only, no runtime discovery/negotiation/staleness).Decisions
live → suspect(no new negotiations)→ stale(undiscoverable, terms void, sessions drain)→ tombstoned(audit). Expired caches are unknown, never served stale. Staleness never revokes grants; a returning provider re-declares at epoch+1.Rejected alternatives are recorded with reasons (broadcast discovery, central registry, MCP
tools/listas the discovery layer, CapTP live-reference discovery, negotiation folded into grants, serve-stale caches, staleness-as-revocation), along with 8 implementation invariants and the explicit couplings to #5898/#5900/#5904/#5905 that this record does not re-decide.Tests
Design document only — no code tests. Verification is coverage of #5899's three questions and its acceptance criteria, checked on this PR.
Closes #5899
🤖 Queue worker lane code-d, task 12878.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.