fix: harden DAG replan, execution, and crash recovery - #553
Merged
Conversation
This was referenced Sep 4, 2026
LeXwDeX
marked this pull request as ready for review
September 4, 2026 23:40
Support body-file arguments and align local delivery guidance with SpecGit 1.13.1. The offline bootstrap suite passes all 283 assertions. Refs #552.
This was referenced Sep 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #545
Closes #546
Closes #547
Closes #548
Closes #549
Closes #550
Closes #551
Closes #552
Why
The DAG audit found that replanning, delayed workers, crash recovery, and single-step execution could corrupt or strand workflow state. This delivery repairs each reported boundary before promotion to main and a stable release.
What changed
Evidence
Bun 1.3.14, final head
e742eec4cef4339e54c6c72aedd5dbe7a7594fdd: the complete DAG gate passed with 92 core, 665 OpenCode DAG, 3 schema, and 60 TUI tests; every existing per-file coverage floor and generated SDK check passed. All 29 workspace typechecks passed. Lint passed at 4,845 warnings below the unchanged 4,850-warning ceiling. The offline SpecGit bootstrap suite passed all 283 assertions, with clean shellcheck.Regressions exercise real DAG projections and storage, injected transaction rollback, delayed prompt settlement, stale cached configuration, restart recovery, and guarded single-step dispatch. The ordered bridge regression passed 20 tests across 10 reruns with a blocked prior listener. Final-head template packaging validated all 16 templates at config commit
9743916ecd0690ee69f424321ab15265c4e59e2a. A native macOS candidate build included the Web UI, templates, and ripgrep; the real archive passed all six installer acceptance assertions, including signature validation, tamper rejection, and executable smoke. The compiled server returned a healthy1.0.41response and HTTP 200 for the embedded homepage. Independent GPT-5.6-Sol Standards and Spec reviews resolved all mandatory findings; the reviewers reported no remaining material requirement gaps.Current-head GitHub CI passed: Typecheck and DAG coverage, Linux unit tests, HttpAPI contracts, and Linux/Windows E2E. SpecGit acceptance is verified before the authorized dev merge.
Checklist