Skip to content

fix(cli): explain unanalyzed language scope on selector misses - #10848

Merged
EffortlessSteven merged 1 commit into
mainfrom
codex/10720-selector-limitations
Oct 27, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
codex/10720-selector-limitations

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm
  • repair or follow-up for a same-repo swarm PR

Source-of-truth Links

Proposal: n/a; repair of the reported fresh lookup behavior.
Spec: docs/specs/RIPR-SPEC-0003-agent-context.md.
ADR: n/a; existing app and producer owners are retained.
Plan item: #1693 ordinary Rust adoption and #9278 first-use command consistency; no new programme.
Governing issue or accepted claim: #10720, owned fresh-selector continuation after #10798.
Acceptance delta (one sentence): Both fresh lookup commands disclose producer-owned unavailable/disabled/failed language scope and available recovery on a miss without inventing selector causality or changing the existing miss response.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): codex/10720-selector-limitations.
Stack parent or prerequisite PR (if any): #10798 is merged; this candidate starts at its landing 04ea06d99b0773d8176238c9817a56ebff50f8fc.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): n/a.
Accepted winner and losing candidate disposition (when decided): n/a; no competing candidate identified for this remaining fresh-selector behavior.

Scope

The shared fresh miss owner receives the existing CheckOutput, projects its advisory names/reasons/recovery and native non-success language run reasons, then appends a plain run-scope section. The dirty-default branch retains its committed and worktree listings. Successful selections, ambiguity and undecided selector handling retain their existing routes.

Scope Classification

  • One production behavior

Production delta: app::explain::no_finding_matched_fresh_run and the two fresh callers preserve analysis limitations previously discarded by a miss.

Evidence/support delta: real CLI regressions, existing SPEC-0003 traceability, exit/output documentation and one changelog fragment.

Single acceptance criterion: a fresh miss in detected but unanalyzed scope names the producer-owned limitation and correct remedy while preserving exit 2, empty stdout, prose stderr and the same root/base/diff/worktree/mode navigation.

Non-goals: new language detection, feature/support promotion, repair readiness changes, packet schema changes, artifact carrier expansion, native verifier work, runtime mutation evidence or performance claims.

Support-tier Impact

  • changes a README, release, docs, CLI, JSON, editor, CI, or package claim

The change documents CLI miss guidance only; no support tier changes. --from artifacts do not have the complete fresh advisory carrier, so artifact misses do not reconstruct ambient facts. Sample paths are capped and are not used to attribute a miss to a particular language.

Policy Impact

  • doc artifacts

No new dependency, process-spawn/network call, exception, schema value or registry. Existing fixture command helpers are reused. No operating-policy changes.

Changelog disposition: changelog.d/10720-selector-language-recovery.md follows the canonical changelog.d/README.md example: first-line <!-- section: Fixed -->, - bullet and trailing (#10720) reference.

Proof

cargo xtask worktree doctor
cargo xtask check-fast                  # exact clean base; 0 selected paths
cargo check -p ripr --lib               # exact clean base, narrow owner check
cargo fmt --all --check
cargo test -p ripr --test cli_smoke selector_language_recovery -- --test-threads=1 --nocapture

Results: exact-base doctor, zero-path check-fast and narrow library check passed. Final test-only RED executed five real CLI tests: three intended missing-guidance failures and two passing controls (exit 101). Repaired GREEN on committed 3b4daae7ca0d03a35164039de6cada84778ba5d5 executed the same five tests: five passed, zero failed (native exit 0; 36.83 seconds compilation and 2.48 seconds test runtime). The unchanged final test source has SHA-256 a6712c9fbdc14b92ff2ae60e0dc6dda614ca3e4eb9cbe1bfbb93612070cf8b5f. Public before/after receipts use the same real fixture and preserve exit 2, empty stdout and the exact scoped listing command; the after receipt adds the producer-owned four-file TypeScript limitation and remedy.

Ten additional existing real CLI regression controls passed from the same built test executable (seven selector-recovery scope tests, ambiguity/gap identity, location syntax/retry scope and typed-context untyped-failure fallback; native exits all 0).

The default-feature matrix covers both commands; disabled TypeScript with mixed Rust findings; four changed files beyond the three-sample cap; committed/worktree/dirty-default/supplied-diff scope; spaces in paths and recovery replay from a different Git repository; enabled TypeScript hit and ordinary miss; Rust hit and malformed/seam selector guidance; artifact non-invention; and uncompiled Perl prerequisite recovery. The feature-gated enabled-Perl/no-packet native-reason row is authored but execution is NOT_ESTABLISHED in this local/default route. Normal required hosted execution uses default features; all-features compilation alone does not execute that row.

Direct existing xtask checks passed: static-language, process-policy, no-panic-family, allow-attributes, local-context, traceability, spec-format, output-contracts, changelog-fragments, doc-index, generated and generated-clean. A direct file-policy check unexpectedly launched broad coverage compilation; its owned driver subtree was stopped (native 143) and this dimension is NOT_ESTABLISHED locally. The required hosted policy subsequently passed as recorded below. Full lib-test compilation and changed broad check-fast/Clippy/precommit were omitted under the known local memory/storage limit; those local omissions remain distinct from the hosted proof below. The new regressions were not executed on native Windows.

Claim Boundary

Fresh selector misses now expose the existing producer's run-scope limitations and recovery. A limitation does not establish why a particular selector missed, and a static result is not runtime proof. This does not add missing artifact advisories or qualify unsupported language adapters.

Rollback

Revert this candidate as one bounded behavior/documentation/test change. No data migration, schema version or workflow change is involved.

Spec-Test-Code Traceability

  • Spec: RIPR-SPEC-0003 fresh selector refusal and language scope guidance.
  • Tests: crates/ripr/tests/cli_smoke/selector_language_recovery.rs, mapped in .ripr/traceability.toml.
  • Code: crates/ripr/src/app/explain.rs shared fresh miss owner and crates/ripr/src/app/context.rs fresh consumer.
  • Golden outputs: no new golden authority; literal public CLI assertions and actual producer setup checks.
  • Metrics: no new metric or adequacy claim.
  • ADR/learning: existing owners; no new architecture.

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.
  • Unknowns include stop reasons where applicable.

CI Economics

n/a; no workflow, lane, label, branch-protection or artifact-family changes.

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented in production code.
  • No new panic, unwrap, expect, todo, or unimplemented in tests.
  • New non-Rust programming files are allowlisted with owner, surface, and reason. (None added.)
  • New generated, dependency, process-spawn, or network surfaces are allowlisted with owner and reason. (None added.)
  • Errors are reported with actionable context.
  • Public JSON/schema changes are documented. (No schema change; prose-only refusal documented.)

Published identity and review

Published head: 074b36a6399739ce2385545039d11e4cca6069e2. Reviewed/tested local head: 3b4daae7ca0d03a35164039de6cada84778ba5d5. Both have the exact tree 74fa5d05f9da989373046cdc836c1684b7767094; Git-data publication changes commit metadata only.

An independent exact-candidate source/oracle review inspected all nine changed files, shared and artifact consumers, producer methods, actual RED/GREEN and ten retained control executions, and same-fixture public before/after behavior. No blocking source, contract or oracle concern remains. Final independent/root disposition is REVIEW_READY, after actual native qualification and current review reconciliation. The explicit local/feature/platform omissions above are retained.

Pre-publication all-state #10720 search found only merged #10798 for the earlier typed-error slice. Current main f55b1e5807226a3a39ad702ff0fd26fef38d1d57 adds independent owner-pin, scoreboard, TS-method, check-action wording and Rust-pattern fixes. Inspection found no changes to this shared no-match owner, fresh callers or CLI tests; output-schema cache-version edits are independent. Normal hosted merge qualification owns the composed dependency set. No behind-only restack, unchanged-head replay, auto-merge or queue is requested.

Final native qualification

Run40449113015, attempt1 succeeded on merge 6f04fecdf34d81094c091caff9176fa7c2535225, tree a80379842b9bb57bdf006cf5ee3a2bc8d4fb8828 (parents f55b1e58 and reviewed head 074b36a6). Admission, actual repository/file policy, all-target/all-features check, strict workspace Clippy, golden/fixture/capability/corpus/contract/schema checks and the final required result passed.

Four shards passed 22,442 tests (5,700 / 5,634 / 5,579 / 5,529), including all five new regressions and ten existing scope/recovery controls. Root and the independent reviewer read the actual logs. The cover verifier reports 22,442 intended/listed = 22,442 JUnit tests, zero missing and zero duplicate. Doctests separately report two passed, one ignored. Per-shard partition exclusions are not test passes.

The Rust-only advisory lane remains failed on the unchanged executable-copy fixture with ETXTBSY (existing #10168 / Draft #10211); that exact fixture passed required shard4, and both applicable new Rust-only tests passed. No unchanged-head rerun was requested. Enabled-Perl/no-packet execution remains unestablished. Current inline threads are empty; quota-limited reviews and UB's rejected model proof intent are not promoted into independent evidence.

Current main 3819ddb8f4a2842147e5d2e63eba6e137ac3e8d7 adds inspected #10828, #10844 and #9563 after the qualified base. Those changes do not alter the shared miss owner/callers or the new fixture stimuli. This currentness assessment is source-based; run40449113015 did not execute the newer full composition. Normal protected expected-head squash completed at 3892998e6e0e7fd66d9092238554b8ee96efdcb2, tree a0200a7f0756d354bb1c1b3f56d9b861c7230131, parent 3819ddb8. The merged PR, landing ancestry and #10720 closure were read back.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 165 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 24e53f34-37ba-43bb-b0f7-53c77bacb064
Commits

Reviewing files that changed from the base of the PR and between f55b1e5 and 074b36a.

Files selected for processing: 9
  • .ripr/traceability.toml
  • changelog.d/10720-selector-language-recovery.md
  • crates/ripr/src/app/context.rs
  • crates/ripr/src/app/explain.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/cli_smoke/selector_language_recovery.rs
  • docs/EXIT_CODES.md
  • docs/OUTPUT_SCHEMA.md
  • docs/specs/RIPR-SPEC-0003-agent-context.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEW_INCOMPLETE — source and oracle review clear; hosted qualification pending

Exact published head 074b36a6399739ce2385545039d11e4cca6069e2, tree 74fa5d05f9da989373046cdc836c1684b7767094, matches the independently reviewed/tested local source tree of 3b4daae7ca0d03a35164039de6cada84778ba5d5.

The independent reviewer read all nine changed files, fresh/artifact consumers, existing producer advisory/status semantics, new public CLI fixtures, specs/docs/traceability and retained execution. Root separately inspected the shared production diff and actual before/after/error and test output. No blocking source, contract or test-oracle finding remains.

  • Final identical test source ran against base production: five executed, three intended missing-guidance failures and two passing controls, native101.
  • On the committed repair: five executed and passed, native0; ten additional existing selector/ambiguity/syntax/fallback controls passed.
  • Actual rendering from the same fixture keeps exit2, empty stdout and the root/base/scope-bound listing, adding the four-file TypeScript limitation and the existing config remedy.
  • The shared projection retains producer authority, correctly interprets omitted successful run records, and uses no capped sample-path inference. Dirty-default navigation still reaches the disclosure. Hits, ambiguity, undecided lookup and artifact reuse retain their contracts.
  • Doc/schema wording and the changelog agree with this prose-only behavior. The exact published PR body passed the offline PR-shape check (native0).

Inspected merge ref 6f04fecdf34d81094c091caff9176fa7c2535225 composes this candidate with f55b1e5807226a3a39ad702ff0fd26fef38d1d57; its existence is not an execution claim. Intervening main changes do not alter the reviewed no-match owner/callers or test stimuli. Normal native qualification must test the composed dependency set.

Still required: actual published/current composed-source CI, native review/Conversation/thread disposition and final integration judgment. The cancelled local file-policy driver (143), omitted broad local lib-test/Clippy and unexecuted enabled-Perl/native-Windows rows retain their stated limits. All-features compile alone is not enabled-Perl execution. Source review does not waive any required gate.

The selected candidate may proceed to its normal hosted qualification request. This is not final merge clearance; the owning lead retains continuation through results, repairs if needed, final exact-head review and normal protected squash.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 27, 2026 04:19
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refuted

  • The notice may falsely claim that a detected-but-unanalyzed language caused the selector miss.; refuted because: The wording describes analysis limitations for the run, and the spec explicitly disclaims causal attribution; capped sample paths are not used to attribute the miss.
  • The fresh language guidance is reconstructed for recorded --from artifact lookups.; refuted because: Artifact lookups do not call the fresh projection and have no complete advisory carrier; tests assert no limitation section is emitted.
  • The feature-gated Perl path might invent configuration recovery for an unavailable native adapter.; refuted because: The implementation delegates recovery to advisory.unaudited_why and preserves the native run reason; the Perl test distinguishes compiled-out from unavailable states.

Parked follow-ups

  • The enabled Perl/no-packet test row is feature-gated and the PR explicitly leaves its native execution unestablished.

Evidence gaps

  • The enabled-Perl/no-packet path and hosted composed-source qualification remain unproven locally.
  • The enabled-Perl/no-packet branch is compiled only when lang-perl is enabled and has not been executed in the supplied local/default route.
  • Model proof intent was rejected by deterministic validation.
  • The enabled-Perl/no-packet test row is feature-gated and the published thread states it was not executed locally; hosted qualification remains the relevant proof gap.
  • The enabled-Perl no-packet branch remains authored but not established in the available default-feature execution.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEW_READY — source, native qualification and integration reviewed

Exact reviewed published head: 074b36a6399739ce2385545039d11e4cca6069e2, tree 74fa5d05f9da989373046cdc836c1684b7767094 (same source tree as local 3b4daae7). Root and the independent reviewer found no remaining blocking source, contract or test-oracle defect.

Actual native proof

Qualification40449113015, attempt1 completed successfully. Admission, Rust gates, four test shards, the shard-cover verifier and required Ripr Rust Small Result all succeeded on actual checkout 6f04fecdf34d81094c091caff9176fa7c2535225, tree a80379842b9bb57bdf006cf5ee3a2bc8d4fb8828, parents f55b1e58 and this reviewed head.

Root and the independent reviewer read the native logs, not only check conclusions. Formatting, repository/file/evidence policy, all-target all-features checking, strict workspace Clippy, goldens, fixture/capability/contract/schema/corpus checks passed. The four shards actually passed 5,700 + 5,634 + 5,579 + 5,529 = 22,442 tests. All five new default-feature regressions and ten existing selector/recovery controls have actual PASS rows. The cover verifier independently reports 22,442 intended/listed = 22,442 JUnit tests, zero duplicates and zero missing. Final result122021799032 revalidated expected head, eligibility and admission; the live required check is successful from App15368.

Retained limitations and review disposition

The separate Rust-only advisory run failed the unchanged unlinked_running_executable_renders_bare_ripr_through_production_path fixture with ETXTBSY; existing #10168 / Draft #10211 owns this known test failure. It is not a selector finding. The same fixture actually passed required shard4, and both applicable new Rust-only regressions passed. The failed advisory run remains failed; it is not being retried into a green claim.

Enabled-Perl/no-packet execution remains unestablished; all-features compilation does not execute that row. Local broad-library/Clippy and cancelled local file-policy attempts retain their stated omissions. Optional platform/installation/model-client claims are not inferred from the required Linux suite.

Current inline threads: zero. Devin reported no findings. Gemini/CodeRabbit quota limits establish missing reviews, not approval. UB Review reports no remaining source finding; its enabled-Perl limits remain, and its model-proof-intent deterministic rejection is not promoted into an accepted proof. Independent source/oracle review and actual native qualification supply their own evidence.

Integration judgment

Current main 3819ddb8f4a2842147e5d2e63eba6e137ac3e8d7 differs from qualified base f55b1e58 by three inspected landings: TypeScript string-literal hook scanning (#10828), ordinary-loop documentation/control (#10844), and process-owner/Windows containment controls (#9563). They do not change this shared miss owner, fresh callers, selector fixtures or language-scope projection. The relevant TypeScript fixture has no quoted hook-write stimulus. This is an explicit source-applicability judgment; the newer full composition is not claimed executed by run40449113015.

The PR head is unchanged, mergeable, and branch protection requires the now-successful Ripr Rust Small Result; the active ruleset requires resolved threads and provides no bypass. Ready for normal protected expected-head squash merge. No auto-merge, merge queue, behind-only rebase or optional rerun is needed.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

consistency: context refuses an unresolvable base as analysis_failed where check says base_unresolvable, and "no finding matched" leaves stdout empty

1 participant