Skip to content

cli: identity-flag polish + the --mode misuse-guard gap (scaffolds a literal '--mode' directory) #96

Description

@SollanSystems

Three CLI items from the Slice 2 reviews (PR #94):

  1. --executor " a " stores produced_by.executor == " a " verbatim — detection is unaffected (doctor normalizes strip+casefold) but the record is non-canonical. Record value.strip().
  2. The new identity guards and their missing-value error print the error only; the --expect-chain-head model they mirror also echoes _USAGE. Cosmetic parity.
  3. PRE-EXISTING, verified live during review: --mode has NO misuse guard at all — loop scaffold --mode basic <target> exits 0 and scaffolds a directory literally named --mode. The identity flags and --expect-chain-head both guard; --mode should too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions