Skip to content

fix(repo-hygiene): quiesce check must match the command name, not the path - #154

Merged
avrabe merged 1 commit into
mainfrom
fix/quiesce-pgrep
Aug 7, 2026
Merged

fix(repo-hygiene): quiesce check must match the command name, not the path#154
avrabe merged 1 commit into
mainfrom
fix/quiesce-pgrep

Conversation

@avrabe

@avrabe avrabe commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

fix(repo-hygiene): quiesce check must match the command name, not the path

Step 0's ps aux | grep -E 'cargo|rustc|bazel' matches any binary installed
under ~/.cargo/bin, plus anything whose arguments mention such a path. On a
normal developer machine it is near-permanently non-empty, so the sweep would
abort every time — the skill's first gate made the skill unusable.

Reproduced independently on an idle machine: the old check returns 5 matches,
pgrep -x 'cargo|rustc|bazel' returns 0.

Switches to pgrep -x, notes the portable ps -eo comm= equivalent, and warns
that the same name-vs-path care applies anywhere the skill greps ps.

Also adds the anti-pattern the reporter named: a precondition that cries wolf
gets routed around by habit, and is then ignored the once it fires for real —
the human-factors twin of the vacuous gate. A guard that misfires is a bug in
the guard, not something to learn to skip.

repo-hygiene 0.1.0 -> 0.1.1; plugin 0.16.1 -> 0.16.2.

Closes #149

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

… path

Step 0's `ps aux | grep -E 'cargo|rustc|bazel'` matches any binary installed
under ~/.cargo/bin, plus anything whose arguments mention such a path. On a
normal developer machine it is near-permanently non-empty, so the sweep would
abort every time — the skill's first gate made the skill unusable.

Reproduced independently on an idle machine: the old check returns 5 matches,
`pgrep -x 'cargo|rustc|bazel'` returns 0.

Switches to pgrep -x, notes the portable `ps -eo comm=` equivalent, and warns
that the same name-vs-path care applies anywhere the skill greps ps.

Also adds the anti-pattern the reporter named: a precondition that cries wolf
gets routed around by habit, and is then ignored the once it fires for real —
the human-factors twin of the vacuous gate. A guard that misfires is a bug in
the guard, not something to learn to skip.

repo-hygiene 0.1.0 -> 0.1.1; plugin 0.16.1 -> 0.16.2.

Closes #149

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@avrabe
avrabe merged commit 67d3ffd into main Aug 7, 2026
1 check passed
@avrabe
avrabe deleted the fix/quiesce-pgrep branch August 7, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

repo-hygiene step 0: the quiesce grep matches any ~/.cargo/bin tool — 4 false positives, would abort a valid sweep

1 participant