mirror of https://github.com/garrytan/gstack.git
Delete scripts/resolvers/preamble/generate-plan-mode-handshake.ts and its four question-registry entries. Split the authoritative "Plan Mode Safe Operations" and "Skill Invocation During Plan Mode" sections out of generate-completion-status.ts into a sibling generatePlanModeInfo() export in the same module, wired at preamble position 1 where the handshake used to live. Same text, new position. The vestigial handshake told interactive review skills to emit an A=exit-and-rerun / C=cancel AskUserQuestion before running their interactive STOP-Ask workflow. That contradicted the authoritative rule at the tail of completion-status.ts saying AskUserQuestion satisfies plan mode's end-of-turn requirement. Skills now run directly when invoked in plan mode, with each finding gated by AskUserQuestion just like outside plan mode. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| generate-ask-user-format.ts | ||
| generate-brain-health-instruction.ts | ||
| generate-brain-sync-block.ts | ||
| generate-completeness-section.ts | ||
| generate-completion-status.ts | ||
| generate-confusion-protocol.ts | ||
| generate-context-health.ts | ||
| generate-context-recovery.ts | ||
| generate-continuous-checkpoint.ts | ||
| generate-lake-intro.ts | ||
| generate-preamble-bash.ts | ||
| generate-proactive-prompt.ts | ||
| generate-repo-mode-section.ts | ||
| generate-routing-injection.ts | ||
| generate-search-before-building.ts | ||
| generate-spawned-session-check.ts | ||
| generate-telemetry-prompt.ts | ||
| generate-test-failure-triage.ts | ||
| generate-upgrade-check.ts | ||
| generate-vendoring-deprecation.ts | ||
| generate-voice-directive.ts | ||
| generate-writing-style-migration.ts | ||
| generate-writing-style.ts | ||