Skip to content

docs: add docs/AGENTS.md and consolidate plan retirement - #12

Merged
PerfectPan merged 2 commits into
mainfrom
docs/add-docs-agents-guide
Nov 27, 2026
Merged

PerfectPan merged 2 commits into
mainfrom
docs/add-docs-agents-guide

Conversation

@PerfectPan

@PerfectPan PerfectPan commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a 100% generic, verbatim-copyable docs/AGENTS.md covering non-code knowledge routing (guides/, reference/, architecture/, development/, plans/, and Why: comments), file naming/splitting, writing rules, repository-specific surface precedence (docs/README.md), and a checkable Plan retirement ledger under ## Summary.
  • Slim docs/README.md down to a pure repository documentation index with pointers to docs/AGENTS.md and CONTRIBUTING.md, removing the duplicate category definitions and writing standards.
  • Consolidate Plan retirement steps into docs/AGENTS.md §4 as the single source of truth and replace duplicate inline steps in AGENTS.md, CONTRIBUTING.md, docs/plans/README.md, and docs/plans/0000-template.md with links to #4-retiring-a-plan.
  • Sharpen the root AGENTS.md context pointer so it triggers on writing docs, choosing between docs and Why: comments, or retiring a Plan, and anchor the Publish Safety Check exclusion globs (!/AGENTS.md, !/CONTRIBUTING.md, !/SECURITY.md) so docs/AGENTS.md is not skipped.
  • Clarify in CONTRIBUTING.md, docs/plans/README.md, and docs/AGENTS.md that Plans are only for upfront human alignment before implementing (skip for adjustments requested during implementation or review), and update an active Plan mid-flight only when remaining multi-PR or multi-session work still needs re-alignment.

Validation

  • gh repo-checks repository: passed (repo-checks repository: ok).
  • git diff --check and git diff --no-index --check /dev/null docs/AGENTS.md: passed (no whitespace issues).
  • Publish safety rg scan with anchored '!/AGENTS.md' glob: passed (0 unintended matches).
  • gh repo-checks pr-title and gh repo-checks pr-body: passed on this PR's title and description.
  • Independent read-only review performed with Claude Opus 5.5 against writing-for-agents, with all verified findings incorporated.

@PerfectPan
PerfectPan merged commit 5668dd2 into main Nov 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant