Verify sealed Polymarket evidence semantics - #107
proerror77 wants to merge 1 commit into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
Change contract
Consume a descriptor-bound
SealedPolymarketEvidenceTripletand produce the sole trust-bearingVerifiedPolymarketEvidencehandle only after event-local contracts, books, Chainlink references, Polymarket trades, and official settlements pass fail-closed semantic validation.Out of scope
Research-snapshot mapping, OSS selection/download, trusted-digest acquisition, database import, collector publication, runtime activation, deployment, and live execution. Projection row structs are explicitly non-authoritative carriers; only the top-level verified handle carries trust.
Dependencies and merge order
Depends on #106 (
codex/polymarket-evidence-wire). Merge #106 first, rebase this branch ontomain, then merge this PR. No consumer may merge before this layer.Focused validation
cargo fmt --all -- --checkcargo metadata --locked --no-deps --format-version 1cargo test --locked -p ploy-market-data(18 passed on exact head)cargo clippy --locked -p ploy-market-data --all-targets --no-deps -- -D warningscargo check --locked -p ploy-research --bin monday-prediction-researchRollout and rollback
No runtime path, database, collector, deployment, or execution behavior changes. Rollout exposes a read-only verified handle for the next research-consumer layer. Roll back by reverting this PR; #106 may remain safely as a private unused decoder.
Scope exception
None. This layer is 743 non-generated changed lines (736 insertions, 7 deletions), below the 750-line split threshold.