Skip to content

chore(OMN-10492): add OCC contract binding omniclaude PR #1571 - #974

Merged
jonahgabriel merged 5 commits into
mainfrom
jonah/omn-occ-bind-overnight
May 13, 2026
Merged

jonahgabriel merged 5 commits into
mainfrom
jonah/omn-occ-bind-overnight

Conversation

@jonahgabriel

@jonahgabriel jonahgabriel commented May 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Binds three omniclaude delivery PRs to OCC contracts with PASS receipts.

  • contracts/OMN-10492.yaml + dod-001 receipt → omniclaude#1571 (replace raw Postgres probe with runtime HTTP health check)
  • contracts/OMN-9906.yaml + dod-001 receipt → omniclaude#1572 (migrate ONEX_WORKTREE_GUARD + ONEX_TEAM_LEAD_GUARD_DISABLE to ONEX_HOOKS_MASK)
  • contracts/OMN-10171.yaml + dod-001 receipt → omniclaude#1573 (replace validate_skill_backing_node with omnibase_core shim, SEAM-2)
  • Self-binding dod-occ-pr receipts for OCC#974 under each ticket

Delivery PRs

Tickets

OMN-10492, OMN-9906, OMN-10171

Evidence-Source: OCC#974
Evidence-Ticket: OMN-10492

Summary by CodeRabbit

  • Chores
    • Updated contract metadata and added multiple command-based verification receipts and manual checks to record and verify PR and ticket states (new checks for several tickets/PRs).
  • New Features
    • Health check now queries a runtime HTTP health endpoint instead of probing the database directly; evidence and tests were added to confirm the runtime HTTP approach.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 13, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@jonahgabriel has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 13 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a866d798-b51f-485b-a7d0-8aba0f5d42b4

📥 Commits

Reviewing files that changed from the base of the PR and between 69a3fdd and ccd7b9d.

📒 Files selected for processing (6)
  • contracts/OMN-10171.yaml
  • contracts/OMN-10492.yaml
  • contracts/OMN-9906.yaml
  • drift/dod_receipts/OMN-10171/dod-omniclaude-pr-1573/command.yaml
  • drift/dod_receipts/OMN-10492/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572/command.yaml
📝 Walkthrough

Walkthrough

PR adds/updates three contract YAMLs (OMN-10171, OMN-10492, OMN-9906) and multiple drift DOD command receipts that record PASS checks, probe commands/stdout, PR numbers, and run metadata.

Changes

Seam Tickets Definition and Evidence

Layer / File(s) Summary
OMN-10171 Validator Reconciliation
contracts/OMN-10171.yaml, drift/dod_receipts/OMN-10171/*
Contract adds dod-omniclaude-pr-1573 and dod-occ-pr-974 command checks; receipts record PASS, probe commands/stdout, pr_numbers, and run metadata.
OMN-10492 Database Health Check
contracts/OMN-10492.yaml, drift/dod_receipts/OMN-10492/*
New contract replaces direct Postgres probing with a configurable HTTP runtime health endpoint (OMNINODE_RUNTIME_HEALTH_URL); receipts capture requests.get usage and an OCC PR OPEN state verification.
OMN-9906 Hook Gate Migration
contracts/OMN-9906.yaml, drift/dod_receipts/OMN-9906/*
Contract adds dod-omniclaude-pr-1572 and dod-occ-pr-974 command checks; receipts capture PASS, probe outputs describing onex_hook_gate/WORKTREE_GUARD behavior, PR numbers, and metadata.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐇 I hopped through contracts, checks aligned,
Receipts recorded every probe I find,
Health pings, hooks, and PRs all neat,
A tiny rabbit claps its feet.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the primary change: adding an OCC contract binding for omniclaude PR #1571 in the OMN-10492 ticket, which is the main objective documented in the PR summary.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jonah/omn-occ-bind-overnight

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 `@contracts/OMN-9906.yaml`:
- Around line 26-34: The dod-001 entry claims migration of ONEX_WORKTREE_GUARD
and ONEX_TEAM_LEAD_GUARD_DISABLE but the checks only verify onex_hook_gate
WORKTREE_GUARD; add a second command check to the checks array that mirrors the
existing command (using TARGET_PR=1572; gh pr diff ${TARGET_PR} --repo
OmniNode-ai/omniclaude | grep -q 'onex_hook_gate TEAM_LEAD_GUARD' or the exact
internal token name for TEAM_LEAD_GUARD_DISABLE) so both ONEX_WORKTREE_GUARD and
ONEX_TEAM_LEAD_GUARD_DISABLE are asserted by checks for id dod-001.
🪄 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: e1531587-276e-4c65-bbd0-19bd6913f27a

📥 Commits

Reviewing files that changed from the base of the PR and between dce81d6 and e7f1553.

📒 Files selected for processing (9)
  • contracts/OMN-10171.yaml
  • contracts/OMN-10492.yaml
  • contracts/OMN-9906.yaml
  • drift/dod_receipts/OMN-10171/dod-001/command.yaml
  • drift/dod_receipts/OMN-10171/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-10492/dod-001/command.yaml
  • drift/dod_receipts/OMN-10492/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-9906/dod-001/command.yaml
  • drift/dod_receipts/OMN-9906/dod-occ-pr/command.yaml

Comment thread contracts/OMN-9906.yaml Outdated
- contracts/OMN-10492.yaml — binds delivery PR omniclaude#1571 (replace raw
  Postgres probe with runtime HTTP health check in check_database_health)
- drift/dod_receipts/OMN-10492/dod-001/command.yaml — receipt bound to PR #1571

Delivery PR: OmniNode-ai/omniclaude#1571
…1572, #1573

- contracts/OMN-9906.yaml + dod-001 receipt bound to omniclaude#1572
- contracts/OMN-10171.yaml + dod-001 receipt bound to omniclaude#1573

Delivery PRs:
- OmniNode-ai/omniclaude#1572
- OmniNode-ai/omniclaude#1573
@jonahgabriel
jonahgabriel force-pushed the jonah/omn-occ-bind-overnight branch from e7f1553 to 163431a Compare May 13, 2026 12:07

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
drift/dod_receipts/OMN-10171/dod-occ-pr-974/command.yaml (1)

6-7: ⚡ Quick win

Make check_value deterministic by hardcoding PR 974.

Using ${PR_NUMBER} makes the receipt environment-dependent and less tightly bound to Line 18 (pr_number: 974).

Proposed fix
-check_value: "gh pr view ${PR_NUMBER} --repo OmniNode-ai/onex_change_control --json state -q '.state'
+check_value: "gh pr view 974 --repo OmniNode-ai/onex_change_control --json state -q '.state'
   | grep -q OPEN"
🤖 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-10171/dod-occ-pr-974/command.yaml` around lines 6 - 7,
The check_value uses a variable (${PR_NUMBER}) making the command
non-deterministic; update the check_value string to hardcode the pull request
number 974 so it matches the pr_number: 974 field — locate the check_value entry
and replace the ${PR_NUMBER} interpolation with 974 (i.e., reference the
check_value key and ensure it exactly uses "gh pr view 974 --repo
OmniNode-ai/onex_change_control --json state -q '.state' | grep -q OPEN").
🤖 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 `@contracts/OMN-9906.yaml`:
- Around line 45-46: Update the check_value for the dod-omniclaude-pr-1572
receipt to also assert the ticket_id field: modify the existing check_value
string for receipt "dod-omniclaude-pr-1572" to include an additional grep that
matches the exact ticket_id line (grep -q '^ticket_id: <EXPECTED_TICKET_ID>$'
drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572/command.yaml), keeping it
combined with the existing status and pr_number checks so all three fields are
validated together.

In `@drift/dod_receipts/OMN-10171/dod-omniclaude-pr-1573/command.yaml`:
- Line 9: Update the commit_sha value in command.yaml: replace the current
commit_sha value "eea532f64c6de238c9d99fc10986418bfaaac279" with the PR head
commit "06f7d5b2dd1ad94eb0f41c8bd3f73692042bbec6" so the commit_sha key reflects
the current head of omniclaude PR `#1573` and preserves provenance.

---

Nitpick comments:
In `@drift/dod_receipts/OMN-10171/dod-occ-pr-974/command.yaml`:
- Around line 6-7: The check_value uses a variable (${PR_NUMBER}) making the
command non-deterministic; update the check_value string to hardcode the pull
request number 974 so it matches the pr_number: 974 field — locate the
check_value entry and replace the ${PR_NUMBER} interpolation with 974 (i.e.,
reference the check_value key and ensure it exactly uses "gh pr view 974 --repo
OmniNode-ai/onex_change_control --json state -q '.state' | grep -q OPEN").
🪄 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: 9a402352-3b47-45a8-af4d-c9f42d06c7eb

📥 Commits

Reviewing files that changed from the base of the PR and between e7f1553 and 163431a.

📒 Files selected for processing (11)
  • contracts/OMN-10171.yaml
  • contracts/OMN-10492.yaml
  • contracts/OMN-9906.yaml
  • drift/dod_receipts/OMN-10171/dod-occ-pr-974/command.yaml
  • drift/dod_receipts/OMN-10171/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-10171/dod-omniclaude-pr-1573/command.yaml
  • drift/dod_receipts/OMN-10492/dod-001/command.yaml
  • drift/dod_receipts/OMN-10492/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-9906/dod-occ-pr-974/command.yaml
  • drift/dod_receipts/OMN-9906/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572/command.yaml
✅ Files skipped from review due to trivial changes (4)
  • drift/dod_receipts/OMN-10171/dod-occ-pr/command.yaml
  • drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572/command.yaml
  • drift/dod_receipts/OMN-10492/dod-001/command.yaml
  • drift/dod_receipts/OMN-10492/dod-occ-pr/command.yaml
🚧 Files skipped from review as they are similar to previous changes (2)
  • contracts/OMN-10492.yaml
  • drift/dod_receipts/OMN-9906/dod-occ-pr/command.yaml

Comment thread contracts/OMN-9906.yaml
Comment thread drift/dod_receipts/OMN-10171/dod-omniclaude-pr-1573/command.yaml Outdated
@jonahgabriel
jonahgabriel force-pushed the jonah/omn-occ-bind-overnight branch 2 times, most recently from 68999e8 to 69a3fdd Compare May 13, 2026 12:16
@jonahgabriel
jonahgabriel force-pushed the jonah/omn-occ-bind-overnight branch from 69a3fdd to ccd7b9d Compare May 13, 2026 12:18
@jonahgabriel
jonahgabriel merged commit 3a038a4 into main May 13, 2026
28 checks passed
@jonahgabriel
jonahgabriel deleted the jonah/omn-occ-bind-overnight branch May 13, 2026 12:22
andywu42 pushed a commit to andywu42/onex_change_control that referenced this pull request Jun 10, 2026
…tch B (OmniNode-ai#522)

Adds contract and 4 DoD evidence receipts for OMN-10246 (Task 6 of
OMN-9582 Wave 3): 11 governance models (autopilot, compliance, eval)
migrated into omnibase_core PR OmniNode-ai#974.

Receipts cover: TDD tests green, mypy strict clean, pre-commit pass,
PR open against main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant