Skip to content

skills(running-tend): flag doc placement and deprecated names when reviewing PRs - #4733

Merged
max-sixty merged 2 commits into
mainfrom
daily/review-runs-42460270527-review-doc-placement
Nov 8, 2026
Merged

max-sixty merged 2 commits into
mainfrom
daily/review-runs-42460270527-review-doc-placement

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

The PR-review overlay already asks whether an added doc sentence is worth having. It doesn't ask where the sentence goes, or whether a new enumerating surface should list deprecated names. This adds both checks to .claude/skills/running-tend/references/review-pr.md:

  • Placement. A capability few readers need belongs in its own section late on the page, not in the overview every reader passes through. The review should name a better spot instead of approving past it.
  • Current names only. A newly published schema, completion set or docs table lists only current keys and commands. The loader keeps accepting deprecated aliases, but new surfaces don't advertise them.

These are the two points max-sixty raised on #4726 after the bot's review had approved it. The first came with "I would have expected you to catch this". Both are this repo's documentation and deprecation policy, applied from AGENTS.md ("detail proportional to how many readers need it"; deprecated config is migrated, not carried forward), so they go in the overlay rather than upstream.

Evidence
  • Review run 42444279886 approved Publish JSON Schemas for user and project config #4726 at bbeecd3. Its second pass was scoped as "peripheral-to-moderate (… one doc sentence)". The session ran grep "pre-create\|post-create" src/config/deprecation.rs, so it saw that the schemas included the deprecated pre-create/post-create hook aliases, and it raised neither point. The only finding it posted was a stale code comment.
  • The schema sentence had been added between the config-files table and the first example on the config page. It was later moved to its own ## Editor schemas section at the end of the page.
  • Notifications run 42456122638 applied both corrections in 4b19eb8, then fixed the docs TOC count test that the new heading broke in 333adb2.
  • Tracking: review-runs-tracking: 2026-11 #4657.

@worktrunk-bot worktrunk-bot added the review-runs Findings from the daily review-runs workflow label Nov 8, 2026

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The new paragraph says deprecated aliases stay accepted "with their warning", but the aliases behind this rule, pre-create/post-create, load without any warning: canonicalize_hook_keys is registered as DeprecationRule::Silent in src/config/deprecation.rs because the hook rename is paused (#2838). A reviewer applying the rule could take that as a claim that every accepted alias warns. Dropping the clause keeps the rule without the claim. I'll push this change.

pre-create/post-create load silently (DeprecationRule::Silent), so not
every accepted alias warns.
@max-sixty
max-sixty merged commit a6ebf8b into main Nov 8, 2026
36 checks passed
@max-sixty
max-sixty deleted the daily/review-runs-42460270527-review-doc-placement branch November 8, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-runs Findings from the daily review-runs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants