session-memory Phase 2: hub decision integration (T05)

decisions.py: every final promote/reject becomes a record_decision-shaped
payload (rationale + source key + evidence snapshot). DecisionRecorder degrades
gracefully under a hub outage — pluggable sink with a durable local-queue
fallback and ordered flush/replay (mirrors Phase 1's after-the-fact sync).
Wired into review() via an optional recorder. 6 new tests; suite 70/70 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 00:31:22 +02:00
parent ab22d22bfb
commit 4b7a628b6f
4 changed files with 193 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ catalog stays lean and agent context budgets are protected. Knobs live in
```task
id: AGENTIC-WP-0004-T05
status: todo
status: done
priority: medium
state_hub_task_id: "449f12d4-fae0-450d-873f-143b3a570b5a"
```