fix: rename mode:headless to mode:non-interactive (#475) - #1291
Merged
Conversation
Prompt-suppressing skills advertise mode:non-interactive as the primary unattended token while still accepting deprecated mode:headless. Depth and soft-alias contracts stay covered by tests. Co-authored-by: Cursor <cursoragent@cursor.com>
ce-plan handoff, ce-pov compound-it, and docs/skills mirrors use the new primary token; contract tests follow. Co-authored-by: Cursor <cursoragent@cursor.com>
Document that mode:non-interactive is not mode:agent and fail closed if passed. Preserve mode:headless as the deprecated JSON alias. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Add sweep mode-token contract coverage for mode:headless alias + schedule registration, and strengthen Phase 5.3.8 plan-handoff assertions for mode:non-interactive. Co-authored-by: Cursor <cursoragent@cursor.com>
Retitle remaining Headless mode labels, section headings, and user-facing prose in the prompt-suppressing skills to Non-interactive so they match mode:non-interactive. Keep mode:headless only as the documented deprecated alias (and natural-language intent phrases).
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 646689f11a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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.
Summary
mode:headlesstomode:non-interactivein prompt-suppressing skills (ce-compound,ce-compound-refresh,ce-doc-review,ce-sweep) and their callers/docs.mode:headlessas a one-release deprecated synonym for those skills.ce-code-review'smode:headless→mode:agentalias intact; fail closed ifmode:non-interactiveis passed there (different meaning).Closes #475
Test plan
bun test tests/skills/ce-compound-headless-depth.test.tsbun test tests/pipeline-review-contract.test.ts tests/skills/ce-plan-handoff-routing.test.tsbun test tests/review-skill-contract.test.ts/ce-sweep mode:headlessstill enters non-interactive via alias — locked bytests/skills/ce-sweep-mode-token.test.ts/ce-planPhase 5.3.8 invokes doc-review withmode:non-interactive— locked by strengthenedtests/pipeline-review-contract.test.tsPost-Deploy Monitoring & Validation
No additional operational monitoring required — documentation/contract token rename with soft alias; no runtime service change.