Repository navigation
fix(stub): reuse classified placement for --at --kind (#13383) - #13401
EffortlessSteven wants to merge 3 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 57 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed head 4258d3c10fc85a71dd7dff2a88e4c993838f1ae8, tree 69a2a9f220f7cfd9ce625c1c7c9f4e1b8126e798. Inspected the complete published nine-file patch and the selector, classified producer, packet eligibility, pre-write guard, source revalidation, tests and documentation contracts.
No actionable source finding remains. Shape selection/refusal precedes exact-ID enrichment; unsupported and ambiguous selections cannot become ready through it. Strongly-gripped optional scaffolds and nearest notes are preserved. The existing classified owner supplies placement and the existing divergence guard; no parallel authority or additional inventory lookup was added.
Observed source proof: baseline actual continue exits 2 with terminal cage violation; repaired integration route leaves source bytes unchanged, creates the admitted test target and records a compliant retained cage verdict. Three-selector parity and quoted-root replay pass. The generated placeholder still fails its native Cargo test. 56 focused integration cases, 32 app resolver/inventory unit cases, 14 CLI guard cases and the help/parser case passed in the retained runs.
Runtime artifacts are stamped 0b52286853d017f69c7e939a5a1a362383c0b0c2; product source is byte-identical at this reviewed head. These are explicitly carried-forward source results. Fresh final-stamp/cache-namespace and hosted integration qualification are outside this source attestation. The PR body retains the complete inspection record, commands, exact identities, resource-stopped aggregate and remaining evidence limits.
There was a problem hiding this comment.
Decision
- Needs one verification check before upstream.
Verification questions
- Confirm the new regression covers the primary kinded-at placement route, but the diff does not show a broad sweep proving all sibling resolution and inventory lookup paths preserve the intended placement and guard behavior.
Parked follow-ups
- No crypto/compression/runtime-specific sibling route is implicated by the changed placement and repair-cage behavior.
Evidence gaps
- Fresh final-head cargo-test completion is not established by the supplied evidence packet.
- Model proof intent was rejected by deterministic validation.
- Final-head executable evidence is incomplete because the cargo-test sensor receipt is absent and the PR body explicitly disclaims a fresh final-head build qualification.
- Final-HEAD test execution is not established by the available review packet.
- No fresh cargo-test receipt is available; the PR's reported focused runs and seeded source review do not establish current-head executable qualification.
- No fresh final-head cargo-test receipt is present; retained runtime results come from an earlier source-equivalent build.
- The implementation reuses the exact classified entry returned by inventory_entry_facts, but final-head runtime qualification remains incomplete because cargo-test is receipt-absent and ripr failed.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
An independent fresh-subagent review of head 3dc2c15 (code commit 4258d3c plus a merge of main ff68655) found no blocking findings in the diff. The classified resolution is used only when the kind is set, the outcome is ok and the entry is headline-eligible, after shape selection and its refusals have run. The fallback keeps the old placement only for non-headline entries or a missing inventory entry, and then no repair route is invented. Both callers of the changed lookup are updated, and the new integration test compares placement, guard and edit cage across the three selectors. Spec, traceability and changelog are consistent.
Notes for the owner: the PR body still cites the earlier base and head, so it needs a refresh before qualification. The preview-navigation test (agent_tests) was not independently verified on this head; the hosted result on the exact head settles it.
Generated by Claude Code
|
A lead from the closed duplicate #13405, which took a similar approach: its hosted run failed three tests in Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED
Current head 3dc2c15 does not yet satisfy preservation proof. The newly reported collection replay lead is applicable: cargo test -p ripr --test collection_out_parameter_repair exited 101, with 26 passed and three earlier-name replay controls failing. Their fixtures still inspect/edit src/lib.rs although the repaired first write now goes to the classified integration target. This establishes an affected test-fixture contract; the second-write placement behavior needs a corrected-target discriminator before qualification. The candidate remains Draft and no merge-ready request was made. The prior positive source conclusion must not be used to qualify this head until the finding is reconciled and affected proof/review is refreshed.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the broad claim that all sibling resolution and inventory lookup paths preserve placement and guard behavior is not fully established by the available evidence; the missing current cargo-test receipt and focused three-selector sweep leave qualification open.
- Confirm a repository-wide sweep of unrelated resolver and placement meta-classes is not established by this patch packet.
Evidence gaps
- Current-head cargo-test execution evidence is not independently available because the sensor receipt is absent.
- Fresh final-head cargo-test qualification remains unavailable in this packet.
- The requested broad sibling-route sweep remains unestablished in the available current sensor evidence.
- A fresh cargo-test receipt is not present in the supplied packet, so current-head executable qualification cannot be established from sensor evidence alone.
- Final-head cargo-test evidence and required hosted qualification are not established by this review packet, leaving regression confidence dependent on the seeded PR evidence and existing review thread.
- Current-head broad cargo-test execution is not established by the shared sensor packet, and hosted/native Windows qualification remains explicitly absent.
- Model proof intent was rejected by deterministic validation.
There was a problem hiding this comment.
Verification questions
- Confirm broad sibling resolution and inventory paths remain incompletely qualified as security-relevant write-guard coverage.
- Confirm repository-wide unrelated resolver and placement meta-class coverage is not established by this scoped packet.
- Confirm the patch does not establish a repository-wide sweep of unrelated resolver and inventory lookup routes.
Refuted
- Kinded --at selection performs post-selection classified lookup and reuses the selected entry for placement and guard behavior; no worker handoff or async transfer boundary is introduced.
Evidence gaps
- Current executable qualification is incomplete because the cargo-test sensor receipt is absent and ripr failed.
- Current-head executable qualification is not established by the available sensor packet because the scheduled cargo-test receipt is absent.
- Current-head executable qualification is not established by the packet; the ripr sensor failed and cargo-test has no receipt.
- Current executable qualification remains unestablished by sensor evidence.
- Model proof intent was rejected by deterministic validation.
- Current-head executable qualification is not independently established in the sensor packet.
- Current-head executable qualification is still not established by the supplied sensor packet.
Parked follow-ups
- The changed placement API is Rust-specific and does not reveal crypto, compression, or runtime helper siblings requiring equivalent modification.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed current head 993c0f7f120690dee0289db09083e2ab81954dbe, tree 50b8d1744e2213d20f3c1473dea7cf83fc78804e, against accepted main ff68655. Fetched remote merge subject 457ef7a61d168fecdc3470fad28a922691ef4518 has that main and this head as parents and the identical tree, including the accepted preview fix.
Cumulative inspection covers all eleven changed paths, shape selection/refusals, exact-ID lookup and both callers, classified placement, gap eligibility, next_repair/divergence and pre-write consumers, uniqueness/replay behavior, continuation cage, tests and public contracts. No actionable scoped source finding remains. The earlier replay finding is repaired here: the gap-only producer retains its NotAGap gate and delegates unchanged placement logic to the selected-scaffold helper. Only an already-successful explicit shape may reuse it for a non-headline scaffold, with disclosure and no repair route. Missing/unsupported/ambiguous resolution gains no authority. The existing inventory-loading call is unchanged; no second lookup or cache implementation was added.
Current-head proof: native precommit exit 0, independently confirmed eleven-path selector, ripr/xtask selected Clippy pass; receipt sha256:5431c5798bc7278b60a38bd7d104e442f2fb960eb3d3ec9190be59510a2c9760. Fresh CLI suites passed 86 cases, including actual printed-command continuation, literal admitted target/source-byte invariants, three-selector guard parity and earlier-name replay. Fresh unit executable passed 32 resolver controls, 14 CLI guard controls and the exact formerly-red preview test. Goldens passed 928 fixtures / 2,386 comparisons with current revision provenance. Proposed-target replay independently leaves source/test bytes unchanged after grip strengthens and offers no repair route. Generated TODO compilation/failure remains a control separating a safe stub from completed repair.
The old product and corrected-target replay failures distinguish both repairs. Historical runs retain their original subjects in the complete PR evidence and inspection record. This source judgment does not establish a repository-wide unrelated sibling sweep, missing advisory sensor receipt, Windows execution, required hosted qualification, final integration judgment or release readiness.
ripr static exposure checkCommit Took 62s. |
|
|
Current integration reviewThe published head remains On Linux/Rust 1.95.0, a disposable integration subject with parents
The review followed classified selection, refusals, placement, repair eligibility and the pre-write divergence guard, plus replay, proposal binding, documentation and the retained conflict resolution. No actionable source finding was identified in this scoped pass. The emitted-command regression exercises the admitted target and continuation cage while preserving production bytes; its TODO remains an unfinished test, not a completed repair. The earlier 27,798-test hosted run remains evidence for |
|
Taking over the integration conflict on this PR. Basis: the last owner activity is the 2026-11-06 15:02 UTC checkpoint (about 42 hours ago), the head 993c0f7 is qualified (run 42186038110 green) and source-reviewed, and the only thing blocking it is the single content conflict in Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Source and integration review of head 9d92399 for #13383. The PR-owned change is unchanged since the cumulative source review and attestation at 993c0f7 (classified placement for --at --kind, gap-only wrapper, optional-scaffold replay, no repair route for a strongly-gripped scaffold). The head adds one normal merge commit of current main (aaa1161) with a single content conflict in crates/ripr/tests/proposal_only_repair_start.rs: the printed-command cage regression is kept and main's reason parameter on assert_refused_not_started (#13376) is adopted, with all three call sites passing reasons. Combined-tree proof run on the merged head: collection_out_parameter_repair (29), proposal_only_repair_start (7, including the printed-command cage regression), agent_stub_compiles (40), agent_stub_at_disclosure (9), agent_compact_navigation (1), mcp_cli_repair_parity (9), mcp lib (322), cargo fmt --check and cargo xtask precommit. The interactions with main's proposal-binding, cage and MCP proposal-readiness (#13568) changes were checked and show no contradiction of this PR's claim. No review threads are open. Earlier hosted run 42186038110 qualified 993c0f7 only; hosted exact-head proof for this head is requested by merge-ready.
Generated by Claude Code
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Head 55fcb68. Clean merge of current main into the reviewed candidate; the PR's own diff (eleven paths) is unchanged since the previously reviewed head, and the merged main changes do not touch the stub placement, packet eligibility or edit-cage owners. Earlier source and oracle review carries over for the unchanged dimensions.
Generated by Claude Code
There was a problem hiding this comment.
Confirmed findings
- The prior cross-language printed-command concern remains unresolved on the current diff.
- Executable qualification is incomplete in the supplied sensor packet because cargo-test is receipt-absent and ripr failed.
Verification questions
- Confirm the scoped proof exercises one Rust integration-test seam and three selector forms, not repository-wide resolver variants.
- Confirm a prior review raised that check's printed stub route may bypass classified cross-language refusal; the current diff preserves refusal in the classified helper but does not itself prove the check-to-write route applies it.
- Confirm the seeded Devin objection remains applicable to the printed check-side route: shape-only stub_route_for_finding can coexist with classified cross-language refusal.
- Confirm changed placement and replay routes are covered by focused tests, but unrelated sibling resolver and placement helpers were not exhaustively swept.
Evidence gaps
- The cargo-test sensor receipt remains absent, so this review packet cannot independently establish fresh current-sensor execution despite seeded focused and hosted test evidence.
- Current combined-main behavior is not independently established by the supplied sensor packet because the cargo-test receipt is absent and the ripr sensor failed.
- The sensor packet lacks a fresh cargo-test receipt and ripr failed, so current executable qualification cannot be inferred from this packet alone.
- Fresh current-head cargo-test sensor evidence is absent, leaving execution-level lifetime and state-transition regressions dependent on seeded focused and hosted evidence.
- No repository-wide hostile-filesystem-race, Windows, all-features, or combined-tree execution is established by this packet.
- Model proof intent was rejected by deterministic validation.
|
Disposition: parked, not merge-ready. This PR is CONFLICTING with Owner: coding ripr-swarm. Revisit by 2026-11-21, or close it earlier as superseded if another candidate lands the same issue. No code was rejected here; this records the unowned state rather than leaving it silent. |
55fcb68 to
bbd5605
Compare
Conflict repair published; fresh exact-head review requiredRebased PR #13401 from exact remote head
Two semantic overlaps were retained without changing scope:
The main movement from Focused proof on the exact published head: Exit 0: 29 + 9 + 42 + 9 = 89 passed, 0 failed. Also on the exact published head:
No full workspace suite, hosted qualification, merge-ready state or protected-merge eligibility is claimed. Earlier review and qualification objects refer to the old head and do not qualify |
|
Rebased from Two open devin threads: Review dispatched at the exact head, scoped to whether the rebase kept both sides correctly — main's reason-aware refusal helper and the new printed-kind cage regression — whether the two threads are addressed, and whether the change is still the #13383 scope. No |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
VERDICT: APPROVE bbd5605
No blocking findings on this head.
The rebase is pure. The PR's own diff against its merge base is identical at 55fcb689 and bbd56055: 11 files, 249 additions / 47 deletions, same paths. The two overlaps the coder named are resolved correctly. Main's reason-aware refusal helper is present (plain_ambiguity_reason, withheld_ambiguity), and the printed-kind cage regression printed_kind_stub_stays_inside_the_retained_repair_cage is present with assert_refused_not_started(root, context, reason) carrying main's reason parameter at all call sites. Both spec test mappings are retained in .ripr/traceability.toml and in the RIPR-SPEC-0287 Test Mapping section. The change is still the #13383 scope: --at --kind reuses the selected seam's classified placement and repair guard, with no wider behavior.
The two open devin threads are real, and neither is addressed by this head:
PRRT_kwDOSiSx0c60_1q3(app/test_stub.rs:224): the check-sidestub_route_for_findingstill resolves the shape only and does not apply the classified cross-language outcome, socheckcan print anagent stub --at ... --kind ...command that the explicit command refuses withcross_language_target. This is a pre-existing check-route mismatch, not introduced by #13383, so I am resolving it as out of scope for this PR rather than blocking on it.PRRT_kwDOSiSx0c60_1rz(docs/AGENT_WORKFLOWS.md:335): the guide's earlier sentence still says the--at --kindstub is "placed inline", while the paragraph this PR adds says it reuses the classified placement. The two sentences contradict each other when classification selects an integration test file. This is a real docs inconsistency created by this PR's own docs change; it is non-blocking, and I am leaving the thread open for a one-line correction.
Limits: static review only; no build or test run on this host.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
VERDICT: APPROVE bbd5605
No blocking findings on this head.
The rebase is pure. The PR's own diff against its merge base is identical at 55fcb689 and bbd56055: 11 files, 249 additions / 47 deletions, same paths. The two overlaps the coder named are resolved correctly. Main's reason-aware refusal helper is present (plain_ambiguity_reason, withheld_ambiguity), and the printed-kind cage regression printed_kind_stub_stays_inside_the_retained_repair_cage is present with assert_refused_not_started(root, context, reason) carrying main's reason parameter at all call sites. Both spec test mappings are retained in .ripr/traceability.toml and in the RIPR-SPEC-0287 Test Mapping section. The change is still the #13383 scope: --at --kind reuses the selected seam's classified placement and repair guard, with no wider behavior.
The two open devin threads are real, and neither is addressed by this head:
PRRT_kwDOSiSx0c60_1q3(app/test_stub.rs:224): the check-sidestub_route_for_findingstill resolves the shape only and does not apply the classified cross-language outcome, socheckcan print anagent stub --at ... --kind ...command that the explicit command refuses withcross_language_target. This is a pre-existing check-route mismatch, not introduced by #13383, so I am resolving it as out of scope for this PR rather than blocking on it.PRRT_kwDOSiSx0c60_1rz(docs/AGENT_WORKFLOWS.md:335): the guide's earlier sentence still says the--at --kindstub is "placed inline", while the paragraph this PR adds says it reuses the classified placement. The two sentences contradict each other when classification selects an integration test file. This is a real docs inconsistency created by this PR's own docs change; it is non-blocking, and I am leaving the thread open for a one-line correction.
Limits: static review only; no build or test run on this host.
|
Review 5905969150 approves One thread remains open, and it is real: Disposition: one-line docs correction dispatched, not a thread resolution. The contradiction is real, so resolving it without the fix would leave the guide wrong. The other thread ( No |
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: BLOCK bbd5605 — two blocking findings.
Static review of the exact head bbd5605514e1727354c13da17b0ad06e2f8a8318 (tree from merge-base d80ff85325, two commits: a8c78231cb, bbd5605514). No build, no test run, no checkout.
1. The generated CLI reference is stale, so cli_reference_matches_the_binary fails at this head
Predicate: docs/CLI_REFERENCE.md must equal the document rendered from the shipped binary's own help (crates/ripr/tests/cli_reference_doc.rs, cli_reference_matches_the_binary).
Input: a8c78231cb changed AGENT_STUB_HELP in crates/ripr/src/cli/help/agent.rs to "after successful selection it reuses the matching classified entry for placement, repair-route guards and disclosure when available". docs/CLI_REFERENCE.md still carries the pre-change body under ### agent-stub: "after selection it looks up the inventory grip so the stub can disclose it". The renderer copies ripr help agent stub verbatim into that section, so the byte comparison cannot pass.
Why the earlier qualification could not catch it: docs/CLI_REFERENCE.md does not exist at the body's recorded head 993c0f7f; it arrived with main after that head. The rebase onto current main brought the generated file and the test, and the help edit was not reblessed.
Fix: RIPR_BLESS_CLI_REFERENCE=1 cargo test -p ripr --test cli_reference_doc.
2. check's printed stub command and the resolver's answer can now disagree
Predicate: the module contract in crates/ripr/src/app/test_stub.rs — "the route is printed only when this same resolver produces a stub for that location, so the printed command and its answer cannot disagree" (#5471/#8444).
stub_route_for_finding still decides from resolve_at_location (shape only). resolve_test_stub now reuses the classified entry and can return TestStubRefusal::CrossLanguage for the same selector, so the printed command can refuse where the route promised a stub.
Reachable input: a headline-eligible Rust seam on a cross-language surface (cross_language_surface_hint true: an ffi/, python/, bindings/, napi/, wasm/, pyo3/, jni/, uniffi/, cxx/, node/ path segment, or a marker in the owner/expression) with a Rust related test whose relation is not DirectOwnerCall/HelperOwnerCall and no direct-owner-call test. Then:
cross_language_test_target_unresolved(entry)is true, so the new first branch callsresolution_forand the producer refuses withCrossLanguage;cross_language_oracle_visibility_unresolved(entry)is false (a Rust related test exists), so the finding is still reported as a gap;boundary_observed_weak_oracle_testreturnsNonefor exactly this entry (it excludescross_language_test_target_unresolved), socheckprintsripr agent stub --at FILE:LINE --kind FAMILYrather than the weak-oracle line.
Before this change the same command produced an inline stub. Fix: apply the same classified reuse in stub_route_for_finding, or suppress the route when the reuse refuses.
Stale statements the change leaves behind (non-blocking, same surface)
crates/ripr/src/app/test_stub.rs:266: "and is placed inline (an integration-file placement needs classified evidence, so it stays on--seam-id)" — contradicted by the new testprinted_kind_stub_stays_inside_the_retained_repair_cage, which asserts--at --kindplaces in the integration file.docs/AGENT_WORKFLOWS.md:298: "and placed inline. After selection the command looks up the inventory grip so JSON and human output can disclose it".docs/specs/RIPR-SPEC-0122-bounded-human-check-output.md:461: "the stub is placed inline (integration-file placement needs classified evidence and stays with--seam-id)".docs/specs/README.md:307: the RIPR-SPEC-0287 index row still says the block "is omitted entirely for--at --kindfile-parse selections".
Bookkeeping
The body's reviewed_head_sha and hosted qualification are 993c0f7f, not this head. This head carries no hosted Rust qualification (only CodeRabbit, GitGuardian and Graphite checks). The source change itself reads sound: shape selection and its ambiguity/refusal checks stay first, a refused shape is not promoted, the non-headline branch keeps next_repair absent, and the new tests discriminate placement, production-byte preservation and the cage verdict.
reviewed_head_sha: bbd5605514e1727354c13da17b0ad06e2f8a8318
claim_boundary: classified placement, guard and replay for a successfully selected explicit --at --kind shape; no promotion of unsupported shapes or non-gaps.
blocking_findings: stale generated CLI reference (deterministic test failure); printed-route/resolver disagreement for cross-language seams.
proof_or_review_missing: no build or test execution; hosted qualification at this head.
|
Disposition: repair dispatched at The earlier APPROVE at this head is superseded by review 5907277031. Two blocking findings:
Four stale statements are also named: No |
#13401 repair re-dispatched after a provider rate limitThe coding lens's reply was a provider failure note, not a result: the request failed before it answered (rate limit, 24,290 uncached input tokens/minute). The head is unchanged at Re-dispatched, same scope, concisely:
Plus the four stale statements ( Why this is a retry and not a repeat: the failure was infrastructure — the provider refused the request before the teammate saw it. The task content is unchanged. |
|
Published bounded repair at Changes:
Discriminating control: Proof (Linux/WSL, Rust 1.95.0):
Build-only limitation: the direct-rustc fixture launcher used The PR body now names this head/tree and records hosted qualification as pending. Run 42186038110 remains historical evidence for |
#13401 repaired at
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: APPROVE f40eae6 — no blocking findings on this head.
Refresh of my BLOCK at bbd5605514. Delta bbd5605514..f40eae6f3b is one commit, 6 files, +124/−80. Both blocking findings are repaired, and the non-blocking stale statements I named are repaired too.
Finding 1 (stale generated CLI reference) — repaired. docs/CLI_REFERENCE.md now carries the new AGENT_STUB_HELP body verbatim: I compared the help text in crates/ripr/src/cli/help/agent.rs with the ### agent-stub section line by line, and the four changed lines ("after successful selection it reuses the / matching classified entry for placement, repair-route guards and disclosure / when available. A strongly_gripped seam is still a / scaffold …") are byte-identical, including the line breaks the renderer copies.
Finding 2 (printed route vs resolver disagreement) — repaired. The classified reuse is extracted into reuse_classified_at_entry and called from both resolve_test_stub and stub_route_for_finding. The route now takes the same resolution_for/rust_test_stub_for_selected_classified_seam path as the explicit command, and a refusal becomes StubRouteDecision::Refused, which renders No test stub here: <reason> rather than a stub command. The new test kinded_route_and_explicit_command_share_cross_language_refusal builds exactly the reachable input I named — a src/ffi/bridge.rs predicate seam with a SameTestFile related test — asserts the explicit command refuses CrossLanguage, and asserts the route decision is Refused with the same reason.
Stale statements — repaired. test_stub.rs's doc comment, docs/AGENT_WORKFLOWS.md, docs/specs/README.md (RIPR-SPEC-0287 row) and RIPR-SPEC-0122 now say the classified entry owns placement and refusals, including integration files and unresolved cross-language targets, and that a refusal prints No test stub here: <reason>. The spec no longer claims integration-file placement stays with --seam-id.
Cost note (non-blocking). stub_route_for_finding now performs one inventory_entry_facts lookup per finding where a non-predicate route previously did none. The lookup is the cached per-file complete inventory (inventory_file_guidance_at_with_config), and the updated test pins the count at 1 per route and 2 with the explicit command, so the cost is bounded and visible.
Qualification gap: this head carries no hosted Rust qualification (3 success, 1 neutral, no Ripr Rust Small Result), so neither the CLI-reference test nor the new cross-language test has run in CI at this head. mergeable is unknown from GitHub. Static review only: no build, no test run, no checkout.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
VERDICT: APPROVE f40eae6
No blocking findings on this head. The earlier BLOCK was the stale generated CLI reference, and it is repaired.
- The CLI reference now matches the help constant: the doc's agent-stub paragraph (
CLI_REFERENCE.md:711-718) is byte-identical toAGENT_STUB_HELP(cli/help/agent.rs:211-218).cli_reference_matches_the_binaryreads the doc in a normal run and writes only underRIPR_BLESS_CLI_REFERENCE=1, so the blessed reference is read-only. - The route and the explicit resolver now share
reuse_classified_at_entry, which bothresolve_test_stubandstub_route_for_findingcall. The new regressionkinded_route_and_explicit_command_share_cross_language_refusalbuilds a#[path]FFI module with a companion test and asserts the explicit resolver refusesCrossLanguageand the printed route carriesStubRouteDecision::Refusedwith the same reason. Atbbd56055the route skipped the classified entry, so it returned a ready stub; the shared helper closes that disagreement. - The four corrected statements match the code:
app/test_stub.rssays the classified entry owns placement and refusals, including integration and cross-language targets.AGENT_WORKFLOWS.mdsays the same for the--at --kindselection.RIPR-SPEC-0122says the printed route and the command agree after classified reuse.docs/specs/README.md(RIPR-SPEC-0287 row) says a kinded file-parse selection after shape selection can establish the repair block, while optional scaffolds, non-gaps and cross-language refusals omit it.
Zero unresolved review threads at this head. Static review only; no build or test run on this host.
Campaign disposition: APPROVE retracted — head does not compile
Failing evidence, head
So the regression test that was supposed to pin the shared classified-entry refusal does not compile, and nothing in the earlier record established that it ran. Disposition: repair dispatched to coding ripr-swarm, which owns this branch. The repair must make the test compile against the real This note changes no code, queue entry or thread. It records the retraction and the owner. The source claim itself (shared |
|
Disposition: REPAIR DISPATCHED (campaign orchestrator). Head
The narrower tests that were cited do not compile the lib-test target, so they could not catch this. Repair is with the branch owner; the head will move, which invalidates the f40 |
|
Evidence-only sweep triage: this PR currently conflicts with |
|
Coordination note (evidence-only reviewer): this branch is now conflicted with main ( |
Summary
The exact kinded selector printed by
ripr checkcould write an inline stub into production source while the repair packet admitted an integration test file. Actualcontinuethen failed withedit_cage_violation.After successful shape selection, the resolver retains the exact matched classified entry and reuses the existing placement owner. Headline gaps retain the existing repair-route/divergence guard. An explicitly selected optional scaffold uses that same classified placement after an earlier write strengthens the seam, preserving replay without admitting a repair for a non-gap. Ambiguous and unsupported shape refusals remain authoritative.
Fixes #13383.
Swarm / Source Boundary
Source-of-truth Links
Proposal: none; bounded existing issue repair.
Spec: RIPR-SPEC-0287.
ADR: none; reuse existing semantic owners.
Plan item: none separate from #13383.
Governing issue or accepted claim: #13383.
Acceptance delta (one sentence): the emitted kinded selector writes only the classified test target, leaves production bytes untouched and satisfies the retained continuation cage, while replay retains that target without promoting unsupported selections or non-gaps into repairs.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
codex/13383-classified-kind-stub.Current published head:
f40eae6f3b35a03dde1cf869e18a1e7d835b650c.Candidate tree:
f6427217acdbe49b6cfd7bae51d0c8f2b9e0b3bd.Stack parent or prerequisite PR (if any): none outstanding. Accepted #13168 supplied the preview-navigation prerequisite as main
ff686557b9fd0bc439a8003c1d00671ea1dd8afa; #13394 is superseded.Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): none.
Accepted winner and losing candidate disposition (when decided): this existing owner. Duplicate #13405 is closed and unmerged; its replay-test lead was investigated and repaired here.
#12008 retains its inventory-reuse scope. The existing scoped inventory-loading call is unchanged. No classifier/evidence, recursive-identity or #13382 state/prose projection work is absorbed.
Implementation and rollback
Relative to accepted main: eleven paths, 249 additions / 47 deletions. The original nine-path repair is extended only by the existing classified placement owner in
analysis/test_stub.rsand the collection replay controls.resolution_for,next_repair_for, packet eligibility and divergence enforcement.NotAGapcheck, then delegates its unchanged placement body torust_test_stub_for_selected_classified_seam. Only an already-successful explicit shape may use the latter for an optional scaffold.next_repair; classification failure grants no repair authority.tests/t.rs, check source bytes against their independent original string, preserve earlier-name/numbered-name identity checks. A different-body namesake is not recognized as an earlier stub: the command writes a separate scaffold and preserves that namesake. A JSON control requires strongly-gripped ready placement in that integration file with no repair route.Rollback: revert this PR's scoped change. No schema-version, dependency, settings or migration change. The changelog fragment follows the Fixed marker, bullet and trailing issue-reference format.
Composition and identities
Original source basis:
e4f5ff09e3f8e3fab9ac19d45cb5b5ea783ff88e, treeae477d732aa89f2580c5e973fc7d258477534641.Original published source head:
4258d3c10fc85a71dd7dff2a88e4c993838f1ae8, tree69a2a9f220f7cfd9ce625c1c7c9f4e1b8126e798.After #13168 landed, old remote subject
16df52ede3cc669f5a6efe2a2915b01dbe7e8acestill usedabf2272and lacked its material corrected assertion. A conflict-free history-preserving merge of accepted main produced3dc2c1597d7d1575f2d1fa793546ca38b8647345. This was material-prerequisite reconciliation, with no force push or copied unaccepted repair. Accepted changes were inspected: compact explain navigation/policy fallback, associated tests/spec/traceability and earlier quickstart updates; no stub/packet/cage owner changed.Current fetched GitHub merge subject:
457ef7a61d168fecdc3470fad28a922691ef4518.Parents: accepted main
ff686557b9fd0bc439a8003c1d00671ea1dd8afaand current head993c0f7f120690dee0289db09083e2ab81954dbe.Tree:
50b8d1744e2213d20f3c1473dea7cf83fc78804e, equal to the local candidate. The corrected preview assertion is included. Prerequisite runs do not qualify this composition.Discriminating proof
Linux, Rust 1.95.0, bounded single-job builds.
Baseline, before production edits: the emitted selector plus
--writesucceeded but changedsrc/lib.rs. Actualcontinueexited 2 with terminaledit_cage_violation, source ForbiddenPath and admitted test SelectedTargetNotChanged. The new regression exited 101 at that intended behavior. Preserved baseline executable:/tmp/13383-baseline-ripr, revision e4f5ff0, SHA-256c2962ba1c7ce74d772a45dbcf6f73f5d6fb3946faaf1dcb3a9e052fa26576c16.The regression replays the product's actual command through the retained host-shell decoder with a root containing spaces. It checks three-selector placement/guard parity, literal admitted target, unchanged production bytes, Git-visible edit set and actual retained continuation verdict. Framework-owned ignored
target/ripraudit records are excluded only from the cage record's own edit list; the independent Git-visible assertion remains. The generated TODO test compiles and fails at its labelled unfinished placeholder. A safe cage-compliant stub is not a complete repair transaction.Fresh current-head focused command:
Exit 0 on 993c0f7: 86 executed, zero failed/ignored/filtered: 29 collection controls, 7 continuation cases, 40 stub controls, 9 disclosure controls and 1 compact-navigation journey. Log:
/tmp/13383-replay-final-corrected.log.Replay discrimination: on 3dc2c15 the unchanged collection suite exited 101 (26 passed / 3 failed). After correcting its stale source-file fixture targets, it still exited 101 (27 passed / 2 failed): strongly-gripped replay wrote a new inline production stub. The placement extraction fixed both failures. An intermediate added JSON check used unsupported
--format jsonand failed at setup; corrected to the existing--jsoninterface before the final 86-case pass. That setup error is not claimed as a product red.Historical proof retained with original subjects
9cd9164412f49da6e96444466d8964f762b6d7a7e2f648794a23e6144aa910d4.sha256:98fce2db67493c8a4188b2b9e9f23933e5b99522103db9a615a726edc0beff87. Its golden dependency gap was closed by supported prepare plus standalone golden check: 928 fixtures / 2,386 comparisons, no violations.cargo test -p repo-policy --test review_disposition_admission --no-run; its remaining checks later passed separately or in precommit.No historical source-equivalent result is relabelled as a current-head run. No complete current workspace suite, all-features matrix, Windows execution or required integration Result is claimed.
Current review and continuation record
Owner / governing claim: same #13383 owner through protected integration.
Candidate: #13401 /
993c0f7f120690dee0289db09083e2ab81954dbe/ accepted main ff68655 / observed subject 457ef7a and tree 50b8d174.Review: prior source readiness was withdrawn in review 5797063250 after the replay lead. Its production and fixture findings are repaired with discriminating proof; current cumulative source review is complete with no remaining source finding. Current exact-head source attestation: review 5797420046, first-line SOURCE_REVIEW_READY, anchored to 993c0f7 and read back.
Validation: 86 focused CLI cases passed. Original
cargo xtask precommitcompleted with exit 0 on current head and merge base ff68655: exactly eleven changed paths, both ripr and xtask selected Clippy packages passed. Receipt digest:sha256:5431c5798bc7278b60a38bd7d104e442f2fb960eb3d3ec9190be59510a2c9760. Log/tmp/13383-replay-precommit.log. Its goldens ran and passed (928 fixtures, 2,386 comparisons, no violations, provenance 993c0f7); schema-producer sweep was correctly skipped because no schema or JSON document changed.Dependency: no outstanding source prerequisite. Required hosted qualification completed successfully in run 42186038110, attempt 1, event pull_request, exact head 993c0f7.
Next: reconcile the actual integration conflict against current main through the existing owner, with affected combined-tree proof and a supported qualification/landing route. Preserve the qualified head/product and successful run. No conflict resolution, new CI request or merge was performed at this checkpoint; final REVIEW_READY is not earned for the changed basis.
reviewed_head_sha:
f40eae6f3b35a03dde1cf869e18a1e7d835b650c(bounded follow-up source repair reviewed; full cumulative review must be refreshed before integration).qualification: PENDING for
f40eae6f3b35a03dde1cf869e18a1e7d835b650c. Run 42186038110 is retained only as historical qualification of993c0f7f120690dee0289db09083e2ab81954dbe; no current-head hosted result is claimed.claim_boundary: classified placement, guard and replay for successful explicit selection; no promotion of unsupported shapes, non-gaps or complete-repair claims.
changed_surfaces_and_semantic_owners_inspected: original complete patch and consumers; replay target/uniqueness scope, gap-only wrapper, selected-scaffold placement entry point, both lookup callers and current spec.
blocking_findings: none in the scoped source repair; replay defect and stale fixture locations are repaired and discriminated.
non_blocking_suggestions: none required.
refuted_or_stale_findings: old-only-build premise superseded by explicit per-head runtime evidence; missing hosted sensor receipt remains missing. Stale replay fixture location was repaired, not blessed.
proof_or_review_missing: required hosted/merge-subject proof and final merge review. Gemini/CodeRabbit quota messages are unavailable reviews, not clean reviews.
residual_assumptions_and_non_claims: ordinary supported filesystem behavior; no hostile filesystem-race, cache-performance, classifier, repair-completion or release qualification.
disposition: SOURCE_REVIEW_READY for current scoped source; overall REVIEW_INCOMPLETE because current main introduces an integration conflict; hosted qualification of the recorded product is complete.
Fresh unit, namespace and replay refresh
The lib-test executable was freshly built by this precommit on current head (file-policy child
cargo test -p ripr --lib analysis::scip::admission::tests --no-run, completed in 484 seconds). Direct native selections then passed 32 resolver/inventory units, 14 CLI guard units and the exact preview-navigation test: 47 executed, zero failed/ignored, other tests filtered. This includes the strengthened assertion that a strongly-gripped optional scaffold has no repair route. Unit executable SHA-256:7697c725f405390ebe2bdf1f7fc01526a190c61621ce5f71118821d85d028e9c. Logs:/tmp/13383-replay-unit-{app,cli,preview}.log.Current product SHA-256:
c389f6f206a8c15c7b0a83bdcbaf13096d8d64392e35426023383d67a9241d25; version names 993c0f7. An actual persisted file-fact namespace contains0.11.0+993c0f7f120690dee0289db09083e2ab81954dbe+languages:rust=1,typescript=1,python=1,perl=0. This establishes observed revision/feature identity, not cache invalidation or performance qualification.A retained scratch control also exercises the proposed-file transition: first write creates literal
tests/price.rsfrom an ungripped predicate; replay becomes strongly_gripped, reports already_present, leaves source bytes and test bytes unchanged, and has no repair route. Receipt:/tmp/13383-replay-proposed-target.json. This supplements the existing-file replay controls and actual continuation-cage regression.Latest complete Conversation, native review and inline-thread inventory was read: zero inline threads. The current-head advisory review has no concrete source counterexample; its cargo-test sensor receipt remains absent and its broad repository-wide sibling sweep remains unestablished. The candidate claims the scoped owners/routes and negative controls above, not a sweep of unrelated resolver/meta-classes. Local native results are not relabelled as a hosted sensor receipt. Gemini/CodeRabbit quota outputs remain unavailable reviews. No source blocker remains; required exact-subject hosted qualification and final review are still outstanding.
Qualification handoff
Ready was marked after source review and local proof. Post-Ready readback confirmed unchanged head, no merge-ready label, and a complete 53-run branch inventory with no Routed Rust Small request. The label was added exactly once. Readback confirms Ready, merge-ready and run 42186038110, attempt 1, title
Merge-ready request 993c0f7f120690dee0289db09083e2ab81954dbe, in progress. Routing and exact-candidate admission passed. Completed admission job 127786717874 logs show the actual initial checkout at457ef7a61d168fecdc3470fad28a922691ef4518, merging head 993c0f7 into ff68655, matching the recorded subject/tree. Completed hosted Rust product job 127786851312 passed. Its own decoded log recordsref: 457ef7a61d168fecdc3470fad28a922691ef4518, checkout of that commit,HEAD is now at 457ef7a61d Merge 993c0f7f... into ff686557..., andgit log -1 --format=%Hreturning that full SHA. The fetched immutable object has tree 50b8d174 and parents ff68655 / 993c0f7 as documented above. This is actual product-job checkout evidence, independent of admission-source checkout, pre-Ready ref observation or the green legacy verification step (which can be empty). Product execution also emitted the schema-producer sweep for commit 457ef7a. The job ran 08:13:36ΓÇô09:00:19 UTC (46m43s). No required Result or final merge readiness is claimed. No re-label, duplicate request, auto-merge or release action was performed.Retained for the same owning candidate and final review: current executable/unit/harnesses, native receipts and golden reports, baseline executable, replay/cache scratch receipts and warm build artifacts. Only exact completed task-created codegen cache directories were released under nonblocking locks to preserve the 10 GiB storage reserve; no source, executable, proof, baseline, configuration or truth-label data was deleted or weakened. No local proof process remains active at this handoff. GitHub owns the next transition; preserve the existing request rather than reapplying its label.
Supplemental independent source/oracle review of exact head 993c0f7 / tree 50b8d174 found no actionable source finding at the selected-scaffold boundary or proposed-to-existing replay transition. It confirmed the preserved gap-only NotAGap wrapper, successful-shape/exact-ID gate, absent non-headline repair route and retained headline divergence enforcement. This was source-only inspection plus whitespace checking, not independent execution or required hosted qualification; it adds no new gate.
Required qualification progress and limits
Rust gates passed in existing run 42186038110, attempt 1. All-features target check, strict workspace Clippy, goldens, fixture/capability/corpus contracts, doctests and schema sweep completed under that job. Required Rust tests were delegated to four shards, not established by the gate job's skipped inline-test step: shard 1 job 127805161437, shard 2 job 127805161351, shard 3 job 127805161290 and shard 4 job 127805161296. All four shards, their partition verifier and required Result have now passed. The complete run-job inventory contains 16/16 jobs, all completed: 11 success and 5 explicitly unselected/skipped jobs.
Explicit evidence limit from the passed product gate: canonical base snapshot ff68655 and canonical head snapshot 993c0f7 timed out after approximately 124 seconds each and were reported unavailable. Green gate status is not promoted into successful canonical snapshot/metric evidence. The scoped native CLI/unit behavior proof remains separately attributed above. Shard results, exact checkout bindings, partition-cover verifier and required Result have now been inspected. Final protected-merge eligibility remains blocked by changed main, as detailed below. No duplicate request, rerun, label refresh or cancellation was made.
Completed qualification and current integration judgment
Run 42186038110, attempt 1, is green. Each completed shard's own log records checkout of product 457ef7a. Shard 1 executed/passed 7,036 tests; shard 2 7,002; shard 3 6,877; shard 4 6,883. Commands are
cargo nextest run --workspace --profile ci --partition hash:N/4. The verifier job 127817155205 checked 27,798 workspace-listed tests against 27,798 JUnit cases, matching all four partitions at attempt 1. Per-shard skipped counts include tests outside that partition and are not additional executed coverage. This is the selected ci-profile suite, not execution of every possible platform/feature combination. The required Result 127817302897 succeeded for expected head 993c0f7. The complete head check inventory contains 83 returned checks, no failed/pending checks; historical unselected checks remain labelled skipped, not passes. Native review and Conversation inventories were refreshed; zero inline threads. The static-advisory comment reports reach/oracle unknowns, not proved mutant kills; scoped runtime controls and the absence of a repository-wide mutation/sibling-coverage claim remain explicit.Current main is
05eacb5b01e80205b3e178101dbc49c7a8d9bbe2. GitHub reports this PR not mergeable. Read-onlygit merge-tree --write-tree HEAD origin/mainconfirms one content conflict incrates/ripr/tests/proposal_only_repair_start.rs: retain this PR's printed-command regression while taking accepted #13376's addedreasonparameter onassert_refused_not_started. No worktree/index change or conflict resolution was applied. The qualified head 993c0f7 and product 457ef7a are preserved. Accepted main also changes proposal binding/cage consumers and cache/report behavior, so a clean textual resolution alone would not establish current combined-tree proof.Ordinary landing also triggers fresh main-push CI:
routed-rust.ymlhas an unconditional main/master push trigger and selected Rust-gates jobs with 120-minute per-job envelopes;ci.ymlmain push selects Rust-only/release-rehearsal work with 45-minute envelopes, with additional coverage/analytics lanes. No supported whole-run bound is established by those per-job limits. Applicable publication effects found are Codecov report uploads and the badge-refresh PR producer; release/server/marketplace publication workflows require explicit dispatch, and the CI release surface is a dry-run. No workflows, protections or settings were changed, and no merge or fresh CI request was issued.Final integration judgment: REVIEW_INCOMPLETE for the changed main basis. The successful qualification and source review remain evidence for their exact recorded objects; they are not promoted into acceptance of an unresolved combined tree or authorization for its implicit new CI effects.