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
84 changes: 84 additions & 0 deletions contracts/OMN-20782.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20782"
title: "Autobind OCC evidence for OMN-20782"
summary: "OCC Evidence-Source autobind companion (OMN-13317 F1) for PR #4785."
is_seam_ticket: false
interface_change: false
interfaces_touched: []
requirements:
- id: "req-transcribed-acceptance-criteria"
statement: |-
The acceptance criteria this ticket's author declared, transcribed from the ticket body at autobind time by occ-autobind. The ticket body is the source and this block is the copy; each criterion's id is the label the sibling binds_ac entry claims.
acceptance:
- id: "AC1"
statement: |-
AC1: a pull request adding a lab-config literal fails the gate in CI, at the moved pin -- falsifier: the gate's run on a scratch branch with one planted literal
- id: "AC2"
statement: |-
AC2: the pre-commit hook refuses the same staged literal -- falsifier: pre-commit run public-repo-hygiene --files the planted file exits non-zero
- id: "AC3"
statement: |-
AC3: a pull request touching no enforced class passes -- falsifier: this task's own PR runs the gate green
evidence_requirements:
- kind: "ci"
description: "PR #4785 product diff scope present"
command: "gh pr view ${PR_NUMBER} --repo ${REPO} --json files"
- kind: "tests"
description: |-
Behavior proof for PR #4785 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/ci/test_public_repo_hygiene_enforcement_omn20782.py -q"
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-OmniNode-ai-omnibase_infra-pr-4785"
description: "PR #4785 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/ci/test_public_repo_hygiene_enforcement_omn20782.py?ref=b4690ff016b44768ee14186fede3f49a3796120d --jq '.content' | base64 -d | grep -c 'def _config'
binds_ac:
- "AC1"
- "AC2"
- "AC3"
ac_bindings:
- label: "AC1"
criterion_hash: "461283bbb88bde489c057ad0f7f75522429851c7411b4d5865b6db75f592489c"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-10-09T16:07:52Z"
- label: "AC2"
criterion_hash: "65ac62230586282a572a4bd62c9f8d26189252b64cca1289db51924ea758ae71"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-10-09T16:07:52Z"
- label: "AC3"
criterion_hash: "adf6370eeb94e0b5d2b82f94cf3fc8e8b1d99805da382c5d7f85479fa912c87e"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-10-09T16:07:52Z"
- id: "occ-self-bind-pr-13464"
description: "OCC companion PR #13464 — self-bind for OMN-20782 (OMN-14650)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 13464 --repo OmniNode-ai/onex_change_control --json number,state"
- id: "dod-OmniNode-ai-omnibase_infra-pr-4785-ci"
description: "PR #4785 on OmniNode-ai/omnibase_infra — product diff scope check (OMN-14425)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 4785 --repo OmniNode-ai/omnibase_infra --json files"
- id: "dod-occ-diff-derived-behavior-proof-pr-4785"
description: |-
PR #4785 on OmniNode-ai/omnibase_infra — diff-derived behavior proof (OMN-16434).
Database requirement: explicitly provisioned by tests; ambient
POSTGRES_* and DSN settings are unavailable.
source: "generated"
checks:
- check_type: "test_passes"
check_value: "uv run pytest tests/ci/test_public_repo_hygiene_enforcement_omn20782.py -q"
cwd: "${OMNI_HOME}/omnibase_infra"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20782"
evidence_item_id: "dod-OmniNode-ai-omnibase_infra-pr-4785-ci"
check_type: "command"
check_value: "gh pr view 4785 --repo OmniNode-ai/omnibase_infra --json files"
contract_sha256: "sha256:52ff3edbba01de777b50f17aa97190dde66e7d42be1993353447652fa9f1aefd"
contract_entry_sha256: "sha256:5ed76e3cad4e895aeceea2cac84c79285b2b0a2e426020b12a1acfff7d341008"
status: PASS
run_timestamp: "2026-10-09T19:35:45Z"
commit_sha: "b4690ff016b44768ee14186fede3f49a3796120d"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 4785 --repo OmniNode-ai/omnibase_infra --json files"
probe_stdout: |
{"files":[{"additions":7,"deletions":5,"path":".github/workflows/public-repo-hygiene.yml"},{"additions":10,"deletions":0,"path":".pre-commit-config.yaml"},{"additions":13,"deletions":2,"path":".public-repo-hygiene.yaml"},{"additions":45,"deletions":0,"path":"contracts/OMN-20782.yaml"},{"additions":15,"deletions":0,"path":"tests/ci/fixtures/public_repo_hygiene_added_lines_omn20782.json"},{"additions":155,"deletions":0,"path":"tests/ci/test_public_repo_hygiene_enforcement_omn20782.py"}]}
actual_output: "PASS: product-diff-scope for OMN-20782 from OmniNode-ai/omnibase_infra#4785."
exit_code: 0
pr_number: 4785
branch: "auto/window-omninode-ai-omnibase_infra-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20782"
evidence_item_id: "dod-OmniNode-ai-omnibase_infra-pr-4785"
check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnibase_infra/contents/tests/ci/test_public_repo_hygiene_enforcement_omn20782.py?ref=b4690ff016b44768ee14186fede3f49a3796120d --jq '.content' | base64 -d | grep -c 'def _config'
contract_sha256: "sha256:52ff3edbba01de777b50f17aa97190dde66e7d42be1993353447652fa9f1aefd"
contract_entry_sha256: "sha256:b1ad0402c4b6927c2a293c6db9d96535c2123a0a3512172228953bbf4d11bb1e"
status: PASS
run_timestamp: "2026-10-09T19:35:45Z"
commit_sha: "b4690ff016b44768ee14186fede3f49a3796120d"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omnibase_infra/contents/tests/ci/test_public_repo_hygiene_enforcement_omn20782.py?ref=b4690ff016b44768ee14186fede3f49a3796120d --jq '.content' | base64 -d | grep -c 'def _config'
probe_stdout: |
{"evidence_ref":"b4690ff016b44768ee14186fede3f49a3796120d","green_exit":0,"red_exit":1,"red_ref":"a9d3c4a8b8cbe633ef2fea9fa71dfcc1f6da6324"}
actual_output: |-
PASS: content-bound probe GREEN at b4690ff016b44768ee14186fede3f49a3796120d, RED at merge-base a9d3c4a8b8cbe633ef2fea9fa71dfcc1f6da6324 (exit 1).
exit_code: 0
pr_number: 4785
branch: "auto/window-omninode-ai-omnibase_infra-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20782"
evidence_item_id: "dod-occ-diff-derived-behavior-proof-pr-4785"
check_type: "test_passes"
check_value: "uv run pytest tests/ci/test_public_repo_hygiene_enforcement_omn20782.py -q"
contract_sha256: "sha256:52ff3edbba01de777b50f17aa97190dde66e7d42be1993353447652fa9f1aefd"
contract_entry_sha256: "sha256:9696519ba0081ecfb98a1b0c38892255daaf1766131a578553893b873dee74d7"
status: PASS
run_timestamp: "2026-10-09T19:35:45Z"
commit_sha: "b4690ff016b44768ee14186fede3f49a3796120d"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omnibase_infra/contents/tests/ci/test_public_repo_hygiene_enforcement_omn20782.py?ref=b4690ff016b44768ee14186fede3f49a3796120d --jq '.content' | base64 -d | grep -c 'def _config'
probe_stdout: |
{"evidence_ref":"b4690ff016b44768ee14186fede3f49a3796120d","green_exit":0,"red_exit":1,"red_ref":"a9d3c4a8b8cbe633ef2fea9fa71dfcc1f6da6324"}
actual_output: "PASS: product-repo test run executes the declared check; probe is the live PR read."
exit_code: 0
pr_number: 4785
branch: "auto/window-omninode-ai-omnibase_infra-occ-autobind"
20 changes: 20 additions & 0 deletions drift/dod_receipts/OMN-20782/occ-self-bind-pr-13464/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20782"
evidence_item_id: "occ-self-bind-pr-13464"
check_type: "command"
check_value: "gh pr view 13464 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
contract_sha256: "sha256:52ff3edbba01de777b50f17aa97190dde66e7d42be1993353447652fa9f1aefd"
contract_entry_sha256: "sha256:8ca7ced8b7b8d08c561d99821b038e1858a18150a9379b836dea210efb063371"
status: PASS
run_timestamp: "2026-10-09T19:35:45Z"
commit_sha: "a31cb4040f6dc71bcb52b907aae90d35c9f4c189"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh api repos/OmniNode-ai/onex_change_control/pulls/13464/files --paginate --jq '.[].sha'"
probe_stdout: |
41008d46cbfcd56b5da7b3d8a3e38efdbc730679 78e888e8016289cb33c7eed7ea280885c2db0d90 d34cd87df0f1ed9db6dc119c91e946137e43ce63 f7797017c66f07c5b5bb32befe4458cf4b6cbe72
actual_output: "PASS: OCC self-bind for OMN-20782 (OCC#13464)."
exit_code: 0
pr_number: 13464
branch: "auto/window-omninode-ai-omnibase_infra-occ-autobind"
Loading