Skip to content

evidence(OMN-15567): regenerate OCC companion for infra#2663 (occ#6177 closed unmerged) - #6289

Merged
jonahgabriel merged 5 commits into
devfrom
jonah/omn-15567-occ-regen-infra2663
Aug 10, 2026
Merged

jonahgabriel merged 5 commits into
devfrom
jonah/omn-15567-occ-regen-infra2663

Conversation

@jonahgabriel

@jonahgabriel jonahgabriel commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

occ#6177 was CLOSED without merging (operator-approved 2026-08-08 open-PR census
triage: append-only observation conflict — hand-resolution would have invalidated
the prior Evidence-Source binding). The OCC Companion Merged Gate (OMN-15214) on
omnibase_infra#2663 fails because it cites a companion PR that is CLOSED, not
MERGED — that state is terminal per check_occ_companion_merged.py, never
resolvable by polling.

This PR regenerates the companion: a net-new dod_evidence entry appended to
contracts/OMN-15567.yaml, bound to omnibase_infra#2663's current head
dabe52ddc1277e1f434b15d73a6503a0f7a74c41, plus its PASS receipt.

Verification

  • Live readback (run at authoring time) confirmed omnibase_infra#2663 state
    OPEN, head dabe52ddc1277e1f434b15d73a6503a0f7a74c41, and the expected 3-file
    diff scope — the exact command embedded as the entry's check_value.
  • contract_entry_sha256 computed via
    omnibase_core.validation.validator_receipt_gate.compute_contract_entry_sha256
    against the post-yamlfmt-reflow committed contract.

Ticket: OMN-15567
Evidence-Ticket: OMN-15567

Summary by CodeRabbit

  • Validation
    • Added verified evidence confirming the infrastructure change is open, current, on the expected branch, and limited to the intended file scope.
    • Added verified evidence confirming the companion change is open, current, and on the expected branch.
    • Recorded successful checks and execution details for traceability and release-readiness review.

…7 closed unmerged)

occ#6177 was CLOSED without merging (operator-approved 2026-08-08 open-PR
census triage, append-only observation conflict — hand-resolution would
have invalidated the prior Evidence-Source binding). The OCC Companion
Merged Gate (OMN-15214) on omnibase_infra#2663 fails because it cites a
closed, unmerged companion.

Adds a net-new dod_evidence entry bound to #2663's CURRENT head
(dabe52ddc1277e1f434b15d73a6503a0f7a74c41), superseding the last
pre-closure entry.

Ticket: OMN-15567
@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 15 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ffa9339d-cfb8-479a-bd44-b9bccd7995fd

📥 Commits

Reviewing files that changed from the base of the PR and between fc7dcbd and 6b5793a.

📒 Files selected for processing (2)
  • contracts/OMN-15567.yaml
  • drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml
📝 Walkthrough

Walkthrough

The contract adds verified bindings for infrastructure PR #2663 and OCC PR #6289. Two PASS receipts record successful checks for pull request state, branches, commits, and, for PR #2663, the exact file scope.

Changes

OMN-15567 Evidence Bindings

Layer / File(s) Summary
Infrastructure PR evidence and receipt
contracts/OMN-15567.yaml, drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml
Adds verified evidence for PR #2663 at head dabe52dd and records a passing check for its state, branch, commit, and three-file scope.
OCC self-bind evidence and receipt
contracts/OMN-15567.yaml, drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml
Adds verified evidence for PR #6289 and records a passing check for its state, branch, and commit.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: occ:machine-minted, ci:ready

🚥 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 clearly summarizes the main change: regenerating the OCC companion for infra PR #2663 after occ#6177 closed unmerged.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jonah/omn-15567-occ-regen-infra2663

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

@jonahgabriel
jonahgabriel enabled auto-merge (squash) August 10, 2026 01:32

@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

🤖 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-15567/dod-infra-pr-2663-dabe52dd/command.yaml`:
- Line 1: Rename the receipt at
drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml#L1-L1 to
2026-08-10T01:24:40Z.yaml, and rename
drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml#L1-L1 to the
same timestamped filename; update receipt discovery if it relies on
command.yaml.
- Line 11: Add the SHA-256 hash of the final raw bytes of
contracts/OMN-15567.yaml as contract_sha256 in both receipts:
drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml (lines
11-11) and drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml
(lines 11-11). Preserve contract_entry_sha256 as the canonical per-entry hash
and use the identical raw-contract hash value in both files.
🪄 Autofix

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: 3b48a7af-0e4f-4108-bf3c-e3750f8bfb10

📥 Commits

Reviewing files that changed from the base of the PR and between df07083 and fc7dcbd.

📒 Files selected for processing (3)
  • contracts/OMN-15567.yaml
  • drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml
  • drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml

@@ -0,0 +1,30 @@
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

Store each receipt at the required timestamp path.

Both receipts use command.yaml. Store each receipt as <run_timestamp>.yaml under its evidence-item directory. Update receipt discovery if it depends on the old filename.

  • drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml#L1-L1: rename the receipt to 2026-08-10T01:24:40Z.yaml.
  • drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml#L1-L1: rename the receipt to 2026-08-10T01:24:40Z.yaml.

As per coding guidelines, “Store DoD receipts only at drift/dod_receipts/<TICKET>/<ITEM_ID>/<run_timestamp>.yaml.”

📍 Affects 2 files
  • drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml#L1-L1 (this comment)
  • drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml#L1-L1
🤖 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-15567/dod-infra-pr-2663-dabe52dd/command.yaml` at line
1, Rename the receipt at
drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml#L1-L1 to
2026-08-10T01:24:40Z.yaml, and rename
drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml#L1-L1 to the
same timestamped filename; update receipt discovery if it relies on
command.yaml.

Source: Coding guidelines

'if (.number == 2663 and .state == "OPEN" and .headRefName == "jonah/omn-15567-docker-build-timeout-marker"
and .headRefOid == "dabe52ddc1277e1f434b15d73a6503a0f7a74c41" and ([.files[].path] | sort) == [".github/workflows/nightly-integration.yml","tests/integration/docker/conftest.py","tests/integration/docker/test_docker_integration.py"])
then "true" else error("unexpected #2663 current head or diff scope") end'
contract_entry_sha256: "sha256:9c9b0398e43373f810c05c213489b306468973abd4da70680ecd2553bce5a534"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Add the raw contract hash to both receipts.

Both receipts bind contract_entry_sha256 only. Compute the SHA-256 hash from the final raw bytes of contracts/OMN-15567.yaml and add it as contract_sha256 to both receipts.

  • drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml#L11-L11: add the final raw-contract contract_sha256.
  • drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml#L11-L11: add the same final raw-contract contract_sha256.

As per coding guidelines, bind both contract_sha256 to the contract raw bytes and contract_entry_sha256 to the canonical per-entry hash.

📍 Affects 2 files
  • drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml#L11-L11 (this comment)
  • drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml#L11-L11
🤖 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-15567/dod-infra-pr-2663-dabe52dd/command.yaml` at line
11, Add the SHA-256 hash of the final raw bytes of contracts/OMN-15567.yaml as
contract_sha256 in both receipts:
drift/dod_receipts/OMN-15567/dod-infra-pr-2663-dabe52dd/command.yaml (lines
11-11) and drift/dod_receipts/OMN-15567/occ-self-bind-pr-6289/command.yaml
(lines 11-11). Preserve contract_entry_sha256 as the canonical per-entry hash
and use the identical raw-contract hash value in both files.

Source: Coding guidelines

@jonahgabriel jonahgabriel added the ci:ready Full CI runs on this PR (OMN-15731 label-gated CI pilot) label Aug 10, 2026
The occ-self-bind-pr-6289 check_value hardcoded PR #6289's own head SHA
(fb1afd8...), making the check unsatisfiable after any push -- a
self-bind can never equal its own post-commit head. Rebinds to the
loose existence/open-state probe form (verbatim pattern from occ#6288:
`gh pr view <N> --repo ... --json number,state`), recomputes
contract_entry_sha256 via omnibase_core.validation.validator_receipt_gate.
compute_contract_entry_sha256 against the post-yamlfmt-reflow contract.

Ticket: OMN-15567
Evidence-Ticket: OMN-15567
@jonahgabriel
jonahgabriel merged commit 80713b6 into dev Aug 10, 2026
63 checks passed
@jonahgabriel
jonahgabriel deleted the jonah/omn-15567-occ-regen-infra2663 branch August 10, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:ready Full CI runs on this PR (OMN-15731 label-gated CI pilot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant