Run outcome model (developer notes)¶
Authority: All execution-truth rules (statuses, precedence, loaders, group projection) live in docs/run_outcome_contract.md. This guide collects implementation pointers for contributors; it does not define contract rules.
Where to look in code¶
Concern |
Module / symbol |
|---|---|
Status projection |
|
Typed loaders |
|
Schema gate ( |
|
Group rollups |
|
Group phase metadata |
|
Incomplete run dirs (Diagnostics) |
|
Operator-only heuristics¶
Reporting or discovery code may infer hints from file presence when run_results.json is missing. Those heuristics are not canonical execution truth — they assist operators only. Canonical status always comes from typed loaders over run_results.json (see the contract).
Diagnostics → Incomplete analysis runs lists those directories so an operator can re-run or inspect a folder after a crash or refresh. Presence on that list is not a run status.
Decision log anchors¶
When semantics are ambiguous during implementation, log explicit decisions for:
blocked vs skipped precedence
cache-hit interpretation
partial
run_resultswith manifest presentgroup/member status rollups
Resolve ambiguities by updating docs/run_outcome_contract.md first, then adjust code and this guide.