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