Skip to content

R2: deterministic test-backed change evidence - #12

Merged
yava-code merged 3 commits into
codex/shadow-cockpit-rndfrom
codex/r2-change-evidence
Jul 31, 2026
Merged

R2: deterministic test-backed change evidence#12
yava-code merged 3 commits into
codex/shadow-cockpit-rndfrom
codex/r2-change-evidence

Conversation

@yava-code

Copy link
Copy Markdown
Owner

Outcome

Implements R2: a deterministic, test-backed change-evidence boundary between the Flight Recorder and the future Experience Compiler.

What changed

  • bounded read-only Git revision diff with full OID verification, NUL name status, rename detection, and zero-context hunk parsing
  • TypeScript compiler-API resolution for functions, variables, classes, methods, and module boundaries
  • exact ExtractionResult, SemanticUnit, and CandidateSeam contracts with deterministic full-hash IDs
  • explicit fixture check linkage and Flight Recorder before/after hash verification
  • honest partial/unsupported results for missing links, invalid syntax, unsupported language, or identity drift
  • corrected the replay transcript to the real R0 file, command, and test identities

Evidence

  • npm run check
  • npm test — 43/43 passed locally on Windows
  • npm run build
  • npm run package
  • real tenant-cache-key base/target extraction plus rename, multi-file, added/deleted function, and class cases

R2 does not infer invariants, blast radius, novelty, or readiness from an LLM. Unknown factors remain null and incomplete evidence is recorded as a gap.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 141e1e06-376c-4414-a9ad-e75ebceb256d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@yava-code
yava-code marked this pull request as ready for review July 31, 2026 21:31
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@yava-code
yava-code merged commit 6296257 into codex/shadow-cockpit-rnd Jul 31, 2026
6 checks passed
@yava-code
yava-code deleted the codex/r2-change-evidence branch July 31, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant