Do not launch agents without a usable stage brief #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/runner-require-stage-brief"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New console stages can precede their fallback files in the workspace image. If the live brief fetch fails, the current runner renders a missing fallback, appends generic instructions and launches anyway.
Require a nonempty source and successfully rendered brief before continuing. On failure return the claim to its prior status using compare-and-set and skip launch. This protects the new user-pain research stage from falling through into generic coding instructions; it also covers existing goal stages and corrupt/empty fallback files.
Validation: node workspace/test_card_brief.js (missing and empty source, preserving prior output, successful substitution, claim return/skip guard); sh -n workspace/card-runner. No provider session started, image built, merge, rollout or customer workspace restart. Normal Git push. The image workflows run on main, so this PR itself does not publish an image.