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: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts · Issue #2063 · developing-today/code

id: design: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts #2063

New issue
Copy link
New issue
Copy link
Closed
Closed
id: design: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts#2063
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivepriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Source: the TigerBeetle investigation (on #2040): conversions are NOT native — cross-ledger transfers are forbidden, so a conversion is an application-composed pair of atomically linked same-ledger transfers through a liquidity provider's two accounts, at a rate the application computes; the link between legs must be stamped into user_data_128 ourselves. Design: rate authorisation objects (issuer-set, per pair — e.g. ABC to 123 at 0.8123), who may act as liquidity provider, failure/rollback semantics mid-pair, and rate expiry. Feeds #2043.

Program: Drew's 2026-10-28 directive (full text: hatch-personal memory/topics/id-program-2026-10-28.md). Parent epic: #2056.
Working pattern: parallel investigations, then the named synthesis issue merges them into a full design. Route guidance: Workhorse by default; Specialist/Summit for synthesis and ramification-heavy work. A result that says "done" is not the endpoint — the orchestrator reviews it and may commission another round. Deliverables: a markdown design/investigation doc (mermaid/SVG diagrams welcome) linked from this issue, plus follow-up issues for anything buildable. Build a proof of concept where the design calls for one, but do NOT build the permanent feature on top of an unreviewed PoC.

Acceptance criteria

  • A markdown design doc is linked from this issue designing the conversion engine as application-composed, atomically linked same-ledger transfer pairs through a liquidity provider's two accounts.
  • The doc covers: rate authorisation objects (issuer-set, per pair, with expiry), who may act as liquidity provider, failure/rollback semantics mid-pair, and how the leg link is stamped into user_data_128.
  • Anything buildable that falls out of the design is filed as follow-up issues linked here.

Activity

Next
  1. dezren39
    added
    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-984

  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Parent epic: #2056 — ID platform expansion (2026-10-28 directive). Filed as batch 2 from PREPARED-ACTIONS.md.

  4. dezren39
    added
    kind/enhancement
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Intake review

    Related: parent epic #2056; source investigation #2040 (conversions are not native to TigerBeetle); feeds #2043; depends on the control-plane design #2062 for account/liquidity-provider representation.

    Notes: design deliverable in the ID program batch; the linked-pair + user_data_128 stamping approach is already pinned by the source investigation, so the open work is authorisation and failure semantics.

    Risks: mid-pair failure semantics are the hard part — a half-completed conversion must never be silently inconsistent; the doc should name the recovery invariant.

    Suggested approach: Workhorse design pass after/alongside #2062; rate-expiry and rollback cases enumerated explicitly.

    — Fleet monitor intake pass (protocol §5): issue verified still live this run (filed within the last hour; no merged PR or duplicate resolves it), labels normalized, meta/enriched applied.

  6. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  7. dezren39
    added
    priority/highImportant and time-sensitive
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  8. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Top priority — ID program wave-1. Drew directed this be picked up in the next runs (2026-10-29): enqueued directly as triage task 3365 in repo-health-code-pilot at queue priority 20 (only breakage-class work at priority 10 outranks it). Wave-1 is the ungated investigations and designs; syntheses and PoCs stay gated on their named inputs. Investigation route: Workhorse.

  9. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Oct 29, 2026
  10. 25 remaining items

  11. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    agent-note:v1 — correction to the results note above (task 5239): the client-binding follow-on could not be enqueued as a separate queue task (the v1 fix dedupe key for #2289 returns task 5239 itself). It is tracked on #2289 and in the code backlog as a FOLLOW-ON entry instead. Everything else in the results note stands.

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

    Merge pull request #3844 from developing-today/design/id-2063

    2a33c6d
  13. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  14. developing-today
    added
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  15. developing-today commented on Nov 3, 2026

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

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7283 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  16. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · results linked

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 8190
    • Found via: queue claim (resume)
    • Task: results link for issue id: PoC: conversion executor — linked transfer pairs, write-ahead intent, recovery scanner #2289's acceptance item 3
    • Expectation: done
    • Links: PR feat(id/currency_poc): bind LedgerBackend to the official TigerBeetle Rust client (#2289) #5072 (merge d99399c), issue id: PoC: conversion executor — linked transfer pairs, write-ahead intent, recovery scanner #2289

    Results for issue #2289 (conversion-executor PoC, live TigerBeetle binding)

    PR #5072 merged (d99399c): the currency_poc LedgerBackend now runs over the official TigerBeetle Rust client against the live single-replica harness cluster (pinned 0.17.9). Live scenario suite 8/8 serial (posted conversion legs findable by user_data_128; idempotent re-execution posts once), in-memory suite 44/44 (atomic failure, crash-recovery reconciliation). Codex review of the final head completed with no findings after five dispositioned findings across earlier heads. Full results note is on issue #2289, which closes on its acceptance.

  17. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: done — closing with evidence
    task: 7283 (repo-health-code-pilot; worker repo-worker-code; OpenChamber scheduled lane 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc)

    Triage verdict: delivered; closing

    Fresh verification on 2026-11-03 (GitHub + current origin/main 9380bf6d7):

    • Acceptance 1 — design doc linked. doc/2026-11-01_design_id2063.md is on main, landed by PR design(id): #2063 conversion engine linked pairs #3844 (MERGED 2026-11-02T15:49:53Z), and was linked from this issue. The doc designs the conversion engine as application-composed, atomically linked same-ledger transfer pairs through an LP's two accounts.
    • Acceptance 2 — required coverage. The doc covers the mandatory RateAuthorisation (directional, rational/scale-aware arithmetic, caps, mandatory expiry, issuer-signed revocation), LP eligibility (issuer or registered/funded holder, account binding and constrained inventory; platform LP gets no bypass), failure/reversal semantics (write-ahead intent, pre-generated transfer IDs, recovery scan, no in-place rollback — correction is a new conversion), and user_data_128 = conversion_id leg linkage with receipt metadata kept graph-side.
    • Acceptance 3 — buildable follow-ups filed. id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290 (RateAuthorisation schema/signing/revocation) with its independently mergeable phases id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800, 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; id: PoC: conversion executor — linked transfer pairs, write-ahead intent, recovery scanner #2289 (executor + recovery PoC).

    Follow-on state now: #2289 CLOSED (PoC merged in PR #3873; live TigerBeetle binding merged in PR #5072). #3800 CLOSED (rate-authorisation + revoke types/fold, PR #3888). #3801 OPEN/blocked and #3802 OPEN/parked — both track their own work and do not belong to this design issue. #2290 remains OPEN with user/escalated for the platform-emergency-revocation question (recommended: issuer-only graph revocation + platform local suspension); that ruling does not block this design.

    Nothing in #2063 remains unbuilt or undecided at this issue's scope. Closing.

  18. dezren39
    closed this as completedon Nov 3, 2026
  19. dezren39
    added
    status/triagedTriaged and routed (see agent note)
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  20. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: picked_up
    task: 7283 (repo-health-code-pilot; worker repo-worker-code; OpenChamber scheduled lane 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc)
    state: claimed for current-state verification; design PR #3844 and follow-on state were checked before completing and closing issue #2063 in the same short pass.

  21. dezren39
    added a commit that references this issue on Nov 5, 2026

    Merge pull request #5777 from developing-today/queue/9603-5536-conver…

    a51288a
  22. dezren39
    added a commit that references this issue on Nov 27, 2026

    feat(id): conversion receipt carries offer version, every leg ref, an…

    2baee66
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)effort/mMedium: expected under 1 day of workkind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivepriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item

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.