Repository navigation
test(cli): pin member-crate qualifier refusal and crate:: layout-class guard (#10948) - #10974
Conversation
…s guard (#10948) Single-package CLI coverage for item 6: an unbound member-crate qualifier (qualified-call and use-import spellings) observes nothing, and crate::W::dbl observes only from the owner's own crate target with a same-Self-type rival forcing the layout.class check. Test-side only.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
PR-native continuation record (candidate review)Owner / governing claim: @default / #10948 item 6 (CLI coverage for member-crate qualifier + crate:: layout.class guards; test-side only). |
…ut overclaim (#10948) Shard evidence on 905f2e3 showed the unbound pricing:: spelling relates via the coarse fallback (observe yes, strong oracle) while the owner-return pin refuses it (discriminator weak, weakly_exposed), and the crate:: paired phase with the same-Self-type rival is weakly_exposed rather than exposed. Rework the item-6 CLI tests to pin that guarded shape: own-crate-name control exposes, unbound spellings and rival-paired/binary-only phases never expose, with the rival-free baseline exposing.
|
Rework for hosted merge-ready run 40908543080 (head 905f2e3): both item-6 CLI tests failed on overclaim, not on production behavior. Shard 1 ( Shard 2 ( Revision (test-only, this push): the tests now pin the guarded shape instead — own-crate-name control exposes; the unbound spelling and the rival-paired / binary-only phases never expose (discriminator weak); a new rival-free baseline asserts the library's own |
Directed review of e7682f8: keep both unbound spellings (qualified call and use-import), require the related set to stay nonempty with visible oracles, and pin the import route's observation_unconfirmed miss plus the control's miss-free credit. Paired crate:: phase now requires both tests related with the rival unconfirmed. No production change.
|
Follow-up to the rework note (now head 8366c29): directed review of e7682f8 observed that it dropped the foreign-use-import spelling, the paired binary oracle check, and the observe/oracle assertions, risking a weak-classification pin that masks false observation or oracle credit. Addressed in 8366c29 (test-only): both unbound spellings restored, each required to stay related with a visible oracle; the import route additionally pins |
…10948) The DBL_MAIN rival returned x while asserting 3, so the binary spelling fails its own assertion on a discriminating run. Keep the unit-test shape (same Self type under another crate target) with the library's x + 1 arithmetic, so layout is the only difference between the targets. Test-only.
|
Binary-fixture finding disposed with evidence: the Devin line-188 observation was correct — |
There was a problem hiding this comment.
Refuted
- The tests merely assert a smoke-level absence of full exposure and therefore cannot distinguish the intended guards from setup or relation failures.; refuted because: The control requires
exposed,observe=yes, direct-owner relation, strong oracle, and no miss; negative phases requireweak, retained relation, visible oracle, and explicit miss states.
Evidence gaps
- Current-head red/green execution is not represented by a completed receipt: ripr failed with exit code 2 and cargo-test is scheduled late, so the revised source-derived expectations remain unverified.
- Model proof intent was rejected by deterministic validation.
- Current-head execution of the revised assertions is still trust-relevant because hosted failures supplied the new expected states but not current-head receipt evidence.
- Exact-head hosted cargo-test evidence is needed to validate the strengthened baseline, binary-only, and import-miss assertions.
Strict workspace Clippy (-D clippy::unused-result-ok) rejects remove_file(..).ok() on hosted run 40922452185. The baseline fixture starts from a fresh workspace where src/main.rs never exists, so drop the removal instead of silencing it. Test-only.
|
Clippy fix (test-only, head 9b3adb8): hosted merge-ready run 40922452185 failed strict workspace Clippy at |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the paired phase checks that the binary rival is indexed and unconfirmed, but does not assert that the binary related test has a visible oracle or weak oracle strength.
- Confirm the binary-only phase requires observe == no but never requires the binary test to remain in related_tests.
- Confirm the layout-guard test requires the binary rival to remain indexed, addressing the earlier vacuous-pass concern.
Refuted
- The binary fixture and binary-test discovery remain defective.; refuted because: The seeded thread records both concerns as repaired: the rival arithmetic is now x + 1, and the paired assertion requires the 'bin' test to remain indexed.
Evidence gaps
- Current-head red/green execution is still unproven in the available packet.
- Model proof intent was rejected by deterministic validation.
- Exact-head execution of the revised expectations is not represented by a completed receipt: ripr failed with exit code 2 and cargo-test is only scheduled late.
- The revised assertions have not yet been demonstrated to pass on the current exact head.
|
Current-head qualification supplies a concrete correction for the existing owner. At 9b3adb8, required shard 2 job123645071429 fails crate_qualified_method_cli_guards_the_layout_class in the rival-free baseline: expected exposed, actual weakly_exposed with observe=yes/discriminator=weak and observation_unconfirmed. The paired and binary-only phases therefore were not reached. Shard 1 job123645070912 passes an_unbound_member_crate_qualifier_never_exposes. Actual checkout72ccc3b005d782c684ae3f14a35ae841f1c6682f contains the exact candidate test blob65f4049bee1665914347101c243e5f632f774285. This is an executed assertion mismatch, not a missing tool or setup failure. Please reconcile the positive baseline contract/fixture in the existing owner lane, preserving the observation-versus-discrimination distinction and treating this as test-only unless a separately justified production defect is established. Then obtain review and required qualification of the repaired head; unchanged reruns cannot correct this assertion. Aggregate40925292507 was still running at18:41 with shard2 already failed. No new writer or campaign has been started by this reconciliation. Evidence: https://github.com/EffortlessMetrics/ripr-swarm/actions/runs/40925292507/job/123645071429 |
…eave 6(b) seam open (#10948)
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the layout test checks classification, discriminator, related-test membership, oracle visibility, and miss state, but cannot demonstrate the claimed layout-class discrimination.
- Confirm trust in the revised exact expected states depends on a completed current-head test receipt; prior hosted evidence proves those states must change, not that the revised test passes.
Refuted
- The layout-class test pins observed weakly_exposed behavior but does not prove the layout.class guard or item 6(b).
Evidence gaps
- The revised expected states lack a completed exact-head test receipt.
- Current-head red/green proof for the revised assertions is not yet represented by a completed receipt.
- The revised CLI expectations require exact-head execution; earlier hosted failures supplied values but do not prove the current revision passes.
- Model proof intent was rejected by deterministic validation.
- Trust in the revised source-derived expectations depends on an exact-head cargo-test receipt.
|
Successor qualification reconciliation at69b3591f6d11b7e9b3b89855f9bdd7176e13d95a: both named tests now execute and pass in required shards123688173021/123688173024. Actual checkoutec49e9ecbae51770ccfb613d7fd68430d4cf1cc6 merges this candidate into387f96eb; executed qualifier blob5a83fda18517508506dcd33e47fdf9a7ab5ff564 matches. Rust gates, all4shards and coverage verifier passed. However required40937870804 is terminal FAILURE at current_eligibility (result job123698853120): live eligibility no longer established. Two outdated Devin threads remain unresolved, violating one required predicate; logs do not isolate that as the sole cause. Existing owner/reviewer should reconcile the repaired concerns against this exact head, appropriately resolve only substantiated repairs, and restore eligibility through the supported repository process. No bypass or blind unchanged full rerun requested. The narrower source claim matters:6(a) retains a real positive control;6(b) now pins documented weak behavior and does not establish layout-guard discrimination. Keep that residual on10948. Latest review5703864185 missing-execution concern can now use these hosted receipts, but current review/eligibility clearance remains unfinished. Evidence: https://github.com/EffortlessMetrics/ripr-swarm/actions/runs/40937870804/job/123698853120 |
|
Final qualification readback: existing-owner run40947795510 is now SUCCESS at unchanged69b3591f6d11b7e9b3b89855f9bdd7176e13d95a. Result job123732374355 explicitly binds expected head/request40947795510-1 and reports ADMISSION_STATUS=admitted, GITHUB_TESTS_RESULT=success, ELIGIBILITY_RESULT=success. Gates, four shards and coverage verifier passed. Both earlier threads now have substantive owner dispositions4417314373/4417315504 and are resolved; prior eligibility failure is historical. Retain earlier exact-head test receipts and the narrowed scope:6(b) layout discrimination remains open, not established by weak-behavior pins. Existing owner can reconcile remaining review/protection/merge prerequisites; no further unchanged qualification campaign is requested. This is technical evidence, not formal PR approval or a merge action. https://github.com/EffortlessMetrics/ripr-swarm/actions/runs/40947795510/job/123732374355 |
Summary
crate::rival shapes — rival-free, rival-paired, and binary-only phases all stayweakly_exposedon the exact-headripr checkbinary, socheckclassification does NOT discriminate thelayout.classguard on these shapes and the discriminating CLI seam stays open on Harden return-value repair-start gates left loose by #10859 #10948. Test-side only; no production change.Swarm / Source Boundary
This PR targets
EffortlessMetrics/ripr-swarm, the normal development trunk fortrusted same-repo
riprwork. Confirm the change belongs here:dependency, or repo-ops development for
ripr-swarmsurface
If this PR moves crates.io publishing, VS Marketplace publishing, Open VSX
publishing, GitHub Release assets, signing, release environments, or release
secrets, close or retarget it. Those surfaces belong in
EffortlessMetrics/riprunless a dedicated release-boundary change has already been approved.
Source-of-truth Links
Proposal: none
Spec: none
ADR: none
Plan item: none
Governing issue or accepted claim: #10948 item 6
Acceptance delta (one sentence): CLI-level tests pin the member-crate qualifier non-exposure and pin the observed
crate::rival-shape behavior while the discriminating 6(b) seam stays open on #10948.Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): wt/t_2daf58be
Stack parent or prerequisite PR (if any): none
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): none
Name a stack or proposed replacement explicitly. A proposed replacement does
not make its predecessor superseded. Shared files or a shared parent issue
alone do not establish duplication. If the relationship is unknown, record it
as needing reconciliation before disposing of either PR.
Scope
crates/ripr/tests/cli_smoke/qualified_owner_observation.rswith two CLI tests run against the realripr checkbinary on scratch single-package fixtures; registers the module incrates/ripr/tests/cli_smoke.rs.Scope Classification
This PR is scoped by:
Production delta:
Evidence/support delta:
an_unbound_member_crate_qualifier_never_exposes: own-crate-name control pins and exposes (exposed,direct_owner_call, strong oracle, no observation miss);pricing::score(..)qualified spelling anduse pricing::score;+ bare call in a single-package fixture stay related (gap open, oracles visible) but never expose (discriminatorweak); the import route additionally pinsmiss == observation_unconfirmed. Hosted shard 1 on 905f2e3 established the qualified-call shape (related, strong oracle,weakly_exposed); exact-head hosted run 40937870804 on 69b3591: Rust gates success, shards 1-4 success plus shards-verify success, exercising both tests on the exact head.crate_qualified_method_cli_stays_weakly_exposed_on_these_shapes: documented-behavior pins, NOT a discrimination proof. Rival-free baseline, same-Self-type rival-paired, and binary-only phases each assertweakly_exposed+ discriminatorweak+ every related testmiss == observation_unconfirmed(paired names bothunitandbin, each oracle-visible). Values were exercised against the matching-unchanged-production-source binary (built offline from 9b3adb8; production sources identical at this head) on matching scratch fixtures (each phaseripr checkexit 0 — recast asserts only hosted-evidenced + binary-exercised values). The discriminating CLI positive/negative seam for 6(b) stays open on Harden return-value repair-start gates left loose by #10859 #10948; this test must not be read as proving thelayout.classguard.Single acceptance criterion:
Non-goals:
Support-tier Impact
docs/status/SUPPORT_TIERS.mdClaim/proof notes:
Policy Impact
Ledger or exception notes:
Proof
# commands run rustfmt --check crates/ripr/tests/cli_smoke/qualified_owner_observation.rs git push -u origin wt/t_2daf58beResult, failures, or skipped proof:
weakly_exposed/discriminate-weak/observation_unconfirmed, notexposed; rust-only lane same failure, 597 passed / 1 failed, exit 101) and exact-executable scratch controls on matching fixtures confirmed all three phasesweakly_exposed(eachripr checkexit 0); the recast pins exactly that observed behavior and leaves the discriminating seam open on Harden return-value repair-start gates left loose by #10859 #10948. Exact-head hosted run 40937870804 on 69b3591 (gh run viewexit 0): status completed, conclusion failure, headSha matches. Route/Admit/Docs-Only success, Rust gates success, shards 1-4 success, shards-verify success, CX lanes skipped, Docs Gate skipped;Ripr Rust Small Resultfailed solely at the final live-eligibility recheck because the two Devin review threads were unresolved at 20:01 UTC. Both threads are now substantively replied (comments 4417314373, 4417315504) and resolved (GraphQL readbackisResolved: truefor both; head still 69b3591, label merge-ready present, non-Draft). No code change; substantive shard evidence on this head stands green. Next: fresh merge-ready qualification run 40947795510 on the unchanged head 69b3591 (label re-applied after thread dispositions;gh run viewexit 0, headSha matches, in_progress).Claim Boundary
What may be claimed after this PR? What must not be claimed yet?
crate::rival shapes have documented-behavior pins (observedweakly_exposed, explicitly not a discrimination proof).Rollback
How can this PR be reverted safely?
Spec-Test-Code Traceability
an_unbound_member_crate_qualifier_never_exposes,crate_qualified_method_cli_stays_weakly_exposed_on_these_shapes)crates/ripr/src/analysis/classify/call_identity.rs:own_crate_names_of/MemberCrates::import_names,anchored_rest+CrateLayout::class; pin competition incrates/ripr/src/analysis/classify/owner_pin.rs:other_definition_competes)Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
Complete this section when the PR changes workflows, policy gates, branch
protection expectations, CI artifacts, report uploads, release checks, or the
cost/posture of existing lanes. Use
n/afor ordinary PRs that do not affectCI behavior.
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Gates
cargo fmt --checkcargo check --workspace --all-targetscargo test --workspacecargo clippy --workspace --all-targets -- -D warningscargo doc --workspace --no-depscargo package -p ripr --listcargo publish -p ripr --dry-runcargo xtask check-static-languagecargo xtask check-doc-artifactscargo xtask check-support-tierscargo xtask check-no-panic-familycargo xtask check-allow-attributescargo xtask check-local-contextcargo xtask check-file-policycargo xtask check-covered-bycargo xtask check-generatedcargo xtask check-badge-diff-policycargo xtask check-generated-cleancargo xtask check-dependenciescargo xtask check-process-policycargo xtask check-network-policyExtension changes: n/a (no extension changes)