Why this matters
Critical paths are untested or commented out. dispute_resolution/src/tests.rs has its entire core flow commented out behind a missing mock even though a MockChiomaContract is defined. escrow has no test for non-party release, double-release/refund, or cross-escrow isolation. agent_registry has no test that register/complete require auth, and the chioma contract has no test for cross-token payment mismatch or full-balance escrow release. The absent negative tests are exactly why the auth and fund-safety bugs went unnoticed.
Acceptance criteria
Files to touch
contracts/dispute_resolution/src/tests.rs
contracts/escrow/src/tests.rs
contracts/agent_registry/src/tests.rs
contracts/chioma/src/tests_multi_token.rs
Out of scope
- Setting up CI to run the suite
- Fuzz/property-based harness
Why this matters
Critical paths are untested or commented out. dispute_resolution/src/tests.rs has its entire core flow commented out behind a missing mock even though a MockChiomaContract is defined. escrow has no test for non-party release, double-release/refund, or cross-escrow isolation. agent_registry has no test that register/complete require auth, and the chioma contract has no test for cross-token payment mismatch or full-balance escrow release. The absent negative tests are exactly why the auth and fund-safety bugs went unnoticed.
Acceptance criteria
Files to touch
contracts/dispute_resolution/src/tests.rscontracts/escrow/src/tests.rscontracts/agent_registry/src/tests.rscontracts/chioma/src/tests_multi_token.rsOut of scope