Repository navigation
test(cli): make PR evidence smoke fixture hermetic (#9646) - #9679
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 3 minutes. View limit details
Comment |
EffortlessSteven
left a comment
There was a problem hiding this comment.
No actionable findings emitted. Independent exact-head source/oracle review supports publication and qualification; hosted integration review remains pending.
Reviewed head: 300896bff30946a929f6744b8e4d1384a92a7d68; tree cd315b846e4eaccf433b6f000a5de41b5c6a9212. Authored/tested basis: 52cfcabdd615a597edf7710a2a92de0282a8751f. Main refreshed to afcfbf87c9b007fa4b8da9dcb9f2cc158b8f4e50; unchanged relevant owners/instructions/workflows and conflict-free read-only composition tree 50d8922f013c7d1f8a8c04462f9189987422e855. This composition is not a hosted-checkout observation.
Inspected surfaces: full three-file diff; fixture and bounded Git helpers; neighboring history controls; PR-evidence generation, error writer, validation/rendering and impacted-evidence consumer; default-base resolver; schema, traceability, process policy, workflow triggers and required Rust producer.
Oracle challenge: the positive requires an initially absent artifact trio, advisory packet naming main/HEAD, one changed file, exact predicate diff, Markdown header and successful contract check. It rejects the empty ambient packet accepted by the old broad string assertion. The negative creates and verifies a fresh shallow repository with every default candidate absent, then requires exit 2, the named refusal, empty stdout and no artifacts. Removing a potentially valid origin/HEAD pointer is deliberate fixture setup. Missing artifacts are normal first-generation inputs; retained error-packet unit coverage injects check failure through the actual writer/checker. No real-CLI producer-error experiment is newly claimed.
Observed exact-head validation: process-policy, check-fast (13 ran/3 skipped, successful three-path selector), ci-policy and precommit each exited 0; seven focused CLI tests and two history controls passed; both changed tests individually passed under ordinary and fresh shallow ambient repositories, four executions with one executed subject each. The compiler-selected CLI reports the reviewed SHA, with independently verified executable SHA-256 1525e20afd1eb2fa1c9d6c289eb8f5d4156fab873ccb9d3d3862f53b107f70a5.
Carried baseline observations retain source 52cfcabdd615a597edf7710a2a92de0282a8751f: original compiled test passes ordinary and fails shallow/no-base; separate independent CLI controls accept a valid origin/HEAD default and explicit --base HEAD, and refuse after removal of the only default pointer. Shallow depth alone does not require refusal. Production resolver bytes are unchanged.
Feature/platform/process review: shared portable helper and argument-vector process routes are reused; no feature-specific assertion or production dependency is added; existing unconditional history coverage uses the same Rust fixture. Process allowance counts remain unchanged and validated. Success cleanup covers the owned repositories; assertion failures retain the harness's existing cleanup limitation. Native Windows and a local feature matrix were not executed.
Disposition: REVIEW_INCOMPLETE for current published-head checks, actual integration checkout, Schema producer sweep, reviews, inline threads and Conversation inventory. No blocking source/oracle finding remains; final merge clearance requires those observations. This is an author-account COMMENT recording the independent technical review, not a formal GitHub approval.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Verification questions
- Confirm shallow no-base control wipes refs/remotes/origin/HEAD via update-ref --no-deref -d; ensures no fallback symbolic ref can satisfy default-base resolution and forces exit 2 with named diagnostic.
- Confirm helper dependency: no_origin_master_repo must create a parent commit + a child commit on a non-master branch so a depth-1 clone of --branch=work yields a nonempty diff containing 'src/lib.rs' with the 'amount >= 10' / 'amount > 10' predicate. The diff hunk asserts the diff text is exactly that. If the helper drops the predicate, the positive test still passes exit-0 and JSON; only the diff substring check would catch it. We did not read the helper source in this pass.
- Confirm crates/ripr/tests/cli_smoke.rs:28732 — The negative test runs five
git rev-parse --verifyprobes serially via run_command + spawned Command. If run_command does not propagate PATH on Windows the fixture silently diverges. Consider asserting the probe command's exit code and stderr (or use a singlegit for-each-refand assert the empty-set) to keep the no-base invariant test cross-platform and faster. - Confirm shallow/no-base control probes only --depth=1 + --no-local + --single-branch. A real CI PR merge checkout is --depth=1 with FETCH_HEAD, no origin, no branches, often bare-ish. Coverage does not span the actual GitHub Actions merge ref shape (refs/pull/N/merge).
- Confirm shallow/no-base test deletes refs/remotes/origin/HEAD via update-ref --no-deref -d; if the ref does not exist on the host (e.g. local clone without origin/HEAD) the command will fail and the test will not enter the intended state. Worth verifying across clone modes but not a memory-lifetime concern.
Refuted
- Fixture's single-file diff predicate (
- amount >= 10/+ amount > 10/src/lib.rs) is unrelated to the test's claimed path; either the test never actually analyzed it or a stray fixture file was committed, indicating the test cannot have been run as written.; refuted because: The author-published reproduction (cargo test --locked -p ripr --test cli_smoke pr_evidence_ -- --nocapture: 7 passed) and the exact-head independent source review (EffortlessSteven,COMMENTED) both attest to the assertions executing and passing on the exact candidate tree. No diff hunk in the patch adds asrc/lib.rswith that delta, so the assertion would have to fail; absent contradictory hosted evidence, this is a false premise rather than a blocker. Coverage concern is parked as a residual-risk observation instead. - Box::from(slice)/Box::<[u8]>::from(slice) allocation-failure mode could surface in the new fixture's read paths; refuted because: The diff introduces no Box::from(slice) or Box::<[u8]>::from(slice) construction. All reads use std::fs::read_to_string into a freshly allocated std::string::String. The allocation-failure false-premise does not apply to this PR.
- public API or sibling producer route may have been changed indirectly via the new fixture helpers; refuted because: diff scope is strictly the test file plus traceability/changelog; no src/ workflow or producer module is touched, and the new helper is local to the test crate.
- The changed test could disclose secrets or create a denial-of-service condition through the generated packet.; refuted because: The diff only adds local fixture assertions and documentation; it does not add secret emission, external network calls, unsafe execution, or unbounded resource behavior.
- A leaked temp directory from no_origin_master_repo on early Err could create a worker-dangling resource under target/ analogous to a detached JS worker handle.; refuted because: Leak is local to the host cargo test target/ tree; no async, no JS, no cross-thread handle, and the crate's documented cleanup pattern is ignore_remove_dir_all on success only. Not a worker-handoff UB.
Evidence gaps
- Late cargo-test evidence remains the only material validation gap for this security assessment.
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
No actionable source or runtime findings on ac2bc59d7c25896f64bbeccd987c258713017e82 (tree 5390a009c868099c7976bd14e2626842a703cb45). The inherited Git-selector test-boundary finding against 300896 is resolved; the earlier source disposition is superseded for that dimension.
The independent reviewer read the full authored-base-to-head three-file diff and the narrow repair. Inspected owners/consumers include fixture construction and bounded Git helpers; PR-evidence generation, error writing, validation and rendered packet; the default-base resolver; schema/traceability; process allowance; neighboring history controls and native workflow triggers. Production and checkout contracts remain unchanged. The local CLI helper clears the same four Git selectors as fixture Git for generation, contract checking and refusal, without changing the common 632-test spawn helper or adding a Command allowance.
Observed exact-head evidence: seven focused CLI tests; four one-subject ordinary/shallow executions; four additional one-subject executions with all four Git selectors targeting a README-only decoy. The compiler-selected CLI reports the reviewed SHA and its independently hashed executable is 5b7367dc04ececeba94fbcc3803f86bd45c3842a6d720ad13e2bf6a917cb70fb. Fresh actual-CLI controls refuse a depth-1/no-base checkout with exit 2/no artifacts and generate/check an advisory main/HEAD/one-file packet in an owned nested fixture. Process-policy and ci-policy exit 0; check-fast exited 0 (13 ran/3 skipped, independent three-path selector, strict workspace Clippy passed); precommit exited 0 with a complete exact-head three-file receipt; both retained history CLI controls then passed (2 tests).
The positive oracle rejects ambient empty/README-only output by requiring the exact nonempty Rust predicate diff. The negative creates a fresh depth-1 checkout, detaches, deletes origin/HEAD and checks its complete ref inventory before requiring the named refusal, empty stdout and no artifact trio. A valid origin/HEAD can be a default even in a shallow checkout; separate baseline actual-CLI controls confirm this and explicit --base HEAD. The original broad assertion fails on the inherited no-base diagnostic, so accepting arbitrary error text cannot satisfy the successor.
Earlier UB verification questions are dispositioned as follows: the existing fixture helper creates main/trunk plus a changed work commit; its actual predicate is checked in generated pr.diff. Raw Git probes are replaced by the bounded isolated all-ref helper, which retains PATH. Removing absent origin/HEAD is idempotent (direct Git control exits 0); all native clone/ref-removal controls execute successfully. The negative models the semantic no-default condition rather than promising byte-for-byte GitHub checkout recreation: its only refs are work/origin-work, excluding default names in every ref namespace. The reported historical job independently establishes GitHub's actual depth-1 PR merge checkout. No workflow checkout guarantee is being changed.
Review limits: UB's earlier green advisory wrapper reports incomplete sensors/proof; Gemini and CodeRabbit quota notices are unavailable review. Prior error-writer unit coverage injects checker failure through the real writer/checker, not new actual-CLI producer-failure proof. No fresh full-ci, local complete suite, feature matrix or native Windows run is claimed. Existing native settings/transport holds stay unchanged. Assertion failures retain the harness's existing success-only scratch cleanup limitation.
reviewed_head_sha: ac2bc59
integration_basis: authored/tested 52cfcab; pre-Ready main dfb71a8; remote merge 4f060eb / tree cd5154a1a8e630df603e9cfd2a6527224dde3d1e equals local composition; actual hosted subject pending
claim_boundary: #9646 owned-fixture packet generation and preserved no-default refusal
blocking_findings: none in inspected source/runtime
non_blocking_suggestions: none
refuted_or_stale_findings: 300896 inherited Git-selector fixture defect repaired in ac2; prior UB raw-probe concern superseded
proof_or_review_missing: current published-head inventory, required qualification and actual checkout including Schema producer sweep
residual_assumptions_and_non_claims: portable existing Git fixture route; no resolver/workflow/product change; no Windows/full-feature execution claimed
currentness: source, stimulus, oracle, relationships and compiler/runtime identity refreshed; integration/hosted evidence pending
disposition: REVIEW_INCOMPLETE
This author-account COMMENT records independent technical review; it is not a formal GitHub approval or merge clearance.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs focused proof failure resolved before upstream.
Verification questions
- Confirm a broader sibling-path meta-class was not executed by this lane; the checked scope is the changed CLI tests and the named fixture Git boundary, not every repository fixture helper or alternate PR-evidence entry point.
Refuted
- The test introduces a worker handoff, async task, GC, detach, or native memory-transfer defect.; refuted because: The diff only invokes synchronous Command and Git helper routines, owns temporary directories, and writes/removes files; it adds no thread, future, callback, GC boundary, FFI transfer, or native allocation path.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package ripr --test agent_command_journey. This is a current failure, not a red/green witness.
Parked follow-ups
- The positive test reads generated JSON, Markdown, and diff files from a temporary fixture and exposes their contents in assertion failures.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Disposition: EXTERNAL_BLOCKER on unchanged head ac2bc59d7c25896f64bbeccd987c258713017e82, tree 5390a009c868099c7976bd14e2626842a703cb45. No candidate source/oracle finding is added; the exact-head technical review and its passing local proof remain applicable.
Actual required run39782820406/job119838461448 checked out merge 4f060eb816bdd7aae670681e18274e1f0d25fc7a, parents dfb71a8 + ac2bc59. Repository-policy preflight failed with exit101/E0425 at agent/artifact.rs:719, undefined subject. Tests and Schema producer sweep were skipped. This run is not qualification.
Classification is inherited: fresh isolated main c7b96a32d66ea49f6b6a8a07295b61171086d678, cargo check --locked -p ripr --lib, terminated101 with the same error. Independent review confirms artifact bytes are identical52c/ac2 and separately identical4f/c7; the failing composition came from #9632/#9547. This candidate does not change that artifact owner.
The PR is Draft; the failed request's merge-ready label was removed without canceling other CI. Existing mainline repair owners #9699/#9701 and their accepted CI/duplicate disposition remain intact. Failure evidence handoff is published and read back. No rival repair or known-red rerun is requested.
Affected currentness: hosted qualification and integration. Missing evidence: accepted prerequisite present in this PR's actual remote merge subject, then affected proof/current required qualification with real Schema producers and final gate/review inspection. The delivery owner retains this continuation through protected expected-head squash and post-merge main/issue verification. No merge clearance or new permission gate is introduced. This is an author-account COMMENT, not formal approval.
EffortlessSteven
left a comment
There was a problem hiding this comment.
No actionable source/oracle finding on refreshed 7fe5453f73269f05f198ab694d4c50e6fcd9033f, tree 8a1f9c16b04faf7530d4059eecfc572f9b06c447, basis accepted main 7ed8a4af6df05a45dea9a19da36c65ca8b457af6. Independent review inspected the complete contribution and accepted-main composition; the contribution is exactly the reviewed three-file repair after excluding hunk positions/object-index lines. All fixture/corpus bytes match accepted main. Instructions, fixture Git, PR-evidence producer, resolver and Rust qualification are unchanged.
The former inherited E0425 blocker is resolved in source: the shared validator binds subject, and artifact.rs is byte-identical to accepted #9701 main. The actual new remote merge subject is 6eebee7a75b2b06fb109e72bb8404504fb00d232, parents 7ed8a4a + 7fe5453; tree8a1f9c16 matches independent local composition. The material prerequisite is present there, not inferred solely from a landing notification. No corpus/golden was re-blessed and no new artifact repair was absorbed by this lane.
Observed fresh 7fe execution: seven focused tests, two history controls, 17 journey tests, four individual ordinary/shallow subjects and four inherited-selector subjects passed. Actual CLI source/version and compiler-artifact receipt bind 7fe; independently hashed executable SHA256 93b2f07fec48e8067ab0971b9c742cbdae3933a9441e06025aa2c3e2e23c7687. It refuses a fresh depth1/no-default checkout with exit2/empty stdout/no artifacts and writes/checks an advisory main/HEAD/one-file packet in the owned fixture. The exact Rust predicate diff rejects an ambient empty/README packet; the negative checks all refs through the bounded isolated helper before requiring no-output refusal. All three fixture CLI calls clear the same four selectors. Process-policy and ci-policy exited0; check-fast/precommit are still pending at this source-review record. Prior ac2/300 results remain their own receipts.
Earlier current-head inventory: no new submitted review or inline thread; Conversation contains provider quota unavailability, not clean review. The held older UB artifact byte read is not retried or replaced by another fetch route; its selected journey exit101 cause stays unclassified. Fresh 7fe journey17 pass is new evidence, not a retrospective explanation. The old reporter E0425 is not promoted to the selected proof's cause. The source scope is the two changed fixture tests/three CLI boundaries, not a claim over every repository helper. Existing injected-check-failure unit coverage is retained; no actual-CLI producer-error proof or full local/Windows/feature matrix is newly claimed.
reviewed_head_sha: 7fe5453
integration_basis: 7ed8a4a; remote merge6eebee7a75b2b06fb109e72bb8404504fb00d232/tree8a1f9c16b04faf7530d4059eecfc572f9b06c447
claim_boundary: #9646 hermetic packet generation and preserved default-base refusal
changed_surfaces_and_semantic_owners_inspected: complete three-file diff, owned fixture and Git/process helper, producer/error writer/packet consumers, default-base resolver, traceability/schema, accepted-main artifact binding, native instructions/workflow and all-fixture preservation
blocking_findings: none in inspected source/runtime
non_blocking_suggestions: none
refuted_or_stale_findings: 300 inherited-selector defect repaired earlier; prior integration E0425 resolved by accepted main #9701
proof_and_ci_observed: fresh runtime controls, process-policy0/ci-policy0, source/integration object checks
proof_or_review_missing: remaining native gates, actual current hosted qualification/Schema producer outputs and final review/CI inventory
residual_assumptions_and_non_claims: held advisory receipt stays unavailable/unclassified; no current hosted, Windows, full-ci, merge or post-merge pass claimed
currentness: implementation/oracle contribution retained; candidate identity/integration and fresh runtime refreshed
disposition: REVIEW_INCOMPLETE
This author-account COMMENT records independent technical review; it is not formal approval or merge clearance.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
No actionable source/oracle finding from this independent review. Disposition: REVIEW_INCOMPLETE for current hosted qualification and final integration judgment. The existing #9646 delivery claim retains source and integration ownership.
reviewed_head_sha: 7fe5453
integration_basis: current fetched main 7ed8a4a
remote_merge_subject: 6eebee7, parents 7ed8a4a + 7fe5453
candidate_and_merge_tree: 8a1f9c16b04faf7530d4059eecfc572f9b06c447
claim_boundary: fixture-owned packet generation plus preserved shallow/no-default refusal
Observed source/object proof: the entire contribution is the three expected files; production, fixtures/corpora, native instructions and workflows match accepted main. The accepted #9701 validator binds subject and is present in the actual remote merge tree. Fresh git diff --check and relevant byte-equality checks exited0. No Rust build/test or CI request was executed by this reviewer.
Oracle challenge: the positive requires initially absent artifacts, advisory/main/HEAD/one-file packet values, the exact src/lib.rs >=10 to >10 predicate diff, Markdown and a successful packet check. An empty/README-only decoy cannot satisfy that oracle. The shallow negative removes origin/HEAD, verifies depth and its complete non-default ref inventory using the isolated helper, then requires exit2, named refusal, empty stdout and no artifact trio. All three CLI invocations remove GIT_DIR/GIT_WORK_TREE/GIT_COMMON_DIR/GIT_INDEX_FILE, matching fixture Git. Existing injected-check-failure coverage still exercises the production writer/checker; no new actual-CLI producer-error proof is inferred.
Qualification wiring was independently traced: rust-gates.yml:376–390 invokes Schema producer sweep after PR evidence, supplying same-run doctor.json, repo-exposure.json and review/comments.json. Supplied missing/unparseable bytes fail at xtask/src/schema_producer_sweep.rs:521–524. All routed Rust producers use this reusable workflow; routed-rust.yml:447–479 requires selected-producer success. The report binds commit, schema/subject hashes and row digest. Source coverage of the #9560 gate is established; actual successful execution on this candidate is still missing from this review. Repair-attempt/execution_result remain explicitly not_run, and exempt rows are not validated. This does not resolve Perl's production executor/result-writer dependency.
Evidence provenance: the existing exact-head review and current PR body report fresh 7fe focused/history/journey/ordinary/shallow/selector controls; the updated body additionally reports check-fast/precommit passing. Those are owner-recorded evidence, not tests newly run here. Older 300/ac2 green runs retain their original identities. At 14:08:09 UTC, the bounded current-head run lookup showed Source of Truth success, skipped CI, and active advisory/wheel/analytics wrappers; it did not establish current required Rust qualification. The connector returns only the first run page. Threads lookup returned none; Conversation quota notices do not establish review.
Workflow effects were inspected: ordinary landing invokes main CI/readiness dry runs and may open a badge-refresh PR; publication workflows remain separately manual. No readiness/label/merge change was made here. Held artifact12426503547 retrieval and equivalent-data substitutes, native gh HTTP, denied protection/settings reads and all protected scopes remain untouched.
Next supported action: the active owner reconciles its now-Ready unchanged candidate/request state, obtains or inspects the one native current-head qualification, verifies actual checkout and successful Schema step with real outputs, refreshes final review/check inventory, then protected expected-head squash and main/#9646 landing readback. No merge clearance or transfer of integration responsibility is implied. This author-account COMMENT records technical review, not formal GitHub approval.
There was a problem hiding this comment.
Verification questions
- Confirm the negative route models a shallow single-branch checkout without origin/HEAD and requires exit 2 with no artifacts.
- Confirm the changed helper clears all four Git repository selectors before every fixture CLI call.
- Confirm the PR-evidence route now owns fixture Git history and checks concrete generated artifacts, JSON fields, Markdown, exact diff predicates, and contract success.
- Confirm broader sibling-path coverage across alternate PR-evidence entry points and all fixture helper variants remains unscoped.
- Confirm no broad sibling-entry-point meta-class is demonstrated; this lane checked only the changed CLI smoke route and its helper callers.
Refuted
- A worker handoff, async task, GC, detach, or native memory-transfer defect may be introduced by the fixture changes.; refuted because: Rejected because the diff adds only synchronous child-process and Git operations over temporary filesystem paths; it adds no threads, futures, callbacks, GC boundary, FFI transfer, or native allocation path.
- The negative test could be satisfied by an unrelated error and still leave artifacts behind.; refuted because: The test now requires exit code 2 plus named default-base/shallow diagnostics, empty stdout, and absence of all three output artifacts.
- The changed CLI or fixture code contains an active-view lifetime defect involving ArrayBuffer/TypedArray resize, detach, transfer, or stale length snapshots.; refuted because: The patch has no FFI, unsafe block, typed buffer, slice-to-buffer conversion, memory transfer, or mutable backing-store API. File contents are synchronously read into owned String values and consumed immediately.
- The added shallow control is an architectural expansion beyond the hermetic-fixture repair.; refuted because: It directly validates the reported default-base failure mode and the no-artifacts invariant without changing production resolution behavior.
- The candidate itself must absorb the reported artifact.rs E0425 failure.; refuted because: The failure is byte-identical inherited main code outside the three changed files; the PR correctly retains it as an external prerequisite rather than modifying an unrelated owner.
Evidence gaps
- Current green qualification remains blocked by an inherited compile error outside the candidate, so source confidence must not be represented as complete current-head qualification.
- Model proof intent was rejected by deterministic validation.
|
Qualification receipt: REVIEW_INCOMPLETE. Subject head: Run 39793314818, attempt 1: required producer 119874761061 is cancelled. Aggregate 119939631311 is failure per the parent's verified terminal observation. Observed producer logs/steps: formatting and policy preflights, workspace/all-target and all-features checks, and strict Clippy passed. Test-profile compilation finished at 14:33:03 UTC. No individual test pass, executed-test count, or suite summary was recovered before cancellation at 16:10:50 UTC. Doctests, goldens, fixture contracts, verdict corpora, PR evidence and Schema sweep were skipped. Successful diagnostic upload is not a test pass. The runner log began at 14:10:30 UTC and records a 120-minute job limit. The timing strongly correlates with that deadline; no explicit timeout annotation or cancellation actor was recovered. No newer head or owner cancellation action is established. The workflow directly invokes The existing #9646 owner retains integration. Smallest next action: inspect any retained child arguments/process receipt first. Only if needed, use a short bounded listing probe with matching existing binaries/metadata, recording arguments, deadline and outcome without rebuilding or downloading. That probe cannot replace qualification. No CI rerun, label change, patch or new merge gate is requested by this receipt. |
|
New bounded integration evidence for unchanged head Frozen fetched main: The genuinely new seam is accepted main commit Executed Linux experiment: compile the unmodified std-only fixture helper from candidate and main separately with the locally verified Rust 1.95.0; a small owned driver performs the fixture's init/config/add/base-commit/work-commit sequence and checks the literal >=10 to >10 diff. Each run uses a fresh repository and temporary HOME. Clean HOME: both pass. HOME containing a global excludesFile matching all files: old candidate helper fails at the initial commit; integrated helper passes and preserves the exact nonempty predicate diff. This is an inherited ambient-config sensitivity already repaired by accepted main, not a new candidate defect or request to absorb another repair. Helper SHA256: candidate Source delta review also finds newer default-base resolution caching on main; its existence is not an executed cache-control pass for this composition. No broad HOME/cache/network hermeticity or current-main runtime pass is inferred. Fresh contribution diff --check passed; shared checkout remains clean. Disposition remains REVIEW_INCOMPLETE for current required qualification and final consumer/integration judgment. No additional blocking source finding. Next action stays with the existing integration owner: reconcile this accepted helper delta when reviewing the eventual actual qualification subject; preserve the recorded child-argv/binary handoff prerequisite and held artifact/job-metadata/native-HTTP reads. This receipt does not request another build, listing probe, CI request, label change or merge. The cancelled run39793314818 and its skipped downstream stages remain unchanged historical outcomes. |
|
Successor published as #10548: the same three-file change applied unchanged onto current main (which now has #9701 and #10506), with the 7 Generated by Claude Code |
* test(cli): make PR evidence smoke fixture hermetic (#9646) Successor to #9679: the three-file change, applied onto current main. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWhvd7eb6ejVMezcdd4sUZ * test(cli): scrub all inherited GIT_* from the CLI fixture and assert analyzed findings Two review findings on the successor: the CLI child kept GIT_* variables fixture_git clears, and the packet assertions could pass on a diff-only packet. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWhvd7eb6ejVMezcdd4sUZ --------- Co-authored-by: Claude <noreply@anthropic.com>
|
Superseded by #10548, merged as 3c1e7c0: the same three-file change on current main, plus two small hardening fixes from review (every inherited Generated by Claude Code |
Fixes #9646.
The PR-evidence smoke fixture borrowed Git refs from its enclosing checkout. A depth-1 PR merge checkout with no default base correctly refuses, but the old broad success-or-error assertion rejected that named refusal. Give the generation test its own two-commit history and check its actual nonempty Rust predicate diff, JSON, Markdown and packet contract. A fresh shallow/no-base control preserves exit2, named diagnostics and no output artifacts. Fixture Git and all three fixture CLI calls isolate inherited repository selectors.
Missing prior artifacts are ordinary first-generation inputs, so the former
writes_error_packettest becomeswrites_packet. Existing error-writer unit coverage is retained. No production resolver, workflow checkout, dependency, output contract or process allowance changes.Source-of-truth Links
Proposal: none
Spec: RIPR-SPEC-0084, Default Base Resolution
ADR: none
Plan item: none
Governing issue or accepted claim: #9646
Acceptance delta (one sentence): PR evidence smoke proof owns its Git history and checks real artifacts while a fresh shallow checkout without a default base still refuses without writing output.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): codex/9646-hermetic-pr-evidence
Stack parent or prerequisite PR (if any): none; main prerequisite #9701 has landed
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): selected owned #9646 repair; no competing implementation
Scope and rollback
Three files: CLI smoke tests, two traceability pointers under RIPR-SPEC-0084, and
changelog.d/9646-hermetic-pr-evidence-smoke.md. The fragment follows the canonical Internal / CI marker, bullet and trailing issue reference. Rollback is the three-file delta.Accepted prerequisite and composed candidate
Accepted main repair:
7ed8a4af6df05a45dea9a19da36c65ca8b457af6(#9701), tree3e7ef1efea7a8fbb19c1ccf5c597d3af89026a85. Own permitted Git fetch verified the squash identity and the shared artifact validator'ssubjectbinding.Selected candidate:
7fe5453f73269f05f198ab694d4c50e6fcd9033f, tree8a1f9c16b04faf7530d4059eecfc572f9b06c447; parents priorac2bc59d7c25896f64bbeccd987c258713017e82and accepted main7ed8a4af. The accepted main is merged because the prior actual integration failed and the retained remote merge ref lacked this material prerequisite. This is not a behind-only refresh. The contribution against accepted main is exactly the previously reviewed three-file repair after excluding hunk positions/object-index lines. Every fixture byte, including intervening corpus and honesty updates, matches accepted main. No corpus or golden was re-blessed.Authored original basis:
52cfcabdd615a597edf7710a2a92de0282a8751f. Applicable native instructions, Rust qualification, fixture Git, PR-evidence producer and default-base resolver are unchanged. Release/extension publication workflows remain manual-only; ordinary Ready/qualification/merge effects were inspected. No release/deployment is invoked.Fresh selected-head proof
Actual
7fe5453execution:pr_evidence_tests passed.agent_command_journeypassed all 17 tests. This is new composed-head proof, not an explanation of the denied older advisory receipt.93b2f07fec48e8067ab0971b9c742cbdae3933a9441e06025aa2c3e2e23c7687. It refuses a fresh depth-1 detached no-default checkout with exit2/no artifacts, and generates/checks an advisory main/HEAD/one-file packet in a nested owned fixture.Process-policy, ci-policy and precommit exited0 on this head. Committed-head check-fast exited0: 13 gates ran/3 skipped, including strict workspace/all-target Clippy. Independent merge-base/path checks match its successful complete three-file selector. Both JSON policy receipts bind this exact head, basis7ed8a4af and complete three-file change set. No complete local suite, no-default-feature run or native Windows run is newly claimed.
Independent committed-head composition review found no new source/oracle finding and verified accepted-main artifact bytes and all-fixture preservation. Fresh runtime/native receipts were independently reviewed. The exact-head technical review is published/read back; current hosted qualification/final merge review remain pending. Prior ac2 tests are not promoted to 7fe passes.
Carried evidence and held reads
Exact-original-basis reproduction executed the original compiled test: ordinary ambient refs pass, fresh shallow/no-base ambient refs fail with the reported refusal; actual CLI controls identify a non-hermetic test rather than a checkout guarantee. Independent alternate CLI controls establish that valid origin/HEAD or explicit --base HEAD succeeds even in a shallow checkout. Shallowness alone does not imply refusal.
Original failed full-ci job and main-push historical control are historical, not current candidate proof. Superseded300896 had a fixture-selector finding repaired in ac2; its green qualification39776856933 is old-head evidence only.
Prior ac2 qualification39782820406 failed on integration4f060eb8 at the inherited undefined-subject main compile error; fresh mainc7b96a3 independently reproduced exit101. Its tests/Schema sweep were skipped. Existing prerequisite owners received verified evidence; #9701's accepted landing now resolves that source blocker. No artifact-code repair was added by this lane.
The older UB selected journey proof exit101 remains unclassified because its advisory artifact byte read was denied. That exact read and equivalent-data alternate routes remain stopped; no retry, provider switch or credential change is attempted. Its reporter's observed E0425 is not used to invent the selected proof's cause. Gemini/CodeRabbit quota output remains unavailable review. Existing native CLI GraphQL, settings and protected-scope holds remain unchanged; no additional routine approval gate is introduced.
Continuation
Owner / governing claim: existing Codex delivery owner / #9646; source and integration custody retained under owner disposition6339691760. This status reconciliation transfers no ownership.
State: Ready/open, qualification blocked; REVIEW_INCOMPLETE. Do not repeat the obsolete Draft→Ready→qualification-request step.
Candidate: unchanged7fe5453f73269f05f198ab694d4c50e6fcd9033f, tree8a1f9c16b04faf7530d4059eecfc572f9b06c447.
Current source-composition observation: remote merge5f07815aa14088d5c41ba9d5e7157222afda39ea, treeeb3b3daa258e2aaf91a0eaac959d06a5d32dad25, ordered parents742f4d89ea2be187abbd8dc4553571b5878361dc +candidate. This is a current Git object, not executed qualification or final integration approval.
Historical qualified-run subject: merge6eebee7a75b2b06fb109e72bb8404504fb00d232/tree8a1f9c16b04faf7530d4059eecfc572f9b06c447, parents acceptedmain7ed8a4af +candidate. Required39793314818 attempt1 terminated with producer119874761061 cancelled and aggregate119939631311 failed. No current required workspace pass is established. The older merge references above describe their original epoch, not the current merge ref.
Validation: retained selected-head focused/history/journey/CLI/context controls and local policy/check-fast/precommit passes remain evidence for their stated subjects. Historical Rust-only/CLI/Windows subset passes are not replacement workspace qualification. The cancelled producer passed compilation/checks/Clippy, but no executed-test denominator or named failure was recovered; later doctest/golden/fixture/corpus/PR-evidence/Schema stages were skipped, not passed. Terminal qualification receipt6346078167 retains the uncertainty.
Review: source/currentness and local receipts reviewed; overall REVIEW_INCOMPLETE for required qualification and final current-composition judgment. Provider quota output is not review.
Dependency: accepted #9701 remains incorporated. Held jobmetadata119874761061 and artifact12440985522 acquisition, old denied advisory artifacts and other recorded access holds remain untouched; no alternate-data route is authorized by this update.
Next owner handoff: inspect already-retained child argv/process receipt first. Otherwise supply an accessible already-built Linux libtest executable together with matching Cargo metadata, exact candidate/merge identity, target and feature set, binary digest and its owning environment/resource handoff. The recorded CLI executable digest does not identify a libtest binary. No accepted handoff for that matching binary/metadata or child argv is currently held by the retained integration lead. Do not recreate it with a new build or fetch held evidence.
Next permitted discriminator after that handoff: only the established owner may admit a matching existing-binary --list --format terse probe under a30second bound, if needed, preserving exact argv/deadline/outcome. Listing success does not explain the historical cancellation and cannot replace required qualification. No new CI request, label toggle, timeout change, probe or source repair is requested by this continuation. Recover the evidence through existing ownership, then resolve only the demonstrated readiness gap before normal required qualification/final review and guarded landing.