Skip to content

disk-hygiene: documented argument surface omits --max-depth and --confirmed-large-scan #2589

Closed

Description

@kyle-sexton

Problem

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

  1. added
    needs-triage
    on Aug 14, 2026
  2. kyle-sexton commented on Aug 14, 2026

    @kyle-sexton
    MemberAuthor

    Claimed by cloud orchestrator lane disk-hygiene (Wave 1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions