cc-haha/docs/AGENTS.md
程序员阿江(Relakkes) 435e4ccc9f ci: harden deterministic PR quality gates
Route required checks by changed surface, add offline provider and chat contracts, and keep fork PRs independent of live credentials. Layer agent guidance by subtree and enforce a compact instruction budget.

Tested: bun run check:policy
Confidence: high
Scope-risk: broad
2026-07-10 20:29:01 +08:00

10 lines
690 B
Markdown

# Documentation Instructions
These rules apply to `docs/` changes in addition to the root instructions.
- Keep Chinese pages and their `docs/en/` counterparts aligned when both versions exist.
- Preserve VitePress structure and existing terminology; do not replace reference screenshots or media unless the task requires it.
- Run `bun run check:docs` when selected by `bun run check:impact`.
- `check:docs` runs `npm ci` and may rebuild root `node_modules`; run it sequentially with other checks that use the root dependency tree.
- Release instructions must stay consistent with `scripts/release.ts`, `.github/workflows/release-desktop.yml`, and the versioned release-notes convention.