From 08bfe5d883e11fcad035e76c64bb79b1549b141b Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Mon, 12 Oct 2026 18:32:50 -0500 Subject: [PATCH 1/2] docs(agents): require documentation impact checks --- AGENTS.md | 10 ++++++++++ templates/config-repository/AGENTS.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 97247ba8..55641f08 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -64,3 +64,13 @@ Runnable changes must eventually include: ## Change policy Keep changes small and reversible. Existing project CI must continue operating until the new fleet path has passed parallel validation, completed the compliance checklist, and has an explicit tested rollback or documented reinstall procedure appropriate to the host's failure boundary. + + +## Documentation impact + +- Always assess documentation impact when working on an issue, preparing a commit, or creating, updating, or reviewing a PR. Repeat the assessment if the scope changes. +- Check whether the change affects documented behavior, usage, setup, configuration, APIs, architecture, deployment, or operations. Read the relevant documentation and compare it with the implementation. +- When implementing a change, update affected documentation in the same commit or PR. Follow the repository's documentation and changelog conventions. Preserve historical release notes and immutable records. +- When reviewing, report missing or inaccurate documentation as a finding. +- Before declaring the work complete, check updated examples, commands, links, and configuration names. Run applicable documentation checks. +- State the documentation impact in the PR description and completion summary. List updated documents, or explain why no documentation changes are needed. Report any remaining gaps. diff --git a/templates/config-repository/AGENTS.md b/templates/config-repository/AGENTS.md index a5875b5a..ec8f5b13 100644 --- a/templates/config-repository/AGENTS.md +++ b/templates/config-repository/AGENTS.md @@ -27,3 +27,13 @@ Before committing configuration changes, run: - Keep ordinary task jobs at a five-minute hard ceiling and expected shard payload at four minutes or less. - Preserve deterministic task/shard isolation; Compose identity must include task and shard as well as run identity. - Update schema, initializer, validator, tests, examples, and documentation together. + + +## Documentation impact + +- Always assess documentation impact when working on an issue, preparing a commit, or creating, updating, or reviewing a PR. Repeat the assessment if the scope changes. +- Check whether the change affects documented behavior, usage, setup, configuration, APIs, architecture, deployment, or operations. Read the relevant documentation and compare it with the implementation. +- When implementing a change, update affected documentation in the same commit or PR. Follow the repository's documentation and changelog conventions. Preserve historical release notes and immutable records. +- When reviewing, report missing or inaccurate documentation as a finding. +- Before declaring the work complete, check updated examples, commands, links, and configuration names. Run applicable documentation checks. +- State the documentation impact in the PR description and completion summary. List updated documents, or explain why no documentation changes are needed. Report any remaining gaps. From dcb1171b6c2cc3561f33869357422cb04853fdf0 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Mon, 12 Oct 2026 18:37:42 -0500 Subject: [PATCH 2/2] docs(agents): keep review documentation assessments read-only --- AGENTS.md | 2 +- templates/config-repository/AGENTS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 55641f08..5eeb8cb4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -73,4 +73,4 @@ Keep changes small and reversible. Existing project CI must continue operating u - When implementing a change, update affected documentation in the same commit or PR. Follow the repository's documentation and changelog conventions. Preserve historical release notes and immutable records. - When reviewing, report missing or inaccurate documentation as a finding. - Before declaring the work complete, check updated examples, commands, links, and configuration names. Run applicable documentation checks. -- State the documentation impact in the PR description and completion summary. List updated documents, or explain why no documentation changes are needed. Report any remaining gaps. +- When creating or updating a PR, state the documentation impact in its description. In all cases, include the assessment in the completion summary. List updated documents, or explain why no documentation changes are needed. Report any remaining gaps. diff --git a/templates/config-repository/AGENTS.md b/templates/config-repository/AGENTS.md index ec8f5b13..b410bd2b 100644 --- a/templates/config-repository/AGENTS.md +++ b/templates/config-repository/AGENTS.md @@ -36,4 +36,4 @@ Before committing configuration changes, run: - When implementing a change, update affected documentation in the same commit or PR. Follow the repository's documentation and changelog conventions. Preserve historical release notes and immutable records. - When reviewing, report missing or inaccurate documentation as a finding. - Before declaring the work complete, check updated examples, commands, links, and configuration names. Run applicable documentation checks. -- State the documentation impact in the PR description and completion summary. List updated documents, or explain why no documentation changes are needed. Report any remaining gaps. +- When creating or updating a PR, state the documentation impact in its description. In all cases, include the assessment in the completion summary. List updated documents, or explain why no documentation changes are needed. Report any remaining gaps.