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
disk-hygiene: documented argument surface omits --max-depth and --confirmed-large-scan #2589
The clean skill's argument-parsing sentence declares only optional --execute, optional --policy <file>, and one target directory. The engine accepts, and the skill body itself depends on, several more flags — including the single most important one for the workflow the skill otherwise insists on.
Missing from the documented surface
--max-depth <N> — the skill's own §1 calls this the preferred bounded response for a large target, yet a reader taking the parsing sentence as the argument list will not learn it exists.
--confirmed-large-scan — the deliberate-full-walk confirmation, gated by the confirmation gate.
--output, --project-dir, --data-root — required on every scan invocation.
--snapshot, --plan, --report, --confirm-tier, --approval-token, --paths on the other subcommands.
Why it matters
The bounded-first discipline is the skill's central safety property for large targets. Documenting the flag that implements it only in a later section, while the "Arguments and boundaries" section presents an apparently complete list that omits it, teaches the wrong argument surface at the point where a reader forms their mental model.
Observed directly: a session read the parsing sentence, did not find --max-depth listed among the arguments, and flagged its absence as a gap.
Proposed change
Make the parsing sentence the complete user-facing argument surface — --execute, --policy, --max-depth, --confirmed-large-scan, and the target — and state separately that the remaining engine flags are supplied by the skill rather than typed by the user.
Activity
kyle-sexton commentedon Aug 14, 2026
Claimed by cloud orchestrator lane disk-hygiene (Wave 1).
fix(disk-hygiene): do not flag PowerShell 2>&1 as file redirect (#2627)
fix(disk-hygiene): restore root-children flags to the documented argu…
fix(disk-hygiene): restore root-children flags to the documented argu…