gstack/scripts/resolvers/preamble
Garry Tan 2eac7009e9
merge: integrate origin/main (v1.1.3.0) — /checkpoint → /context-save + /context-restore rename
Main shipped v1.1.3.0 fixing Claude Code's native /checkpoint alias
shadowing gstack's skill. The old /checkpoint directory is gone,
replaced by context-save/ and context-restore/. Storage path
(~/.gstack/projects/$SLUG/checkpoints/) is unchanged, so existing
saved contexts still load.

Conflicts:
- VERSION / package.json: kept 1.2.0.0 (above main's 1.1.3.0)
- CHANGELOG: preserved 1.2.0.0 at top, inserted 1.1.3.0 below
- scripts/resolvers/preamble.ts: same pattern as prior merges —
  main's side edited the monolithic file inline; I kept the
  submodule composition root intact (main's inline changes don't
  apply to this shape)

Ported my continuous-checkpoint and context-health submodule prose
to reference the new skill names:
- generate-continuous-checkpoint.ts: "/checkpoint resume" →
  "/context-restore"
- generate-context-health.ts: "/checkpoint" → "/context-save"

Also updated user-facing prose in:
- CHANGELOG.md (1.2.0.0 entry): "/checkpoint resume" →
  "/context-restore (formerly /checkpoint resume pre-v1.1.3)"
- README.md Continuous checkpoint section: same rename

Storage paths in generate-context-recovery.ts (`$_PROJ/checkpoints/`)
left untouched — per main's v1.1.3.0 notes, the storage directory
name stays `checkpoints/` to preserve backward-compat with saved files.

Touchfiles.ts auto-merged cleanly — main's context-save-writes-file
and context-restore-loads-latest replaced my old checkpoint-save-resume
entry.

Regenerated SKILL.md files. Ship golden fixtures refreshed. 423 tests
pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 08:41:41 +08:00
..
generate-ask-user-format.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-brain-health-instruction.ts merge: integrate origin/main (v0.18.1.0) into open-agents-learnings 2026-04-17 13:58:15 +08:00
generate-completeness-section.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-completion-status.ts chore: trim verbose preamble + coverage audit prose 2026-04-17 14:33:07 +08:00
generate-confusion-protocol.ts merge: integrate origin/main (v0.18.1.0) into open-agents-learnings 2026-04-17 13:58:15 +08:00
generate-context-health.ts merge: integrate origin/main (v1.1.3.0) — /checkpoint → /context-save + /context-restore rename 2026-04-19 08:41:41 +08:00
generate-context-recovery.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-continuous-checkpoint.ts merge: integrate origin/main (v1.1.3.0) — /checkpoint → /context-save + /context-restore rename 2026-04-19 08:41:41 +08:00
generate-lake-intro.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-preamble-bash.ts merge: integrate origin/main (v0.18.1.0) into open-agents-learnings 2026-04-17 13:58:15 +08:00
generate-proactive-prompt.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-repo-mode-section.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-routing-injection.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-search-before-building.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-spawned-session-check.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-telemetry-prompt.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-test-failure-triage.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-upgrade-check.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-vendoring-deprecation.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-voice-directive.ts refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +08:00
generate-writing-style-migration.ts merge: integrate origin/main (v1.1.0.0) — V1 + Puppeteer parity + /plan-tune 2026-04-18 23:35:36 +08:00
generate-writing-style.ts merge: integrate origin/main (v1.1.2.0) — mode-posture energy 2026-04-19 05:57:27 +08:00