Repository navigation
docs(guides): drop restatements of what skills and config already say - #285
Conversation
Applies docs/documentation.md to this repo's three guides. The hooks guide and most of the root and skills guides are gotchas, and stay. Cut: who runs rule-delta and ste-lint (the skills say), what budget.mjs decides about the marker (the script says), and a repeat of the one-commit-per-behaviour rule. The skills guide's copy of securityReview.triggerPattern had already drifted — it omitted loop-config.json — so it now names the pattern instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
|
The session for review-pr did not finish after 3 attempts. I have stopped retrying. A mention ( 🤖 sydevs dispatcher |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
The diff is no bigger than the problem: three cuts, one pointer, one bump CI forces. Every cut's fact is still re-derivable where it is acted on, all four checked, and rule-delta.mjs reports 92 → 92 directives, so no imperative left the plugin. The triggerPattern copy really had drifted, so that pointer is a straight win. Two things fall short of the PR's own rule: the body's line counts do not match the diff, and the pass stopped at three cuts while the same file still copies two config values. No contract surface is touched.
Findings
should-fix— PR body,## Change outline: "−4 lines in the guides (+6 / −10)". The guides are +7 / −11; withplugin.jsonthe PR header reads +8 / −12. The net is right, the parts match neither. No inline thread — a body claim.consider—AGENTS.md:113: the cut leavesste-lint.pynamed with no run site.consider—AGENTS.md:184:prAllowlistGlobsis**, and line 50 copiesops-journal.consider—workflow/skills/AGENTS.md:6: the bullet keeps a copy offile-ticket'sallowed-toolsbeside its new pointer.
What was checked
- Both touched guides read whole on the branch, and
workflow/hooks/AGENTS.md— "Untouched" holds. - Each cut's other home:
improve-loop/SKILL.md:110,audit-code/comment-sweep.md:68,start-run/SKILL.md's marker rule,AGENTS.md"The gate" forleanGate.command, and "one commit per behaviour" under You cannot test a change by running it. rule-delta.mjsover themainand branch trees: 92 → 92.- The bump is required, not extra:
.github/workflows/ci.yml:77matchesworkflow/skills. - The old prose did omit
loop-config.jsonfromsecurityReview.triggerPattern;file-ticket/SKILL.md:6still matches its quoted tools. - Ladder: the diff adds no file, symbol, constant or dependency.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
The cut that removed the who-runs-what list left `ste-lint.py` named in the guide with no locator: a contributor had to grep to find it, while `rule-delta.mjs` keeps its command two lines up. Naming the file instead of the run site keeps the cut. Where the tool runs is the skills' fact, and `audit-code/comment-sweep.md` holds it. Addresses #285 (comment) Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVyuFeeveLDDvPzdkv
Both bullets copied a config value into prose, the drift this PR exists to prevent. The journal section spelled `ops-journal` twice beside the key that holds it, and the Conventions bullet spelled `prAllowlistGlobs` as `**`. Either value can move in `loop-config.json` or `.claude/workflow.json` and leave the guide wrong with nothing to catch it. The ⚠ warning, the exclusion rule and the no-ticket rule all stay. Addresses #285 (comment) Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVyuFeeveLDDvPzdkv
The bullet traded one copied config value for a pointer and kept another beside it: `file-ticket`'s `allowed-tools` entries, spelled out in prose. They match today, which is what makes the shape easy to miss. The narrow-versus-broad comparison is the invariant and stays. The list belongs to `file-ticket/SKILL.md`'s frontmatter alone. Addresses #285 (comment) Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVyuFeeveLDDvPzdkv
|
Three critic threads built, none rebutted. Pushed e4de5c6, three commits, one per thread.
The review body's Lean gate ✓ 147 pass. Dispatcher 390 pass. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
sydevs-bot
left a comment
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is
Summary
docs/documentation.md(feat(docs): prose says only what the code cannot #284) to this repo's own guides. Six cuts and two pointers; the gotchas all stay.securityReview.triggerPatternhad already drifted: it left outloop-config.json.considerfindings are built:ste-lint.pyhas a locator again, and three more copied config values became names.Change outline
Per guide
AGENTS.mdidentity.commentMarker…".budget.mjsandstart-runown it.AGENTS.mdimprove-looprunsrule-delta.mjs…,audit-coderunsste-lint.py…". Kept "Neither is part of the automated gate."AGENTS.mdste-lint.py→workflow/lib/ste-lint.py: the cut left the tool named with no locator anywhere.AGENTS.mdAGENTS.mdops-journal, twice, → the labellabels.journalnames. The ⚠ warning and the exclusion rule stay.AGENTS.mdprAllowlistGlobsis**→prAllowlistGlobsin.claude/workflow.jsonsays so.workflow/skills/AGENTS.mdsecurityReview.triggerPattern's contents with a pointer to.claude/workflow.json. The copy was already wrong.workflow/skills/AGENTS.mdfile-ticket(Bash(gh issue:*),Bash(gh api:*), …) →file-ticket's frontmatter. Still matching, same shape.workflow/hooks/AGENTS.mdKept on purpose: every ⚠ section, the protected-paths list and its WeMeditateWeb#97 evidence, and all
(why: …)pointers.Net: −4 lines in the guides (+17 / −21); with
plugin.json, the PR reads +18 / −22. Pluginversion5.8.0 → 5.8.1, because CI's version check coversworkflow/skills/.docs/why.mdkeeps itsops-journalliterals on purpose: they are dated evidence, and#the-ops-journal-exclusion-is-mandatoryis an anchor other skills link to.Preview
No preview surface — guides only.
Test results
claude plugin validate ./workflow --strict,node --test workflow/lib/*.test.mjs(147 pass)node --test dispatcher/test/*.test.mjs: 390 passnode workflow/lib/rule-delta.mjs --base origin/main workflow/skills: 92 → 92 directives, none dropped.workflow/skills/AGENTS.mdmatchessecurityReview.triggerPattern): no findings. Theallowed-toolswarning and its RCE framing are intact.workflow/lib/*.test.mjsanddispatcher/test/.Notes for reviewer
🤖 Generated with Claude Code