---
applyTo: "docs/**/*.md,PLANS.md,ARCHITECTURE.md"
---

<!-- Generated by scripts/generate_ai_collab_docs.py. Edit metadata in that script. -->

# Copilot Instructions: Docs Workflow

- Use `docs/design-docs/`, `docs/product-specs/`, and `docs/references/`
  according to document purpose, and use `docs/exec-plans/active/` for complex
  execution context.

- Treat `PLANS.md` as the only ExecPlan specification and
  `docs/engineering-baseline.md` as the evergreen engineering handbook.

- Regenerate generated indexes and inventories with
  `python scripts/build_repo_knowledge_index.py` after changing knowledge docs
  or metadata.

- If docs change implementation expectations, update the nearest AI
  instruction files when they become stale.
