Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions contracts/OMN-17800.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-17800"
title: "Autobind OCC evidence for OMN-17800"
summary: >
OCC contract authored by node_occ_companion_compute (OMN-14285) for OmniNode-ai/omnibase_infra PR #3165.
is_seam_ticket: false
interface_change: false
interfaces_touched: []
evidence_requirements:
- kind: "ci"
description: "PR #3165 CI checks green"
command: "gh pr checks ${PR_NUMBER} --repo ${REPO}"
- kind: "tests"
description: |-
Behavior proof for PR #3165 on OmniNode-ai/omnibase_infra, derived from the PR's own diff: the test target(s) it adds or changes. Bound as dod_evidence item `dod-occ-diff-derived-behavior-proof`, executed at cwd `${OMNI_HOME}/omnibase_infra`.
command: "uv run pytest tests/scripts/test_reconcile_cwd_and_receipt_omn17800.py -q"
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-OmniNode-ai-omnibase_infra-pr-3165"
description: "PR #3165 on OmniNode-ai/omnibase_infra — Evidence-Source autobind."
source: "generated"
checks:
- check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnibase_infra/contents/tests/scripts/test_reconcile_cwd_and_receipt_omn17800.py?ref=d2771b641e3fea16db1ad0905c3d41ff3a1f7b7a --jq '.content' | base64 -d | grep -c 'def _install_shim_recording_cwd'
- check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnibase_infra/pulls/3165/files --paginate --jq '.[].filename' | grep -cFx 'scripts/check_reconciler_privilege.py'
- id: "dod-occ-diff-derived-behavior-proof"
description: "PR #3165 on OmniNode-ai/omnibase_infra — diff-derived behavior proof (OMN-16434)."
source: "generated"
checks:
- check_type: "test_passes"
check_value: "uv run pytest tests/scripts/test_reconcile_cwd_and_receipt_omn17800.py -q"
cwd: "${OMNI_HOME}/omnibase_infra"
- id: "occ-self-bind-pr-8157"
description: "Binds OMN-17800 to OCC companion PR #8157 (self-bind)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 8157 --repo OmniNode-ai/onex_change_control --json number,state"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-17800"
evidence_item_id: "dod-OmniNode-ai-omnibase_infra-pr-3165"
check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnibase_infra/contents/tests/scripts/test_reconcile_cwd_and_receipt_omn17800.py?ref=d2771b641e3fea16db1ad0905c3d41ff3a1f7b7a --jq '.content' | base64 -d | grep -c 'def _install_shim_recording_cwd'
contract_sha256: "sha256:fd326721af70903cb47ac1f7f899b0de3e5493d3fb7e456afe8873011f8b084f"
contract_entry_sha256: "sha256:934a00cb7de762b8088c619f206e6a908b0d3b38700f46a284c7aba119182df0"
status: PASS
run_timestamp: "2026-09-04T03:54:44.332153+00:00"
commit_sha: "d2771b641e3fea16db1ad0905c3d41ff3a1f7b7a"
runner: "node_occ_companion_compute"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 3165 --repo OmniNode-ai/omnibase_infra --json number,state,headRefName"
probe_stdout: |
{"headRefName":"jonah/omn-17800-reconcile-cwd-and-receipt-json","number":3165,"state":"OPEN"}
actual_output: "PASS: Evidence-Source autobind for OMN-17800 from OmniNode-ai/omnibase_infra#3165."
exit_code: 0
pr_number: 3165
branch: "auto/omninode-ai-omnibase_infra-pr-3165-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-17800"
evidence_item_id: "dod-occ-diff-derived-behavior-proof"
check_type: "test_passes"
check_value: |-
uv run pytest tests/scripts/test_reconcile_cwd_and_receipt_omn17800.py -q
contract_sha256: "sha256:fd326721af70903cb47ac1f7f899b0de3e5493d3fb7e456afe8873011f8b084f"
contract_entry_sha256: "sha256:66428f8a89edcd83721bbad3fdfcaa22847a6ee93932cd69a2b3526549ca1ddd"
status: PASS
run_timestamp: "2026-09-04T03:54:44.332153+00:00"
commit_sha: "d2771b641e3fea16db1ad0905c3d41ff3a1f7b7a"
runner: "node_occ_companion_compute"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 3165 --repo OmniNode-ai/omnibase_infra --json number,state,headRefName"
probe_stdout: |
{"headRefName":"jonah/omn-17800-reconcile-cwd-and-receipt-json","number":3165,"state":"OPEN"}
actual_output: "PASS: product-repo test run executes the declared check; probe is the live PR read."
exit_code: 0
pr_number: 3165
branch: "auto/omninode-ai-omnibase_infra-pr-3165-occ-autobind"
21 changes: 21 additions & 0 deletions drift/dod_receipts/OMN-17800/occ-self-bind-pr-8157/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-17800"
evidence_item_id: "occ-self-bind-pr-8157"
check_type: "command"
check_value: |-
gh pr view 8157 --repo OmniNode-ai/onex_change_control --json number,state,headRefName
contract_sha256: "sha256:fd326721af70903cb47ac1f7f899b0de3e5493d3fb7e456afe8873011f8b084f"
contract_entry_sha256: "sha256:ef8c051df956adeda1c379565ca1d2e43cc5b78db966a242706519ae27fe01bf"
status: PASS
run_timestamp: "2026-09-04T03:54:44.332153+00:00"
commit_sha: "6fa64e5048a8129192a6da0d9725179664ec2d42"
runner: "node_occ_companion_compute"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 8157 --repo OmniNode-ai/onex_change_control --json number,state"
probe_stdout: |
{"number":8157,"state":"OPEN"}
actual_output: "PASS: OCC self-bind for OMN-17800 (OCC#8157)."
exit_code: 0
pr_number: 8157
branch: "auto/omninode-ai-omnibase_infra-pr-3165-occ-autobind"
Loading