Repository navigation
feat(OMN-10423): contract + receipts for cascade integration test - #616
Conversation
Pairs with omnibase_core PR implementing I3 invariant: OCC evidence must provably belong to the same ticket as the code PR. Receipts verify: - dod-001: 9 identity-binding tests pass (5 required plan cases) - dod-002: 68 existing receipt_gate tests pass (no regressions) - dod-003: EVIDENCE_SOURCE/TICKET_PATTERN exported in __all__ - dod-004: CLI accepts --evidence-ticket and --branch-name flags
Paired OCC evidence for omnibase_core PR that ships tests/integration/test_receipt_gate_cascade.py — the Wave 6 adversarial proof-of-life gate for the receipt-gate collapse fix (OMN-10410). dod-001: test file present in omnibase_core PR diff dod-002: 33 tests pass locally, 3 xfail pending OMN-10421
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThese changes add new contract specifications and associated DoD evidence receipts for tickets OMN-10420 and OMN-10423. OMN-10420 formalizes ticket-identity binding requirements for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 0/5 reviews remaining, refill in 2 minutes and 3 seconds. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@drift/dod_receipts/OMN-10420/dod-001/command.yaml`:
- Around line 16-17: The committed receipts leak an absolute local path in the
working_dir YAML key; for each receipt (the command.yaml under dod-001, dod-002,
dod-003, dod-004 in the OMN-10420 set) remove or replace the working_dir value
with either omit the key entirely or set a sanitized repo-relative path (e.g.
project-root-relative) instead of the absolute /Users/... path; update each
command.yaml by deleting the working_dir entry or substituting a sanitized value
and commit the sanitized files.
🪄 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: 95dd164f-4d11-46d9-b720-e0fc2bdb3aa5
📒 Files selected for processing (8)
contracts/OMN-10420.yamlcontracts/OMN-10423.yamldrift/dod_receipts/OMN-10420/dod-001/command.yamldrift/dod_receipts/OMN-10420/dod-002/command.yamldrift/dod_receipts/OMN-10420/dod-003/command.yamldrift/dod_receipts/OMN-10420/dod-004/command.yamldrift/dod_receipts/OMN-10423/dod-001/command.yamldrift/dod_receipts/OMN-10423/dod-002/command.yaml
…r 10940/10941/10949 - Add contracts for OMN-10936 (reviewdog-caller omniclaude), OMN-10942 (contract routing policy), OMN-10944 (dashboard projection API contract) - Update OMN-10949 contract to cover infra PR #1588 and market PR #622 in addition to market #616 - Fix contract_sha256 in OMN-10940 receipts (pr-1580, pr-1586) — contract was updated with pr-1586 evidence item, changing the hash - Add contract_sha256 to OMN-10941 pr-1587 receipt (was missing) - Update OMN-10949 pr-616 receipt contract_sha256 to reflect expanded contract - Add receipts: OMN-10936/pr-1582, OMN-10942/pr-621, OMN-10944/pr-620, OMN-10949/pr-1588, OMN-10949/pr-622
…and receipt bundle for 6 tickets (#999) * contract(OMN-10940,OMN-10941): add OCC contracts and receipts for infra PRs 1586 and 1587 - OMN-10940: add dod-omnibase-infra-pr-1586 evidence binding PR #1586 (E2E golden-chain task-delegated event test) to the OMN-10940 contract - OMN-10941: new contract + receipt for PR #1587 (max_tokens propagation regression tests) Both receipts are required for the receipt-gate Evidence-Source check on PRs 1586 and 1587. * contract: add OMN-10936/10942/10944 contracts + fix receipt hashes for 10940/10941/10949 - Add contracts for OMN-10936 (reviewdog-caller omniclaude), OMN-10942 (contract routing policy), OMN-10944 (dashboard projection API contract) - Update OMN-10949 contract to cover infra PR #1588 and market PR #622 in addition to market #616 - Fix contract_sha256 in OMN-10940 receipts (pr-1580, pr-1586) — contract was updated with pr-1586 evidence item, changing the hash - Add contract_sha256 to OMN-10941 pr-1587 receipt (was missing) - Update OMN-10949 pr-616 receipt contract_sha256 to reflect expanded contract - Add receipts: OMN-10936/pr-1582, OMN-10942/pr-621, OMN-10944/pr-620, OMN-10949/pr-1588, OMN-10949/pr-622 * contract(OMN-10949): add deploy evidence item + update receipt hashes - Add deploy-evidence-pricing-version dod_evidence item to satisfy deploy-gate (pricing_manifest_version is additive schema field, no runtime restart needed) - Update contract_sha256 in all OMN-10949 receipts (pr-616, pr-1588, pr-622) to reflect updated contract hash * contract: add OCC self-binding receipts (pr-999) + fix all contract_sha256 hashes - Add dod-occ-pr-999 evidence items to all 6 ticket contracts (OMN-10936/10940/10941/10942/10944/10949) - Create dod-occ-pr-999/command.yaml self-binding receipts for each ticket - Update all downstream receipt contract_sha256 fields to reflect updated contract hashes - Fixes OCC eligibility pr_ticket_mismatch failure (receipts now bind to OCC PR #999) * receipt(OMN-10949): add deploy-evidence-pricing-version receipt for deploy-gate * fix: add headRefName to probe_stdout in OMN-10942/OMN-10944 receipts (CR review) * ci(OMN-10940): suppress delegation_events migration name conflict The Migration Conflict Check on PR #999 flagged delegation_events as a NAME_CONFLICT between omnibase_infra/078_create_delegation_events.sql (Postgres projection, 22 cols, UUID PK) and omniclaude/001_create_delegation_tables.sql (SQLite hook-side capture, 15 cols, INTEGER PK). Different databases, different access patterns. The omnibase_infra side is the canonical projection consumed by HandlerProjectionDelegation from onex.evt.omniclaude.task-delegated.v1 (OMN-10526). The omniclaude side is the local hook-side store pinned to the projection contract (OMN-10604). Neither shares a Postgres instance with the other. Suppress the conflict using the existing schema_evolution reason — the same pattern already used for llm_call_metrics and savings_estimates, which have an identical infra-vs-omniclaude split. No code changes; this is a CI suppressions update only.
Summary
tests/integration/test_receipt_gate_cascade.py(Wave 6 proof-of-life for OMN-10410)contracts/OMN-10423.yaml: dod-001 (test file present in PR diff), dod-002 (33 tests pass, 3 xfail pending OMN-10421)drift/dod_receipts/OMN-10423/for both dod itemsTest plan
pre-commit run --all-files— all hooks pass includingValidate ticket contract YAML against ModelTicketContractuv run python scripts/ci/run_contract_compliance_check.py --pr 616 --repo OmniNode-ai/onex_change_control --contracts-dir contracts— 2/2 PASS, 0 WARN, 0 BLOCKOMN-10423
Summary by CodeRabbit
Documentation
Tests