Repository navigation
Description
Severity: IMPORTANT for item 1, SUGGESTION for the rest (assigned by an audit agent;
uncalibrated — not re-graded by a human).
Defects in the sibling repo-fleet-hygiene:setup skill, found while using it to persist a fleet scope.
1. Step 5 tells setup to do the one thing setup says it never does
setup/SKILL.md "What this skill does NOT do" states:
Run a fleet audit — that is
/repo-fleet-hygiene:audit.checkvalidates config only; it never
walks the fleet.
Its own apply step 5 ("Verify after remediation") then prescribes:
git config --file "<config-path>" --list >/dev/null
bash ".../skills/audit/scripts/audit-fleet.sh" --config "<config-path>"The second command is the full fleet walk. Following step 5 as written violates the skill's own
boundary. On the audited fleet that is not a trivial contradiction — the collector issues per-repo gh
queries across 11 repositories and takes minutes, so a "verify my config parses" step silently becomes
a full network-bound audit run.
Fix: verify the config without walking the fleet — parse validity plus path resolution, which is
exactly what check already does. If an end-to-end proof is genuinely wanted, make it opt-in and say
it runs a real audit.
2. setup owns maxDepth but cannot set it
The config grammar setup documents includes maxDepth = 5, and the audit script implements
--max-depth (1..12). But setup's own argument grammar is:
check | apply [--config <path>] [--root <dir>]... [--repo <dir>]...
[--canonical <github.com/owner/repo=path>]... [--ack-unavailable <github.com/owner/repo>]...
There is no way to set maxDepth through the skill that owns writing the config file. A consumer who
needs a non-default depth must hand-edit the file setup claims to manage. Relatedly, --max-depth is
implemented and documented in the audit skill's body but missing from its argument-hint.
3. The relative-path preference has no cross-volume form on Windows
setup prefers a path relative to the config file's directory, because "some consumer environments run
a write-time path-portability guard that rejects absolute paths in tracked config".
On Windows a fleet root frequently sits on a different volume from the config file. Here the config
resolves to C:/Users/<user>/.claude/repo-fleet-hygiene.conf and the fleet root is D:/repos. No
relative path exists between two volumes, so the preferred form is unreachable and the absolute form
— the one the guard rejects — is the only option.
The Gotchas section documents the preference and the guard but names no cross-volume exception, leaving
a consumer to conclude they have done something wrong.
Fix: state the exception, and say what a consumer should do when the portability guard and a
cross-volume root conflict.
4. The project-vs-user-global gotcha is vacuous on a home-directory project
setup warns that a project-scoped config is invisible from other projects and that a fleet-wide config
belongs at the user-global path. On this machine the project directory is the home directory, so
both rungs resolve to the same file (~/.claude/repo-fleet-hygiene.conf) and the warning cannot apply.
This compounds with the substitution defect filed separately: CLAUDE_PROJECT_DIR is unset in the Bash
tool environment, so the project rung is not merely aliased — it is unreachable. Two of the three
documented ladder rungs therefore collapse or vanish on a common setup, while the docs present a
three-rung ladder.
5. A determinism claim with no deterministic component behind it
setup is pure prose — no allowed-tools, no script — yet claims a determinism property ("prefers the
portable relative form") that only a deterministic implementation could guarantee. As written, whether
the relative form is chosen depends on the model following prose. Either add a small writer script, or
soften the claim to guidance.
6. No --no-config escape hatch
--config requires an existing file (audit-fleet.sh:304), and there is no way to say "ignore config
entirely for this run". So a user-global config is silently additive to any CLI-supplied target: a
consumer who passes --repo X expecting a single-repo audit still gets every configured root walked,
with nothing in the output flagging the merge. Filed here because setup is what creates the persistent
config whose scope cannot then be suppressed.
Environment
repo-fleet-hygiene0.7.0, marketplace installmelodic-software- Claude Code on Windows 11 Pro 10.0.26200; project directory is the user's home directory
- Config written this session to
C:/Users/<user>/.claude/repo-fleet-hygiene.conf, fleet root onD: - Observed 2026-07-29/30
Activity
kyle-sexton commentedon Jul 31, 2026
Items 1-5 are delivered in #1861 (
Refs #1801, deliberately notFixes), so this issue stays open for item 6 alone:applyverification is now config-only (parse validity plus per-entry path resolution). An end-to-end run is an explicit handoff to/repo-fleet-hygiene:audit, stated as a real audit.maxDepthunsettable.--max-depthadded tosetup's grammar, and to the audit skill'sargument-hint, which was also missing it.--project-dirin, sinceCLAUDE_PROJECT_DIRis not in the Bash tool environment.Deferred — item 6, the
--no-configescape hatch. Not done, and deliberately so: it is a feature add rather than a defect fix (new flag parsing, both SKILL.mds,argument-hint, test, eval), and it carries an unresolved semantic question — does--no-configsuppress only thefleet.root/fleet.repoladder, or also[canonical …]sections andfleet.ackUnavailable? That needs deciding before implementation.The additive behaviour item 6 complains about is now at least disclosed rather than silent: the report header carries a computed
Scope:line naming every rung that contributed and its entry count, andsetupgained a gotcha stating that a persisted config widens every later run with no way to suppress it for one invocation.fix(repo-fleet-hygiene): canonical resolution, substitution rungs, an…
kyle-sexton commentedon Aug 12, 2026
Claiming items 1–3 for a focused setup-skill fix in branch
cursor/fix-1801-fleet-setup-boundary-2ae1(commitff87dee5).Delivered in this change set:
applystep 5 now enumerates every config-onlycheckprobe (parse, path resolution,maxDepth, identity normalization) and explicitly forbids invoking the collector; end-to-end proof remains an opt-in handoff to/repo-fleet-hygiene:audit.maxDepthsettable — body Argument grammar section documents--max-depth <1..12>alongside the frontmatterargument-hint.Setup skill and evals only;
audit-fleet.shuntouched. Plugin bumped to 0.12.0.Refs #1801 — item 6 (
--no-configescape hatch) remains deferred per prior discussion.fix(repo-fleet-hygiene): setup skill boundary, maxDepth grammar, cros…
kyle-sexton commentedon Aug 12, 2026
Branch rebased to
origin/main; final commit is62d801ce(replacesff87dee5after dropping an unrelated ancestor).