Skip to content

disk-hygiene: engine gate refuses a --target path containing braces #5641

Closed

Description

@kyle-sexton

The disk-hygiene engine gate refuses a --target path that contains braces, even when the call is otherwise identical to an allowed one.

Observed on melo-desk-001's native Windows lane (Claude Code 2.1.286, disk-hygiene 0.34.3) during the #5228 probe (comment, section 3): a read-only /disk-hygiene:clean snapshot of C:/Users/KyleSexton/AppData/Local/wsl/{673ac4db-a2e3-459e-882c-1ec71b253aa2} was refused twice, in double and in single quotes, with "Disk-hygiene engine gate: this specific engine invocation is gated". The same call against the brace-free C:\Users\KyleSexton\AppData\Local\Docker\wsl\disk was allowed. The denial names no reason.

That folder is where WSL keeps each distro's ext4.vhdx, so the engine cannot snapshot it at all.

Expected

  • A quoted --target whose path contains { or } is accepted by the engine gate when the rest of the invocation is exact.
  • If braces must stay refused, the denial names the failing token and why.
  • A regression test covers a GUID-style {...} path segment.

Raw output: .work/fleet-probes/5228-engine.jsonl on melo-desk-001's WSL side.

Activity

  1. added
    needs-triage
    on Oct 1, 2026
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