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: invite capability_pin term — pin the capability baseline as issued (#5751 delta from #5959 design) · Issue #12922 · developing-today/code

id: invite capability_pin term — pin the capability baseline as issued (#5751 delta from #5959 design) #12922

New issue
Copy link
New issue
Copy link
Done
Done
id: invite capability_pin term — pin the capability baseline as issued (#5751 delta from #5959 design)#12922
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:in-review

Description

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

Refs #5959.

Scope

Add the optional capability_pin term to the invite model of #5751 (doc/2026-11-14T18-50-00Z_design_id_invite_delegation/), as decided in §7 of the #5959 design record (doc/2026-11-23T05-02-30Z_design_id_capability_change_notices/, PR #12920).

  • Invite terms gain capability_pin: { release_identity, table_version } — the world's release identity as issued plus the class-table version. It deliberately does not carry the message set: the pinned release's registry record (id: design: capability model — requested vs discovered-used sets, registry listing, custom-compiled platforms #5958 §4) is immutable and content-addressed, so the redeeming client recomputes the pinned message set from the identity. The pin is two hashes and a version, sized to fit the invite body's 512-byte hard budget.
  • Minting: the inviter's client computes and attaches the pin at issuance (optional; recommended for per-recipient links to sensitive worlds, normally absent on public bearer links).
  • Redemption: if the current message set is covered by the pinned set, the pin seeds the joiner's baseline (narrowed to current); if not covered, the id: design: capability-change notices on reconnect — expansion and sideways changes #5959 change notice fires before the first connect completes; if the pinned release record cannot be fetched, the pin is ignored and the join is an ordinary first connect.
  • The pin never widens anything: it grants nothing by itself and does not interact with the invite's own expiry / use-cap / redeemer-pin terms.

Test oracles

Pin covered ⇒ baseline seeded, no blocking prompt; pin uncovered ⇒ notice before first connect; pin unfetchable ⇒ ordinary first connect; pin present with a since-shrunk world ⇒ baseline seeds at the narrower current set.

Design of record: #5959 §7. Invite model: #5751. Parent program: #5955.

Activity

  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4735

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · claimed — Lane HH (archer, Muse sandbox seat), 2026-11-23.

    Claiming the implementation slice for #12922: the optional capability_pin invite term per #5959 §7 — minting-side attach + redemption decision logic with the issue's four test oracles. Premise re-verified fresh this pass: #12922 OPEN, no live claim (only a Kaneo cross-link), design of record #5959 closed via PR #12920. Working in a laptop worktree off main; PR + verification record to follow here.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · premise-checked, dependency verdict — Lane HH (archer), 2026-11-23. Claim released: the pin term has no landable slice today, because the object it attaches to does not exist in code yet. No code was manufactured.

    Premise verdict: #12922 OPEN, no competing claim, design of record (#5959 §7) settled. But all three things the pin touches are absent from current main (verified by grep over pkgs/id this pass):

    1. The Design: generic invite delegation — iroh tickets and links for worlds and groups #5751 terms object. InviteBody (pkgs/id/crates/id-directory/src/invites/event.rs) is still the fixed-layout v1 format — inviter / ticket_digest / group / role / expires_ms only. The §2–§4 terms (target, uses_cap, depth_remaining, parent_digest, redeemer) that the pin joins as "one optional field in the invite terms" were never implemented, and had no tracking issue. Filed: id: implement #5751 invite terms extension — InviteBody target/uses/depth/redeemer/parent, postcard versioning, 512-byte budget #12983 — the Design: generic invite delegation — iroh tickets and links for worlds and groups #5751 §5 step-1 terms extension (postcard versioned body, 512-byte budget). The pin lands as one more optional field in that change, not as a unilateral edit to the fixed-layout wire format here.
    2. The baseline the pin seeds is id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921's client baseline store (open, unimplemented); the pin's "covered ⇒ seed baseline narrowed to current" outcome has nowhere to write until it lands.
    3. The pinned message-set recompute needs the id: design: capability model — requested vs discovered-used sets, registry listing, custom-compiled platforms #5958 §4 release record (release identity → message set); the release-record resolution path is part of id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921's connect-stage scope. The pin's table_version likewise refers to the class table tracked by id: add class field to ProviderManifest + shipped/reserved class table (#5999 §2.4/§10 follow-up) #12982 (open).

    What is NOT blocked: the redemption decision itself (covered ⇒ seed, no prompt / uncovered ⇒ notice before first connect / unfetchable ⇒ ordinary first connect / shrunk ⇒ seed at the narrower set) is a pure function of (pinned set, current set, fetch outcome) — it can be written and oracle-tested the moment #12983 gives it a terms type to live on, ahead of #12921's store, against a lookup trait. That is the first slice when #12983 lands.

    Next concrete slice, in order: #12983 (terms extension) → this issue's pin field + redemption decision with the four oracles in the body → #12921 wires the seeded baseline and the notice surface. #12922 stays open on #12983.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · claimed — Lane LA (archer, Muse sandbox seat), 2026-11-23.

    Claiming the first landable slice of #12922 per Lane HH's dependency verdict recorded here earlier: #12983 has now landed (PR #13046 merged, #12983 closed as completed), so the v2 invite terms type exists. This slice: the optional capability_pin field on the invite terms (minting-side attach) plus the redemption decision as a pure function against a release-record lookup trait, covered by the issue's four test oracles (covered ⇒ seed narrowed, no prompt / uncovered ⇒ notice before first connect / unfetchable ⇒ ordinary first connect / shrunk world ⇒ seed at the narrower current set). #12921's baseline store and notice surface stay with #12921. Working in a laptop worktree off main; PR + verification record to follow here.

  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice landed — Lane LA (archer), 2026-11-23.

    PR #13150 merged (d220c7ba3cc5, head-SHA guarded at 5fb8855a7d0). This is the first slice Lane HH's dependency verdict named: #12983 landed (PR #13046), so the pin had a terms type to live on.

    What landed:

    • CapabilityPin { release_identity, table_version } as an optional term on InviteTerms and InviteBody — v2 postcard form; v1 bodies read as unpinned. The pin carries an identity + version, never the message set (recomputed from the immutable, content-addressed record, id: design: capability model — requested vs discovered-used sets, registry listing, custom-compiled platforms #5958 §4).
    • Minting: InviteTerms::with_capability_pin attaches at issuance; sign_terms signs it into the body; child_terms takes it explicitly.
    • Redemption: InviteBody::pin_redemption(lookup, current) — the §7 decision as a pure function of (pinned set, current set, fetch outcome) over the ReleaseMessageSetLookup seam: no pin → NoPin; unfetchable → PinUnusable (ordinary first connect); covered → SeedBaseline (pinned narrowed to current); outgrown → NoticeBeforeConnect (the uncovered part).

    Verification: cargo test -p id-directory 287 passed / 0 failed (281 base + 6 new — issuance attach, all four oracles from this issue's body, unpinned → NoPin; the every-term round-trip now carries a pin and stays inside the 512-byte budget), re-run green after rebase onto main. cargo fmt --check clean. cargo clippy -p id-directory --all-targets: no warning sites in the changed files (one doc-paragraph site found and fixed). Facade: cargo check -p id --test invites compiles clean against the new API; the full facade test execution was not run — its build compiles the whole workspace graph and did not finish under the current multi-lane broker load; the compile check plus the grep-verified absence of literal InviteBody/InviteTerms constructions or child_terms callers outside this module stand in for it.

    #12922 stays open on the remainder HH named: #12921 wires the seeded baseline into its client baseline store and fires the notice on its surface, and supplies the real ReleaseMessageSetLookup (the #5958 §4 record fetch) at its connect stage. Coverage in this slice is set inclusion over the returned sets; the subsumption-aware comparison (#5999 §6) is #12921's layer.

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane code-g, queue task 21476, fresh check 2026-11-23T20:55Z. Premise verified on main: capability_pin term, minting attach, and the pure pin_redemption decision (covered → seed narrowed; uncovered → notice before connect; unfetchable → ordinary first connect) all landed in PR #13150 (d220c7ba3cc5). What remains is only the join-time wiring: applying pin_redemption inside the connect stage and notice surface, which is #12921 remainders 1–2 (connect-pipeline stage and notice surface). #12921 is OPEN; its first slice (baseline store and comparison core) landed as PR #13079 (f2a50a9cae6b). Verdict: DEFERRED, dependency-blocked on #12921. No duplicate PR. Recorded the dependency on the Fleet task, rechecking hourly.

  8. dezren39
    added a commit that references this issue on Nov 24, 2026

    docs(id): design record for #12922 invite capability_pin term

    7a2e9b0
  9. developing-today
    added
    status:in-review
    on Nov 24, 2026
  10. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · design record landed as PR #14120

    • Agent: xaltha (queue task 21661, AUDIT-7 Lane 6 DESIGN-GAPS packet for id: invite capability_pin term — pin the capability baseline as issued (#5751 delta from #5959 design) #12922)
    • Done check: id: invite capability_pin term — pin the capability baseline as issued (#5751 delta from #5959 design) #12922 had no design document of its own — only id: design: capability-change notices on reconnect — expansion and sideways changes #5959 §7 and the issue body. The new record doc/2026-11-24T05-52-00Z_design_id12922_capability_pin/ extracts id: design: capability-change notices on reconnect — expansion and sideways changes #5959 §7 into a standalone design meeting all 9 points of the sufficient-design standard: problem, goals/non-goals, alternatives (incl. do-nothing, mandatory pins, pin-carries-message-set — all rejected with reasons), chosen approach (interfaces, data model, security/capability analysis), dependency-ordered build slices each with acceptance criteria, rollout + rollback, verification plan, open questions Q1–Q4 each naming a decider, and issue-level acceptance.
    • PR: docs(id): design record for #12922 invite capability_pin term #14120 (xaltha/12922-capability-pin-design, head 7a2e9b0ed, docs only, Refs #12922)
    • State recorded: slice 1 already landed (PR feat(id): invite capability_pin term + redemption decision (#5959 §7) #13150, CapabilityPin + pure pin_redemption, 287 id-directory tests); slices 2–3 dependency-ordered against id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921 (store PR feat(id-caps): capability-change comparison core + accepted baseline store (#12921) #13079, notice data side PR id: capability-change notice surface + grant-page listing (#12921) #14049, remainder [12921-followup] Grant-page rendering + live connect wiring (remainder after PR #14049) #14050); slice 4 gated on Q1 (minting default, decider: Drew); slice 5 is a separately-gated live-workspace verification leg.
    • Evidence: read-back on the pushed branch confirms all 9 sections present; cited symbols verified at pkgs/id/crates/id-directory/src/invites/event.rs:124 (CapabilityPin), :141 (lookup trait), :152 (PinRedemption), :578 (pin_redemption). fleet queue dispatch is blocked from this seat by TLS defect fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185 (UnknownIssuer), so the same check ran via the fleet-command.yml fallback: https://github.com/developing-today/fleet/actions/runs/45336546963 — still in progress at this note (Linux job running since 05:54:28Z); result to be recorded here when it lands.
  11. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Verification for PR #14120 (capability_pin design record) is green: fleet-command run https://github.com/developing-today/fleet/actions/runs/45336546963 completed successfully (Linux job, 17m25s). The dispatched check confirmed the design doc exists with all 9 numbered sections and the cited symbols resolve on branch xaltha/12922-capability-pin-design (pub struct CapabilityPin at pkgs/id/crates/id-directory/src/invites/event.rs:124, pub fn pin_redemption). Note: run via the fleet-command.yml fallback — direct fleet queue dispatch is still blocked from this seat by TLS defect #13185.

  12. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #14120 from developing-today/xaltha/12922-capabili…

    7ddcf93
  13. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Lane 4 check against origin/main: this issue's scope has landed (commit 5fb8855, "invite capability_pin term + redemption decision").

    • CapabilityPin { release_identity, table_version } is an optional invite term, in the v2 signed body (pkgs/id/crates/id-directory/src/invites/event.rs), set at issuance with InviteTerms::with_capability_pin.
    • InviteBody::pin_redemption gives the redemption decision: no pin, pin unusable, seed the baseline narrowed to the current set, or notice before connect.
    • All four test oracles are unit tests in that file: covered pin seeds the baseline, uncovered pin gives a notice before first connect, unfetchable pin gives an ordinary first connect, a since-shrunk world seeds the narrower current set.

    Consuming the decision in the client baseline store and the notice surface is #12921's scope, so I'm closing this as completed.


    Generated by Claude Code

  14. dezren39
    closed this as completedon Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:in-review

    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.