From 69a1644c20fad6c473fbf2b043e81472d435a956 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Tue, 24 Nov 2026 16:29:50 -0800 Subject: [PATCH] /ship's docs check updates your project's doc templates again (GST-3740) (#4810) /ship's documentation check edits the docs it finds in your project again, including docs written as templates such as `handbook/*.md.tmpl`, and still never edits `SKILL.md` or `SKILL.md.tmpl`. Why: a recent change limited the check to gstack's own doc folders, so in other projects it stopped and asked instead of fixing a stale page; that turned main's paid release check red and is holding the next stable release. Nothing to do. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1v/adversarial-native#3 reader=adversarial-native --- .../fix-ship-docs-audit-edits-authored-doc-templates.md | 4 ++++ ship/DRIVER.md | 4 ++-- ship/DRIVER.md.tmpl | 4 ++-- ship/sections/documentation.md | 4 ++-- ship/sections/documentation.md.tmpl | 4 ++-- 5 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 changelog.d/fix-ship-docs-audit-edits-authored-doc-templates.md diff --git a/changelog.d/fix-ship-docs-audit-edits-authored-doc-templates.md b/changelog.d/fix-ship-docs-audit-edits-authored-doc-templates.md new file mode 100644 index 000000000..e127111a0 --- /dev/null +++ b/changelog.d/fix-ship-docs-audit-edits-authored-doc-templates.md @@ -0,0 +1,4 @@ +--- +important: regression +--- +**/ship's documentation check updates your repo's own docs again, including docs written as templates.** A recent change limited the check to `README.md`, `docs/` and `bench/README.md`, gstack's own layout, so in a project whose docs live elsewhere (for example `handbook/*.md.tmpl`) the check stopped and asked for a decision instead of fixing the stale page. It now edits the docs it discovers in your project again and still leaves skill files (`SKILL.md` and `SKILL.md.tmpl`) to review. diff --git a/ship/DRIVER.md b/ship/DRIVER.md index fa715b93b..f5e644217 100644 --- a/ship/DRIVER.md +++ b/ship/DRIVER.md @@ -101,8 +101,8 @@ Step 13: one user-facing entry from the commits file where `NEXT:` says; `gstack-prose-lint --base origin/ --gate` until `PROSE_LINT: ok`. Step 14 is skipped (no catch recorded, L). Step 14.5, every ship: read `sections/documentation.md` and run its audit as written, as one program (above), then `gstack-ship-receipt docs-caps --base `; print `Documentation:`. -One re-audit at most. It edits only README.md, `docs/`, `bench/README.md`; -a SKILL.md or template edit after review costs the next round. +One re-audit at most. It edits the docs discovery finds, never a `SKILL.md` or +`SKILL.md.tmpl`; a skill edit after review costs the next round. ## 7. Release: Steps 15, 16, 17 diff --git a/ship/DRIVER.md.tmpl b/ship/DRIVER.md.tmpl index e9c3706a3..f49d8e5a6 100644 --- a/ship/DRIVER.md.tmpl +++ b/ship/DRIVER.md.tmpl @@ -99,8 +99,8 @@ Step 13: one user-facing entry from the commits file where `NEXT:` says; `gstack-prose-lint --base origin/ --gate` until `PROSE_LINT: ok`. Step 14 is skipped (no catch recorded, L). Step 14.5, every ship: read `sections/documentation.md` and run its audit as written, as one program (above), then `gstack-ship-receipt docs-caps --base `; print `Documentation:`. -One re-audit at most. It edits only README.md, `docs/`, `bench/README.md`; -a SKILL.md or template edit after review costs the next round. +One re-audit at most. It edits the docs discovery finds, never a `SKILL.md` or +`SKILL.md.tmpl`; a skill edit after review costs the next round. ## 7. Release: Steps 15, 16, 17 diff --git a/ship/sections/documentation.md b/ship/sections/documentation.md index 07222fc92..7ea98bcce 100644 --- a/ship/sections/documentation.md +++ b/ship/sections/documentation.md @@ -34,8 +34,8 @@ Reentry never resets the count or authorizes a launch. (`--select ` narrows release paths). It records HEAD, branch, index, path lists and hashes of release paths, generated outputs and docs, NUL-safely. Read only new files' content; the helper hashes the rest. Fill the prompt placeholders with literal candidate values. - In `edit` mode, `--docs` names only README.md, `docs/` and `bench/README.md`: the audit edits nothing else. A SKILL.md or - template edit after review is a code change and costs the next review round, so a change one needs goes in the PR body as a note. + In `edit` mode, `--docs` names roots, sources and generated outputs discovery found, never a `SKILL.md` or + `SKILL.md.tmpl`: a skill edit after review is a code change and costs another review round, so a change one needs goes in the PR body as a note. ## Launch the audit diff --git a/ship/sections/documentation.md.tmpl b/ship/sections/documentation.md.tmpl index de1ad30b9..fc0febc29 100644 --- a/ship/sections/documentation.md.tmpl +++ b/ship/sections/documentation.md.tmpl @@ -32,8 +32,8 @@ Reentry never resets the count or authorizes a launch. (`--select ` narrows release paths). It records HEAD, branch, index, path lists and hashes of release paths, generated outputs and docs, NUL-safely. Read only new files' content; the helper hashes the rest. Fill the prompt placeholders with literal candidate values. - In `edit` mode, `--docs` names only README.md, `docs/` and `bench/README.md`: the audit edits nothing else. A SKILL.md or - template edit after review is a code change and costs the next review round, so a change one needs goes in the PR body as a note. + In `edit` mode, `--docs` names roots, sources and generated outputs discovery found, never a `SKILL.md` or + `SKILL.md.tmpl`: a skill edit after review is a code change and costs another review round, so a change one needs goes in the PR body as a note. ## Launch the audit