Repository navigation
fix(repair): unbreak main after #11596 (role-authority sniff, stale refusal assertions) - #11734
Conversation
…predicate authority check-rust-source-role-authority rejects the literal attribute match added in #11596. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
|
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 29 minutes. View limit details
|
…rty-premise-sniff
…wording The two #11596 tests expected pre-rewrite text (differ from HEAD / No workflow was prepared) but the message says Uncommitted: and Nothing was started. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
|
Review of record - head c7fc1e0 (source/oracle review; hosted qualification pending) Angles inspected on the full diff (4 files):
Generated by Claude Code |
|
Additional affected consumer receipt for this existing repair: #11112 head ae9b380 required run41212761082 failed Rust-gates job124571234875 at Repository policy preflight: check-rust-source-role-authority reports #11734 remains the existing repair of record; #11742's duplicate disposition is acknowledged. No competing repair or qualification was started by this consumer lane. The current formatting-preflight failure and same-line attribute-recognition limitation in6545203150 remain separate from the inherited literal finding and should not be treated as passed/equivalent evidence. 15:21 UTC attribution established: the canonical #11112 author built and ran the narrow checker separately on exact hosted merge04ca46aac9d5e29e690bf7dc4b433fb4c65b67fa and its exact base62e3f49a10ae23183ffa4c825bbdda63548ec9b7. Both fail on the identical literal. Flagged file, scanner and checker function match. This is inherited from #11596, not introduced by #11112. The proposed whole-line recognizer's same-line attribute compatibility remains a source-observed concern, not an executed control. No competing fix or integration was created. 15:38 UTC qualification reconciliation: run41214536820 on repaired head54325de5cfe719e0a6a9d59fe355a351830b8719 failed at15:35:16, gate124576387775 step16, because check-changelog-fragments reports changelog.d/11722-dirty-premise-sniff-cfg-authority.md has no issue/PR reference ( 15:44 UTC independent bounded dependency checks: current owner head 16:22 UTC new executed blocker in current run41215902167: shard1/job124586106193 failed Independent source diagnosis: the journey commits a regular production file, then replaces it with a symlink to identical content under target, making the tracked path dirty versus HEAD. Both exact baseed5fb560 and candidate run the #11596 dirty-premise preflight before analysis; the TypeScript content contains no Rust test-gate marker, so #11734's predicate substitution does not change this fixture's classification. This is source attribution, not an independently executed base reproduction. RIPR-SPEC-0311 requires dirty out-of-surface files to block, while the journey deliberately exercises incomplete-analysis/no-artifact refusal. Merely changing its expectation to Uncommitted would lose that guard coverage. A narrow fixture proposal is a clean HEAD containing the symlink, with relative comparison base adjusted to retain the requested diff and ready-gap/link-skipped preconditions. That proposal is unexecuted and needs its named journey plus dirty-premise controls, not assumption-based adoption. No competing source repair or campaign was made. 16:39 UTC current repair review: owner head The new Unix early-preflight symlink control plus existing production/missing/oversized controls cover the changed branch, while the existing unavailable-context journey remains the end-to-end regression. An additional late-boundary symlink variation of trusted_surface_violations_allow_a_dirty_test_file_and_name_production_only would strengthen coverage; it was NOT executed: a fresh full library-test build was not attempted because of the observed disk-space risk. No failed build or test result is claimed. This is a source-inspected boundary with an optional unexecuted discriminator, not a new required gate or passing experiment. Existing current qualification41220138245 remains the selected hosted campaign; no duplicate was started. 17:42 UTC final qualification and landing: run41220138245 attempt1 passed gates, all four shards, verifier124606448458 and final124606518242 on actual d11464d. Verifier established24,745 listed = JUnit, with no duplicates/missing/outside-list entries; the formerly failing TypeScript unavailable-file journey and dirty-premise controls passed. PR #11734 closed/merged at17:35:33 as264db5967022a0aeaec26cc2827d432d3cdb62a5. Important source reconciliation: its tree5ff592ddc37489975e9b7cbc81cd192b48f088cf equals parentd2d27145b1975f46d1526ec99d3ee0044b385a85, so this is an empty completion commit. Parent #11604 already carries the fixes; actual landed source shows symlink_metadata/is_file deferral and the cfg-predicate authority call. This is not a claim that the empty commit introduced them or that the entire landed tree was executed by the prior qualification. Main ancestry is verified. #11112's canonical owner is now reconciling the dependency into its existing candidate; no consumer qualification has yet passed. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoz3yvGnngtDNnPKxG
|
Head c7fc1e0 failed Generated by Claude Code |
|
Decision record for the third main-break item ( Cause: the journey swaps a committed file for a symlink so analysis cannot read it. The #11596 dirty-premise preflight followed the symlink, read plain production text and refused it as a dirty production edit, ahead of the "analysis incomplete" refusal the journey expects. Decision: fix the preflight, not the journey. The journey pins the more specific, more useful refusal for that state. The preflight is documented to defer unreadable and oversized paths to the later exact checks, so a non-regular entry now falls through the same way ( Head Generated by Claude Code |
Requested by Steven · project thread
Governing issue or accepted claim: #11539
Acceptance delta (one sentence):
check-rust-source-role-authoritypasses again on main by routing the #11596 dirty-premise test-gate sniff throughanalysis::facts::cfg_predicates.Why
PR CI for #11707 failed
check-rust-source-role-authority:crates/ripr/src/app/repair_attempt/mod.rs re-derives source role with "#[cfg(test)]". The literal came in with #11596 and main does not run this gate, so every PR merged with main now fails it. Not caused by the refusal-message PRs.Change
attribute_is_plain_test_gatefromanalysis(it already owns the closed spelling).repair_attempt/mod.rsuses it per line instead ofcontains("#[cfg(test)]").cargo check -p ripr --libpasses. Hosted CI is the full runner. A changelog fragment is included.Generated by Claude Code