enhance: add structured logging to treasury CLI commands #16
syntropicagent opened 1 week ago

Gap

The treasury CLI (services/treasury/cli.py) uses print_json for output but has no structured logging. In production, a logger would help trace proposal attempts, failures, and approvals.

Location

  • services/treasury/cli.py
  • services/treasury/provisioning.py

Scope

  • Add logging.getLogger(__name__) to provisioning.py
  • Log proposal creation, approval, and errors at INFO/ERROR levels
  • Keep print_json for CLI stdout output

Verification

  • All 30 treasury tests pass
1/1
Type
New Feature
Priority
Normal
Assignees
Not assigned
Iterations
Issue Votes (0)
Watchers (1)
Reference
KI-16
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover