state-hub/api/routers
tegwick 533fecd6e1 Add in-dashboard decision resolution with project log write
API:
- DecisionResolve schema (rationale, decided_by, write_log flag)
- POST /decisions/{id}/resolve — marks resolved, emits progress event,
  appends entry to DECISIONS.md in the project's registered directory
  (found via the topic's registration milestone event)

Dashboard:
- Replace Inputs.table for blocking decisions with full-text cards
- Each card shows title, full description (pre-wrap), rationale/context,
  escalation warning if present
- Expandable "Resolve →" section with rationale textarea, decided-by
  input, submit button that calls the resolve endpoint
- On success: collapses form, dims card, confirms log was written

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 09:34:35 +01:00
..
__init__.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
decisions.py Add in-dashboard decision resolution with project log write 2026-02-25 09:34:35 +01:00
progress.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
state.py Add per-workstream task counts to state summary and dashboard 2026-02-25 00:50:43 +01:00
tasks.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
topics.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
workstreams.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00