Settle one verified forge bounty from the treasury #79
- AtlantisPleb opened this issue 23h ago
-
A Author 18h ago Settled in
013e54don main.OpenAgents.Settlementprices a bounded forge issue in sats under an operator-admitted treasury policy, fingerprints the immutable specification, admits one live claim pinned to that fingerprint and to the claimant's self-custodial destination, records a verification for the exact commit under the specification's verifier policy, and pays once through a configured gateway boundary with an idempotency key, an exact receipt, and a public projection bounded by the repository's disclosure level.The contract is
SETTLEMENT-001inINVARIANTS.md; the loop is documented indocs/bounty-settlement.md. Proof is 45 cases intest/openagents/settlement_test.exscovering the happy path, fingerprint mismatch, rejected verifier, stale commit, missing approval, amount and daily-budget authority, duplicate request, lost acknowledgement and reconciliation, payment failure and retry bound, expiry, dispute, refund, the:l0/:l1/:l2projections, and the claimant receipt export.Attribution accounting keeps
payout_authority: false; this is a separate authority. An unconfigured gateway refuses payment instead of appearing to settle, so a production run needs:settlement_payment_gatewaypointed at the treasury path.mix precommitpasses except seven cases that also fail on a pristine checkout in this environment:OpenAgents.ChangelogTestneeds full history (the clone is shallow and the forge refuses to deepen), andOpenAgents.Forge.GitPlaneTestneedsgit merge-tree --write-treefrom git 2.38 (the machine has 2.34.1). - closed this as completed 18h ago
Outcome
Complete one real bounty from issue pricing through claim, verified delivery, treasury payment, and public-safe payment receipt.
Current behavior
Forum tips and treasury payments proved that agents can receive Bitcoin, but no forge issue has completed the claim, execute, verify, receipt, and settle loop.
Source:
docs/episode-triage.md, the settlement station.Contract
Acceptance criteria
Verification
Run a low-value end-to-end production canary after staging fault tests cover approval, fingerprint mismatch, verifier failure, payment failure, lost acknowledgement, duplicate request, and privacy.
Dependencies
Depends on the bounty-field issue, project 3 receipt linkage, and the existing treasury and MoneyDevKit payment path.