You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
playbooks: repo-sweep next records every skill as run when an entry does not apply #5181
reference/next.md section 2 reads an entry's applies-when but never tells the session to test it before invoking the entry's skills. When an entry does not apply, the only way to close it is tick.sh <id> no-findings <skill@version>..., which takes every skill in the entry.
applies-when is "repo has a docs tree and a file-name casing rule". The repo has no docs/ tree; inventory.sh printed SCANNED 0 docs.
docs-hygiene:realign-file-names was never invoked, yet the checklist now reads docs-hygiene:[email protected], docs-hygiene:[email protected], no findings.
history.sh derives run / rerun recommendations from these records, so a later plan treats realign as having run at 0.23.1.
"Ran and found nothing" and "did not apply" produce the same line; nothing distinguishes them.
Proposed fix
In next.md section 2, test applies-when with cheap evidence (tracked-file listing, globs) before invoking any skill.
Add tick.sh <id> not-applicable <reason>, which records no skill versions, and teach history.sh to treat it as not run.
When an entry stops partway (audit found nothing, fix skill not needed), record only the skills actually invoked.
Acceptance
A not-applicable entry is ticked without invoking its skills and without Playbook-Step or version claims.
history.sh does not count a not-applicable tick as a run.
Partly fixed by #4863: next re-checks applies-when before each step and ticks not-applicable "<evidence>", and history skips those lines. Kept open for the residual below.
Agent Brief
Type: Bug Summary: A repo-sweep entry whose applies-when is false records no skill as run.
Current behavior:
The second occurrence (a repo with no skills) shows skill-quality ticked no-findings skill-quality:check@..., so the checklist records the entry as run; evals-validate has the same applies-when and hits the same path.
Desired behavior:
An entry whose applies-when is false ticks not-applicable with evidence and records no skill@version. The plan's Not run: list names skipped skill-dependent entries.
Acceptance criteria:
In a repo with no SKILL.md files, skill-quality and evals-validate tick not-applicable with evidence and list no skill@version.
A regression test in the repo-sweep script tests covers it.
Activity
kyle-sexton commentedon Sep 29, 2026
Second occurrence on melodic-software/.github#153, step
skill-quality(playbooks 0.13.0):applies-whenis "repo has skills". The repo has no.claude/skillsdirectory and no trackedSKILL.md.tick.sh skill-quality no-findings skill-quality:[email protected], so the checklist records the entry as run.evals-validate, has the same applies-when and will hit the same path.Not run:list, so plan left both skill-dependent entries checked in a repo with no skills.kyle-sexton commentedon Sep 29, 2026
This was generated by AI during triage.
Partly fixed by #4863: next re-checks applies-when before each step and ticks
not-applicable "<evidence>", and history skips those lines. Kept open for the residual below.Agent Brief
Type: Bug
Summary: A repo-sweep entry whose applies-when is false records no skill as run.
Current behavior:
The second occurrence (a repo with no skills) shows
skill-qualitytickedno-findings skill-quality:check@..., so the checklist records the entry as run;evals-validatehas the same applies-when and hits the same path.Desired behavior:
An entry whose applies-when is false ticks
not-applicablewith evidence and records no skill@version. The plan'sNot run:list names skipped skill-dependent entries.Acceptance criteria:
Out of scope:
fix(playbooks): anchor repo-sweep not-applicable detection to the out…
fix(docs-hygiene): treat an empty audit-file-names root as empty, not…
fix(playbooks): repo-sweep instruction-placement persists declines (#…