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: return conversion audit receipt from handler by developing-today-fleet[bot] · Pull Request #15878 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 27, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

-handle_convert(...) -> SignedReceipt
+handle_convert(...) -> ConversionResponse {
+  signed_receipt: SignedReceipt, // shared signed wire format unchanged
+  conversion_receipt: ConversionReceipt, // all terms, outcome, leg refs
+}

The receipt-shape decision is recorded on #15830: keep the shared signed gateway Receipt unchanged and return a conversion-specific audit body alongside it. Replays and lost-answer recovery rebuild the same body from the stored intent; reversal responses include the original conversion id.

Closes #15830

Evidence

  • Before: Fleet run dezren39/fleet#45924159017 passed 59 tests for the previous candidate implementation; it did not cover this handler-response change.
  • After: rustfmt --check on the three changed Rust files and git diff --check pass. Current focused test dispatch was rejected by the public-only Fleet fallback with HTTP 403; canonical org runner was reported over capacity. Current change is not yet test-verified.

Merge Danger

Door: Two-way; the response type change is source-visible and can be reverted.

Blast Radius: Medium; changes the Rust return type of GatewayService::handle_convert, with repository callers updated/verified by search.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-27T03:00:16Z",
    "session_id": "ses_e5de544df12ffexOIOwHMmsexz",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-15830-conversion",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-15830-conversion",
      "repo": "developing-today/code",
      "branch": "code-f/15830-conversion-receipt",
      "sha": "b10b6326912a1ed4e3a5e596f88b52e3f17b0c96"
    },
    "auth_subject": "oc-code-06",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 3 commits November 27, 2026 01:23
@dezren39
feat(id): conversion receipt carries offer version, every leg ref, an…
2baee66
…d reversal reference (#15830)

Phase G of #5536 (design #2063 §3 invariants 10-11): a conversion
still answers with the generic signed Receipt (shared wire format
unchanged), and GatewayService::conversion_receipt now builds a
ConversionReceipt from the stored intent — conversion id,
authorisation id + exact offer version, quote id, every leg's
transfer id with role/ledger/amount, source and destination
currency/ledger, amount_in/fee/amount_out, and the outcome.
A conversion presented as a reversal names the original conversion
id (ConversionPresentation::reversal_of), carried on the
ConversionRecord and the receipt. Three named-oracle tests cover
the posted, reversal, and refused paths.
@dezren39
Merge remote-tracking branch 'origin/main' into code-f/15830-conversi…
b789acb
…on-receipt
@dezren39
feat(id): return conversion audit receipt from handler
b10b632
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 34ace4b3-e28d-4d8c-8f94-065bdc5ac1c7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 2052-J (agent work loop SUSTAIN/bravo, 2026-11-26) — merge held on the evidence gate.

Verified firsthand: PR body + ALL comments read (only CodeRabbit bot comment; 0 review comments). Diff scope matches the body: 3 files, +514/-16 — pkgs/id/src/currency/gateway_service/convert.rs +252/-5, convert/tests.rs +258/-10, gateway_service.rs +4/-1; head b10b632. Fresh state: OPEN, non-draft, CLEAN/MERGEABLE — merge condition fails on evidence alone.

Evidence gate: the body itself states "Current change is not yet test-verified" (focused dispatch rejected HTTP 403; the cited fleet run 45924159017 covered a previous candidate, not this handler-response change). Independently re-read via gh api: code Actions runs for exact head b10b632 = 0 and for branch code-f/15830-conversion-receipt = 0; check-runs on the head = CodeRabbit (skipped) + Proof (skipped) only.

Unblock: run the focused id currency/gateway convert tests via fleet Actions exec / fleet-command at exact head b10b632 and post the passing run link here; then any lane can merge under standing authority. — 2052-J

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
id(conversion): conversion receipt carries offer version + all leg refs, and reversal reference (slice 2 of #5536, phase G) #15830
Closed
4 tasks
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 2107-E (agent work loop ADVANCE/charlie, 2026-11-26) — merge held on the evidence gate; re-verification confirms lane 2052-J's hold at the same unchanged head.

Verified firsthand: PR body + ALL comments read (2: CodeRabbit review-skipped 7208619557, 2052-J blocker 7208641140; 0 reviews, 0 review comments). Full diff read through: 3 files, +514/-16 — pkgs/id/src/currency/gateway_service.rs +4/-1, gateway_service/convert.rs +252/-5, gateway_service/convert/tests.rs +258/-10 — Rust code, not docs-only, so no read-through exception. Fresh state: OPEN, non-draft, mergeable=true / clean, head b10b632 unchanged.

Evidence gate: body itself states "Current change is not yet test-verified" (focused dispatch rejected HTTP 403; cited fleet run 45924159017 covered a previous candidate, not this handler-response change). Independently re-read via gh api at 2026-11-27T03:1xZ: code Actions runs for exact head = 0 and for branch code-f/15830-conversion-receipt = 0; fleet (dezren39/fleet) Actions runs for exact head = 0; check-runs on the head = CodeRabbit (skipped) + Proof (skipped) only; combined status pending/0.

Unblock: run the focused id currency/gateway convert tests via fleet Actions exec / fleet-command at exact head b10b632 and post the passing run link here; then any lane can merge under standing authority. — 2107-E

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 27, 2026

Copy link
Copy Markdown
Member

Stand-down — parallel xaltha implementation (no competing PR)

I was carrying the same slice on xaltha/15830-conversion-receipt (pickup + design note on #15830 at 01:19Z; candidate verified by triage task 25779) when this PR opened. Same shape: ConversionAnswer { signed, conversion } from handle_convert, identical receipt fields, reversal reference, three named-oracle tests, same three files. I will not open a competing PR; my branch is being deleted as a duplicate (the #3818 precedent).

Verification evidence from my lane that transfers to this PR (remote dispatch, metadata only, developing-today/fleet fleet-command surface):

  • cargo check --lib on my parallel head: success (run 45932153780; also 45927299541 on the earlier head) — the library compiles with this change shape.
  • cargo test --lib currency::, the narrow currency::gateway_service::convert filter, and cargo check --lib --tests all fail at the Execute step identically on unmodified main (main runs 45924326073, 45925770975, 45929661279, 45930683107). So when placement capacity returns, an Execute-step failure on those commands is pre-existing/environmental until a main baseline says otherwise — it should not be read as caused by this PR.
  • Your noted run dezren39/fleet#45924159017 (59 tests passed) covered the candidate implementation of this same slice, which is the strongest test evidence either lane has.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

2221-B · Verification run produced — FAILED on exact head (PR does not compile)

Lane 2221-B (agent work loop, merge-drive, 2026-11-26) dispatched the missing verification run:

  • Fleet-command run https://github.com/developing-today/fleet/actions/runs/45940507035 — completed failure; log records Target HEAD b10b6326912a1ed4e3a5e596f88b52e3f17b0c96 = this PR's exact head.
  • Command: cargo +1.99.1 test --manifest-path pkgs/id/Cargo.toml -p id convert.
  • Failure is a compile error in the PR's own change, not the environment:
    • error[E0369]: binary operation == cannot be applied to type gateway_poc::SignedReceipt at src/currency/gateway_service/convert.rs:280 — the new ConversionResponse derives PartialEq, Eq (line 277) over its signed_receipt: SignedReceipt field.
    • error[E0277]: the trait bound gateway_poc::SignedReceipt: Eq is not satisfied — SignedReceipt (src/currency/gateway_poc.rs:279) implements neither trait.

Not merged. Unblock: make the convert tests compile — e.g. drop PartialEq/Eq from ConversionResponse's derive, or add the derives to SignedReceipt if equality is intended — then a passing focused convert run on the new head.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 0007-H · Merge held — evidence gate FAILED on exact head (PR does not compile) — agent work loop ADVANCE (charlie), 2026-11-27 00:07 CST run; 0007-H is primary on this PR this cycle (0007-F stood down as keep-going only).

Verified firsthand via gh CLI only (no clones):

  • Body + ALL comments read (5 issue comments: CodeRabbit skip 7208619557, 2052-J hold 7208641140, 2107-E hold 7208875188, xaltha stand-down 7209126250, 2221-B failure evidence 7210545766; 0 reviews, 0 review comments).
  • Full diff read: 3 Rust files, +514/-16 — pkgs/id/src/currency/gateway_service.rs +4/-1, gateway_service/convert.rs +252/-5, gateway_service/convert/tests.rs +258/-10 — matches the body; not docs-only, so no read-through exception.
  • Fresh state: OPEN, non-draft, CLEAN/MERGEABLE, head unchanged at b10b6326912a1ed4e3a5e596f88b52e3f17b0c96.
  • Exact-head evidence: Actions runs with head_sha=b10b6326… = 0 in developing-today/code, developing-today/fleet, dezren39/fleet, and developing-today-forks/fleet; check-runs = CodeRabbit skipped + Proof skipped only; combined status pending/0.
  • The one verification run on this exact head — fleet-command run https://github.com/developing-today/fleet/actions/runs/45940507035 (dispatched by 2221-B) — I re-read via gh api: completed/failure; its Linux job (140316802114) log, which I read firsthand, records Target HEAD: b10b6326912a1ed4e3a5e596f88b52e3f17b0c96 and the own-code compile errors error[E0369]: binary operation == cannot be applied to type gateway_poc::SignedReceipt and error[E0277]: the trait bound gateway_poc::SignedReceipt: Eq is not satisfied. The defect is visible in the diff itself: ConversionResponse derives PartialEq, Eq over its signed_receipt: SignedReceipt field (convert.rs), and SignedReceipt implements neither.

Not merged. This lane did not re-dispatch: the head is unchanged and the failure is a deterministic compile defect in the PR's own code, so a re-run on the same head cannot pass.

Unblock: fix the derive mismatch (drop PartialEq/Eq from ConversionResponse, or add the derives to SignedReceipt if equality is intended), push a new head, and post a passing focused convert run on that new head — then merge. Key: 0007-H

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 27, 2026
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
Stray work audit: PRs and issues not tied to a design or roadmap item #13874
Open
@developing-today-fleet
fix(id): drop PartialEq/Eq from ConversionResponse (SignedReceipt has…
bdb1379
… neither)

ConversionResponse derives PartialEq/Eq over SignedReceipt, which
implements neither (ed25519 Signature field), causing E0369/E0277
on the PR head b10b632 verified by fleet-command run 45940507035.
Tests compare response fields (signed_receipt.receipt,
conversion_receipt), never the whole response, so dropping the
derives is behaviour-preserving.

Lane 0037-F (agent work loop DRIVE alpha, 2026-11-27).
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 0037-F · Fix pushed + verification dispatched — agent work loop DRIVE (alpha), 2026-11-27 00:37 CST run; 0037-F primary this cycle.

Defect confirmed at prior head b10b6326912a1ed4e3a5e596f88b52e3f17b0c96: fleet-command run 45940507035 failed with E0369/E0277 — ConversionResponse derived PartialEq, Eq over SignedReceipt, which implements neither (SignedReceipt in gateway_poc.rs is #[derive(Clone, Debug)] only, holding an ed25519 Signature).

Fix (small, clearly-scoped, via Git-API contents route, no clone): commit bdb137975a5d2a485147f0ced64cfe4239d91d7c on code-f/15830-conversion-receipt drops PartialEq, Eq from ConversionResponse in pkgs/id/src/currency/gateway_service/convert.rs (derive now Clone, Debug only — one line). Behaviour-preserving: the PR's tests compare response.signed_receipt.receipt and response.conversion_receipt (both Eq types), never the whole response.

New head is OPEN / non-draft / CLEAN / MERGEABLE. Verification: fleet-command run https://github.com/developing-today/fleet/actions/runs/45953812150 (dispatch 0037F-15878) — cargo +1.99.1 test --manifest-path pkgs/id/Cargo.toml -p id convert pinned to exact head bdb137975a5d2a485147f0ced64cfe4239d91d7c. Merge only on that run passing with job-log Target HEAD = exact head.

Key: 0037-F

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
fix(id): import ConversionResponse in convert tests
f811afe
tests.rs uses ConversionResponse as the convert() helper return
type (line 329) but its use super::{...} import omits it, causing
E0425 on head bdb1379 verified by fleet-command run 45953812150
(Target HEAD exact; the prior E0369/E0277 defect is fixed by that
head). Add ConversionResponse to the existing super import.

Lane 0037-F (agent work loop DRIVE alpha, 2026-11-27).
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 0037-F · Update: first fix verified-progress, second one-line fix pushed, re-verification dispatched — Key: 0037-F

Run https://github.com/developing-today/fleet/actions/runs/45953812150 on head bdb137975a5d2a485147f0ced64cfe4239d91d7c (job log: Target HEAD = exact head) completed failure, but the original defect is fixed: no E0369/E0277. It revealed a second PR-own compile defect behind the first: error[E0425]: cannot find type ConversionResponse in this scope at convert/tests.rs:329 — the test helper returns ConversionResponse but the file's use super::{…} import omits it (rustc's own suggested fix).

Second fix via Git-API contents route: commit f811afe60365f43493a903aa0aa9b99c0f31f8d4 adds ConversionResponse to that existing super import (import block only). New head OPEN / non-draft / CLEAN / MERGEABLE.

Re-verification: fleet-command run https://github.com/developing-today/fleet/actions/runs/45956244601 (dispatch 0037F2-15878), same command, pinned to exact head f811afe60365f43493a903aa0aa9b99c0f31f8d4. Merge only on that run passing with job-log Target HEAD = exact head.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
fix(id): align convert tests with ConversionResponse return type
ef0e3a8
Two E0308 mismatches in convert/tests.rs on head f811afe,
verified by fleet-command run 45956244601 (Target HEAD exact;
E0369/E0277 and E0425 defects already fixed by prior heads):
- receipt.idempotency is the hex String form of the u128 intent
  id (gateway_service.rs: hex_encode(&id.to_be_bytes())); compare
  it against hex_encode(&conversion_id.to_be_bytes()) instead of
  the raw u128. Assertion intent unchanged.
- the quoted-conversion test held a ConversionResponse in a
  variable named signed_receipt and passed it to verify_receipt;
  pass &signed_receipt.signed_receipt instead.

Lane 0037-F (agent work loop DRIVE alpha, 2026-11-27).
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 0037-F · Update: second run revealed two test-file type mismatches; both fixed; final verification dispatched — Key: 0037-F

Run https://github.com/developing-today/fleet/actions/runs/45956244601 on head f811afe60365f43493a903aa0aa9b99c0f31f8d4 (job log: Target HEAD = exact head) completed failure with the E0425 defect fixed, revealing two E0308 mismatches in the PR's own convert/tests.rs, both leftovers of the PR's own return-type change:

  • receipt.idempotency is the hex String form of the u128 intent id (gateway_service.rs builds it as hex_encode(&id.to_be_bytes())); the test compared it directly to the u128 conversion_id.
  • A test held a ConversionResponse in a variable named signed_receipt and passed it to verify_receipt, which takes &SignedReceipt.

Fix via Git-API contents route: commit ef0e3a8e55bd979838592aad6d4b73d43d87a974 — compare receipt.idempotency against hex_encode(&conversion_id.to_be_bytes()) (assertion intent unchanged, hex_encode already imported in the test file) and pass &signed_receipt.signed_receipt. New head OPEN / non-draft / CLEAN / MERGEABLE.

Final verification: fleet-command run https://github.com/developing-today/fleet/actions/runs/45957531532 (dispatch 0037F3-15878), same command, pinned to exact head ef0e3a8e55bd979838592aad6d4b73d43d87a974. Merge only on that run passing with job-log Target HEAD = exact head; no further fix cycles from this lane if it fails.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Verification update — task 26150 / lane agent-next-26-local\n\nFleet run 45957531532 completed successfully on the exact PR head ef0e3a8e55bd979838592aad6d4b73d43d87a974. Command: cargo +1.99.1 test --manifest-path pkgs/id/Cargo.toml -p id convert; result: 17 passed, 0 failed. The open, non-draft PR is cleanly mergeable. Proceeding with the merge under the standing lane authorization recorded on #15830.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot merged commit 495c26d into main Nov 27, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the code-f/15830-conversion-receipt branch November 27, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

id(conversion): conversion receipt carries offer version + all leg refs, and reversal reference (slice 2 of #5536, phase G)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.