Skip to content

fix: harden worker completion checks#254

Merged
Maleick merged 1 commit intomainfrom
fix/issue-253-dispatch-codex-appserver
Apr 25, 2026
Merged

fix: harden worker completion checks#254
Maleick merged 1 commit intomainfrom
fix/issue-253-dispatch-codex-appserver

Conversation

@Maleick
Copy link
Copy Markdown
Owner

@Maleick Maleick commented Apr 25, 2026

Summary

  • Auto-commit worker changes after successful opencode run before accepting terminal status.
  • Reject worker-reported COMPLETE results when the diff is tests-only, marking the workspace STUCK with evidence.
  • Fetch the remote base before selecting the worktree base ref to avoid stale branch dispatch.

Closes #253

Test Plan

  • bash hooks/opencode/test-policy.sh
  • bash -n hooks/opencode/.sh hooks/.sh
  • bash hooks/opencode/smoke-test.sh

@Maleick Maleick merged commit d2a13e6 into main Apr 25, 2026
@Maleick Maleick deleted the fix/issue-253-dispatch-codex-appserver branch April 25, 2026 19:20
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.

v1.4.3 dispatch-codex-appserver.sh: 3 bugs causing fraud-tier merges (test-only impls + uncommitted work + stale base)

1 participant