fix(goose): require close commit before teardown #1285
No reviewers
Labels
No labels
burndown-2026-06
pressure-test
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/ward!1285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-998"
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?
Goose now gets an explicit landing rule in the engineer seed: if the run changes files, it must keep going until a same-repo closing commit exists before it emits the terminal completion line that tears the container down.
That keeps the deterministic success path on the happy side of teardown while leaving the existing fail-closed reaper repair and diagnostics in place for residual work that still slips through.
pre-commit run --all-filespassed.TMPDIR=/workspace/ward/.tmp go test ./cmd/ward -run 'TestGooseLandingClause|TestAgentSeedPromptHeadlessReflection|TestReapTargetTreeDirtyOnlyResidualRunRepairsAndLands'passed.ward exec teststill hits unrelated environment-sensitive failures incmd/wardon this container (TestPrepareScratchSpace,TestCloneGate).