Skip to content

docs(plans): open the run-reliability plan from the 2026-09-21 audit - #107

Merged
lg2m merged 1 commit into
mainfrom
docs/run-reliability-plan
Sep 22, 2026
Merged

lg2m merged 1 commit into
mainfrom
docs/run-reliability-plan

Conversation

@lg2m

@lg2m lg2m commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Read-only audit of the operator's live QQ session store (schema 32; 83 sessions, 190 runs, 7 331 tool calls since 2026-07-28) plus mechanism traces of the four reference harnesses under .source/ (Codex, OpenCode, Pi, fx). Opens the plan that the rest of this stack implements.

What changed

  • docs/design/run-reliability-audit-2026-09-21.md — evidence and findings R01–R12 with path:line anchors, the reference comparison matrix, and the SQL used, so the targets can be re-measured on a week of real use.
  • docs/plans/run-reliability.md — plan RR1–RR12 with owned paths, acceptance, and design notes (turn recovery, reactive overflow, checkpoint).
  • docs/plans/progress/run-reliability.md — ledger.
  • Indexes: docs/README.md, docs/plans/README.md (priority 0), docs/plans/progress/README.md; ADR-0040 reserved in docs/plans/progress/root.md for two-phase retry ownership (supersedes ADR-0005).

Headline numbers

  • 179 prompt runs: 115 completed, 48 failed (27 %), 13 cancelled. Failed runs averaged 97 turns vs 58 for completed ones; 33 failed runs had already consumed 8.46 h.
  • ~73 % of failures are harness decisions on recoverable situations: context "already attempted" (9, 3 sessions wedged), Jev exhaustion (9), retry-exhausted 529/503 (8), invalid slash command (8), slice-checkpoint tool call (5, incl. an 80-min run), mid-stream transport (4), max-tokens (5).
  • Design principle adopted from all four references: the unit of failure is a turn, never the run; bounds are enforced by what the harness sends next; Paused is a real outcome.

Notes

Read-only audit of the operator's live session store (190 runs: 27 % of
prompt runs failed, 73 % of those by harness policy on recoverable
situations) plus mechanism traces of Codex, OpenCode, Pi, and fx. Records
findings R01-R12 with anchors and SQL, opens plan RR1-RR12 with a ledger,
sets it as priority 0, and reserves ADR-0040 (two-phase retry ownership,
supersedes ADR-0005). RR6 is narrowed to reactive overflow and admission
un-wedging because #92 shipped in-run compaction.
@lg2m
lg2m added this pull request to stack #109 September 21, 2026 21:54
@lg2m
lg2m merged commit eb12d89 into main Sep 22, 2026
4 checks passed
@lg2m
lg2m deleted the docs/run-reliability-plan branch September 22, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant