feat(relations): bind operator context - #620
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 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.
Tip
The relation plan is now bound to the registered operator context digest, and every claim in the PR holds under the repository's own gates.
Session details
run — cargo nextest run --workspace --locked (1710 passed), clippy on both controller crates (-D warnings), the similarity twin-edge gate (scripts/similarity-gate.sh, 0 new edges), and the staged amiss check --profile enforce scan (exit 0, 0 findings).
Summary
Validation
cargo nextest run --workspace --lockedcargo clippy --workspace --all-targets --locked -- -D warningscargo test --manifest-path fuzz/Cargo.toml --locked --releasecargo clippy --manifest-path fuzz/Cargo.toml --all-targets --locked -- -D warningsamiss check --profile enforceprek run --hook-stage pre-pushSummary by cubic
Binds every relation audit plan to the operator-owned context digest registered in the controller registry, so projection rejects plans whose context was substituted.
context_digesttoRelationPlanand verifies it against the envelope digest, trigger, selectors, and all four snapshots in the new sharedverify_relation_plan.project_relation_evidencenow uses the shared verifier instead of its localplan_matches_transitioncheck.Written for commit 4784b67. Summary will update on new commits.