diff --git a/contracts/OMN-17440.yaml b/contracts/OMN-17440.yaml new file mode 100644 index 00000000000..1b107eac4b6 --- /dev/null +++ b/contracts/OMN-17440.yaml @@ -0,0 +1,47 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-17440" +title: "Autobind OCC evidence for OMN-17440" +summary: > + OCC contract authored by node_occ_companion_compute (OMN-14285) for OmniNode-ai/omnibase_infra PR #3108. +is_seam_ticket: false +interface_change: false +interfaces_touched: [] +evidence_requirements: + - kind: "ci" + description: "PR #3108 CI checks green" + command: "gh pr checks ${PR_NUMBER} --repo ${REPO}" + - kind: "tests" + description: |- + Behavior proof for PR #3108 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_topology_grant_delivery.py tests/unit/scripts/validation/test_application_migration_manifest.py -q +emergency_bypass: + enabled: false + justification: "" + follow_up_ticket_id: "" +dod_evidence: + - id: "dod-OmniNode-ai-omnibase_infra-pr-3108" + description: "PR #3108 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_topology_grant_delivery.py?ref=1a9d8586ac19c18087312c5f08a529a78d6aaefd --jq '.content' | base64 -d | grep -c 'def test_omn_17440_subset_is_delivered_by_a_migration' + - check_type: "command" + check_value: |- + gh api repos/OmniNode-ai/omnibase_infra/pulls/3108/files --paginate --jq '.[].filename' | grep -cFx 'docker/migrations/forward/_ledger/application-migrations.tsv' + - id: "dod-occ-diff-derived-behavior-proof" + description: "PR #3108 on OmniNode-ai/omnibase_infra — diff-derived behavior proof (OMN-16434)." + source: "generated" + checks: + - check_type: "test_passes" + check_value: |- + uv run pytest tests/ci/test_topology_grant_delivery.py tests/unit/scripts/validation/test_application_migration_manifest.py -q + cwd: "${OMNI_HOME}/omnibase_infra" + - id: "occ-self-bind-pr-7944" + description: "Binds OMN-17440 to OCC companion PR #7944 (self-bind)." + source: "generated" + checks: + - check_type: "command" + check_value: "gh pr view 7944 --repo OmniNode-ai/onex_change_control --json number,state" diff --git a/drift/dod_receipts/OMN-17440/dod-OmniNode-ai-omnibase_infra-pr-3108/command.yaml b/drift/dod_receipts/OMN-17440/dod-OmniNode-ai-omnibase_infra-pr-3108/command.yaml new file mode 100644 index 00000000000..a88824e02bf --- /dev/null +++ b/drift/dod_receipts/OMN-17440/dod-OmniNode-ai-omnibase_infra-pr-3108/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-17440" +evidence_item_id: "dod-OmniNode-ai-omnibase_infra-pr-3108" +check_type: "command" +check_value: |- + gh api repos/OmniNode-ai/omnibase_infra/contents/tests/ci/test_topology_grant_delivery.py?ref=1a9d8586ac19c18087312c5f08a529a78d6aaefd --jq '.content' | base64 -d | grep -c 'def test_omn_17440_subset_is_delivered_by_a_migration' +contract_sha256: "sha256:ba41fd27aaa74d2babff3495ee718fe7f4db540e5c92a496a20d3d676eb88f49" +contract_entry_sha256: "sha256:3a30361a6f0b7e14f9a084a9e4e3c90df249d2df2869d95206f58edaca41606c" +status: PASS +run_timestamp: "2026-09-01T09:29:32.508519+00:00" +commit_sha: "1a9d8586ac19c18087312c5f08a529a78d6aaefd" +runner: "node_occ_companion_compute" +verifier: "occ-evidence-source-autobind" +probe_command: "gh pr view 3108 --repo OmniNode-ai/omnibase_infra --json number,state,headRefName" +probe_stdout: | + {"headRefName":"jonah/omn-17440-deliver-topology-table-grants","number":3108,"state":"OPEN"} +actual_output: "PASS: Evidence-Source autobind for OMN-17440 from OmniNode-ai/omnibase_infra#3108." +exit_code: 0 +pr_number: 3108 +branch: "auto/omninode-ai-omnibase_infra-pr-3108-occ-autobind" diff --git a/drift/dod_receipts/OMN-17440/dod-occ-diff-derived-behavior-proof/test_passes.yaml b/drift/dod_receipts/OMN-17440/dod-occ-diff-derived-behavior-proof/test_passes.yaml new file mode 100644 index 00000000000..69daf462e84 --- /dev/null +++ b/drift/dod_receipts/OMN-17440/dod-occ-diff-derived-behavior-proof/test_passes.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-17440" +evidence_item_id: "dod-occ-diff-derived-behavior-proof" +check_type: "test_passes" +check_value: |- + uv run pytest tests/ci/test_topology_grant_delivery.py tests/unit/scripts/validation/test_application_migration_manifest.py -q +contract_sha256: "sha256:ba41fd27aaa74d2babff3495ee718fe7f4db540e5c92a496a20d3d676eb88f49" +contract_entry_sha256: "sha256:ac67324db459c7d5861b2a0029b8858d8da099186fa7c7e93038ab90698eaa5e" +status: PASS +run_timestamp: "2026-09-01T09:29:32.508519+00:00" +commit_sha: "1a9d8586ac19c18087312c5f08a529a78d6aaefd" +runner: "node_occ_companion_compute" +verifier: "occ-evidence-source-autobind" +probe_command: "gh pr view 3108 --repo OmniNode-ai/omnibase_infra --json number,state,headRefName" +probe_stdout: | + {"headRefName":"jonah/omn-17440-deliver-topology-table-grants","number":3108,"state":"OPEN"} +actual_output: "PASS: product-repo test run executes the declared check; probe is the live PR read." +exit_code: 0 +pr_number: 3108 +branch: "auto/omninode-ai-omnibase_infra-pr-3108-occ-autobind" diff --git a/drift/dod_receipts/OMN-17440/occ-self-bind-pr-7944/command.yaml b/drift/dod_receipts/OMN-17440/occ-self-bind-pr-7944/command.yaml new file mode 100644 index 00000000000..88aec922e15 --- /dev/null +++ b/drift/dod_receipts/OMN-17440/occ-self-bind-pr-7944/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-17440" +evidence_item_id: "occ-self-bind-pr-7944" +check_type: "command" +check_value: |- + gh pr view 7944 --repo OmniNode-ai/onex_change_control --json number,state,headRefName +contract_sha256: "sha256:ba41fd27aaa74d2babff3495ee718fe7f4db540e5c92a496a20d3d676eb88f49" +contract_entry_sha256: "sha256:b3838cb42c37f1f1f67df0bb341b26a52e4c90119e17c2814819ceb51c473f81" +status: PASS +run_timestamp: "2026-09-01T09:29:32.508519+00:00" +commit_sha: "fcc235ce5b5168052f736734a80dc2e8a8e6efb4" +runner: "node_occ_companion_compute" +verifier: "occ-evidence-source-autobind" +probe_command: "gh pr view 7944 --repo OmniNode-ai/onex_change_control --json number,state" +probe_stdout: | + {"number":7944,"state":"OPEN"} +actual_output: "PASS: OCC self-bind for OMN-17440 (OCC#7944)." +exit_code: 0 +pr_number: 7944 +branch: "auto/omninode-ai-omnibase_infra-pr-3108-occ-autobind"