Skip to content

feat(runs): add shadow projection comparison - #610

Merged
solomonneas merged 3 commits into
mainfrom
codex/568-4-shadow-compare
Jul 29, 2026
Merged

feat(runs): add shadow projection comparison#610
solomonneas merged 3 commits into
mainfrom
codex/568-4-shadow-compare

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • Compare each committed legacy run snapshot with a projection rebuilt from the lifecycle journal.
  • Write bounded, atomic, digest-only comparison evidence with match, lag, mismatch, error, and crash-gap tracking.
  • Expose a fail-closed readiness report while keeping run.json authoritative.

Scope

This is slice 4 of #568. It does not add recovery, CLI gate integration, event enrichment, approval workflows, or journal source-of-truth cutover.

Verification

  • ./scripts/verify
  • 4,895 passed, 3 skipped
  • 82.99% coverage
  • Brigade receipt: 20260729-170150-work-verify-bfc4bb
  • Read-only Opus review approved the final tree for commit and PR

Part of #568

solomonneas and others added 2 commits July 29, 2026 13:09
Define the slice 4 comparison contract, privacy boundary, readiness gate, crash-gap behavior, and digest-based idempotency. Add a RED-first implementation sequence that preserves the legacy run snapshot as the authority.

Co-Authored-By: Cursor <cursoragent@cursor.com>

Co-Authored-By: Codex <codex@openai.com>

Co-Authored-By: Claude <noreply@anthropic.com>
Compare committed legacy snapshots with journal projections and store bounded digest-only evidence. Keep legacy writes authoritative while exposing a fail-closed readiness report for later cutover work.

Cover canonical parity, lag and mismatch classification, failure containment, crash gaps, corrupt evidence, idempotency, privacy, and counter coherence.

Co-Authored-By: Cursor <cursoragent@cursor.com>

Co-Authored-By: Codex <codex@openai.com>

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

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: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 74de3eca-068e-469d-a148-12db6c40c4c4

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.

Keep commit examples conventional without embedding contributor emails or co-author trailers in the tracked implementation plan.

Co-Authored-By: Cursor <cursoragent@cursor.com>

Co-Authored-By: Codex <codex@openai.com>
@solomonneas solomonneas self-assigned this Jul 29, 2026
@solomonneas
solomonneas merged commit 4b4ac5d into main Jul 29, 2026
28 checks passed
@solomonneas
solomonneas deleted the codex/568-4-shadow-compare branch July 29, 2026 17:32
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