Skip to content

fix: rename mode:headless to mode:non-interactive (#475) - #1291

Merged
tmchow merged 6 commits into
EveryInc:mainfrom
SomSamantray:fix/475-mode-non-interactive
Jul 31, 2026
Merged

fix: rename mode:headless to mode:non-interactive (#475)#1291
tmchow merged 6 commits into
EveryInc:mainfrom
SomSamantray:fix/475-mode-non-interactive

Conversation

@SomSamantray

@SomSamantray SomSamantray commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rename the unattended-run token from mode:headless to mode:non-interactive in prompt-suppressing skills (ce-compound, ce-compound-refresh, ce-doc-review, ce-sweep) and their callers/docs.
  • Keep mode:headless as a one-release deprecated synonym for those skills.
  • Leave ce-code-review's mode:headlessmode:agent alias intact; fail closed if mode:non-interactive is passed there (different meaning).

Closes #475

Test plan

  • bun test tests/skills/ce-compound-headless-depth.test.ts
  • bun test tests/pipeline-review-contract.test.ts tests/skills/ce-plan-handoff-routing.test.ts
  • bun test tests/review-skill-contract.test.ts
  • Spot-check: scheduled /ce-sweep mode:headless still enters non-interactive via alias — locked by tests/skills/ce-sweep-mode-token.test.ts
  • Spot-check: /ce-plan Phase 5.3.8 invokes doc-review with mode:non-interactive — locked by strengthened tests/pipeline-review-contract.test.ts

Post-Deploy Monitoring & Validation

No additional operational monitoring required — documentation/contract token rename with soft alias; no runtime service change.

SomSamantray and others added 6 commits July 31, 2026 15:29
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).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread docs/plans/2026-07-31-001-fix-mode-non-interactive-rename-plan.md
@tmchow
tmchow merged commit fea76d4 into EveryInc:main Jul 31, 2026
3 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 31, 2026
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.

mode:headless should be mode:non-interactive in skills

2 participants