Skip to content

test(proof): discriminate unknown Cargo option provenance decline #1444

Closed

Description

@EffortlessSteven

At frozen PR #1417 head b19edcb / tree 45fc64f2cb6b28959ce04e155218fd2a39f909b7, the one-line compiling mutation in selection_request changes _ if arg.starts_with('-') => unknown_option = true to false. Actual cargo test --workspace --locked cargo_selection passes all 9 relevant native tests (zero ignored), and cargo test --test cli_run --locked passes all 4 CLI tests. The seven- and fourteen-input lists have independent missing-package/context/mixed reasons and do not discriminate this assignment; see canonical EffortlessMetrics/ripr-swarm#4478 (comment).

This is a bounded adapter regression-test gap, not evidence of a reachable production defect: the existing approved-command resolver already refuses arbitrary unknown options. Add a native fixture test with an otherwise complete locked package/integration target; unknown option before -- must remain skipped/unresolved with no proof execution, while ordinary selection and supported harness options after -- execute. Preserve value-taking selector and context-sensitive option boundaries. Prove red on the compiling assignment mutant and green on unchanged production. No production semantics, allowlist, analyzer, pin, suppression or gate changes.

Deduplication: #1429 concerns metadata stdout containment, a separate predicate. This issue does not clear all198/max0 rows or activate deferred #1309. Companion branch must originate at the frozen head, preserve fix/cargo-selection-guard, and remain Draft with explicit integration limits.

Activity

  1. EffortlessSteven commented on Nov 4, 2026

    @EffortlessSteven
    MemberAuthor

    Closing as completed on main (2026-11-04 open-issue board sweep; 29-issue verified batch).

    Ground truth: its subject matter does not exist on main.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions