Skip to content

evidence(OMN-11982): Wave 2 OCC contracts and receipts for knowledge platform PRs - #1580

Merged
jonahgabriel merged 3 commits into
mainfrom
jonah/omn-11982-wave-2-occ-evidence
May 24, 2026
Merged

jonahgabriel merged 3 commits into
mainfrom
jonah/omn-11982-wave-2-occ-evidence

Conversation

@jonahgabriel

@jonahgabriel jonahgabriel commented May 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Context

Wave 2 of the May-24 integration closeout. Lanes 1 (LLM topology: PRs already merged) and 5 (hardcoded
model cleanup: OMN-11970 via #1570, OMN-11971 via #1569) are already covered by prior merged OCC PRs.

This PR covers Lane 2 knowledge platform tickets whose DoD Evidence Check and validate-pr-contracts
gates are failing on omniclaude PRs #1650, #1651, and #1652.

Test plan

  • All three contracts validated via uv run validate-yaml contracts/OMN-11938.yaml contracts/OMN-11940.yaml contracts/OMN-11941.yaml
  • pre-commit run --all-files passes cleanly
  • Commit SHA bound in receipts matches live PR HEAD SHAs (verified via gh pr view)

OMN-11982

Summary by CodeRabbit

  • Chores
    • Added four contract configuration files for work item tracking and management.
    • Added corresponding verification evidence and receipt records to support internal validation processes and audit documentation.

Review Change Stack

…tform PRs

Adds contracts and DoD receipts for three knowledge platform tickets that are
blocking omniclaude PRs #1650, #1651, and #1652:

- OMN-11938: recall skill --scope flag and knowledge federation (omniclaude #1650)
- OMN-11940: design_to_plan Phase 0 knowledge preload (omniclaude #1651)
- OMN-11941: ticket-work research enrichment documentation (omniclaude #1652)

Lane 1 (LLM topology) and Lane 5 (hardcoded model cleanup) are already covered
by prior merged OCC PRs (#1570 OMN-11970, #1569 OMN-11971).
@coderabbitai

coderabbitai Bot commented May 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@jonahgabriel, we couldn't start this review because you've used your available PR reviews for now.

Your plan includes 5 reviews of capacity. Refill in 54 minutes and 50 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, 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 trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1c80db61-420d-4cdd-939e-aa320c49ebf5

📥 Commits

Reviewing files that changed from the base of the PR and between 2219fb0 and 6580c70.

📒 Files selected for processing (4)
  • drift/dod_receipts/OMN-11938/dod-omniclaude-pr-1650/command.yaml
  • drift/dod_receipts/OMN-11940/dod-omniclaude-pr-1651/command.yaml
  • drift/dod_receipts/OMN-11941/dod-omniclaude-pr-1652/command.yaml
  • drift/dod_receipts/OMN-11982/dod-occ-pr-1580/command.yaml
📝 Walkthrough

Walkthrough

This pull request adds four new ticket contract definitions with supporting verification receipts. Each ticket is registered as a contract YAML with metadata, feature flags, and references to DoD evidence, paired with corresponding command-based receipt files that confirm verification status via gh pr view checks against pull requests #1650, #1651, #1652, and #1580.

Changes

Ticket Contracts and Evidence Receipts

Layer / File(s) Summary
Ticket contract definitions
contracts/OMN-11938.yaml, contracts/OMN-11940.yaml, contracts/OMN-11941.yaml, contracts/OMN-11982.yaml
Four new ticket contract YAML files define schema versions, ticket identifiers, descriptive titles/summaries, interface change flags, emergency bypass settings (disabled), and dod_evidence entries that reference corresponding command-based receipt verification files.
Command-based verification receipts
drift/dod_receipts/OMN-11938/dod-omniclaude-pr-1650/command.yaml, drift/dod_receipts/OMN-11940/dod-omniclaude-pr-1651/command.yaml, drift/dod_receipts/OMN-11941/dod-omniclaude-pr-1652/command.yaml, drift/dod_receipts/OMN-11982/dod-occ-pr-1580/command.yaml
Four YAML receipt files record command-based checks executed via gh pr view for pull request verification, capturing expected/actual status (PASS), timestamps, commit SHAs, runner/verifier metadata, probe output, and exit codes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • OmniNode-ai/onex_change_control#1201: Both PRs add new contracts/OMN-*.yaml contract definitions and corresponding drift/dod_receipts/*/command.yaml command-based PASS receipts for omniclaude receipt-gate evidence checks using gh pr view/PR metadata.

Poem

🐰 Four tickets hop into view,
Each with receipts that ring true.
Contracts and proofs, all neat in their place,
Evidence gates passing the trace!

🚥 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 title accurately summarizes the main change: adding Wave 2 OCC contract and receipt files for knowledge platform PRs as part of the OMN-11982 ticket.
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-11982-wave-2-occ-evidence

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

@jonahgabriel
jonahgabriel enabled auto-merge (squash) May 24, 2026 23:35
Add contracts/OMN-11982.yaml and receipt so the OCC eligibility check
passes for this PR. The receipt gate requires every OCC PR to have its
own ticket contract present at the pinned commit SHA.

@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: 4

🤖 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-11938/dod-omniclaude-pr-1650/command.yaml`:
- Line 10: Replace the placeholder value for contract_sha256 with the actual
SHA-256 digest of the final PR-head contract file; compute the SHA-256 hash of
contracts/OMN-11938.yaml and update the command.yaml field contract_sha256:
"sha256:<actual-digest>" so the receipt’s contract_sha256 matches the final
contract content referenced by contracts/OMN-11938.yaml.

In `@drift/dod_receipts/OMN-11940/dod-omniclaude-pr-1651/command.yaml`:
- Line 10: Replace the placeholder contract_sha256 value with the actual SHA-256
digest of the final contract file; compute the SHA-256 hash of
contracts/OMN-11940.yaml from the PR head commit and update the contract_sha256
field in command.yaml (replace "sha256:pending" with "sha256:<actual-digest>")
so the receipt matches the contract content exactly.

In `@drift/dod_receipts/OMN-11941/dod-omniclaude-pr-1652/command.yaml`:
- Line 10: The contract_sha256 field in command.yaml must be replaced with the
actual SHA-256 digest of the PR-head contract file; compute the SHA-256 hash of
contracts/OMN-11941.yaml (the final content in this PR) and update the
contract_sha256 value (currently "sha256:pending") with the computed value
prefixed by "sha256:". Ensure the checksum exactly matches the file bytes used
in the PR so the associated receipt's contract_sha256 equals the contract YAML
hash.

In `@drift/dod_receipts/OMN-11982/dod-occ-pr-1580/command.yaml`:
- Line 10: Replace the placeholder value of contract_sha256 in command.yaml with
the actual SHA-256 digest of the OMN-11982 contract file (OMN-11982.yaml) from
this branch's head commit: compute the file's SHA-256 (e.g., checkout the PR
head and run a sha256 tool against OMN-11982.yaml) and set contract_sha256 to
"sha256:<hex>" (matching the computed hex); ensure the hex matches exactly and
save the updated command.yaml so contract_sha256 and the OMN-11982 contract file
are in sync.
🪄 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: 5e91085f-37cd-4d38-b9f2-4143adb38208

📥 Commits

Reviewing files that changed from the base of the PR and between ef6f2dc and 2219fb0.

📒 Files selected for processing (8)
  • contracts/OMN-11938.yaml
  • contracts/OMN-11940.yaml
  • contracts/OMN-11941.yaml
  • contracts/OMN-11982.yaml
  • drift/dod_receipts/OMN-11938/dod-omniclaude-pr-1650/command.yaml
  • drift/dod_receipts/OMN-11940/dod-omniclaude-pr-1651/command.yaml
  • drift/dod_receipts/OMN-11941/dod-omniclaude-pr-1652/command.yaml
  • drift/dod_receipts/OMN-11982/dod-occ-pr-1580/command.yaml

Comment thread drift/dod_receipts/OMN-11938/dod-omniclaude-pr-1650/command.yaml Outdated
Comment thread drift/dod_receipts/OMN-11940/dod-omniclaude-pr-1651/command.yaml Outdated
Comment thread drift/dod_receipts/OMN-11941/dod-omniclaude-pr-1652/command.yaml Outdated
Comment thread drift/dod_receipts/OMN-11982/dod-occ-pr-1580/command.yaml Outdated
The ModelDodReceipt validator requires contract_sha256 to be a real
sha256:<64-hex> digest. Update all four receipts with actual file hashes
computed from the contract YAML files in this PR.
@jonahgabriel
jonahgabriel merged commit a2b5918 into main May 24, 2026
33 checks passed
@jonahgabriel
jonahgabriel deleted the jonah/omn-11982-wave-2-occ-evidence branch May 24, 2026 23:47
andywu42 pushed a commit to andywu42/onex_change_control that referenced this pull request Jun 10, 2026
…-ai#987)

* contract(OMN-10930): ruff to rdjsonl converter OCC contract

* receipt(OMN-10930): add dod receipt for omniclaude PR OmniNode-ai#1580

* contract(OMN-10930): bind OCC receipt PR

* contract(OMN-10930): use neutral OCC receipt workdir
jake-b-omni added a commit that referenced this pull request Sep 19, 2026
Eligibility on this PR needs a receipt naming this PR, the same way #1580 needs one naming #1580. The parity receipt carries it: its measurement is about the hotfix branch this companion evidences. No contract entry changes.

Refs: OMN-18601

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P5jA4UseYGEptrKijm4X9g
jake-b-omni added a commit that referenced this pull request Sep 19, 2026
…ane that gate reads (#10440)

* fix(OMN-18601): bind the PSA evidence to omninode_infra#1580 on the lane that gate reads

The eligibility gate on omninode_infra#1580 refused with pr_ticket_mismatch: all nine OMN-18601 receipts resolve and PASS, but none binds the PR under review. For a product-repo PR that binding is the PRODUCT repo's number, not the OCC companion's.

occ-autobind did mint pr-1580 receipts, in OCC#10439, but merged them to this repository's DEV lane. A hotfix targeting omninode_infra main pins its evidence at OCC MAIN — the failing run recorded occ_commit_sha 4841460, main's head — and the two lanes carry different OMN-18601 contracts, so the dev-side binding is invisible from the lane being read. The test-suite receipt is the honest owner of the field: that suite was run on #1580's branch.

No contract entry changes, so every contract_entry_sha256 on this lane stays valid and the whole-file hash is untouched.

Refs: OMN-18601, OMN-18089

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P5jA4UseYGEptrKijm4X9g

* chore(OMN-18601): self-bind this companion to OCC#10440

Eligibility on this PR needs a receipt naming this PR, the same way #1580 needs one naming #1580. The parity receipt carries it: its measurement is about the hotfix branch this companion evidences. No contract entry changes.

Refs: OMN-18601

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P5jA4UseYGEptrKijm4X9g

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
jake-b-omni added a commit that referenced this pull request Sep 19, 2026
… its gate runs (#10467)

* fix(OMN-18601): bind the guard evidence to omninode_infra#1583 before its gate runs

The OCC eligibility gate binds a ticket's evidence to the PR under review, which for a product-repo PR is the product repo's number. The detects receipt is the honest owner: its measurement is of the guard #1583 carries.

Added proactively rather than after a refusal. The same shape cost a round trip on #1580, where the evidence stamp named a merged OCC PR whose commit predated the binding, so the gate checked out a tree that could not contain it. Both halves are needed — this pr_number, and a stamp on #1583 naming the OCC PR whose merge commit carries it.

No contract entry changes, so every per-entry hash stays valid.

Refs: OMN-18601

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P5jA4UseYGEptrKijm4X9g

* chore(OMN-18601): self-bind this companion to OCC#10467

Eligibility on this PR needs a receipt naming this PR, the same way #1583 needs one naming #1583. Two different receipts carry the two bindings, since pr_number is single-valued. No contract entry changes.

Refs: OMN-18601

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P5jA4UseYGEptrKijm4X9g

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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