Skip to content

id: design: provider discovery & negotiation protocols (from #5686) #5899

Closed

Description

@dezren39

Summary

Follow-on design ticket from #5686 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.

What this design must settle

Visibility/minimisation rules, negotiation shape, and stale-provider handling for capability providers.

Context from the parent

The parent design fixes the single capability-provider model — declaration, discovery, negotiation, least-privilege grants — instantiated by ESP32/MQTT, terminal, Bevy, smartphone, and web providers. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.

Decision record expected

Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.

Relations

Parent: #5686. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass).

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Field survey filed: #5931 (capability-provider research widening, per Drew's 2026-11-04 ruling) covers the current option space relevant to this issue in §6.7 — discovery layers in the wild (OS registries, MCP registry, wasmCloud link definitions) and the replicon interest-management analogue in §4.3. It is an inventory, not a decision — the section ends with the open questions this design needs to answer.

  4. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 5, 2026
  5. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  6. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

    Triage findings (task 10301, verified 2026-11-05)

  7. 29 remaining items

  8. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · MID-SHIFT FALLBACK (claim-vanish) — outcome record for task 12878

  9. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-code-d: parked: CI pending on PR 7603 (all 4 basic checks pending after 5-min poll, PR MERGEABLE, docs-only); resume: PR 7603 checks complete, merge on green (Closes 5899); task 12878 broker claim vanished mid-shift, outcome recorded in agent note 6719697410

  10. added
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  11. added this to the ID platform program milestone on Nov 12, 2026
  12. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — decision record landed (task 17315, lane code-c, 2026-11-16)

    The recorded decision this issue asks for is now on main: PR #7603 merged (squash cfd7c2d) — doc/2026-11-08T09-10-14Z_design_id5899_provider_discovery_negotiation/ carries the chosen shape, rejected alternatives, and implementation invariants for provider discovery & negotiation, settled against the #5931 field survey and without re-deciding siblings #5898 (declaration artefacts), #5900 (grants), #5904 (offline/degraded), #5905 (security model). The record authorises no implementation by itself, per its own status line; implementation timing remains the separate decision the issue body describes.

    Closing per this issue's stated rule ("Close this design with a recorded decision … in a doc/ record linked from it"). The PR had sat unowned since 2026-11-08; it was shepherded in the 90-day open-PR pass (task 17315). No Codex review comments existed on the PR.

  13. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions