Skip to content

auto-mode classifier: deferred vendor-surface gaps from #697 (compound decomposition, prefix-allow short-circuit, natural-language autoMode.allow) #1235

Description

@kyle-sexton

Problem

#697's closing comment (2026-07-20) recorded three classifier-internal gaps as "not org-tunable; deferred with trigger — vendor surface changes" — but the deferral lived only in that comment, invisible to the work loop and to any trigger watcher. This issue makes them tracked work.

The three gaps, as observed in the #697 mining window (transcripts 2026-07-07 → 07-20):

  1. No compound-command decomposition — the classifier could auto-approve a compound command iff every segment is individually safe; today the whole string prompts. 84% of shell prompts in the mining window were compound; 92% of prompts whose operative verb was already allowlisted were compound — more verb rules cannot fix this class.
  2. Prefix allow rule does not short-circuit the category safety layer for external writesgh api repos/* / graphql / issue create allow rules still prompted in the final 48h of the window.
  3. Natural-language autoMode.allow standing grant not honored — 39 "Merge Without Review" blocks despite the standing-approval text. source-control:babysit-prs: safety.md's 'never retry a harness permission denial' rule doesn't match auto-mode classifier's actual (retriable) behavior #455 documents an adjacent classifier-behavior mismatch.

Precondition (do this first)

Before any other work: diff each gap against the current Claude Code changelog/release notes since 2026-07-20 (the vendor ships multiple releases per week — see the medley changelog-triage issue stream). Any gap already closed upstream is checked off here with the closing version cited. Record the checked-at Claude Code version in a comment so the trigger condition is anchored, not floating.

Trigger

Vendor surface changes (per #697's original deferral). Re-check on changelog-triage cadence.

Source

Extracted from #697's closing comment during the 2026-07-24 "Auto Mode" interview session; filing ratified by operator (Q3).

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.priority: mediumReal value, no hard deadline; normal backlog flow.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions