mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-03-18 11:54:42 +03:00
2.0 KiB
2.0 KiB
Document Gardening Playbook
Use document gardening to keep agent-facing and implementation docs current, lint-clean, and actionable during active development.
What It Includes
- fix markdown lint/style issues
- refresh stale links and pointers
- sync status boards and handoff logs
- archive completed short-term goals
- remove drift between policy docs and current workflow
What It Does Not Include
- changing product behavior
- changing source code unless explicitly requested
- rewriting long-form architecture without a scoped request
CI Flow Integration
Use the lane split from documentation/agents/ci_lane_contract.md.
- Upstream GitHub lane:
- run markdown/doc lint checks
- validate docs can be rendered and linked
- fail fast on malformed docs
- Local LXD lane:
- run agent-driven gardening tasks
- update short-term coordination docs
- produce handoff notes for next session
Standard Gardening Task
- Read:
AGENTS.mddocumentation/agents/README.mddocumentation/short-term/coordination/workstream_board.md
- Lint target docs.
- Apply minimal, scoped fixes.
- Re-run lint.
- Update handoff/status docs if task context changed.
- Report:
- files touched
- lint evidence
- residual risks
Baseline Commands
npx -y markdownlint-cli2 "documentation/**/*.md" AGENTS.md
Optional targeted run:
npx -y markdownlint-cli2 \
AGENTS.md \
documentation/agents/**/*.md \
documentation/short-term/**/*.md
Prompt Template
Use this when assigning gardening in CI/LXD:
Run a document gardening pass for the current goal.
Scope: AGENTS.md, documentation/agents/, documentation/short-term/.
Requirements:
1) lint markdown and fix only in-scope issues,
2) keep behavior/policy intent unchanged,
3) update workstream board + handoff log if status changed,
4) report lint before/after and residual issues.
Related Active Goal
documentation/short-term/active/GOAL-003-agent-doc-lint-ci.mdtracks short-term implementation for agent-driven doc linting in CI/CD.