GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: design: provider security model (from #5686) · Issue #5905 · developing-today/code

id: design: provider security model (from #5686) #5905

New issue
Copy link
New issue
Copy link
Closed
Closed
id: design: provider security model (from #5686)#5905
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)status/needs-triageNot yet triaged; needs a first lookstatus:donetask/small_fixQueue packet kind: implement a small scoped change

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

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

Impersonation, rogue providers, capability confusion, and the ceiling-composition audit for the provider model.

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

Next
  1. dezren39
    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
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1588

  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    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 — security-model inputs: MCP's OAuth-centric authorization vs ID's owner-controlled grants, CapTP facet attenuation, SPIFFE identity plumbing, per-layer fit/fight analysis. It is an inventory, not a decision — the section ends with the open questions this design needs to answer.

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

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-u
    • Session / ID: task 10307
    • Found via: queue claim
    • Task: Work issue id: design: provider security model (from #5686) #5905 per task 10307 — handed off to the opencode execution lane; the laptop claimant launches the bound opencode session for task 10307. Verified fresh: issue id: design: provider security model (from #5686) #5905 is OPEN with no hard-stop labels (no held, user/owned, do-not-merge, do-not-auto-edit).
    • Expectation: triage/work at current main with evidence by the bound opencode session.
    • Links: task 10307 (repo-health-code-pilot), assigned_lane=opencode
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-o
    • Session / ID: task 10307
    • Found via: queue claim
    • Task: Triage issue id: design: provider security model (from #5686) #5905 (id: design: provider security model, from issue design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686) — assigned to the opencode execution lane again on re-claim (attempt 2; previously handed off at 2026-11-05T12:51Z, claimant had not launched before the park/lease cycled); handed off to the laptop claimant, not worked by this lane. Issue verified OPEN this shift, no hard-stop labels.
    • Expectation: claimant launches the bound opencode session for task 10307.
    • Links: issue design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686 (parent), issue epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 (epic)
  7. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  8. 69 remaining items

  9. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Triage verdict: real-and-current

    Issue #5905 remains an open, unmet security-design deliverable. Its parent #5686 is open; the completed field survey #5931 explicitly inventories options without making a decision. I found no linked PR/branch or cross-provider security decision record for #5905. Existing design records are inputs, not substitutes: the embedded-provider decision for #5903 leaves the general security model to #5905 and asks it to verify instance-bound grants as a capability-confusion defense; #5904 covers offline semantics only and records no implementation.

    Current-code re-verification:

    • ProviderManifest in pkgs/id/crates/id-core/src/world_caps.rs:200-217 carries name, version, kind, schema, bounds, scope, and default-ceiling metadata, but no provider identity or signature fields.
    • CapLedger at lines 1243-1248 tracks granted/allowed capabilities by name; the existing check at lines 1317-1345 correctly applies the ceiling before grant-on-use. The security design should build on that guard, not replace it.

    Remaining scope: decide provider identity/authenticity and admission/trust (including impersonation, rogue providers, and bridge compromise); bind authority to provider, capability, and relevant version/action/instance context to prevent capability confusion; and audit ceiling composition across provider classes. Record the chosen shape, rejected alternatives and reasons, and implementation invariants. Treat #5931 and the #5903/#5904 decisions as inputs; do not redo their research or broaden into sibling issues. This is a decision-record task, not provider implementation. Follow pkgs/id/AGENTS.md documentation protocol for the record.

    No code changed; no tests run (triage only). Triage does not close #5905.

  10. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    task/small_fixQueue packet kind: implement a small scoped change
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    on Nov 9, 2026
  11. developing-today
    added
    status:in-review
    on Nov 9, 2026
  12. dezren39
    added a commit that references this issue on Nov 9, 2026

    docs(id): provider security model decision record (#5905) (#7946)

    0a5ec84
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 9, 2026
  14. developing-today
    closed this as completedon Nov 9, 2026
  15. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — decision recorded

    • Agent: queue worker (repo-worker-code, lane code-u)
    • Session / ID: task 14150
    • Found via: queue claim (direct execution lane, row 5421)
    • Task: Provider security model decision record landed: doc/2026-11-09_decision_id5905_provider_security_model.md, merged via PR docs(id): provider security model decision record (#5905) #7946 (squash 0a5ec84); the record and every doc path it cites were verified present on origin/main after the merge.
    • Decisions in brief: provider identity is its keypair, bound as (identity, instance, manifest version) per id: design: capability grants for providers (from #5686) #5900 D1; manifests signed and verified at admission and on change, admission is an explicit admin act and every class enters at default_ceiling: excluded; impersonation closed by key-bound addressing (name collisions refuse, never rebind); rogue-provider blast radius is the ceiling ∩ grant intersection with a ceiling → registry → revocation removal ladder and honest treatment of observation dishonesty as the residual risk; bridges/brokers are transport, never principals (compromise = drop/delay/replay, replay never re-executes); capability identity is the (provider, capability, manifest version) tuple; ceiling composition must be enumerable from registry + ledger + journal with named audit flags. No parent decision changed — design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686, id: design: capability grants for providers (from #5686) #5900 (whose §6 left this threat model here), id: design: embedded providers: engine & smartphone instantiation (from #5686) #5903, id: design: offline & degraded operation for providers (from #5686) #5904 taken as given, ceiling-before-grant preserved verbatim; open questions (key-recovery UX, ESP32 attestation, cross-world reputation) recorded in the record.
    • Expectation: closing id: design: provider security model (from #5686) #5905 on this evidence — the issue's own close condition is a recorded decision in a doc/ record linked from it. Implementation is filed as id: implement the #5905 provider security model — admission verification and ceiling-composition audit #7944 (admission verification + ceiling-composition audit enumeration) so the design has a tracked next action.
    • Links: PR docs(id): provider security model decision record (#5905) #7946 · record doc/2026-11-09_decision_id5905_provider_security_model.md · follow-on id: implement the #5905 provider security model — admission verification and ceiling-composition audit #7944
  16. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)status/needs-triageNot yet triaged; needs a first lookstatus:donetask/small_fixQueue packet kind: implement a small scoped change

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.