Skip to content

Move ops reclaimability onto ReconcileState - #195

Merged
hoffmang9 merged 1 commit into
mainfrom
refactor/ops-reclaimable-reconcile-state
Aug 10, 2026
Merged

hoffmang9 merged 1 commit into
mainfrom
refactor/ops-reclaimable-reconcile-state

Conversation

@hoffmang9

Copy link
Copy Markdown
Owner

Summary

  • Add ReconcileState::is_ops_reclaimable() for the idle/terminal maker allowlist used by coins-balance (ADR 0020).
  • Parse each unreturned maker once in the CLI for sort priority and reclaimable, removing the private string-state helpers.

Test plan

  • cargo test --lib coins_balance / ops_reclaimable in greenfloor-engine
  • pre-commit run --all-files
  • Confirm coins-balance JSON still marks open makers reclaimable=false and idle/terminal makers reclaimable=true

Keep coins-balance as a thin report path that parses maker state once for sort priority and reclaimable flags.
@hoffmang9
hoffmang9 merged commit 76d0113 into main Aug 10, 2026
3 checks passed
@hoffmang9
hoffmang9 deleted the refactor/ops-reclaimable-reconcile-state branch August 10, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant