The current csis/dreams/ module is a local mock of the consolidation pipeline. Phase 1.1 replaces it with the real Anthropic Dreams API once available to the operator.
What needs to exist
- A new
csis/dreams/anthropic_dreams.py that implements the same interface as the local mock
- Selection logic in the daemon:
--dreams anthropic vs --dreams mock
- Budget tracking integration — real Dreams calls bill the same
BudgetTracker (cycle-9 H1 chokepoint discipline carries over)
- Partial-output redaction: real Dreams returns partial output on cancel/failure; cycle-1 F-class findings put this front-and-center
Acceptance criteria
- New adapter module
- Plumbed into
csis/daemon.py
- Regression test (probably skipped without API key, like
tests/test_anthropic_backend.py)
- Updated README documenting the trade-offs (mock is free + offline + deterministic; real Dreams adds cost + non-determinism + actual consolidation)
Risks
- Real Dreams may have different latency characteristics than the local mock — may force budget tracker reservation defaults to be re-tuned
- Partial-output semantics may have changed since the cycle-4 critique was written; re-validate
Tracking
See ROADMAP.md P1.1.
The current
csis/dreams/module is a local mock of the consolidation pipeline. Phase 1.1 replaces it with the real Anthropic Dreams API once available to the operator.What needs to exist
csis/dreams/anthropic_dreams.pythat implements the same interface as the local mock--dreams anthropicvs--dreams mockBudgetTracker(cycle-9 H1 chokepoint discipline carries over)Acceptance criteria
csis/daemon.pytests/test_anthropic_backend.py)Risks
Tracking
See
ROADMAP.mdP1.1.