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
46 changes: 46 additions & 0 deletions contracts/OMN-16589.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-16589"
title: "Autobind OCC evidence for OMN-16589"
summary: "OCC Evidence-Source autobind companion (OMN-13317 F1) for PR #2047."
is_seam_ticket: false
interface_change: false
interfaces_touched: []
evidence_requirements:
- kind: "ci"
description: "PR #2047 product diff scope present"
command: "gh pr view ${PR_NUMBER} --repo ${REPO} --json files"
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-OmniNode-ai-omniclaude-pr-2047"
description: "PR #2047 on OmniNode-ai/omniclaude — Evidence-Source autobind."
source: "generated"
checks:
- check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omniclaude/contents/scripts/kb_doc_gate.py?ref=796c7e97b283c974b55051d4fd9916e06bb7672f --jq '.content' | base64 -d | grep -c 'class Violation'
- id: "dod-OmniNode-ai-omniclaude-pr-2047-ci"
description: "PR #2047 on OmniNode-ai/omniclaude — product diff scope check (OMN-14425)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 2047 --repo OmniNode-ai/omniclaude --json files"
- id: "dod-occ-evidence-admissibility-validator"
description: "Hosted OCC evidence admissibility validator (OMN-15247)."
source: "generated"
checks:
- check_type: "command"
check_value: "uv run pytest tests/test_evidence_admissibility.py -q"
- id: "occ-self-bind-pr-7178"
description: >-
OCC self-binding receipt for PR #7178, the in-repo evidence PR carrying this contract. Binds OMN-16589
to the OCC PR by pr_number so eligibility can resolve a PASS receipt for the evidence PR itself.
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
gh pr view 7178 --repo OmniNode-ai/onex_change_control --json number,state,headRefName
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-16589"
evidence_item_id: "dod-OmniNode-ai-omniclaude-pr-2047-ci"
check_type: "command"
check_value: "gh pr view 2047 --repo OmniNode-ai/omniclaude --json files"
contract_sha256: "sha256:86dcc83e2c01cdf830fe5b723a4ecf323ce263eb096564fba7eab2fbd8d626c8"
contract_entry_sha256: "sha256:50ce473c33ab20e06bfcd6ed1f54097b442f51484871fc17418f9709869e67ed"
status: PASS
run_timestamp: "2026-08-26T12:29:58Z"
commit_sha: "796c7e97b283c974b55051d4fd9916e06bb7672f"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 2047 --repo OmniNode-ai/omniclaude --json files"
probe_stdout: |
{"files":[{"additions":102,"deletions":0,"path":".github/workflows/kb-doc-gate-reusable.yml"},{"additions":23,"deletions":0,"path":".pre-commit-hooks.yaml"},{"additions":1,"deletions":1,"path":".secrets.baseline"},{"additions":438,"deletions":0,"path":"scripts/kb_doc_gate.py"},{"additions":483,"deletions":0,"path":"tests/scripts/test_kb_doc_gate.py"}]}
actual_output: "PASS: product-diff-scope for OMN-16589 from OmniNode-ai/omniclaude#2047."
exit_code: 0
pr_number: 2047
branch: "auto/omninode-ai-omniclaude-pr-2047-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-16589"
evidence_item_id: "dod-OmniNode-ai-omniclaude-pr-2047"
check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omniclaude/contents/scripts/kb_doc_gate.py?ref=796c7e97b283c974b55051d4fd9916e06bb7672f --jq '.content' | base64 -d | grep -c 'class Violation'
contract_sha256: "sha256:86dcc83e2c01cdf830fe5b723a4ecf323ce263eb096564fba7eab2fbd8d626c8"
contract_entry_sha256: "sha256:b60338ae4a967e5f1f7f32218d3146a4d47579c73183a5d942a015e7334e1d4c"
status: PASS
run_timestamp: "2026-08-26T12:29:58Z"
commit_sha: "796c7e97b283c974b55051d4fd9916e06bb7672f"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omniclaude/contents/scripts/kb_doc_gate.py?ref=796c7e97b283c974b55051d4fd9916e06bb7672f --jq '.content' | base64 -d | grep -c 'class Violation'
probe_stdout: |
{"evidence_ref":"796c7e97b283c974b55051d4fd9916e06bb7672f","green_exit":0,"red_exit":1,"red_ref":"03acfcd954aa7be86db0c51c754b5b60adeed1a4"}
actual_output: |-
PASS: content-bound probe GREEN at 796c7e97b283c974b55051d4fd9916e06bb7672f, RED at merge-base 03acfcd954aa7be86db0c51c754b5b60adeed1a4 (exit 1).
exit_code: 0
pr_number: 2047
branch: "auto/omninode-ai-omniclaude-pr-2047-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-16589"
evidence_item_id: "dod-occ-evidence-admissibility-validator"
check_type: "command"
check_value: "uv run pytest tests/test_evidence_admissibility.py -q"
contract_sha256: "sha256:86dcc83e2c01cdf830fe5b723a4ecf323ce263eb096564fba7eab2fbd8d626c8"
contract_entry_sha256: "sha256:5ac1dd40f87110a64c89b7878b3c3a37d75f9c754bab3ce4b5fd3969a821be4f"
status: PASS
run_timestamp: "2026-08-26T12:29:58Z"
commit_sha: "796c7e97b283c974b55051d4fd9916e06bb7672f"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omniclaude/contents/scripts/kb_doc_gate.py?ref=796c7e97b283c974b55051d4fd9916e06bb7672f --jq '.content' | base64 -d | grep -c 'class Violation'
probe_stdout: |
{"evidence_ref":"796c7e97b283c974b55051d4fd9916e06bb7672f","green_exit":0,"red_exit":1,"red_ref":"03acfcd954aa7be86db0c51c754b5b60adeed1a4"}
actual_output: "PASS: OCC runner executes the declared check; probe is the live PR read."
exit_code: 0
pr_number: 2047
branch: "auto/omninode-ai-omniclaude-pr-2047-occ-autobind"
21 changes: 21 additions & 0 deletions drift/dod_receipts/OMN-16589/occ-self-bind-pr-7178/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-16589"
evidence_item_id: "occ-self-bind-pr-7178"
check_type: "command"
check_value: "gh pr view 7178 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
contract_sha256: "sha256:86dcc83e2c01cdf830fe5b723a4ecf323ce263eb096564fba7eab2fbd8d626c8"
contract_entry_sha256: "sha256:253a600b4076f02ce7124b0dbced91fdb7521ed4697390706e9c34515bf02489"
status: PASS
run_timestamp: "2026-08-26T12:35:33Z"
commit_sha: "6115dc4ec15d2763997362015e2ea3feb30962f5"
runner: "kb-doc-gate-build"
verifier: "kb-doc-gate-build-receipt-review-OMN-16589"
probe_command: "gh pr view 7178 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
probe_stdout: |
{"headRefName":"auto/omninode-ai-omniclaude-pr-2047-occ-autobind","number":7178,"state":"OPEN"}
actual_output: "PASS: PR #7178 on OmniNode-ai/onex_change_control resolves OPEN with the expected head
branch, proving self-bind."
exit_code: 0
pr_number: 7178
branch: "auto/omninode-ai-omniclaude-pr-2047-occ-autobind"
Loading