Skip to content

docs(guides): drop restatements of what skills and config already say - #285

Merged
Ardnived merged 4 commits into
mainfrom
claude/docs-intent-guides
Nov 20, 2026
Merged

Ardnived merged 4 commits into
mainfrom
claude/docs-intent-guides

Conversation

@Ardnived

@Ardnived Ardnived commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Applies 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.
  • The skills guide's copy of securityReview.triggerPattern had already drifted: it left out loop-config.json.
  • The critic's three consider findings are built: ste-lint.py has a locator again, and three more copied config values became names.

Change outline

Per guide

Guide Change Rule question it failed
AGENTS.md Cut "that script also decides whether a comment carries identity.commentMarker…". budget.mjs and start-run own it. 1 — mechanism the script shows
AGENTS.md Cut "improve-loop runs rule-delta.mjs…, audit-code runs ste-lint.py…". Kept "Neither is part of the automated gate." 2 — who-runs-what list the skills hold
AGENTS.md ste-lint.py → workflow/lib/ste-lint.py: the cut left the tool named with no locator anywhere. — (pointer restored)
AGENTS.md WIP-cap bullet: dropped its repeat of "one commit per behaviour" (stated under You cannot test a change by running it) and the "now that" change narration. One home per fact
AGENTS.md Journal section: ops-journal, twice, → the label labels.journal names. The ⚠ warning and the exclusion rule stay. Name, never copy
AGENTS.md Conventions bullet: prAllowlistGlobs is ** → prAllowlistGlobs in .claude/workflow.json says so. Name, never copy
workflow/skills/AGENTS.md Replaced an inline copy of securityReview.triggerPattern's contents with a pointer to .claude/workflow.json. The copy was already wrong. 2 — a list of conditions config holds
workflow/skills/AGENTS.md file-ticket (Bash(gh issue:*), Bash(gh api:*), …) → file-ticket's frontmatter. Still matching, same shape. Name, never copy
workflow/hooks/AGENTS.md Untouched: every line is a gotcha. —

Kept 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. Plugin version 5.8.0 → 5.8.1, because CI's version check covers workflow/skills/.

docs/why.md keeps its ops-journal literals on purpose: they are dated evidence, and #the-ops-journal-exclusion-is-mandatory is an anchor other skills link to.

Preview

No preview surface — guides only.

Test results

  • Lean gate: ✓ claude plugin validate ./workflow --strict, node --test workflow/lib/*.test.mjs (147 pass)
  • node --test dispatcher/test/*.test.mjs: 390 pass
  • node workflow/lib/rule-delta.mjs --base origin/main workflow/skills: 92 → 92 directives, none dropped.
  • Security review (workflow/skills/AGENTS.md matches securityReview.triggerPattern): no findings. The allowed-tools warning and its RCE framing are intact.
  • No test reads guide text; searched workflow/lib/*.test.mjs and dispatcher/test/.

Notes for reviewer

  • Failure this prevents: a contributor trusting a copied list after it has drifted. The trigger-pattern copy already had.
  • This diff is small on purpose. This repo's guides are ⚠ gotchas about editing a live-deployed plugin, and the rule keeps those.

🤖 Generated with Claude Code

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]>
@sydevs-bot

sydevs-bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

🤖 no session running

recent dispatches
  • 22:27Z address-review · attempt 1 · session · done
  • 22:27Z address-review · attempt 1 · session
  • 22:19Z review-pr · attempt 3 · session · done
  • 22:19Z review-pr · attempt 3 · session
  • 21:08Z review-pr · attempt 2 · session · timed out

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 20, 2026
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026
@sydevs-bot

Copy link
Copy Markdown
Contributor

The session for review-pr did not finish after 3 attempts. I have stopped retrying. A mention (@sydevs-bot) or a push from you starts me again.

🤖 sydevs dispatcher

@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 20, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 20, 2026
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 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; with plugin.json the 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 leaves ste-lint.py named with no run site.
  • consider — AGENTS.md:184: prAllowlistGlobs is **, and line 50 copies ops-journal.
  • consider — workflow/skills/AGENTS.md:6: the bullet keeps a copy of file-ticket's allowed-tools beside 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" for leanGate.command, and "one commit per behaviour" under You cannot test a change by running it.
  • rule-delta.mjs over the main and branch trees: 92 → 92.
  • The bump is required, not extra: .github/workflows/ci.yml:77 matches workflow/skills.
  • The old prose did omit loop-config.json from securityReview.triggerPattern; file-ticket/SKILL.md:6 still 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

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread workflow/skills/AGENTS.md Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026
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
@sydevs-bot

Copy link
Copy Markdown
Contributor

Three critic threads built, none rebutted. Pushed e4de5c6, three commits, one per thread.

The review body's should-fix was right: the body's part counts were wrong. The guides are +17 / −21, net −4; the PR reads +18 / −22. Body refreshed with that and the new rows.

Lean gate ✓ 147 pass. Dispatcher 390 pass. rule-delta.mjs 92 → 92, none dropped. Security review: no findings. The branch was already current with main, so no merge commit.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 20, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@sydevs-bot sydevs-bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 20, 2026
@Ardnived
Ardnived merged commit d7e2789 into main Nov 20, 2026
59 of 64 checks passed
@Ardnived
Ardnived deleted the claude/docs-intent-guides branch November 20, 2026 22:38
@sydevs-bot sydevs-bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants