Skip to content

[codex] Add CWF closeout verification gates#2

Merged
enderzcx merged 1 commit into
mainfrom
codex/ewc-cwf-closeout-gates
Jun 15, 2026
Merged

[codex] Add CWF closeout verification gates#2
enderzcx merged 1 commit into
mainfrom
codex/ewc-cwf-closeout-gates

Conversation

@enderzcx

Copy link
Copy Markdown
Owner

Summary

  • Add checker-owned verified state and failure-to-regression semantics to CWF docs, skill contract, run-plan template, generated run plans, and safe-fix-loop workflow guidance.
  • Add verified_state and failure_to_regression placeholders to initialized CWF run state and return envelopes.
  • Add a closeout_gate in cwf-return-envelope.mjs so completed runs are downgraded when checker-owned verification is missing or a required regression lock has neither artifact nor skip reason.

Context

This PR wires the EWC v0.2.5 delta into the codex-workflows repo. The global EWC file at /Users/sunny/Work/CC/OPC/ENDER_WORK_CONTRACT.md was updated locally and is outside this repository.

Review Notes

  • Reasonix scoped review review-mqemelg5-7sb361: GO, no blocker/high; noted a medium closeout-gate follow-up.
  • Reasonix follow-up review review-mqemi3ta-izb58i: GO, no blocker/high after the closeout gate patch.

Validation

  • npm run check
  • node scripts/cwf-skills.mjs validate codex-workflows --format markdown
  • python3 skills/codex-workflows/scripts/check_skill_install.py --check-install
  • python3 /Users/sunny/.agents/skills/sunny-meta-skill/scripts/check_sunny_skill.py skills/codex-workflows --allow-repo-docs
  • git diff --check
  • git diff --cached --check

@enderzcx enderzcx marked this pull request as ready for review June 15, 2026 06:18
@enderzcx enderzcx merged commit 5dbe5cf into main Jun 15, 2026
1 check passed
@enderzcx enderzcx deleted the codex/ewc-cwf-closeout-gates branch June 15, 2026 06:19
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