Generated summary file
Generated summary file. A new summary or report file in the repo. It describes one session's work and will be stale tomorrow.
This is how the comment reads inline, under the flagged line.
Why it matters
Agents leave IMPLEMENTATION_SUMMARY.md and FIXES_REPORT.md behind. They narrate one session and nobody updates them.
What to do
Put the summary in the PR description. Keep docs that explain the system, not the session.
Examples
IMPLEMENTATION_SUMMARY.md
(the PR description)
What it catches
It reads the shape of the code: functions, blocks, loops and calls. Languages: Any file. Scope: All files. These cases are the rule's own tests: the first set must be flagged and the second must not.
Flagged
IMPLEMENTATION_SUMMARY.md
# Summary
Left alone
docs/architecture.md
# Architecture
Research
Generated `SUMMARY.md`, `REPORT.md` and `FINAL_*.md` files. The files go stale at once and mislead the next reader or agent.
Turn it off or change it
In a config file for the CLI, or in the API's rules field:
{
"rules": {
"disable": [
"doc-sprawl"
],
"severity": {
"doc-sprawl": "medium"
}
}
}