Repository navigation
test(classify): pin opaque signal disclosures before typing - #13835
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 56 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed source and golden at 7ed7bacb9e03f61eda8a550931a0726a0fc27287 against pre-refactor main 5d5951b19a273c2261cf79fd604b0038545b424f. The fixture isolates all six literals and a plain control across seven directly related owners; the JSON pins both probe families, their classifications and reasons. The Linux fixture check passed. Six isolated input-removal experiments removed the expected reason from both findings for the affected owner. Independent review inspected the committed JSON and found no blocking defect. The golden is a baseline for #3023, not the other #2691 slices; it does not claim runtime mutation outcomes. Broader and hosted qualification are pending, as recorded in the PR body.
|
Integration hold, 2026-11-08: the candidate |
…91-disclosure-golden
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed published head 467b36edf2c54cb0027c61fa60e88d791feb7255. Its only claim delta against repaired main ab93e28c665bdc75242bc33f4db3a21854126f04 remains the eight previously reviewed fixture files, byte-identical to 7ed7bacb. The new tree a37fcb5cbda65bb99dbf9d57553cd43002795edf matches the local repaired-main composition on which cargo xtask fixtures classify_opaque_signals passed. The earlier independent review and six input-removal experiments remain applicable to the unchanged fixture; full goldens, fixtures, honesty, check-fast and precommit receipts remain bound to the original baseline head. The source result does not claim hosted qualification or a green main sentinel.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
ripr static exposure checkCommit Took 1s. |
|
Qualification update: run 42520798619, attempt 1, reports successful Rust gates, all four test shards, shard verification and The direct download of job |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
VERDICT: APPROVE 467b36e — no blocking findings on this head.
Scope: test-only fixture fixtures/classify_opaque_signals (8 files, +1489/-0). No production code changes.
What I checked statically at this head:
- The golden's 14 findings match the SPEC's
expected-classesblock exactly: seven owners, each with apredicateand areturn_valueprobe, allexposed. stop_reasonsinexpected/check.jsonmatch the predicates incrates/ripr/src/analysis/classify/decision.rs::stop_reasons:fixture_opaquewhen a related test body containsfixture,builderorarb_(cases one to three),async_boundary_opaquewhen the probe expression containsasync,spawnorawait(cases five to seven), and the plain control (case four) carries neither.- Each case has exactly one related test that calls it, so the three body signals and the three expression signals are isolated per owner. The plain case sits between the signalled cases, so a leak in either direction would change its empty
stop_reasons. - The golden is a real guard, not a report:
compare_goldeninxtask/src/reports/fixtures.rsrequires normalized full-text equality ofcheck.json, so a change to anystop_reasonsentry failscargo xtask goldens check. - Fixtures are discovered by directory (
read_dirinxtask/src/fixture_contracts/mod.rsandxtask/src/fixture_expected_classes.rs), so no registry file is missing for the new directory.
Hosted at this head: Ripr Rust Small Result, Rust gates, all four Rust tests shard N of 4, Ripr Windows Gate Result, ub-review, cargo-deny, Rust-only feature lane and windows-advisory-subset pass; Admit PR Candidate passes.
Non-blocking observation: the expression signals are pinned through identifiers (async_value, spawn_value, await_value), so the baseline records the substring behaviour including its false positives. That is the right thing to pin before #3023 replaces it with a typed matcher, but the golden is a behaviour baseline, not a correctness oracle for the refactor: it will need re-blessing once the matcher stops flagging a variable named async_value.
Limits: static reading plus hosted check results. I did not run the fixture or any build locally.
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: APPROVE 467b36e — no blocking findings on this head.
Test-only fixture; no production code changes.
- The committed
expected/check.jsonhas 14 findings.case_one,case_twoandcase_threecarryfixture_opaque;case_five,case_sixandcase_sevencarryasync_boundary_opaque;case_fourcarries neither. That matchesSPEC.md's three body signals, three expression signals and one plain control, and theexpected-classesblock. - The fixture directory is self-contained (
SPEC.md,diff.patch,input/,expected/), and the goldens-bless changelog is present. No product changelog fragment is required for test-only evidence. - No unresolved review threads.
Not checked: I did not run cargo xtask fixtures classify_opaque_signals. The head's Admit PR Candidate and Ripr Rust Small Result checks are green, and the head is in the native merge queue.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
VERDICT: APPROVE 467b36e
Test-only fixture; no production code changes.
- The committed
expected/check.jsonhas 14 findings.case_one,case_twoandcase_threecarryfixture_opaque;case_five,case_sixandcase_sevencarryasync_boundary_opaque;case_fourcarries neither. That matchesSPEC.md's three body signals, three expression signals and one plain control, and theexpected-classesblock. - The fixture directory is self-contained (
SPEC.md,diff.patch,input/,expected/), and the goldens-bless changelog is present. No product changelog fragment is required for test-only evidence. - No unresolved review threads.
Not checked: I did not run cargo xtask fixtures classify_opaque_signals. The head's Admit PR Candidate and Ripr Rust Small Result checks are green, and the head is in the native merge queue.
Disposition: admitted to the native merge queueState: queued. All item-5 conditions held at exact head 467b36e: VERDICT APPROVE (test-only fixture), zero unresolved review threads, required checks green. Admitted at queue position 63. -- ripr-swarm campaign orchestrator |
|
Queue evidence checkpoint: candidate H |
Disposition: repair dispatched (stale golden)State:
Cause: the fixture was authored 2026-11-08 in Disposition: repair dispatched to coding ripr-swarm — re-bless only -- ripr-swarm campaign orchestrator |
Authorized: merge main into #13835, then reproduce before blessingThe coder's reproduction is right to fail, and that is the useful result: Authorized: merge current The order matters: a bless without a red is a fixture rewrite, not a repair. If the drift still does not reproduce on the merged tree, stop and report — that would mean the earlier drift diagnosis was wrong, not that the fixture is fine. Why this was a good stop: the coder did not bless a fixture it could not see fail. That is the correct behaviour for a golden recapture, and it is why the branch is unchanged rather than carrying an unverified bless. |
|
Campaign queue admission — Disposition: |
|
Removed Measured now, at head
So this re-fails the goldens step on re-entry, and it has been in that state since 2026-11-08 with no change to the head. Remedy, in order:
The label will stay off until a head exists that passes its own goldens check. |
Restacked and re-pinned: head
|
| Field | Before | After |
|---|---|---|
| probes / findings | 14 / 14 | 14 / 14 |
| exposed / weakly_exposed | 14 / 0 | 14 / 0 |
| infection / propagation / static unknown | 0 / 0 / 0 | 0 / 0 / 0 |
| stop reasons | fixture_opaque ×6, none ×2, async_boundary_opaque ×6 |
identical |
| oracle | relational_check ×14 |
identical |
So this is a stale-fixture re-pin against main's output, not a classification change.
merge-ready is re-applied so qualification runs at this head.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
#13835 at 05318e7 — the re-pin is a stale-fixture update, not a classification change.
The bless
05318e78cf sits on the merge 3ee69dcc9c of main 96707c06f8; the head is 0 behind and 4 ahead. The bless touches three fixture files, +118/-14. A structural JSON diff of check.json against the merge parent shows exactly 14 added fields, all evidence_stages, and no other change: the stage vector, finding ids and evidence paths are untouched. The human delta is presentation (the State and Safe next action wording, and the hidden list grouped per file), and the CHANGELOG adds one blessing entry. So this is a re-pin of the new schema, not a reclassification.
The PR's own delta against main is 8 files, +1593: the classify_opaque_signals fixture (SPEC.md, diff.patch, the three expected files, and the input tree). No product code moves.
The CRLF correction
The root's line-ending diagnosis does not hold at 467b36edf2: the committed blob is 63,361 bytes, 0 CRLF, 1,329 LF, and .gitattributes carries * text=auto eol=lf. Converting line endings would have rewritten correct content; the drift was the content and schema changes, as the Coder says. One wording correction: evidence_path was not renamed — evidence_stages was added beside it.
Evidence boundary
I did not run cargo xtask goldens check; the drift-0 and identical-stage-vector results are the Coder's claims, but the structural diff confirms the JSON has no classification change, and the added evidence_stages mirrors the existing evidence fields. The head was re-read immediately before posting and is still 05318e7.
|
Correcting my earlier comment on this PR. The CRLF diagnosis was wrong, and it was my measurement error. I reported that Byte-exact check with Zero carriage returns in either. The repository is The real drift was content and schema, which is what the restack and re-pin fixed:
Repaired at Removing |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
The head moved from 05318e78cf (my 23:07Z attestation) to 7d9d053fc9 by one commit, test(golden): record the main sha the opaque-signal re-pin was made against. I re-checked the delta instead of carrying the earlier verdict forward.
Delta: one file, fixtures/classify_opaque_signals/expected/CHANGELOG.md, +6/-1. check.json and human.txt are byte-identical to 05318e78cf, so the re-pin evidence from the previous review stands unchanged: 14 added evidence_stages fields, no classification or stage-vector change.
Why the new commit is inert:
expected/CHANGELOG.mdis excluded from the static-language candidate set (xtask/src/main.rs:22096,is_static_language_candidate), so its prose is not gated.fixture_name_from_expected_outputreturnsNoneforexpected/CHANGELOG.mditself, so it is not a golden path that requires a blessing.- The golden comparison skips fixture CHANGELOG files (#2338).
Claims in the note verified: git merge-base --is-ancestor 96707c06f8 7d9d053fc9 exits 0, and git rev-list --left-right --count 96707c06f8...05318e78cf is 0 4, so the recorded count was accurate at the head it describes. Against current origin/main 5ad89ad576 the count is now 0 5; the note is a snapshot, not a live claim.
Non-blocking: the new heading uses - where the older entry in the same file uses —. Cosmetic, and the file sits outside every gate.
Not established: I did not run cargo xtask goldens check on 7d9d053fc9, and no hosted Ripr run exists for this head yet (only Graphite, CodeRabbit and GitGuardian). Golden drift remains the hosted lane's call.
Next: hosted qualification on 7d9d053fc9.
|
Enqueued at position 2 on head Guard read before the write: Composition note: the head is behind Readback: entry position 2, state |
Summary
Pin the existing
decision.rsopaque-signal disclosures before the #3023 typed-matcher refactor. Seven distinct owners isolate the three related-test body signals, three probe-expression signals, and a plain control. The Linux JSON golden retains both predicate and return-value findings, their classes, related tests and stop reasons.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Proposal: #2691 disclosure-golden prerequisite
Spec: RIPR-SPEC-0009,
fixtures/classify_opaque_signals/SPEC.mdADR: none
Plan item: #11603 production-path inventory and disclosure baseline for #3023
Governing issue or accepted claim: #3023 disclosure golden prerequisite
Acceptance delta (one sentence): The pre-refactor classifier's six opaque substring signals and plain fall-through are pinned in a production-path JSON golden before the typed matcher lands.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
codex/2691-disclosure-goldenStack 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
Scope
Proof
On Linux, Rust 1.95.0, baseline
5d5951b19a273c2261cf79fd604b0038545b424f, original fixture candidate7ed7bacb9e03f61eda8a550931a0726a0fc27287:cargo xtask goldens bless classify_opaque_signals --reason 'RIPR-SPEC-0009: pin pre-refactor opaque signal disclosures for #3023'— generated the golden.cargo xtask fixtures classify_opaque_signals— passed.cargo xtask check-fixture-contracts,cargo xtask goldens check,cargo xtask fixtures,cargo xtask check-evidence-promotion-honesty,cargo xtask check-fast(11 ran, 2 inapplicable), andcargo xtask precommitpassed on the committed baseline candidate. Hosted qualification remains pending. The JSON golden discloses the reasons; default human output does not display them. Static classifications are not runtime mutation outcomes.Integration update: current head
467b36edf2c54cb0027c61fa60e88d791feb7255merges repaired mainab93e28c665bdc75242bc33f4db3a21854126f04. Its treea37fcb5cbda65bb99dbf9d57553cd43002795edfexactly matches the locally tested composition;cargo xtask fixtures classify_opaque_signalspassed on that tree. Prior checks above remain bound to7ed7bacb; hosted qualification on the current head remains pending.