Summary
The check_balance tool (and likely other wallet tools) are currently patched to call the Flash API directly rather than going through the proper adapter injection layer. This creates tight coupling and makes testing/maintenance harder.
Current state
check_balance patched to query Flash API directly (bypassing WalletPort adapter)
- Direct patches introduced to work around stub failures during development
Target state
- All wallet tools route through the proper adapter/port interface
- WalletPort implementation is injected via DI, not bypassed
- Adapters are swappable for testing (stub vs real Flash API)
Acceptance criteria
Notes
Hold for Dread go-ahead before implementation.