diff --git a/contracts/OMN-16217.yaml b/contracts/OMN-16217.yaml new file mode 100644 index 00000000000..0027cbab3c2 --- /dev/null +++ b/contracts/OMN-16217.yaml @@ -0,0 +1,44 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-16217" +title: "Autobind OCC evidence for OMN-16217" +summary: > + OCC contract for OmniNode-ai/omnimarket PR #2107 (gate omnimarket coverage-sweep-gate behind non-draft + PR state). Local-CLI mint fallback: occ-autobind/occ-companion-effect never produced a companion for + this PR (PR body carried a malformed "Evidence-Source: OMN-16217" ticket-ref instead of an "OCC#" + or SHA form), same class as the OMN-16106/OMN-16191 silent-drop symptoms already documented on other + tickets tonight. +is_seam_ticket: false +interface_change: false +interfaces_touched: [] +emergency_bypass: + enabled: false + justification: "" + follow_up_ticket_id: "" +dod_evidence: + - id: "dod-OmniNode-ai-omnimarket-pr-2107" + description: > + PR #2107 on OmniNode-ai/omnimarket -- gates the coverage-sweep-gate job's `if:` condition behind + non-draft PR state (adds `!github.event.pull_request.draft` to the existing OR chain), mirroring + the OMN-15731/OCC#6686 draft-state admission pattern. Content-pinned RED-before/GREEN-after differential: + fetches .github/workflows/ci.yml at both the PR's base and head SHAs via the GitHub contents API + and confirms the coverage-sweep-gate job's `if:` is unconditional (`if: always()`) at base but carries + the draft-state clause at head. + source: "manual" + checks: + - check_type: "command" + check_value: >- + base_body="$(gh api "repos/OmniNode-ai/omnimarket/contents/.github/workflows/ci.yml?ref=f03ed4125d235069cb1e2472b3b5a71684d9b5ed" + --jq .content | base64 -d)"; head_body="$(gh api "repos/OmniNode-ai/omnimarket/contents/.github/workflows/ci.yml?ref=d41a190f6c86df12ea4c013368ef65e89e52aabf" + --jq .content | base64 -d)"; base_if="$(printf '%s' "$base_body" | awk '/^ coverage-sweep-gate:/,/steps:/' + | grep 'if:')"; head_if="$(printf '%s' "$head_body" | awk '/^ coverage-sweep-gate:/,/steps:/' + | grep 'if:')"; printf '%s' "$base_if" | grep -qF 'if: always()' && ! printf '%s' "$base_if" + | grep -qF 'draft' && printf '%s' "$head_if" | grep -qF 'github.event.pull_request.draft' && + echo "OMN-16217-MKT-2107-DIFFERENTIAL-PROBE-PASS: coverage-sweep-gate if: is unconditional at + base and draft-gated at head" + - id: "occ-self-bind-pr-6765" + description: "Binds OMN-16217 to OCC companion PR #6765 (self-bind)." + source: "generated" + checks: + - check_type: "command" + check_value: "gh pr view 6765 --repo OmniNode-ai/onex_change_control --json number,state" diff --git a/drift/dod_receipts/OMN-16217/dod-OmniNode-ai-omnimarket-pr-2107/command.yaml b/drift/dod_receipts/OMN-16217/dod-OmniNode-ai-omnimarket-pr-2107/command.yaml new file mode 100644 index 00000000000..82c48dbfd47 --- /dev/null +++ b/drift/dod_receipts/OMN-16217/dod-OmniNode-ai-omnimarket-pr-2107/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-16217" +evidence_item_id: "dod-OmniNode-ai-omnimarket-pr-2107" +check_type: "command" +check_value: |- + base_body="$(gh api "repos/OmniNode-ai/omnimarket/contents/.github/workflows/ci.yml?ref=f03ed4125d235069cb1e2472b3b5a71684d9b5ed" --jq .content | base64 -d)"; head_body="$(gh api "repos/OmniNode-ai/omnimarket/contents/.github/workflows/ci.yml?ref=d41a190f6c86df12ea4c013368ef65e89e52aabf" --jq .content | base64 -d)"; base_if="$(printf '%s' "$base_body" | awk '/^ coverage-sweep-gate:/,/steps:/' | grep 'if:')"; head_if="$(printf '%s' "$head_body" | awk '/^ coverage-sweep-gate:/,/steps:/' | grep 'if:')"; printf '%s' "$base_if" | grep -qF 'if: always()' && ! printf '%s' "$base_if" | grep -qF 'draft' && printf '%s' "$head_if" | grep -qF 'github.event.pull_request.draft' && echo "OMN-16217-MKT-2107-DIFFERENTIAL-PROBE-PASS: coverage-sweep-gate if: is unconditional at base and draft-gated at head" +contract_sha256: "sha256:37cfb7a722affe11fa486c3180669c72e8fc12669d284342231377d6292231c7" +contract_entry_sha256: "sha256:08daa6147fabb062114d82c0496807093fc64938a069d6dc53ba820bf995d6f1" +status: PASS +run_timestamp: "2026-08-20T03:30:00+00:00" +commit_sha: "d41a190f6c86df12ea4c013368ef65e89e52aabf" +runner: "node_occ_companion_manual" +verifier: "companion-mint-batch-1" +probe_command: "same as check_value, run live" +probe_stdout: | + OMN-16217-MKT-2107-DIFFERENTIAL-PROBE-PASS: coverage-sweep-gate if: is unconditional at base and draft-gated at head +actual_output: "PASS: base coverage-sweep-gate if: is unconditional; head carries the draft-state clause. + Verified live via GitHub contents API before commit." +exit_code: 0 +pr_number: 2107 +branch: "auto/omn16217-mkt2107-occ-companion" diff --git a/drift/dod_receipts/OMN-16217/occ-self-bind-pr-6765/command.yaml b/drift/dod_receipts/OMN-16217/occ-self-bind-pr-6765/command.yaml new file mode 100644 index 00000000000..8ec3c7fbec6 --- /dev/null +++ b/drift/dod_receipts/OMN-16217/occ-self-bind-pr-6765/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-16217" +evidence_item_id: "occ-self-bind-pr-6765" +check_type: "command" +check_value: |- + gh pr view 6765 --repo OmniNode-ai/onex_change_control --json number,state,headRefOid +contract_sha256: "sha256:37cfb7a722affe11fa486c3180669c72e8fc12669d284342231377d6292231c7" +contract_entry_sha256: "sha256:5f4e3569d24a1dde9bd22f4c2fac7ceb1d86b02ed705e6d18cac07ca3019a3e8" +status: PASS +run_timestamp: "2026-08-20T03:35:00+00:00" +commit_sha: "df797709f" +runner: "node_occ_companion_manual" +verifier: "companion-mint-batch-1" +probe_command: "gh pr view 6765 --repo OmniNode-ai/onex_change_control --json number,state" +probe_stdout: | + {"number":6765,"state":"OPEN"} +actual_output: "PASS: OCC self-bind for OMN-16217 (OCC#6765)." +exit_code: 0 +pr_number: 6765 +branch: "auto/omn16217-mkt2107-occ-companion"