Skip to content

test(corpus): retain inherent free-helper-identity/helper-scope-shadow honesty reports (split 5/7 of #8004) - #9616

Merged
EffortlessSteven merged 2 commits into
mainfrom
claude/split-8004-d2
Oct 22, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
claude/split-8004-d2

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Data-only slice of #8004: two retained report snapshots in fixtures/evidence-promotion-honesty-corpus/reports/ (rust-inherent-receiver-free-helper-identity.json, ...-helper-scope-shadow.json, ~2774 lines). Independent, base main; not referenced by corpus.json in #8004 either.

Source-of-truth Links

Proposal:
Spec: RIPR-SPEC-0108 (honesty corpus)
ADR:
Plan item:
Governing issue or accepted claim: #7415 (split from #8004)
Acceptance delta (one sentence): Retain the free-helper-identity and helper-scope-shadow report snapshots from #8004 as honesty-corpus evidence.

Candidate Relationships

Candidate branch: claude/split-8004-d2
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): replaces part of #8004
Acceptance retained from a replaced candidate (if any): the 2 report files
Accepted winner and losing candidate disposition (when decided): n/a

Scope

2 JSON files, ~2774 reviewable lines.

Scope Classification

  • Docs/spec/test-only evidence package

Production delta: none.
Evidence/support delta: 2 report snapshots.
Single acceptance criterion: corpus checks still pass.
Non-goals: corpus.json wiring.

Support-tier Impact

  • none

Policy Impact

  • none

Proof

cargo xtask check-evidence-promotion-honesty  # pass
cargo xtask check-fixture-contracts           # pass
cargo xtask check-doc-artifacts               # pass
cargo xtask check-file-policy                 # NOT ESTABLISHED: exited 1 while compiling the xtask test binary (shared-disk/contention infrastructure); passed on sibling data-only slice #D1

Claim Boundary

Retained evidence only.

Rollback

Revert the squash commit.

Spec-Test-Code Traceability

  • Spec: RIPR-SPEC-0108
  • Tests:
  • Code:
  • Golden outputs: n/a
  • Metrics:
  • ADR/learning:

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.
  • Unknowns include stop reasons where applicable.

CI Economics

n/a


Generated by Claude Code

…helper-scope-shadow (split 5/N of #8004)

Data-only retained repo-exposure report snapshots under
fixtures/evidence-promotion-honesty-corpus/reports for #8004's inherent
receiver cases (free-helper-identity, helper-scope-shadow). Pairs with the fixtures/inherent_receiver_*
slice. Refs #7415.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z4QZYyfpcDLn8oANQJT1z
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 9 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 106 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 8d1e96db-baf4-446e-99f0-5034abe3fae6
📥 Commits

Reviewing files that changed from the base of the PR and between 7ed8a4a and 541b6d0.

📒 Files selected for processing: 2
  • fixtures/evidence-promotion-honesty-corpus/reports/rust-inherent-receiver-free-helper-identity.json
  • fixtures/evidence-promotion-honesty-corpus/reports/rust-inherent-receiver-helper-scope-shadow.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs focused proof failure resolved before upstream.

Verification questions

  • Confirm pR body lists cargo xtask check-evidence-promotion-honesty, check-fixture-contracts, check-doc-artifacts as pass; check-file-policy marked NOT ESTABLISHED due to shared-disk compile contention, with sibling data-only slice #D1 noted as passing.
  • Confirm diff is strictly data-only: 2 new JSON fixture files in evidence-promotion-honesty-corpus/reports/, no .rs changes, no corpus.json mutation, no test code changes. Source/rust behavior/unsafe paths are not touched (diff flags confirm).
  • Confirm the honest-corpus report snapshots are not load-bearing for any test in the diff: no Rust test references these fixture paths (fixture-only retention, not test-driven).

Refuted

  • Schema or metric self-consistency of the retained JSONs might mask a broken/corrupt snapshot being silently persisted as 'honesty' evidence.; refuted because: Out of lane scope: tests-red-green cannot evaluate fixture-content honesty. The 'honesty corpus' name and RIPR-SPEC-0108 imply separate oracle/contract checks (cargo xtask check-evidence-promotion-honesty, check-fixture-contracts) that the body asserts pass. A metric self-consistency objection belongs in tests-oracle, not here. Also, free-helper-identity and helper-scope-shadow files are intentionally different corpora (different files_content_hash, different seam counts 6 vs 7, different grip distributions), so divergence is expected, not corruption.
  • A new test that asserts the report JSONs' content hashes or structural shape is needed to prove this PR is correct.; refuted because: Honesty-corpus retained reports are inputs to the xtask check-evidence-promotion-honesty command (listed in PR proof as pass); the corpus.json wiring is explicitly out of scope. A focused test against retained fixtures would duplicate existing xtask coverage and is not a cheap discriminating proof for this PR. The diff does not change the contract between fixtures and any test binary; the existing check is the right surface.
  • Adding 2 unreferenced JSON fixtures to the repo could break some downstream glob-based test or contract checker that enumerates the reports directory and expects exact contents or naming.; refuted because: PR body explicitly states: 'not referenced by corpus.json in #8004 either', and the slice's non-goal is 'corpus.json wiring'. The fixtures are inert until a future slice wires them. The hypothesis requires a hidden consumer that globs the reports dir without corpus.json, which would be a bug in the checker itself, not in this PR. The risk is parked as a follow-up, not a current blocker.

Test proof

  • Focused HEAD proof failed (exit 101): cargo test --locked --package ripr-swarm --test evidence-promotion-honesty-corpus. This is a current failure, not a red/green witness.

Parked follow-ups

  • Trusted-but-unverified: snapshots are not referenced by any test target or corpus.json in this PR. cargo-test is scheduled-late but cannot discriminate the patch because no test consumes these files. If acceptance depends on a corpus-check xtask, the body claims cargo xtask check-evidence-promotion-honesty and cargo xtask check-fixture-contracts pass, but these are not test code. Late cargo-test receipt will not close this gap. Parked for trust: confirm the corpus check the body names actually loads these two files (or accepts unreferenced reports).

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 22, 2026 12:22
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs verification checks before upstream.

Verification questions

  • Confirm the acceptance criterion depends on corpus checks, but neither snapshot is wired through corpus.json in this slice, so their retention may pass without focused semantic validation.
  • Confirm the reports distinguish identity resolution, but merely adding unregistered snapshots does not by itself exercise them through an executable corpus check.

Refuted

  • A changed JSON snapshot itself adds a smoke-only or tautological test assertion.; refuted because: No executable test code changed; the files are retained evidence snapshots, and their static limitation/ungripped records explicitly expose weak or absent evidence rather than asserting runtime sufficiency.
  • A changed report could make claims without a focused test catching it.; refuted because: No new executable test or loader change is present in this slice, so the concern is retained as a verification question rather than asserted as a changed-line defect; the PR claims existing xtask corpus/contract checks cover the files.

Evidence gaps

  • The strongest directly relevant base-plus-tests evidence is asserted but not present as a receipt in the supplied packet.
  • Model proof intent was rejected by deterministic validation.
  • The supplied review packet has no cargo-test receipt yet; scheduled-late status means pending, not passing.

Copy link
Copy Markdown
Member Author

Review of record for head 541b6d0 (main merged in after #9701).

Angles:

Nothing blocking. Merging under MERGE AUTHORITY.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit 08f27a6 into main Oct 22, 2026
38 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/split-8004-d2 branch October 22, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants