Add a v3 task_transitions table (additive migration + startup assertion) and a fail-soft, idempotent TransitionRecorder. build_graph gains an injected transition_recorder that wraps every node via a functools.wraps'd _instrument (signature-preserving so LangGraph still injects RunnableConfig); the coordinator wires it. Records one row per node entry (idempotent under resume replay) and closes the open row on terminal status. Backs the dashboard task-history view. |
||
|---|---|---|
| .. | ||
| db | ||
| nodes | ||
| transport | ||
| __init__.py | ||
| api.py | ||
| billing.py | ||
| ci_fetcher.py | ||
| ci_gate.py | ||
| coordinator.py | ||
| deadline_timer.py | ||
| dispatcher.py | ||
| graph.py | ||
| invoker.py | ||
| invoker_multi.py | ||
| ledger.py | ||
| operator_cli.py | ||
| recovery.py | ||
| responder.py | ||
| resume_worker.py | ||
| state_store.py | ||
| status_page.py | ||
| task_model.py | ||