Repository navigation
evidence(OMN-15335): OCC companion for OmniNode-ai/omninode_infra#740 - #5376
Conversation
📝 WalkthroughWalkthroughThe OMN-15335 contract adds an OCC self-bind check for PR 5376. New command receipts record successful verification for PR 740 and supersede earlier receipts with replacement probe metadata and contract hashes. ChangesSelf-bind evidence
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@drift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/command.yaml`:
- Around line 8-9: Add the authoritative contract_entry_sha256 field to this
receipt alongside contract_sha256, using the appropriate contract-entry hash
value while preserving the existing status and legacy hash fields.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 423e8686-adf3-468c-a5ca-7ba9790b6716
📒 Files selected for processing (6)
contracts/OMN-15335.yamldrift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-738-ci/command.supersede.740.yamldrift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-738/command.supersede.740.yamldrift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/command.yamldrift/dod_receipts/OMN-15335/occ-self-bind-pr-5364/command.supersede.740.yamldrift/dod_receipts/OMN-15335/occ-self-bind-pr-5376/command.yaml
| contract_sha256: "sha256:25b6ac649a6c73631745c0012eb7c0e2417aa586a64efb88002a7a9b9c9d1525" | ||
| status: PASS |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n== target file ==\n'
git ls-files 'drift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/*'
printf '\n== target file contents ==\n'
cat -n drift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/command.yaml
printf '\n== nearby receipt files ==\n'
find drift/dod_receipts -maxdepth 4 -type f | sed 's#^\./##' | sort | tail -n 30
printf '\n== search for contract_entry_sha256 and receipt schema ==\n'
rg -n --hidden --glob '*.yaml' --glob '*.yml' 'contract_entry_sha256|contract_sha256|ModelDodReceipt|dod_receipts' drift .github . || trueRepository: OmniNode-ai/onex_change_control
Length of output: 50388
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '== target receipt ==\n'
cat -n drift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/command.yaml
printf '\n== hardening validator references ==\n'
rg -n --hidden -g '!*node_modules*' -g '!*dist*' -g '!*build*' \
'check_receipt_hardening|contract_entry_sha256|ModelDodReceipt|dod_receipts/.*/command\.yaml|run_timestamp' \
scripts drift .github contracts . || true
printf '\n== candidate validator files ==\n'
fd -a 'check_receipt_hardening.py|validator_receipt_honesty.py|dod_receipt' scripts drift .github . || trueRepository: OmniNode-ai/onex_change_control
Length of output: 50388
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo '== target receipt =='
cat -n drift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/command.yaml
echo
echo '== matching validator and docs =='
rg -n --hidden --glob 'scripts/**' --glob 'drift/**' --glob '.github/**' \
'check_receipt_hardening|contract_entry_sha256|run_timestamp|ModelDodReceipt|dod_receipts/.*/\*|dod_receipts/.*/command\.yaml' \
scripts drift .github 2>/dev/null | head -n 200Repository: OmniNode-ai/onex_change_control
Length of output: 26736
Add contract_entry_sha256 to this receipt.
This July 28, 2026 receipt is in the post-2026-06-12 format, so contract_sha256 alone is the legacy binding; new receipts need the authoritative contract_entry_sha256 field.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
`@drift/dod_receipts/OMN-15335/dod-OmniNode-ai-omninode_infra-pr-740/command.yaml`
around lines 8 - 9, Add the authoritative contract_entry_sha256 field to this
receipt alongside contract_sha256, using the appropriate contract-entry hash
value while preserving the existing status and legacy hash fields.
Sources: Coding guidelines, Learnings
Deterministic OCC evidence companion for OmniNode-ai/omninode_infra#740, authored by node_occ_companion_effect (RSD-3, OMN-14622) from the node_occ_companion_compute plan. Every byte is a pure function of the compute plan (attestation-oracle reproducible).
Summary by CodeRabbit
New Features
Documentation