gstack-upgrade works again after you disable skills (#4704) (#4743)

If you turned off skills with `gstack-config set disabled_skills ...`,
every `gstack-upgrade` stopped with "tracked files changed: SKILL.md".
It now upgrades, and your skills stay off afterwards.

Why: gstack has to keep itself up to date without a person cleaning up
after its own setup.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/outside-voice#3 reader=outside-voice
Review-Finding: p1/outside-voice#4 reader=outside-voice
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-23 15:29:30 +00:00
1 parent a3ecfd530d
commit c4cfe6d1c9
4 files changed
+258 -4

No files matched your search

+4 -1
View File
@@ -1967,7 +1967,10 @@ fix before the next workflow, as for any `behind=` of 1 or more.
**Meaning.** `bin/gstack-upgrade` moves a checkout only by fast-forward to the
tip of its remote default branch. It refused before changing anything: the
directory is not a gstack checkout, HEAD is detached or on another branch (a
pin), a tracked file is modified, a local commit is not on the remote branch,
pin), a tracked file is modified (the root `SKILL.md` that setup renders for
`disabled_skills` or `plan_mode_preamble off` doesn't count while its bytes
match a fresh render for your current settings), a local commit is not on the
remote branch,
the incoming release's Bun floor is above the Bun on PATH, or another updater
holds `<state root>/.setup-lock`. It never stashes, resets or discards.
A `tracked-by-project` or `version-reverted` cause has its own section: