Skip to content

fix(typescript): name a changed clause only for a single-token in-place substitution (#11442) - #11710

Merged
EffortlessSteven merged 23 commits into
mainfrom
claude/ts-clause-single-token-11442
Nov 1, 2026
Merged

EffortlessSteven merged 23 commits into
mainfrom
claude/ts-clause-single-token-11442

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #11442
Acceptance delta (one sentence): The TypeScript boundary selector names a changed clause of a compound condition only when exactly one clause is touched, so a multi-token edit within one clause or an added comparison clause no longer names a clause that may not be independently steerable, while a pure operand swap (total >= 100 to 100 <= total) keeps its label.

Summary

  • boundary_selection.rs: withholds a clause when the edit adds a comparison site or replaces more than one token on either side. Exception: a pure operand swap that is the whole edit (operands exchanged around the one comparison operator, operator mirrored or unchanged for ==/===/!=/!==, every other token identical at the same index). Token-identical edits (comment/whitespace) refuse before the returned-ternary fallback, as on main.
  • An earlier version of this PR used "exactly one token differs". Hosted Verdict corpora showed it lost 15 correct TypeScript credits (operand swaps such as 100 <= total), so the swap exception was added; the verdict corpus is NOT re-blessed and all 15 rows stay credited.
  • boundary_label_tests.rs, app/tests/typescript_clause_single_token_packets.rs: positives and refusing negatives, including the two cases deferred from ux(typescript): only 1 of 178 real-repo mutations offered a repair start; suggested test shape (as any) is refused by the verifier #11196, swap positives, unmirrored-exchange negatives, and swap-plus-another-edit negatives.
  • RIPR-SPEC-0027, traceability entries (every listed test name verified to exist in source), changelog fragment.
  • Golden re-bless: typescript_jest_vitest_assertion_facts (check.json + CHANGELOG). Its isReady edit (count > 0 to count >= 1) changes two tokens in one clause, so it no longer names count == 1. Intended consequence of this PR. The two TypeScript preview corpora (typescript-preview-repair-loop, typescript-preview-false-actionable-audit) were updated to the resulting missing_target_shape wording.

Review

Independent fresh read-only reviews: (1) found a returned-ternary regression, fixed; (2) confirmed that fix; (3) on head 90529ac found the swap exception applied per site (a swap plus an edit in another clause still named the swapped clause) and a wrong traceability test name, both fixed; (4) on head 574b970, the delta review found no defects (REVIEW_READY).

Validation actually run (local, final tree)

verdict-corpus check-all 0, goldens check 0, fixtures 0, check-fixture-contracts 0, check-traceability 0, cargo test -p ripr --lib -- boundary_label typescript_clause_single_token_packets 0 (67 passed), cargo xtask precommit 0 (two earlier runs were SIGKILLed by the box's memory limit during the clippy compile, then passed). Hosted CI on the exact head is the final proof.

Evidence gaps (stated honestly)

  • The positive app tests do not assert repair_packet_ready: the TypeScript preview is preview_advisory_only and never emits a ready packet. The negatives' packet_ready() check is a tripwire only; the discriminating signal is the named == discriminator.
  • No returned-ternary app-level test; the unit cases cover it.
  • The 178-mutation trial replay was not re-run (inputs no longer present). The new selection is a subset of main's, so it cannot create a new start.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq

…mpound conditions (#11196)

The requested clause-level discriminator already ships (#10399): a compound
&&/||/?? condition names the one comparison leaf whose tokens changed. Add the
discriminating negative matrix (reorder, removed clause, moved parenthesis,
operator swap, non-comparison edit, quoted/template clause, non-simple and
nullish operands) and document in RIPR-SPEC-0027 that a named clause is not
claimed to be independently steerable. No production change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
…1196' into claude/ts-clause-single-token-11442
…ce substitution (#11442)

Two changed tokens in one clause and an added comparison clause now keep the
predicate-boundary refusal instead of starting a repair whose example cannot
discriminate. Operand-deletion pins move to refusals.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
@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 31, 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 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 149 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: c26f2f5e-ea77-4ed1-a38b-03a928aec24d
Commits

Reviewing files that changed from the base of the PR and between 13079cf and fdfca4c.

Files selected for processing: 12
  • .ripr/traceability.toml
  • changelog.d/typescript-single-token-clause-11442.md
  • crates/ripr/src/analysis/language/typescript/boundary_label_tests.rs
  • crates/ripr/src/analysis/language/typescript/boundary_selection.rs
  • crates/ripr/src/app/tests/mod.rs
  • crates/ripr/src/app/tests/typescript_clause_single_token_packets.rs
  • docs/specs/RIPR-SPEC-0027-typescript-preview-static-facts.md
  • fixtures/blind_journey_execute/corpus.json
  • fixtures/typescript-preview-false-actionable-audit/corpus.json
  • fixtures/typescript-preview-repair-loop/corpus.json
  • fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md
  • fixtures/typescript_jest_vitest_assertion_facts/expected/check.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Resolve boundary_label_tests.rs and RIPR-SPEC-0027 conflicts; refuse token-identical edits before the returned-ternary fallback; traceability and spec updates.

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

@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 end-to-end negative test claims to prove that no repair starts, but repair_packet_ready is already false for TypeScript preview findings regardless of boundary selection.
  • Confirm the added-clause fixture does not test the claim that an added clause cannot be reached past an untouched prior clause; it only checks that no comparison is named.
  • Confirm typeScript single-token selection has a production-path negative for the two-token and added-clause regressions.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • Execution evidence for the changed Rust tests is not complete in the review packet.
  • The available receipt set does not include completion of cargo-test, and this lane did not enumerate all callers of selected_text or all boundary-site construction paths; a broad sibling-path proof remains useful.
  • The PR's claimed test execution and policy-gate status are not independently established in this lane because the scheduled cargo-test receipt is absent and ripr failed.
  • Executable validation evidence is incomplete: ripr failed, cargo-test has no receipt, and xtask/mutation replay are explicitly unestablished.
  • The added end-to-end test module is feature-gated and registered as a Rust test module, but the exact-head cargo-test completion receipt is unavailable.

…ngle-token clause naming (#11442)

The isReady edit changes two tokens (operator and literal), so it now names no clause boundary.

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

Copy link
Copy Markdown
Member Author

Review of record at head 640d902d4454167b5bf7b73d5399e35bc6444782.

Angles: correctness, tests, spec/contract, perf/security. This is a source review of the full diff (9 files). I did not run any code.

  • Correctness: selected_text now names a comparison clause only when the old and new lines have the same token count and exactly one token differs. The touched site must also exist in the old line with the same first/last token indices, so an added clause or a moved site is refused. Token-identical edits return None before the returned-ternary fallback, matching main for comment and whitespace edits. The old envelope and suffix logic and the now-dead operand_delimiter are removed cleanly. This is a strict narrowing: it can only withhold a named discriminator, never add credit.
  • Tests: Unit tests cover single-token substitutions that keep their labels, two-token and added-clause refusals, the neighbour-clause case, and ternary comment/whitespace refusals. Three prior "operand deletion keeps the label" tests are inverted deliberately, because a token-count change now names none. End-to-end check tests cover two positives and two negatives. As the PR states, repair_packet_ready is a tripwire only, because the TypeScript preview is advisory.
  • Spec/contract: RIPR-SPEC-0027 gets a paragraph stating the rule. Traceability entries are added and a changelog fragment is present. The typescript_jest_vitest_assertion_facts golden moves because count > 0 to count >= 1 is a two-token edit. The diff shows the intended coherent change: the discriminator is gone and the actionability category falls to missing_target_shape.
  • Perf/security: Neutral.

Findings: none blocking. Non-blocking: the golden diff and its CHANGELOG entry look hand-edited rather than blessed by the harness, so the hosted Golden output contracts gate is the proof. The earlier failure of that gate on b7c0316f is exactly what this head addresses.

Review threads: none. Proof is the hosted exact-head Result.


Generated by Claude Code

…ause naming (#11442)

The re-blessed typescript_jest_vitest_assertion_facts finding for isReady is
now missing_target_shape (a two-token edit names no clause boundary), so the
smoke-only corpus cases expect that actionability and its wording.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
…t_shape finding (#11442)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
@github-actions

Copy link
Copy Markdown
Contributor

merge-ready was requested, but this PR conflicts with main (head ef9649aa), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
…merging main (#11442)

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

@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 negative app tests bundle three signals, but packet_ready and exposed are false independently of boundary selection; therefore only absence of a named comparison demonstrates the intended regression behavior.
  • Confirm the production check-path tests distinguish named comparison discriminators from ordinary TypeScript preview non-actionability, so their negative packet assertions do not prove the boundary rule alone.

Refuted

  • No JavaScript runtime, worker handoff, async task, GC, detach, or transferable-object boundary is introduced or modified by this PR.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • Executable completion evidence for the changed Rust tests remains absent in this review packet; ripr failed and the cargo-test receipt was not available to this lane.
  • Exact-head Rust test execution is still unestablished in the review packet because cargo-test has no receipt and ripr failed; the PR body reports prior local runs but not an independent packet receipt for the final head.
  • The packet lacks completed execution evidence for the changed Rust tests: ripr failed and the scheduled cargo-test receipt is absent.

@EffortlessSteven EffortlessSteven left a comment •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Independent review (fresh-context reviewer, head 12a9298): REPAIR_REQUIRED

Inspected:

  • crates/ripr/src/analysis/language/typescript/boundary_selection.rs — the rewritten selected_text (the diff removes operand_delimiter and the prefix/suffix edit-envelope filter, and replaces them with a changed-index computation plus a same-site-in-the-old-line requirement).
  • docs/specs/RIPR-SPEC-0027-typescript-preview-static-facts.md:504-513 (the rule this PR adds).
  • crates/ripr/src/analysis/language/typescript/boundary_label_tests.rs and crates/ripr/src/app/tests/typescript_clause_single_token_packets.rs (the new tests), .ripr/traceability.toml:3574-3589 (nine new entries), changelog.d/typescript-single-token-clause-11442.md.
  • The golden re-bless: fixtures/typescript_jest_vitest_assertion_facts/expected/check.json (+13/-25), expected/CHANGELOG.md (+24/-0), and expected/human.txt (not in the PR) — the last read at both head and base and compared byte-for-byte.
  • The two corpus expectation files the PR updates: fixtures/typescript-preview-false-actionable-audit/corpus.json and fixtures/typescript-preview-repair-loop/corpus.json.
  • crates/ripr/src/output/preview_actionability.rs (the actionability projection the golden's category change flows through), and the classification gate fixtures/typescript-verdict-corpus/expected/.
  • Hosted evidence for this exact head: run 41243283685 "Merge-ready request 12a9298", its Rust gates job 124663492545 (log lines 2365-2382), and main's own Rust gates job 124667151683 at fa621a32 for comparison.

Blocking:

  1. The required Rust gates lane is red at this head because fixtures/typescript-verdict-corpus/expected was not re-blessed, and the drift is attributable to this PR. The cargo xtask verdict-corpus check-all step in job 124663492545 fails with exit code 1 and reports fifteen drifted TypeScript corpus cases. Eight of them move the observed verdict, not just the row text:
    • jest-discount-boundary-pinned, jest-mined-tobeinstanceof-bound-local, mocha-bonus-boundary-pinned, mocha-limit-async-await, nodetest-tier-boundary-pinned, ts-grid-boundary-helper, ts-nodetest-shipping-threshold, ts-vitest-bulk-threshold — each reported as "verdict moved; changed since labeling (line 11: expected "observed_verdict": "credited", got "observed_verdict": "gap")".
    • The other seven (jest-mined-tobeinstanceof, jest-spec0249-ex05-wrapped-pin, jest-tier-test-each-table, ts-grid-boundary-exact, ts-grid-boundary-table, ts-nodetest-silver-legacy-assert, vitest-orders-tier-each-boundary-pinned) report "row moved" at the same line.
      Attribution is direct, not inferred from a missing base lane: (a) the base commit c8effc97 has no comparable routed run of its own (every run recorded against that SHA is a push-to-main run, most cancelled), but main's tip fa621a32 is comparable and its Rust gates job 124667151683 reports VERDICT_CORPUS_RESULT: success and GOLDENS_RESULT: success — so the corpus is green on main and this lane is red only on this candidate; (b) crates/ripr/src/analysis/language/typescript/boundary_selection.rs is byte-identical between c8effc97 and main's tip fa621a32 (git diff --stat is empty), so main did not move the clause-naming code and the drift cannot be main drift in that file; (c) the PR's own re-blessed golden demonstrates the exact mechanism — the isReady edit count > 0 → count >= 1 changes two tokens, so count == 1 is no longer named, missing_discriminator becomes null, and the finding reclassifies from incomplete_repair_packet to missing_target_shape. That is the same narrowing that moved these eight cases from credited to gap.
      The gate states its own remediation, quoted from the job log: "If the change is intended, re-bless fixtures/typescript-verdict-corpus/expected (cargo xtask verdict-corpus bless --language typescript) and state why each moved row changed in the PR." Neither half was done: the corpus is untouched by this PR, and the PR body does not mention any moved row. The golden re-bless that was performed is correct — the goldens step passed before the corpus step failed — so the fix is scoped to the verdict corpus plus the required per-row rationale in the PR body.
  2. The PR body's blast-radius reasoning is contradicted by the corpus evidence, and it presents a real capability cost as free. The "Evidence gaps" section argues: "The 178-mutation replay was not re-run (inputs no longer present). The new selection is a strict subset of the old one, so no new start or exposed is possible from this change." The narrowing claim is correct as far as it goes — I checked it by hand against the old implementation and the new selection is a strict subset in all four cases (token-identical → None in both; exactly one differing token → the new filter keeps the old site.first <= i <= site.last condition and adds the requirement that the same site range already existed in the old line, which the old code could not produce; two or more differing tokens → the old code could still select a site, the new code selects none; a token-count change → the old code could still select a site, the new code selects none). But "a strict subset of the named boundaries" does not imply "no change to the verdicts". Eight corpus cases that were labelled credited — a real test pinning the change — are now observed as gap, because a withdrawn named comparison means the analyzer no longer recognises the test as pinning that behaviour. That is the fail-closed direction the product contract prefers over a wrong actionable repair, but it is a measurable loss of credit, and the PR body argues the opposite. The body should state plainly that eight labelled corpus cases lose credited, that this is the intended consequence of refusing to name a clause that may not be independently steerable, and that the fail-closed direction was chosen deliberately.
  3. The changelog fragment claims a user-visible behaviour change that this adapter never had. changelog.d/typescript-single-token-clause-11442.md says: "Two changed tokens in one clause and an added comparison clause no longer start a repair packet (#11442)." They did not stop starting a repair packet, because the TypeScript preview adapter never started one. The PR body's own "Evidence gaps" section states it: "The positive app tests do not assert repair_packet_ready: the TypeScript preview is preview_advisory_only and never emits a ready packet." The re-blessed golden agrees — repair_packet_ready is false and authority_boundary is preview_advisory_only both before and after the change. What actually changed is that the finding no longer carries a named comparison clause, so missing_discriminator becomes null and the actionability category moves from incomplete_repair_packet to missing_target_shape. The fragment's first two sentences describe that accurately; the third sentence should say that no clause is named, not that a repair packet stopped starting. A user reading the fragment as written would look for a repair packet that was never emitted.

Non-blocking:

  1. The new tests have no executed evidence at this head. In run 41243283685 the Ripr Rust Small tests on GitHub Hosted job (124669456124) is skipped, because the Rust gates job failed first and the shard job depends on it. The PR body's local evidence — cargo test -p ripr --lib -- boundary_label typescript_clause_single_token_packets: exit 0 (59 passed), plus cargo xtask precommit: exit 0 — was run on head 48c3183383, not on 12a9298c8; the body says as much for the later fixture-only commit. The four new app-level tests (single_operator_substitution_names_its_clause, single_literal_substitution_names_its_clause, two_tokens_in_one_clause_start_no_repair, added_comparison_clause_starts_no_repair) and the five new boundary_label_tests therefore still need a hosted run at the final head.
  2. The negative app tests' discriminating signal is weaker than their names suggest, which the body discloses. two_tokens_in_one_clause_start_no_repair and added_comparison_clause_starts_no_repair assert packet_ready() and exposed together with the absence of a named comparison. As the body notes, packet_ready and exposed are already false for TypeScript preview findings independently of boundary selection, so only the absence of a named == discriminator actually discriminates the rule. That is an acceptable oracle for a narrowing rule — a mutant that kept naming a clause would fail on the named-comparison assertion — but the two test names describe an axis that never varies. The body is honest about this; no change is required beyond making sure the assertion that does discriminate is the one the test would fail on.
  3. The golden ledger records two pending blesses for one fixture with one reason. fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md gains "Pending — typescript_jest_vitest_assertion_facts (40)" and "(41)", both with the reason "RIPR-SPEC-0027: a two-token edit (operator and literal) names no clause boundary (#11442)". The ledger is append-only, so two bless attempts are plausible; it is only worth noting because the body describes a single re-bless.
  4. The ledger lists expected/human.txt as updated, but that file did not change. Both ledger entries list expected/human.txt under "Updated". I read human.txt at head and at base and they are byte-identical (6068 chars each), and the file never contained count == 1; the human rendering of the isReady finding uses the unchanged "replace or augment the truthiness check with an exact-value assertion" wording and an unchanged next-step line. So the golden is not stale on that file and cargo xtask goldens check is not endangered by it — the ledger lists files the bless wrote, not files whose bytes changed. Noted only so a later reviewer does not read the ledger as a claim that human.txt moved.
  5. The spec update matches the implementation. RIPR-SPEC-0027:504-513 now states that a clause is named "only when exactly one token was substituted in place (an operator, a literal, or a single operand token) in a comparison the old line already had", and that any insertion or deletion, two changed tokens in one clause, and an added comparison clause name no boundary. That is exactly what the new selected_text does: one differing token index, a site covering it, and a site with the same first/last range present in old.sites. The traceability entries name the nine new tests with their exact paths, and the changelog fragment is named for its governing issue (#11442).

Not run:

  • No local build, test, lint or gate: the Rust toolchain on this host is not on PATH, so cargo test -p ripr --lib, cargo xtask verdict-corpus check-all, cargo xtask goldens check, cargo xtask precommit and the fixture commands were not executed. Every Rust-level claim above is taken from hosted job logs and from source, not from a local run.
  • The verdict corpus was not regenerated locally and the 15 moved rows were not individually re-derived; the move list is quoted from the candidate's own Rust gates job log at this head, and the attribution to this PR rests on main's VERDICT_CORPUS_RESULT: success at fa621a32 plus the byte-identical boundary_selection.rs at base and main.
  • The 178-mutation replay referenced in the PR body was not re-run; its inputs are not present in the tree, as the body states.
  • The base commit's own routed lane state could not be compared directly — the base c8effc97 has no routed run of its own, so main's tip was used as the comparison point instead, and that substitution is stated above rather than glossed.

Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 12a9298c80cb988ec058c54602fbd8ecf4d29676. Not an approval.

…and added clauses (#11442)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLStjTeXK7R7aoSnBBq
…restore added-clause negative (#11442)

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

@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.

Confirmed findings

  • The blessed golden changelog records an expected/human.txt update that is not included in this PR's changed files, weakening the claim that the generated golden set is fully captured.

Verification questions

  • Confirm the golden changelog says expected/human.txt was updated, but that file is absent from this PR's changed-file list.
  • Confirm the production selector rejects edits with an added comparison site and rejects multi-token replacements except for a narrowly recognized mirrored operand swap.
  • Confirm the production-path negative tests cannot independently prove that no repair starts because TypeScript preview packet readiness is always false.

Evidence gaps

  • Exact-head executable validation is unestablished in the packet because ripr failed and the cargo-test receipt is absent; prior reported runs do not replace a completed final-head receipt.
  • The production-path fixture is feature-gated under lang-typescript and exercises check_workspace_with_config, but the packet lacks a completed cargo-test receipt for the final head.
  • No completed exact-head cargo-test receipt establishes that the changed Rust tests and golden expectations pass together.
  • No active-view-specific execution evidence was present because the cargo-test receipt was absent and ripr failed.
  • The packet lacks completed Rust test evidence for the final head; prior reported runs and fixtures are not an independent receipt.
  • Model proof intent was rejected by deterministic validation.
  • Exact-head test execution remains unestablished in the supplied packet.
  • Exact-head execution and a broad sibling-caller sweep remain unestablished in the supplied review packet.

…eability names (#11442)

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

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@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.

Confirmed findings

  • crates/ripr/src/app/tests/typescript_clause_single_token_packets.rs:1 — Add or cite a completed exact-head test receipt for the changed unit and app tests. The current packet has a failed ripr sensor and no cargo-test receipt, so reported prior runs do not establish that the final tree passes.
  • fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md:873 — The blessed changelog records expected/human.txt as updated, but that file is not changed in this PR. Regenerate or include the corresponding human-readable golden so the documented artifact set and repository contents agree.

Verification questions

  • Confirm the blessed golden changelog says expected/human.txt was updated, but that file is absent from this PR's changed-file list.
  • Confirm the re-blessed golden changelog records an expected/human.txt update, but expected/human.txt is not among the changed files.
  • Confirm the app helper treats any missing-discriminator text containing ' == ' as evidence that a comparison clause was named, which can misclassify unrelated discriminator text.
  • Confirm the blessed golden changelog claims expected/human.txt was updated, but that file is absent from the PR changed-file list.
  • Confirm the blessed golden changelog claims expected/human.txt was updated, but that file is absent from the changed-file list.
  • Confirm the production-path negative assertions are only partially discriminating because TypeScript preview is always non-actionable; absence of a named == discriminator is the signal that exercises boundary selection.

Evidence gaps

  • Exact-head Rust test execution is not established by this review packet: ripr failed and the scheduled cargo-test receipt was absent.
  • Exact-head executable validation of the changed Rust tests is absent from this review packet: ripr failed and the scheduled cargo-test receipt was not available.
  • Model proof intent was rejected by deterministic validation.
  • The generated golden changelog says expected/human.txt was updated, but expected/human.txt is not among the changed files, leaving the blessed artifact set incomplete or stale.

…r and operand (#11442)

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

Copy link
Copy Markdown
Member Author

Note on head fdfca4c: the installed-journey failure on 574b970 (installed_typescript_object_namespace_write_variant_unresolved) was a genuine consequence of this rule, not a selection bug. That scenario's edit is subtotal > DISCOUNT_THRESHOLD to subtotal >= pricingConfig.discountThreshold, which replaces the operator and the compared operand in one clause, so it is exactly the #11442 two-changed-tokens case and now names no clause. Two rows in fixtures/blind_journey_execute/corpus.json (that scenario and the enum-computed-initializer one, same shape) were re-recorded to the product's current text; gap ids are unchanged. The single-token variants (let-binding, reassignment, imported-constant, nonliteral-arithmetic) still name their clause.

Coverage loss, stated honestly: those two rows used to exercise the "boundary operand is not bound to a concrete value" refusal (#9107) end to end; they now fail closed earlier, at selection. The operand-binding logic stays unit-tested in typescript_packet_projection.rs. Restoring an end-to-end control needs new variant fixtures that change only the operand, which means re-recording commits, digests and manifest hashes; left as follow-up.

Local exit codes on this head: installed_python_typescript_journeys 0 (48 passed), blind-journey-contract 0, blind-journey-execute 0, verdict-corpus check-all 0, goldens 0, fixtures 0, check-fixture-contracts 0, check-traceability 0, precommit 0. The shard-4 failure on 574b970 (boundary_gap_closure ordinary_daily_loop::isolated_commands_reap_primary_and_stop_descendants, "read process: No such process") is a process-reaping race unrelated to this diff.


Generated by Claude Code

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