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(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) · Issue #3802 · developing-today/code

id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802

New issue
Copy link
New issue
Copy link
Done
#13788
Done
id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290)#3802
#13788
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)queue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Phase 3 of the RateAuthorisation set tracked by issue #2290. Design record: the task 5741 triage comment on issue #2290 (quote binding). Depends on the Phase 1 and Phase 2 issues in this set.

Build:

  • Quote issuance: a short-lived gateway-issued control-plane record {quote_id, authorisation_id, authorisation_version, authorisation_event_hash, x, computed_y, fee, issued_at, quote_expires_at} with a 60-second lifetime (issue id: design: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts #2063 §2). computed_y uses the scale-aware integer-rational rule, rounding down in the LP's favour.
  • Execution binding: a conversion submission must reference an unexpired quote, and the gateway re-runs the Phase 2 live-state checks at submission; a re-issued (new version) or revoked authorisation never silently satisfies an old quote — hash/version mismatch fails pre-flight.

Acceptance: tests show an expired quote refused, a quote against a since-revoked authorisation refused, a quote against a superseded version refused, and a valid quote executing with exactly the quoted y and fee.

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

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

    CODE-1540

  3. dezren39
    added
    queue/queuedHas a queued queue task
    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 1, 2026
  4. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane B
    • Session / ID: queue task 5791
    • Found via: queue claim
    • Task: Implement id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802 (Phase 3 of id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290): quote issuance + binding for RateAuthorisation in the pkgs/id control plane.
    • Expectation: effort m; done = quote record + execution binding per id: design: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts #2063 §2 with the four acceptance tests passing in CI.
    • Links: issue id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802 · depends on id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800 (Phase 1) and id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 (Phase 2)
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B
    • Session / ID: queue task 5791
    • Found via: queue claim
    • Task: id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802 (Phase 3 of id: design: RateAuthorisation as a signed ID-graph object — schema, signing, revocation #2290) — quote issuance + binding for RateAuthorisation.
    • Park reason: Prerequisites not landed. Phase 1 (id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800, RateAuthorisation + revoke schema types and fold) and Phase 2 (id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801, gateway verification flow + revocation-set check) are both OPEN and actively claimed by other lanes right now (fresh check 2026-11-01T17:15Z: both carry work/assigned + queue/claimed + status/in-progress), and the packet's own dedupe basis confirms no currency.* kinds exist at origin/main yet. Quote issuance binds to the Phase 1 authorisation object and re-runs the Phase 2 live-state checks at submission — building it now would mean inventing both predecessors in parallel with their owners.
    • Resume condition: id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800 and id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 both merged/closed; then re-claim and build Phase 3 against the landed types and verification flow.
    • Links: 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
  6. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 1, 2026
  7. 194 remaining items

    Load more actions
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: blocked (dependency)
    task: 18268 (repo-health-code-pilot, OpenChamber scheduled lane code-f)
    Fresh verification: #3802 remains OPEN (Phase 3 of #2290); Phase 2 prerequisite #3801 remains OPEN with queue/blocked + status/blocked. Phase 1 #3800 is CLOSED and PR #3888 is MERGED. The Phase 2 interfaces/implementation have not landed; earlier issue history records task 5791 as already dependency-blocked on #3801. No Phase 3 PR exists. No implementation or worktree created on this task.
    Disposition: block this task on #3801; resume/retriage only after Phase 2 unblocks and lands, then revalidate #3802 and ownership.

  9. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  10. dezren39 commented on Nov 19, 2026

    @dezren39
    dezren39
    on Nov 19, 2026
    MemberAuthor
    More actions

    OpenChamber scheduled lane checkpoint for queue task 5791: parked after fresh verification because Phase 2 issue #3801 remains OPEN. Its latest triage note (2026-11-17) says the gateway verification flow and revocation-set check remain unimplemented and need a scoped implementation packet; #3801 still has status/blocked and queue/blocked. #3802 remains OPEN. No worktree or code changes were made.

    Resume only after the Phase 2 gateway/registry/factory interfaces and implementation land; then revalidate #3802 against current main and ownership. Queue task 5791 is parked until the next recheck.

  11. dezren39
    removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    work/assignedQueue worker lifecycle state
    on Nov 19, 2026
  12. dezren39
    removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions
    **Triage update — task 18268 (openchamber-scheduled-lane), 2026-11-20**

    Fresh check: #3802 is OPEN; Phase 1 #3800 is CLOSED (PR #3888 merged). Phase 2 #3801 remains OPEN with queue/blocked and status/blocked; its latest triage says the control-plane registry/LP eligibility, account-factory bindings/status, and gateway submission interface required by its acceptance are still absent, with no implementation PR found. Existing Phase 3 implementation task #5791 remains parked on #3801.

    Verdict: Phase 3 quote issuance/binding is not ready to start. Task 18268 is dependency-blocked on #3801; revalidate #3801 and #3802 after Phase 2 lands.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix claiming this (queue task 5791).

    Done check against current main (0e21878): Phase 1 (#3800) and the Phase 2 verification flow (#3801, pkgs/id/src/currency/conversion.rs) are landed, but no quote record, quote issuance, or execution binding exists anywhere in the gateway code — this Phase 3 slice is the remainder, built exactly to this issue's text and the #2290 design record (task 5741 triage): the nine-field gateway-issued quote record with a 60-second lifetime, computed_y by the scale-aware integer-rational rule (floor, LP's favour) via the pure layer's convert_amount, fee via fee_amount, and execution binding that re-runs the Phase 2 live-state checks at submission and fails pre-flight on expiry, revocation, or a version/event-hash pin mismatch.

    Branch: felix/3802-quote-binding. Evidence will be a remote fleet-command run of the currency test module with the new tests verified by name.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Triage revalidation (lane oc-code-06, queue task 18268): gate MET — Phase 3 unblocked.

    • Phase 2 id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 is CLOSED COMPLETED: PR id(currency): gateway verification flow + revocation consult for conversion submissions (#3801) #13667 ("gateway verification flow + revocation consult", Closes #3801) merged 2026-11-23T20:14Z as 44f1342, verified present on origin/main.
    • Prior blocker ("Phase 2 prerequisite id(currency): gateway verification flow + revocation-set check for RateAuthorisation (Phase 2 of #2290) #3801 remains blocked") no longer holds. Phase 1 (id(currency): RateAuthorisation + revoke schema types and fold in pkgs/id (Phase 1 of #2290) #3800, PR feat(id): currency.rate_authorisation + revoke types and fold (#3800) #3888) was already on main.
    • Phase 3 implementation is already picked up: queue task 5791 (small_fix id(currency): quote issuance + binding for RateAuthorisation (Phase 3 of #2290) #3802) claimed by lane felix.

    Routing: no new implementation packet needed; Phase 3 work proceeds under task 5791. This triage closes with gate-met.

  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix, task 5791 — done. PR #13788 (unmerged, for Felix's review) says Closes #3802: this issue's text is exactly quote issuance + binding, and both build items are implemented with the acceptance covered verbatim.

    What landed (all in pkgs/id/src/currency/conversion.rs, on the Phase 2 verifier):

    • ConversionQuote — the nine-field gateway-issued record from the design record, 60-second lifetime; computed_y via the pure layer's scale-aware convert_amount, fee via fee_amount.
    • ConversionVerifier::issue_quote — verifies the submission as at execution, pins the folded version + event hash (the presented event's operation id, traced through a private verify_folded refactor of verify(), behaviour unchanged), stores the quote; commits no usage.
    • ConversionVerifier::verify_quoted — execution binding: UnknownQuote / QuoteExpired / QuoteMismatch pre-flight, the Phase 2 live-state checks re-run at submission (since-revoked refused by the re-run's Revoked), and the version/event-hash pin compared against the fresh fold (QuoteStale on a re-issued authorisation). Execution carries exactly the quoted computed_y and fee.

    Evidence: remote run 45265996762 — cargo test --manifest-path pkgs/id/Cargo.toml --lib currency::, 119 passed / 0 failed; the nine new tests verified by name in the log, every refusal asserting FAILED_PRE_SUBMIT, untouched usage, and zero ledger writes.

    Remainder after this slice: none for #3802 as written. Outside the issue (unchanged from #3801's boundary): settlement composition into the linked transfer chain and wiring into GatewayService::handle, including the ConversionControl seam's production binding. New dependencies: none.

  17. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13788 from developing-today/felix/3802-quote-binding

    a32e67e
  18. dezren39
    closed this as completedin #13788on Nov 23, 2026
  19. dezren39
    added a commit that references this issue on Nov 24, 2026

    docs(design): #2290 RateAuthorisation design to 9-point sufficient st…

    a9be5e1
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)queue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/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.