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: implement RateAuthorisation as a signed ID-graph object (design #2290) · Issue #5521 · developing-today/code

id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521

New issue
Copy link
New issue
Copy link
Closed
Closed
id: implement RateAuthorisation as a signed ID-graph object (design #2290)#5521
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)kind/enhancementstatus:done

Description

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

Implementation of an ID design that has not landed yet (zero implementation as of the 2026-11-04 inventory).

Design issue: #2290
Design doc: doc/2026-11-01_design_id2290.md (in developing-today/code)

Acceptance, in brief: RateAuthorisation exists as a signed, verifiable ID-graph object per the design.
Current state: only an unsigned type inside currency.rs; the signed ID-graph object is absent.

The design documents govern. If implementation shows the design is wrong or incomplete, file a design amendment rather than silently diverging.

Scope: pkgs/id and its tests. Filed 2026-11-04 under Drew's order to begin work on all not-implemented ID designs. Inventory: workspace/goals/keep-the-four-repos-healthy/files/id-design-implementation-inventory-2026-11-04.md (in the fleet workspace).

Activity

Next
  1. developing-today commented on Nov 4, 2026

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

    CODE-1348

  2. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 4, 2026
  3. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: handed_off

    Lane code-c claimed task 9588 (small_fix, attempt 2/3) and assigned it to the opencode execution lane per repo-queue lane assignment. Checkpointed handed_off — the opencode claimant launches the bound session to drive task 9588 to a terminal state; this lane does not work it directly.

    Fresh verification: issue #5521 OPEN, no labels at claim time and no hard-stop labels. Claim labels added: queue/claimed + status/in-progress + work/assigned. CAP NOTE: attempt 2/3.

  4. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: handed_off
    task: 9588 (repo-health-code-pilot; repo-worker-code; lane code-y)
    at: 2026-11-04T16:40Z
    found_via: atomic queue claim (lane code-y)
    verified: Issue #5521 OPEN, no hard-stop labels; claim labels already synced (queue/claimed, status/in-progress, work/assigned). Execution-lane assignment for task 9588 is opencode — the bound opencode claimant session owns the implementation; this lane does not work it directly. NOTE: attempts 3/3 (at cap) after prior unlaunched handoff — if this claim's lease expires unbound, task 9588 risks terminal failure and a cap raise may be needed; its completion also unblocks task 9603 (issue #5536).
    next: Claimant launches the bound opencode session for task 9588.

  5. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-y
    • Session / ID: task 9588
    • Found via: queue claim
    • Task: task 9588 (small_fix) on issue id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 — implement design: RateAuthorisation as a signed ID-graph object.
    • Expectation: handed off to the opencode execution lane — the laptop claimant launches a bound opencode session for task 9588, which drives it to a terminal state. This lane verified issue id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 OPEN with claim labels already in sync and no hard-stop labels. URGENT: task 9588 is at attempts 6/6 (at cap) — if the claimant does not launch before this lease expires, the task strands and needs a cap raise (fleet-monitor look).
    • Links: task 9588
  6. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  7. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: handed off
    task: 9588
    worker: repo-worker-code
    execution_lane: opencode
    session_id: ses_e5e56d69879ffeC5TsorNv6AZj
    issue: #5521
    at: 2026-11-05T00:43:45.638435+00:00
    summary: Claimed task bound to this OpenCode session and launched; the worker owns task execution.

  8. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: picked_up
    task: 9588 (repo-health-code-pilot; worker repo-worker-code; session ses_e5e56d69879ffeC5TsorNv6AZj)
    at: 2026-11-05T00:50Z
    summary: Bound OpenCode session launched. Fresh checks: #5521 OPEN with the claimed lifecycle labels, no open competing PR; design #2290 and prior implementation PR #3888 are merged. Resuming in branch queue/9588-5521-rate-authorisation, worktree /home/user/git/fleet/9588, to compare the current implementation with the final design schema before editing.

  9. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: picked_up
    task: 9588 (repo-health-code-pilot; worker repo-worker-code; lane aea12c82-c5af-4e5a-9b66-f8e360f87177)
    at: 2026-11-05T02:05:00Z
    summary: Claimed atomically by the OpenChamber scheduled lane after the prior bound session expired. Fresh validation: issue open, no hard-stop labels, lifecycle labels already synced, no open competing PR. Resuming existing branch queue/9588-5521-rate-authorisation in /home/user/git/fleet/9588; preserving the pre-existing uncommitted doc edit.

  10. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: blocked
    task: 9588 (repo-health-code-pilot; worker repo-worker-code; lane aea12c82-c5af-4e5a-9b66-f8e360f87177)
    at: 2026-11-05T02:14Z
    reason_class: packet_defect
    summary: Blocked because the packet's current-state evidence is false: origin/main already contains a partial signed RateAuthorisation event implementation, and PR #3888 merged the signed authorization/revoke types and fold on 2026-11-01. The code is not final-design-complete (legacy ledger-string/JSON schema, no canonical CBOR or linked lineage), so the packet needs a corrected delta and explicit scope for gateway/quote phases. Issue #2290 remains open. The pre-existing worktree doc edit was preserved; no code changed.
    next: Correct the packet against current main, then requeue/resume with the remaining design delta clearly bounded.

  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  12. 3 remaining items

  13. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 13, 2026
  14. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15191 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.

  15. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: repo queue worker (repo-worker-code), lane code-a
    • Session / ID: task 15191
    • Found via: queue claim (task 15191, triage, developing-today/code issue id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521)
    • Task: Triage issue id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 — id: implement RateAuthorisation as a signed ID-graph object (design id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290)

    Triage verdict — TRIAGED: premise stale; Phase 1 already landed, remaining work already split into Phase 2 / Phase 3

    Fresh verification this shift (gh + laptop primary at origin/main 5319133):

    1. Issue id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 is OPEN, no hard-stop labels. Its stated current state ("only an unsigned type inside currency.rs; the signed ID-graph object is absent") is stale: pkgs/id/src/currency.rs at main contains the signed RateAuthorisation + RateAuthorisationRevoke chained-event types, validate() (issuer == event author, rate/bounds/cap/caller/time checks), sign_authorisation enforcement (fix id(currency): sign_authorisation never calls validate — a signed authorisation naming another issuer or with rate_den = 0 is dead on arrival, and signing succeeds silently #6422, commit 809585b), and the version/revocation fold. The 2026-11-05 blocked note on task 9588 already recorded this packet defect; this triage confirms it at current main.
    2. The phase split governs the remaining work: Phase 1 (id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800, schema types + fold in pkgs/id) is CLOSED. The landed Phase 1 follows the task 5741 design record on issue id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290 (ledger-string fields, JSON body, highest-version fold) — where that record and doc/2026-11-01_design_id2290.md diverge (canonical CBOR, graph currency IDs, fail-closed fork handling), the landed record is the one the code and the Phase 2/3 issues cite; this triage does not re-decide them.
    3. Remaining work = Phase 2 (id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801, gateway verification flow + revocation-set check) and Phase 3 (id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802, quote issuance + binding). Issue id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802 already has a live queue task (task 5791, small_fix, blocked on Phase 2). Issue id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 had no live queue task in any status — so this triage enqueues its implementation packet (named in the task 15191 completion result; dedupe key repo-health:v1:fix:developing-today/code:issue:3801, priority 40 per the ID design track, Drew's priorities brief line 2).
    4. Design issue id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290 stays OPEN (in review); its one open question (Q1, platform emergency revocation) does not block Phase 2: the design's Decision 6 and the landed revoke type both record issuer-only graph revocation with local gateway suspension as the default.

    Labels decided: issue #5521 — kind/enhancement, app/id (queue/queued removed: no live task remains for the umbrella; the phases carry the work). Issue #3801 — task/small-fix, priority/high, effort/l, kind/enhancement, queue/queued (from the enqueued packet). First concrete step for the follow-on: build the Phase 2 verification flow per issue #3801's body, steps 1–4, with fail-closed tests and zero TigerBeetle writes on failure. Acceptance for issue #5521 itself: Phases 2 and 3 (#3801, #3802) land; the umbrella closes when both phase issues close.

  16. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (correction to the follow-on named above)

    • Agent: repo queue worker (repo-worker-code), lane code-a
    • Session / ID: task 15191

    Correction to my triage note on issue #5521 (comment 6876534882): the Phase 2 implementation packet I prepared for issue #3801 hit the queue dedupe — a triage task for issue #3801 already exists as task 16675 (queued, created 2026-11-14T11:19:25Z by the cleanup re-packet series). No second packet was enqueued. The follow-on path for Phase 2 is task 16675: its triage produces the coherent Phase 2 implementation packet for issue #3801, exactly as this triage did for the umbrella. Task 15191 completes as triaged with follow_up_task_ids [16675].

  17. dezren39
    added
    kind/enhancement
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    and removed
    queue/queuedHas a queued queue task
    on Nov 14, 2026
  18. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — task 16710 re-triage: umbrella already routed by task 15191 (lane any-b)

    • state: triaged
    • task: 16710
    • issue: id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521
    • Fresh check (2026-11-14): task 15191 (lane code-a, 11:30Z today) already triaged this umbrella: the phases carry the work — Phase 2 is id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 (its triage was task 16675, which this lane dep-blocked earlier today on the unlanded foundational slices id: poc: currency gateway boundary — UserDO snapshot cache, signed transfer + hold, idempotent retry across hibernation #2298/id(currency): gateway request envelope — canonical encoding, verify_strict, nonce window, idempotency IDs (from #2062) #2319), Phase 3 is id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802; id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 closes when both phase issues close. Its one open design question (Q1, platform emergency revocation) does not block Phase 2 per the design's Decision 6. This lane concurs; no second packet.
    • Route: task 16710 completes as triaged. id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 stays open as the umbrella record (its queue/queued was already removed by task 15191's pass).
  19. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — duplicate; umbrella already routed, phase structure unchanged (task 18311, queue repo-health-code-pilot, lane code-a)

    • Pickup: claimed task 18311 this shift; fresh revalidation of issue id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 below. No held, user/owned, do-not-merge, or do-not-auto-edit labels.
    • Verdict: DUPLICATE of task 15191's triage (2026-11-14, comment 6876534882, correction 6876543441; re-confirmed by task 16710 the same day) — this umbrella's work is fully split into its phases, and nothing about that structure has changed.
    • Structure (fresh-checked this shift, 2026-11-17): Phase 1 already landed before the 2026-11-14 triage (the issue's "only an unsigned type inside currency.rs" premise is stale). Phase 2 = id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 (gateway verification flow + revocation) — OPEN, dependency-blocked on the unlanded foundational slices id: poc: currency gateway boundary — UserDO snapshot cache, signed transfer + hold, idempotent retry across hibernation #2298 (currency gateway boundary PoC) and id(currency): gateway request envelope — canonical encoding, verify_strict, nonce window, idempotency IDs (from #2062) #2319 (gateway request envelope), both still OPEN today. Phase 3 = id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802 (quote issuance + binding) — OPEN, behind Phase 2. This umbrella closes when both phase issues close; its one open design question (Q1, platform emergency revocation) rides the phase work, as task 16710 recorded.
    • Routing: none — the phase issues carry their own queue state (Phase 2's triage lineage dep-blocks on id: poc: currency gateway boundary — UserDO snapshot cache, signed transfer + hold, idempotent retry across hibernation #2298/id(currency): gateway request envelope — canonical encoding, verify_strict, nonce window, idempotency IDs (from #2062) #2319 structurally, per §5b a dependency, not an escalation), and an umbrella triage manufactures no packets. Movement on id: implement RateAuthorisation as a signed ID-graph object (design #2290) #5521 happens by landing id: poc: currency gateway boundary — UserDO snapshot cache, signed transfer + hold, idempotent retry across hibernation #2298/id(currency): gateway request envelope — canonical encoding, verify_strict, nonce window, idempotency IDs (from #2062) #2319, which unblocks id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801.
  20. dezren39
    removed their assignment
    on Nov 20, 2026
  21. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done-check close-out (Lane HM, 2026-11-23)

    #5521 is closed as completed: its acceptance already landed and is verified green on current main.

    • The issue body (2026-11-04) states: "only an unsigned type inside currency.rs; the signed ID-graph object is absent." That was true at filing and is now stale.
    • PR feat(id): currency.rate_authorisation + revoke types and fold (#3800) #3888 (c7f7e1ffeb7, "feat(id): currency.rate_authorisation + revoke types and fold (id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800)") landed Phase 1 of design id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290; id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800 is closed/completed.
    • On current main, pkgs/id/src/currency.rs implements RateAuthorisation as an ordinary signed chained event (kind currency.rate_authorisation) per the design: sign_authorisation, validate (a body naming an issuer other than the event's verified author is invalid, not merely untrusted), RateAuthorisationRevoke + sign_revoke (kind currency.rate_authorisation_revoke; stops new conversions only), and fold_authorisation (highest version wins, lexicographically greatest canonical body breaks ties, a signed revoke folds the authorisation as revoked and no older version revives). Signed currency bodies also refuse duplicate JSON keys (Route the remaining duplicate-key gate sites through parse_json_without_duplicate_keys (Phase 4 follow-on of #6521) #8794).
    • Verification (laptop worktree off origin/main, nix develop in pkgs/id): cargo test --test probe_currency_validate — 5 passed / 0 failed; cargo test --lib currency — 134 passed / 0 failed, including 23 tests in the currency::tests module itself.
    • Scope: the module is library-only by design; gateway/control-plane wiring is Phases 2–3 (id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801/id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802), outside this issue's acceptance.

    Effect downstream: #5536 (conversion engine) named #5521 + #5522 as its blockers; it now waits on #5522 alone. Recorded on #5536 and on the #2056 epic.

  22. dezren39
    closed this as completedon Nov 23, 2026
  23. developing-today
    added
    status:done
    on Nov 23, 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)kind/enhancementstatus:done

    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.