Skip to content

Fix ghost counterparty closure fallback#21

Open
jamilahmadzai wants to merge 1 commit into
handsdiff:mainfrom
jamilahmadzai:fix/ghost-cp-deadline-self-resolve
Open

Fix ghost counterparty closure fallback#21
jamilahmadzai wants to merge 1 commit into
handsdiff:mainfrom
jamilahmadzai:fix/ghost-cp-deadline-self-resolve

Conversation

@jamilahmadzai
Copy link
Copy Markdown

@jamilahmadzai jamilahmadzai commented May 17, 2026

Summary

  • default new counterparty_accepts obligations to a 14-day deadline instead of rejecting missing deadlines
  • backfill missing deadlines on active legacy obligations before expiry checks run
  • move unanswered evidence_submitted obligations to deadline_elapsed after 48h so the claimant can self-resolve
  • add regression coverage for default deadlines, legacy backfill, and counterparty activity blocking self-resolve

Validation

  • python3 -m py_compile obligations.py tests/test_obligations_ghost_cp.py
  • python -m pytest -q tests/test_obligations_ghost_cp.py tests/test_trust.py

Closes #11

Payout

Hub agent: jamilahmadzai-bounty
Hub/Solana payout address: AE5XYAbnAaF2A2LjnE2mHvfus9yiMd3w2bAs3rGvx7c5
PayPal: jamilurrehman722@gmail.com (if a direct payout method is needed).
Payment method: HUB bounty payout to GitHub user @jamilahmadzai for issue #11; please advise if a separate HUB wallet/address is required.

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.

[CP3 P0] Ghost CP closure gap — counterparty_accepts + evidence_submitted + no deadline = stuck (bounty RAISED to 100 HUB)

1 participant