mirror of https://github.com/garrytan/gstack.git
update_check: false makes gstack-update-check exit early and emit nothing, but the preamble instruction text that tells the agent how to act on UPGRADE_AVAILABLE / JUST_UPGRADED output still shipped in every generated SKILL.md. The runtime layer honored the opt-out; the instruction layer did not. Follow the same echo-then-gate convention every other runtime flag uses (PROACTIVE, SKILL_PREFIX, EXPLAIN_LEVEL, QUESTION_TUNING): - generate-preamble-bash.ts reads update_check and echoes UPDATE_CHECK so the instruction layer can see the value. - generate-upgrade-check.ts gates the UPGRADE_AVAILABLE / JUST_UPGRADED prose on UPDATE_CHECK == false. The gstack-upgrade skill's own inline-flow documentation is unchanged: a user in that skill is explicitly upgrading, so its prose is correctly out of scope. All 49 preamble-bearing SKILL.md regenerated via bun run gen:skill-docs. Fixes #2001. |
||
|---|---|---|
| .. | ||
| 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 | ||