Repository navigation
fix(output): human output words a test with no assertion "uses no oracle" (#8747) - #8964
Conversation
…cle' (#8747) JSON evidence_path keeps the legacy phrase in this step; the next PR moves it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YFmWzyi2hqh4D77XfiPRiq
|
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 40 minutes. View limit details
Comment |
|
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 reviewer attention before upstream: findings remain.
Confirmed findings
- expected/CHANGELOG.md in 40 fixtures gained 'Pending' entries that claim check.json + human.txt were updated; only human-full.txt is part of this PR diff. Pending block looks orphaned/duplicated until step 2 (JSON goldens) lands — needs cleanup so the CHANGELOG log line matches actual file changes.
- Helper oracle_projection is the single owner for human wording; the JSON path's TRANSITIONAL inline formatting is the only caller that bypasses it, so the smallest fix is to fold the legacy spelling back into the helper rather than carry duplicate state in report.rs.
Verification questions
- Confirm phantom 'Pending' CHANGELOG sections appended to expected/CHANGELOG.md in every re-blessed fixture list
expected/check.jsonandexpected/human.txtas updated, but those files are not in this diff. - Confirm oracle_projection unit test asserts (None, ExactValue, false) but not (None, ); helper accepts any kind for None. Fine semantically, but spec/docs only mention 'no oracle' for the unknown/unknown branch.
- Confirm heavy witnesses (cargo-test, cargo-check, clippy) were skipped under the gh-runner profile; ripr sensor failed (exit 2). The textual change is mechanical, but lack of a passing ripr receipt leaves the JSON carve-out's byte-exact equivalence to the prior "none unknown oracle" string unverified by this packet.
Parked follow-ups
- JSON evidence_path_values keeps the legacy "none unknown oracle" via a parallel format branch; not unified through oracle_projection. Behavioral equivalence to old JSON is preserved.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The central executable test receipt is unavailable: ripr failed with exit 2 and cargo-test has not yet supplied a receipt.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N5f9YVQsrqQiS5EYjYVNm7
|
Head c38478a merges origin/main (merge commit, no force-push). Conflicts were only in 5 fixtures' Response to the github-actions review findings (each verified against the head):
Draft #8949 (same claim, 160 files incl. the JSON step) is superseded by this PR and is being closed; its JSON step will be re-cut from main after this lands. Generated by Claude Code |
There was a problem hiding this comment.
Decision
- Needs one verification check before upstream.
Verification questions
- Confirm jSON evidence_path diverges from human wording via TRANSITIONAL inline branch in evidence_path_values; only OracleStrength::None is special-cased and oracle_kind is rendered with underscore-to-space replacement.
Refuted
- Pending CHANGELOG entries are orphaned/duplicated because they list check.json and human.txt as updated while only human-full.txt changed.; refuted because: The Updated: list is a fixed template emitted by
cargo xtask goldens blessfor every entry; hand-editing it would diverge from the tool, and the JSON step 2 PR (#8949) is explicitly scoped to re-bless check.json. The 8 corpus reports intentionally have no CHANGELOG.
Parked follow-ups
- 40 fixtures each got a "Pending" CHANGELOG section claiming check.json+human.txt+human-full.txt were updated, but only human-full.txt is in this diff; 8 corpus reports gained no CHANGELOG.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
|
Both red checks on head c38478a ( I am not porting #9069 into this golden-wording PR (nine files by another lane, still a draft). Once it lands on main I will merge main in here, re-apply Generated by Claude Code |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N5f9YVQsrqQiS5EYjYVNm7
|
Head 37a94ba (main merged in, so the selector_recovery_scope failure is gone) now fails the Rust-only lane on a different, also unrelated test: Generated by Claude Code |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- The JSON evidence_path's
oracle_kind.as_str().replace('_', " ")reproduces the kind verbatim and is fine for the current None branches, but if a future OracleKind variant is added with non-underscore internals the TRANSITIONAL block silently diverges from the helper. Step 2 should delete this branch entirely rather than generalise it.
Verification questions
- Confirm jSON evidence_path keeps legacy 'none unknown oracle' via TRANSITIONAL inline branch in report.rs while human/human-full use 'no oracle' — divergence between formats for the same OracleStrength::None row.
- Confirm ripr sensor failed (exit 2) for this head, so the only proof that the re-blessed 40 fixtures + 8 corpus human-full.txt actually match the new projection is the locally reported
cargo xtask precommit/goldens check: pass; cargo-test is scheduled-late and not yet in receipts. Trust in the change rests on the author's local run and the upstreamgoldens check: passtext rather than an in-CI witness.
Refuted
- 40 fixtures gained Pending CHANGELOG entries listing check.json+human.txt that are not in this diff.
- Pending CHANGELOG entries in 40 fixtures are orphaned because they list check.json+human.txt not in diff; refuted because: Updated: list is fixed template emitted by
cargo xtask goldens blessfor every entry; hand-editing would diverge from tool. 8 corpus reports intentionally have no CHANGELOG. - A human-render sibling bypasses
oracle_projectionand still emits 'none unknown oracle', making the helper change incomplete.; refuted because:grep -rn 'none unknown oracle' crates/ripr/srcreturns no hits;human.rs,human_full.rs,explain.rs, andtracker.rsall consume the helper. The 40 re-blessed goldens plus cli_smokediscarded_matchesprove the human route goes through the new arm. - The added
(None, _)arm may mislabel unrelated oracle kinds.; refuted because: None is the domain representation that no oracle strength was established, and the wildcard arm deliberately projects the same human phrase while miss details remain separately rendered.
Parked follow-ups
- JSON evidence_path text retains legacy "none unknown oracle" for OracleStrength::None, diverging from human wording.
- 40 fixture CHANGELOG 'Pending' entries list check.json + human.txt as updated but only human-full.txt is in this PR diff; 8 discarded-matcher corpus fixtures gained no CHANGELOG.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Also state the strength-none projection in RIPR-SPEC-0224. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YFmWzyi2hqh4D77XfiPRiq
# Conflicts: # crates/ripr/src/output/related_test_miss.rs # fixtures/field_match_macro_option_shadow/expected/CHANGELOG.md # fixtures/field_match_unexecuted_assertion/expected/CHANGELOG.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YFmWzyi2hqh4D77XfiPRiq
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Helper unit test only covers (None, ExactValue, false); the wildcard kind branch is exercised by other arms, so this is sufficient given TRANSITIONAL in JSON. Worth a (None, Unknown) case in step 2 only if JSON is folded in.
Verification questions
- Confirm the only sibling path bypassing the helper is JSON evidence_path_values for OracleStrength::None (TRANSITIONAL, marked #8747). Human/human-full go through oracle_projection. help.rs, json/report.rs json-evidence row shapes, and explain/seed paths do not re-render the OracleStrength/OracleKind tuple.
- Confirm oracle_projection's new (None, _) arm matches every OracleKind but only (None, ExactValue, false) is unit-tested; kind-agnostic behavior on the human wording path is accepted by spec but the helper's wildcard is an over-broad match surface.
Refuted
- The new output wording is insufficiently proven because the RIPR sensor failed.; refuted because: The failure is a real trust gap rather than a correctness defect; focused Rust/cargo-test proof is still required before merge.
- The JSON output should have been migrated together with human output.; refuted because: The seeded PR body and specification explicitly scope JSON migration to a follow-up, and report.rs contains a documented transitional branch; this is parked scope, not a missing test for the current claim.
- The JSON TRANSITIONAL inline branch duplicates oracle_projection state and should be folded into the helper now to keep a single source of truth.; refuted because: Same refutation as the reviewer note and SPEC-0224 prose: doing it now would force re-blessing check.json goldens and breach the 160-file admission cap; step 2 (#8949) owns the delete.
- The (OracleStrength::None, _) arm rewords the old '(Unknown,Unknown) !has_assertion' row and silently falsifies fixtures that should say 'an unclassified oracle, not graded against this probe'.; refuted because: Prior arm gates on (Unknown, Unknown) AND !has_assertion; new wildcard matches only strength==None. Pre-diff human-full goldens explicitly contain 'uses none unknown oracle', proving the prior code emitted that phrase only when the analyzed OracleStrength was None (paired with kind==Unknown). The phrase change tracks the wording fix, not a coverage regression.
Parked follow-ups
- The transitional JSON branch duplicates formatting outside oracle_projection and can drift when OracleKind variants change.
- JSON TRANSITIONAL branch in evidence_path_values is intentionally duplicated state; smallest complete fix is to delete it in step 2 (#8949) rather than fold it into the helper now (would breach 160-file admission cap for check.json goldens).
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- Automated proof of the 92-file golden change is incomplete in this packet: ripr failed and cargo-test is only scheduled-late.
Requested by Steven · project thread
Governing issue or accepted claim: #8747
Acceptance delta (one sentence): The human related-test line for a row whose oracle strength is
nonereads "uses no oracle" instead of "uses none unknown oracle".Before:
related test ... uses none unknown oracle; misses: has no assertion.After:
related test ... uses no oracle; misses: has no assertionin human and human-full output. The JSONevidence_pathtext keeps the legacy phrase in this step, and JSONoracle_strength/oracle_kindfields are unchanged.How: one
(None, _)arm inoracle_projectionplus a unit case; the JSON caller keeps the old spelling fornonefor now (marked TRANSITIONAL). 40 human-full goldens re-blessed, the 8 discarded-matcher corpus reports'human-full.txtand the cli_smoke expectation updated. This is step 1 of 2: the first cut put human and JSON together and, with the corpus reports, exceeded the 160-file admission cap, so the JSON evidence path (check.json goldens, #8949) follows. It pairs with the matcher change in #8962.Local:
cargo xtask precommitpasses except the offlineowner_return_pin_fallible_literalfixture-prepare gap;goldens checkhas 0 drift; the cli_smokediscarded_matchestest and theoracle_projectionunit test pass.Generated by Claude Code