gstack/scripts/resolvers/preamble
Garry Tan 70d045d4d9
merge: integrate origin/main (v1.1.0.0) — V1 + Puppeteer parity + /plan-tune
Big merge. Main shipped three releases while this branch was in flight:
- v0.19.0.0 /plan-tune skill (observational layer; dual-track dev profile)
- v1.0.0.0 V1 prompts (simpler, outcome-framed, jargon-glossed) + LOC receipts
- v1.1.0.0 browse Puppeteer parity (load-html, file://, --selector, --scale)

This branch bumps to v1.2.0.0 (above main's v1.1.0.0) per the
branch-scoped-version rule in CLAUDE.md. My "0.19.0.0" CHANGELOG entry
is renamed to "1.2.0.0" and dated 2026-04-18 to land above main's trail.

Conflicts resolved:
- VERSION / package.json: 1.2.0.0
- CHANGELOG.md: preserved my entry at top (renamed), kept main's 1.1.0.0
  / 1.0.0.0 / 0.19.0.0 / 0.18.4.0 trail below in correct order
- .github/docker/Dockerfile.ci: kept my xz-utils + nodejs.org tarball
  fix (real CI bug fix main didn't have); absorbed main's retry loop
  structure for both apt and the tarball curl
- bin/gstack-config: kept both my checkpoint_mode/push section and
  main's explain_level writing-style section
- scripts/resolvers/preamble.ts: kept my submodule refactor as the
  file shape; extracted main's new generateWritingStyle and
  generateWritingStyleMigration into scripts/resolvers/preamble/
  submodules; absorbed main's generateQuestionTuning import
- All generated SKILL.md files: resolved by regen via
  bun run gen:skill-docs --host all (per CLAUDE.md: never hand-merge
  generated files — resolve templates and regen)
- Ship golden fixtures (claude/codex/factory): refreshed

Tier 2 preamble composition now includes all 8 sections: context
recovery, ask-user-format, writing-style, completeness, confusion,
continuous checkpoint, context health, question tuning.

Main also brought new test files from /plan-tune: skill-e2e-plan-tune,
upgrade-migration-v1, v0-dormancy, writing-style-resolver. All absorbed.
468 tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 23:35:36 +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 refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +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 refactor: split preamble.ts into submodules (byte-identical output) 2026-04-17 06:43:19 +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.0.0) — V1 + Puppeteer parity + /plan-tune 2026-04-18 23:35:36 +08:00