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: graph token object formats + snapshot anchoring spec (from #2041) · Issue #2251 · developing-today/code

id: design: graph token object formats + snapshot anchoring spec (from #2041) #2251

New issue
Copy link
New issue
Copy link
Closed
Closed
id: design: graph token object formats + snapshot anchoring spec (from #2041)#2251
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)priority/highImportant and time-sensitive

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

From the #2041 investigation (token issuance in the ID graph)

Investigation #2041 (queue task 3352, result posted on that issue 2026-10-29) designed the graph-side token model on top of the #2040 TigerBeetle findings: currency identity = (issuer ID, definition hash); signed definition/issuance/transfer/burn/rate-offer/conversion-receipt/snapshot objects; two bindings (graph-native folds vs ledger-anchored via TigerBeetle user_data_128 cross-links); snapshot anchoring; the app-facing function surface (define_currency, issue, award, pay, accept_payment, convert, snapshot). This issue is the design spec that makes those shapes concrete. Spec only — no permanent feature is built on the unreviewed #2041 investigation (program rule, epic #2056).

Spec to produce (doc in pkgs/id/doc/ per repo convention, linked from this issue)

  1. Wire formats for the seven object types from id: investigate: token issuance in the ID graph — per-ID issuance, issuer snapshots, authorized conversion rates #2041, as extensions of the existing signed-event envelope (pkgs/id/src/chain.rs), including the currency-ID derivation and exact rational rate representation.
  2. Fold rules for graph-native balances/supply: ordering, overdraft and fork treatment (consistent with event_store applied/void semantics), and what a counting view (id: investigate: trust/visibility model — servers accept all signed objects; views count only allowed writers #2030) needs to refuse over-cap issuance.
  3. Snapshot format + anchoring join: fields, balance-root construction, cadence options, and the mechanical reconciliation between graph objects and TigerBeetle transfers via user_data_128 (per id: investigate: TigerBeetle — multi-currency ledgers, conversions, per-coin vs balance model, 3-node cluster topology #2040).
  4. App-function API surface: signatures and error semantics for define_currency / issue / award / pay / balance / supply / accept_payment / convert / snapshot, identical across both bindings, with the binding-specific verification steps spelled out.
  5. Conversion execution checklist: offer-version citation, frontier freshness check, rounding/spread leg treatment, receipt emission — matching id: investigate: TigerBeetle — multi-currency ledgers, conversions, per-coin vs balance model, 3-node cluster topology #2040 §2's linked-pair pattern.

Acceptance criteria

  • Spec doc landed in pkgs/id/doc/ and linked from this issue, covering all five points
  • Each id: investigate: token issuance in the ID graph — per-ID issuance, issuer snapshots, authorized conversion rates #2041 abuse case (1–7) traced to a spec mechanism or an explicitly accepted residual risk
  • Questions the spec cannot settle (snapshot signer/cadence for the developing-today deployment, issuer key rotation) are listed for the id: design: ID currencies v1 #2043 synthesis, not decided silently
  • Implementation work, if any, is filed as its own issue(s) — this issue delivers the spec only

Program: ID platform expansion, epic #2056. Parent investigation: #2041. Related: #2040 (TigerBeetle), #2042 (tokens for real services — still open), #2043 (currencies v1 design, gated on #2042), #2030, #2037.

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1116

  3. dezren39
    added
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    Agent note — picked up (queue task 3406, openchamber scheduled lane)

    Claimed 2026-10-30 ~11:51Z for revalidation. Fresh GitHub check: issue OPEN (priority/high), no PR references it, no live branch. This is a 120m spec-writing task (spec doc to land in pkgs/id/doc/), beyond this ~30m lane — parking untouched (no branch, no worktree, no edits).

  6. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    Agent note — parked untouched (needs a full-budget shift)

    • Queue task 3406 re-parked with zero state: no branch, no worktree, no edits. Next lane starts clean.
    • Resume brief: packet revalidated 2026-10-30 ~11:52Z — issue OPEN, PR search empty, no queue/3406 or 2251 branch on the laptop clone, no doc/ content under pkgs/id/ on origin/main. Deliverable is a landed spec doc (wire formats, fold rules, API signatures for the id: investigate: token issuance in the ID graph — per-ID issuance, issuer snapshots, authorized conversion rates #2041 token model) plus id: investigate: token issuance in the ID graph — per-ID issuance, issuer snapshots, authorized conversion rates #2041 abuse-case tracing and open questions routed to id: design: ID currencies v1 #2043 synthesis — a single design-writing shift, not a short-lane slice.
    • Labels: issue carried queue/queued + status/needs-triage, so this pass sets the parked end-state directly (queue/parked + status/parked + work/assigned, queued/needs-triage removed).
    • Lane note: laptop gh hosts.yml token was stale in this session; notes posted with transient GH_TOKEN from vault key github-cli.hosts-yml.
  7. dezren39
    added
    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
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    status/parkedDeliberately paused with a recorded resume condition
    on Oct 30, 2026
  8. 36 remaining items

  9. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 3954
    • Found via: queue claim (resume from park)
    • Task: land the id: design: graph token object formats + snapshot anchoring spec (from #2041) #2251 graph token spec — PR id: graph token object formats + snapshot anchoring spec (#2251) #2741
    • Expectation: parked 30m on an infra blocker: laptop SSH unreachable for the whole attempt (6+ drops, Connection closed by UNKNOWN port 65535; tailscale status cannot finish connecting). Spec edits must run on the laptop worktree per the fleet runbook, so the fix could not be applied this shift.
    • Resume brief (verified fresh this shift): Codex round-5 on head a8c05171 raised exactly 2 P2s, both genuine, amendments drafted and recorded in the task checkpoint: (1) taker-signed authorization — §1.6 gains a taker_intent field, §5 step 3 gains a taker-authorization requirement, §2 fold refuses anchored receipts with no valid taker intent; (2) atomic cap check-and-reserve — §5 step 6 makes the steps 2–3 cap check and the reservation one atomic offer-scoped operation (reservation write = linearization point). All round 1–4 threads are resolved; only CI check on the PR is CodeRabbit (NEUTRAL). After pushing the fix: reply + resolve both threads, park on Codex re-review, merge when clean.
    • Links: PR id: graph token object formats + snapshot anchoring spec (#2251) #2741 @ a8c05171
  10. dezren39
    added a commit that references this issue on Oct 31, 2026

    id: address Codex round-5 P2s on the graph token spec (#2251)

    e1feebd
  11. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 3954 (resume claim)
    • Found via: queue claim — resumed from the checkpoint draft, did not restart
    • Task: Round-5 Codex fixes applied: commit e1feebd97 on PR id: graph token object formats + snapshot anchoring spec (#2251) #2741 (verified as PR head via gh) implements the checkpoint draft verbatim — F1 taker-signed intent (§1.6 taker_intent row, §5 step 3 Taker authorization, §2 fold-input rule) and F2 atomic cap check-and-reserve (§5 step 6 + step 2 cross-ref). Both round-5 threads (PRRT…LOjz, PRRT…LOj1) replied to with the fix and resolved; @codex review requested for round 6.
    • Expectation: Parked awaiting the round-6 Codex review of head e1feebd97. If clean: merge PR id: graph token object formats + snapshot anchoring spec (#2251) #2741 (doc-only; CodeRabbit is the only check) and complete task 3954. If new findings: fix per the same reply/resolve/re-review loop.
    • Links: PR id: graph token object formats + snapshot anchoring spec (#2251) #2741 · task 3954
  12. chatgpt-codex-connector commented on Oct 31, 2026

    @chatgpt-codex-connector
    chatgpt-codex-connectorBot
    on Oct 31, 2026 – with ChatGPT Codex Connector
    More actions

    To use Codex here, create an environment for this repo.

  13. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 31, 2026
  14. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up (resume)

    • Agent: queue worker (repo-worker-code), lane C shift
    • Session / ID: queue task 3954
    • Found via: queue claim — resumed from checkpoint, did not restart
    • Task: land the id: design: graph token object formats + snapshot anchoring spec (from #2041) #2251 graph token spec — PR id: graph token object formats + snapshot anchoring spec (#2251) #2741
    • Expectation: Codex round-6 on head e1feebd97 completed clean ("Didn't find any major issues", codex-review-state has_unresolved_findings=false, zero unresolved review threads — verified fresh via gh). pkgs/id/doc placement verified: pkgs/id/doc is a tracked symlink to ../../doc, so the spec at doc/2026-10-30T13-25-00Z_design_graph_token_formats_snapshot_anchoring.md is reachable at the required path. Only check is CodeRabbit (skipping/neutral, docs-only PR). Proceeding to merge.
  15. dezren39
    added a commit that references this issue on Oct 31, 2026

    Merge pull request #2741 from developing-today/queue/3406-2251-graph-…

    83edec8
  16. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane C shift
    • Session / ID: queue task 3954
    • Task: land the id: design: graph token object formats + snapshot anchoring spec (from #2041) #2251 graph token spec — PR id: graph token object formats + snapshot anchoring spec (#2251) #2741
    • Result: PR id: graph token object formats + snapshot anchoring spec (#2251) #2741 MERGED (merge commit 83edec8a9ab0d0e2d58c7d602f6360f9489a0d57, head e1feebd97). Codex rounds 1-6 all dispositioned: rounds 1-5 findings fixed in spec commits and threads replied+resolved; round-6 review of the final head completed clean ("Didn't find any major issues", no unresolved findings/threads). Spec covers all five points, abuse-case trace, and id: design: ID currencies v1 #2043-routed open questions; placement at pkgs/id/doc/ holds via the tracked pkgs/id/doc -> ../../doc symlink. Docs only, no behaviour change. Closing this design issue — implementation, if pursued, is filed as its own issue(s) per the acceptance criteria.
  17. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 31, 2026
  18. dezren39
    closed this as completedon Oct 31, 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)priority/highImportant and time-sensitive

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.