fix(research): fail closed snapshot admission - #378
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe PR adds sibling-process cleanup when admission deadlines are exhausted, threads snapshot source identity through authenticated snapshot handling, and restricts mission admission to the Polymarket Chainlink baseline authority and pipeline smoke mode. Two research mission policy snapshot hashes are updated. ChangesAdmission deadline cleanup
Snapshot authority admission
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aeb354d0a8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Change contract: close the outstanding #374 admission follow-up P1/P2 boundaries by admitting only baseline pipeline-smoke Mission V3 requests against baseline-authority snapshots, and by reaping a spawned sibling when its admission deadline is exhausted.
Acceptance evidence:
cargo test --features db --bin monday-prediction-snapshot -- --nocapture(13 passed)cargo test --lib -- --nocapture(327 passed)cargo test --bin alpha-harness -- --nocapture(111 passed)cargo fmt --checkin both affected workspaces andgit diff --checkOut of scope: Mission V3 research-trial execution adapters and shared MCTS kernel (#324); V3 research admission remains fail-closed until that separate contract exists.
Dependency / merge order: follow-up to merged #374; merge before promoting #324. The two mission templates update atomically because the new authenticated snapshot source binding changes the policy fingerprint.
Rollout / rollback: no collector or live execution changes. Roll back this PR to restore the previous admission surface; this PR only narrows admission and updates the corresponding immutable policy identity.
Summary by CodeRabbit
Bug Fixes
Configuration