docs(templates): clarify the medium severity clause #141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/report-template-typo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
In the report template's severity scale, the medium clause reads "medium when a reader would stop to ask, such a goal's check holds only in part, or it is needless code, text, or duplication". That is a list of three conditions, but the second one reads like an example with a missing "as". One reviewer reported it as a typo, and this change first fixed it as one. Adding "as" would have made that condition an example of the first and changed the scale.
What changed
How to verify
git diff --word-diff=plain mainadds only the two "when"s.tr '\n' ' ' < .agents/templates/report.md | grep -c "when such a goal's check holds only in part, or when it is needless"prints 1 here and 0 on main.These pass on the tip:
bash tests/verify-agent-config.sh(257),bash tests/check-work-folder.sh(46),.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.sh, andgit diff --check main. The behavioral evals were not run, since a two-word change to a template gives them nothing to measure.