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
repo-fleet-hygiene: fleet config silently ignored outside the project that wrote it — user-global fallback + consumed-config visibility #1099
The audit's config auto-load is project-scoped — "If --config is absent and ${CLAUDE_PROJECT_DIR}/.claude/repo-fleet-hygiene.conf exists, pass that file" — and setup apply writes to the same template-expanded default. A fleet config is inherently machine-scoped: the same user invoking /repo-fleet-hygiene:audit from any real project gets no auto-config, and the audit silently narrows to that single project — exactly the pre-config default the config was built to escape. Nothing in setup check, setup apply, or the audit report says the config was not consumed. (Reproduced: setup apply from one directory, audit from a different project → single-project report, no mention of the existing config.)
Three coordinated changes (producer's proposed fixes 1+2+3 together):
User-global fallback in audit input resolution: if --config is absent and the project-scoped config does not exist, probe ~/.claude/repo-fleet-hygiene.conf before defaulting to current-project. Explicit --config stays the top override; the project-scoped file stays above the user-global one. This does not violate the "never guess a broader machine root" rule — an explicit user-global config file is recorded user intent, not guessing.
Report visibility: the audit report header states which config file (if any) was consumed (e.g. Config: <path> / Config: none (current project default)), so silent non-consumption is visible. Script header change.
Setup doc: setup check/apply output states the scoping rule explicitly — which locations the audit probes and in what order, and that a project-scoped config is consumed only when the audit runs with that same project directory.
Keep setup's default write target as-is (project-scoped) but document how to place a machine-global config (--config ~/.claude/repo-fleet-hygiene.conf).
Acceptance criteria
Audit resolution order: explicit --config > ${CLAUDE_PROJECT_DIR}/.claude/repo-fleet-hygiene.conf > ~/.claude/repo-fleet-hygiene.conf > current-project default — encoded in the audit SKILL.md and honored by the invocation flow
Audit report header names the consumed config path or states none was consumed
Setup skill text documents the scoping rule and the user-global placement option
Bundled audit-fleet.test.sh still passes; new coverage for the header line
Activity
kyle-sexton commentedon Jul 23, 2026
fix(repo-fleet-hygiene): config resolution ladder + consumed-config v…
docs(repo-fleet-hygiene): relative-path setup guidance, per-root disc…