feat(tasks): add needs_human intervention flag (CUST-WP-0009)
- Migration b4c5d6e7f8a9: adds needs_human (bool) + intervention_note (text) to tasks - API: needs_human filter on GET /tasks/; 422 if flagged without note - 3 MCP tools: flag_for_human, clear_human_flag, list_human_interventions - Dashboard: interventions.md with amber cards and "Mark done" button - Policy router + workstream DoD policy (workstream-dod.md) - Workstream lifecycle docs page + workplan CUST-WP-0010 - CLAUDE.md: add step 4 (run fix-consistency after workplan writes) - consistency_check.py: promote C-11 unlinked tasks from INFO to WARN Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -94,6 +94,12 @@ Every Claude Code session in this repository must follow this ritual:
|
||||
1. Call `add_progress_event()` to log what was done, decided, or discovered
|
||||
2. If new tasks were identified, create them with `create_task()`
|
||||
3. If decisions were made, record them with `record_decision()`
|
||||
4. If any workplan files were written or modified this session, run:
|
||||
```bash
|
||||
cd state-hub && make fix-consistency REPO=the-custodian
|
||||
```
|
||||
This syncs task blocks → DB and updates task statuses. Without this step, the
|
||||
"Open Workstreams by Domain" chart will show 0 progress even for completed work.
|
||||
|
||||
The state hub is the episodic memory of this system. A session that produces no progress events is invisible to future sessions and to Bernd.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user