gstack/scripts/resolvers
Merit Blake 977724b561 feat(ship): skip version-bump/CHANGELOG/title-rewrite when the repo has no VERSION file
Repos that stamp versions at release/queue time (merge-queue driven repos,
release-please/tag-based flows) have no VERSION file, but /ship today
manufactures one: gstack-version-bump treats a missing file as 0.0.0.0,
classifies FRESH, and `write` creates VERSION at the bumped slot - then
writes a CHANGELOG release heading and rewrites the PR title to vX.Y.Z.W.
On a queue-managed repo every such PR textually collides with every other
(we hit three pairs of open PRs claiming identical versions in one repo
before tracing it here).

The convention was already keyed off the VERSION file's presence; this
makes the absence a first-class state instead of a 0.0.0.0 default:

- gstack-version-bump classify: new NO_VERSION_FILE state when the
  resolved version file does not exist (never invents 0.0.0.0, never
  creates the file; also covers a branch that deletes VERSION to retire
  the convention). write/repair are unchanged.
- ship Step 12: NO_VERSION_FILE dispatch arm - skip Steps 12-13 and the
  PR/MR title version invariant; plain <type>: <summary> titles; never
  create a VERSION file. Idempotency note updated for re-runs.
- ship Step 13 (CHANGELOG): explicit skip under NO_VERSION_FILE.
- ship title invariant: now conditional on Step 12 having produced a
  version.
- land-and-deploy Step 3.4: VERSION drift detection prints n/a and skips
  when neither the head nor the base has a VERSION file.
- Tests: NO_VERSION_FILE for a never-versioned repo (asserts classify
  stays a pure reader and creates nothing) and for a branch that deleted
  VERSION while base still has it. bun test on gstack-version-bump,
  ship-version-sync, gstack-next-version: 59 pass / 0 fail.

Generated SKILL.md files regenerated with bun run gen:skill-docs.
2026-07-24 21:56:00 -04:00
..
preamble v1.58.5.0 feat: first-run activation scaffold + gstack router front door (#2078) 2026-06-25 09:42:45 -07:00
browse.ts fix: avoid tilde-in-assignment to silence Claude Code permission prompts (#993) 2026-04-16 14:49:56 -07:00
codex-helpers.ts feat: Factory Droid compatibility — works across Claude Code, Codex, and Factory (v0.13.5.0) (#621) 2026-03-29 08:57:34 -07:00
composition.ts v1.57.4.0 refactor(ethos): rename Boil the Lake principle to Boil the Ocean (#1912) 2026-06-08 05:41:07 -07:00
confidence.ts v1.43.2.0 fix wave: post-Daegu paper-cut — 18 fixes, 28 bisect commits (#1642) 2026-05-21 21:21:07 -07:00
constants.ts v1.57.10.0 feat: Codex review default-on across review/ship/plan/docs (#1966) 2026-06-10 21:14:58 -07:00
design.ts v1.45.0.0 feat(design): persistent board daemon — 24h boards, one tab, board history (#1710) 2026-05-25 20:45:12 -07:00
dx.ts feat: /plan-devex-review + /devex-review — DX review skills (v0.15.3.0) (#784) 2026-04-03 16:22:57 -07:00
gbrain.ts v1.52.1.0 feat: brain-aware planning — 5 skills read structured gbrain context before asking (#1742) 2026-05-29 08:35:00 -07:00
index.ts v1.57.10.0 feat: Codex review default-on across review/ship/plan/docs (#1966) 2026-06-10 21:14:58 -07:00
learnings.ts v1.33.1.0 fix(learnings): token-OR query + task-shaped retrieval in 3 long skills (#1442) 2026-05-11 19:34:33 -07:00
make-pdf.ts feat(v1.4.0.0): /make-pdf — markdown to publication-quality PDFs (#1086) 2026-04-20 13:20:30 +08:00
model-overlay.ts feat(v1.10.1.0): overlay efficacy harness + Opus 4.7 fanout nudge removal (#1166) 2026-04-23 18:42:58 -07:00
preamble.ts v1.58.5.0 feat: first-run activation scaffold + gstack router front door (#2078) 2026-06-25 09:42:45 -07:00
question-tuning.ts v1.52.0.0 feat(plan-tune): explicit consent + first-run setup wizard for contributors (#1741) 2026-05-28 18:21:09 -07:00
redact-doc.ts v1.53.0.0 feat: smarter redaction — PII/secrets/legal guard across /spec, /ship, /cso, /document-* (#1797) 2026-05-30 08:54:46 -07:00
review-army.ts v1.42.0.0 Daegu wave: 23 community-filed bugs + PTY classifier enforcement (24 bisect commits) (#1594) 2026-05-20 07:35:01 -07:00
review.ts v1.57.10.0 feat: Codex review default-on across review/ship/plan/docs (#1966) 2026-06-10 21:14:58 -07:00
sections.ts v1.54.0.0 feat: carve /ship into skeleton + on-demand sections (-59% always-loaded) (#1806) 2026-05-30 12:09:10 -07:00
tasks-section.ts v1.38.1.0 fix wave: surrogate-safe page captures (#1440), Implementation Tasks across review skills (#1454), root-level artifact patterns (#1452) (#1504) 2026-05-14 21:46:50 -07:00
testing.ts feat(v1.3.0.0): open agents learnings + cross-model benchmark skill (#1040) 2026-04-19 17:50:31 +08:00
types.ts v1.46.0.0 feat: gstack v2 foundation — catalog tokens drop 56%, eval-first floor covers all 51 skills (#1712) 2026-05-26 16:50:03 -07:00
utility.ts feat(ship): skip version-bump/CHANGELOG/title-rewrite when the repo has no VERSION file 2026-07-24 21:56:00 -04:00