diff --git a/contracts/OMN-14616.yaml b/contracts/OMN-14616.yaml index 55d6ad1f1a9..156039862ed 100644 --- a/contracts/OMN-14616.yaml +++ b/contracts/OMN-14616.yaml @@ -81,6 +81,20 @@ dod_evidence: "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py && ! gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -qE '(^|/)(Dockerfile|docker-compose[^/]*|compose[^/]*|deploy|migrations|systemd)(/|$)' + - id: "dod-occ-self-bind-pr-4193" + description: >- + OCC companion self-binding for onex_change_control PR #4193. Verifies the PR is on the expected + OMN-14616 refreshed-head evidence branch and contains the initial b56971 evidence commit 054e34c852f578d3684ccba00cd08dbb0b3d2249. + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: >- + OCC_PR_NUMBER=4193; OCC_REPO=OmniNode-ai/onex_change_control; OCC_BRANCH=jonah/omn-14616-occ-1769-head-b56971; + INITIAL_EVIDENCE_COMMIT=054e34c852f578d3684ccba00cd08dbb0b3d2249; gh api "repos/${OCC_REPO}/pulls/${OCC_PR_NUMBER}" + --jq '.head.ref == "'$OCC_BRANCH'" and ((.state == "open") or (.state == "closed" and .merged_at + != null))' | grep -qx true && gh api "repos/${OCC_REPO}/pulls/${OCC_PR_NUMBER}/commits" --paginate + --jq '.[].sha' | grep -Fx "$INITIAL_EVIDENCE_COMMIT" - id: "dod-occ-self-bind-pr-4191" description: >- OCC companion self-binding for onex_change_control PR #4191. Verifies the PR is on the expected @@ -188,3 +202,83 @@ dod_evidence: --jq '.head.ref == "'$OCC_BRANCH'" and ((.state == "open") or (.state == "closed" and .merged_at != null))' | grep -qx true && gh api "repos/${OCC_REPO}/pulls/${OCC_PR_NUMBER}/commits" --paginate --jq '.[].sha' | grep -Fx "$INITIAL_EVIDENCE_COMMIT" + - id: "dod-omnimarket-pr-1769-product-head-b56971" + evidence_artifact: "supersedes_dod_evidence:dod-omnimarket-pr-1769-product-head-4d981f" + description: >- + Product-observing verification for omnimarket PR #1769 after its head moved to b5697123b95cd776367bc61343b41e5f0c8fc6ee. + The proof reads PR metadata and changed files from GitHub at that exact head, verifies the PR still + targets dev, and checks that the broker handle-entrypoint files, adequacy receipts, and regression + tests remain present. + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: >- + PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; + d="$(mktemp -d)" && gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,baseRefName,files,title + --jq '.headRefOid + "\n" + .baseRefName + "\n" + .title + "\n" + ((.files | map(.path)) | join("\n"))' + > "$d/pr.txt" && grep -Fq "$PRODUCT_HEAD" "$d/pr.txt" && grep -Fxq dev "$d/pr.txt" && grep -Fq + 'fix(OMN-14616): add def-B handle() entrypoint to node_pattern_b_broker handlers' "$d/pr.txt" + && for p in scripts/ci/adequacy_receipts/omnimarket.nodes.node_pattern_b_broker.equivalence.json + scripts/ci/adequacy_receipts/omnimarket.nodes.node_pattern_b_broker.json src/omnimarket/nodes/node_pattern_b_broker/contract.yaml + src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py + tests/unit/nodes/node_pattern_b_broker/test_broker_contract_config.py tests/unit/nodes/node_pattern_b_broker/test_broker_handle_entrypoint.py; + do grep -Fq "$p" "$d/pr.txt" && mkdir -p "$d/$(dirname "$p")" && gh api "repos/${PRODUCT_REPO}/contents/${p}?ref=${PRODUCT_HEAD}" + --jq .content | base64 --decode > "$d/$p"; done && grep -Fq 'async def handle(' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py" + && grep -Fq 'return await self.publish(request)' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py" + && grep -Fq 'async def handle(' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py" + && grep -Fq 'return await self.wait_for_terminal_event(request)' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py" + && grep -Fq 'ModelPatternBBrokerDispatchRequest' "$d/src/omnimarket/nodes/node_pattern_b_broker/contract.yaml" + && grep -Fq 'test_real_engine_dispatch_binds_missing_handle_pre_fix' "$d/tests/unit/nodes/node_pattern_b_broker/test_broker_handle_entrypoint.py" + - id: "dod-pr-1769-state-coverage-b56971" + evidence_artifact: "supersedes_dod_evidence:dod-pr-1769-state-coverage-4d981f" + description: >- + Current-head state-coverage proof for omnimarket PR #1769 at b5697123b95cd776367bc61343b41e5f0c8fc6ee. + This records the local reproduction of the hosted state-coverage-gate command against origin/dev. + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: >- + PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; + gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,body --jq '.headRefOid + == "'$PRODUCT_HEAD'" and (.body | contains("validate_state_coverage.py --check-changed origin/dev + --strict")) and (.body | contains("PASS (`1 node(s) checked`, `PASS: 1 WARN: 0 FAIL: 0`)"))' + | grep -qx true + - id: "dod-omnimarket-pr-1769-local-verification-b56971" + evidence_artifact: "supersedes_dod_evidence:dod-omnimarket-pr-1769-local-verification-4d981f" + description: >- + Current-head local verification evidence for omnimarket PR #1769 at b5697123b95cd776367bc61343b41e5f0c8fc6ee. + The proof verifies the PR body still records the original RED/GREEN and local verification evidence + while binding that evidence to the live PR head. + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: >- + PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; + gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,body --jq '.headRefOid + == "'$PRODUCT_HEAD'" and (.body | contains("37/37 pass")) and (.body | contains("RED confirmed + against reverted pre-fix source")) and (.body | contains("ruff format --check")) and (.body + | contains("mypy src/omnimarket/nodes/node_pattern_b_broker/ --strict")) and (.body | contains("node_runtime_sweep + --import-check")) and (.body | contains("pre-commit run"))' | grep -qx true + - id: "dod-omnimarket-pr-1769-deploy-scope-b56971" + evidence_artifact: "supersedes_dod_evidence:dod-omnimarket-pr-1769-deploy-scope-4d981f" + description: >- + Current-head deploy-surface audit for omnimarket PR #1769 at b5697123b95cd776367bc61343b41e5f0c8fc6ee. + The proof rechecks the diff for the broker files and confirms no Dockerfiles, compose manifests, + deploy scripts, runtime service definitions, migrations, or systemd units are introduced by this + ticket lane. + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: >- + PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; + gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,files --jq '.headRefOid + == "'$PRODUCT_HEAD'"' | grep -qx true && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" + --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/contract.yaml && gh pr diff + "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py + && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py + && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq scripts/ci/adequacy_receipts/omnimarket.nodes.node_pattern_b_broker.json + && ! gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -qE '(^|/)(Dockerfile|docker-compose[^/]*|compose[^/]*|deploy|migrations|systemd)(/|$)' diff --git a/drift/dod_receipts/OMN-14616/dod-occ-self-bind-pr-4193/command.yaml b/drift/dod_receipts/OMN-14616/dod-occ-self-bind-pr-4193/command.yaml new file mode 100644 index 00000000000..2687440e317 --- /dev/null +++ b/drift/dod_receipts/OMN-14616/dod-occ-self-bind-pr-4193/command.yaml @@ -0,0 +1,27 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-14616" +evidence_item_id: "dod-occ-self-bind-pr-4193" +check_type: "command" +check_value: >- + OCC_PR_NUMBER=4193; OCC_REPO=OmniNode-ai/onex_change_control; OCC_BRANCH=jonah/omn-14616-occ-1769-head-b56971; + INITIAL_EVIDENCE_COMMIT=054e34c852f578d3684ccba00cd08dbb0b3d2249; gh api "repos/${OCC_REPO}/pulls/${OCC_PR_NUMBER}" + --jq '.head.ref == "'$OCC_BRANCH'" and ((.state == "open") or (.state == "closed" and .merged_at != + null))' | grep -qx true && gh api "repos/${OCC_REPO}/pulls/${OCC_PR_NUMBER}/commits" --paginate --jq + '.[].sha' | grep -Fx "$INITIAL_EVIDENCE_COMMIT" +contract_entry_sha256: "sha256:756cf1bf77dfc42fb171d78de90c14628505eb73828cdbd22792d278209d704e" +status: PASS +run_timestamp: "2026-07-15T05:59:30Z" +commit_sha: "054e34c852f578d3684ccba00cd08dbb0b3d2249" +runner: "codex-merge-controller" +verifier: "codex-occ-self-bind" +pr_number: 4193 +branch: "jonah/omn-14616-occ-1769-head-b56971" +probe_command: "gh api repos/OmniNode-ai/onex_change_control/pulls/4193 and commits; verify branch and + initial evidence commit." +probe_stdout: | + onex_change_control#4193 is open on branch jonah/omn-14616-occ-1769-head-b56971. + The PR commit list contains 054e34c852f578d3684ccba00cd08dbb0b3d2249. +actual_output: "PASS: OCC#4193 self-bind command verified branch, open/merged state, and initial evidence + commit." +exit_code: 0 diff --git a/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-deploy-scope-b56971/command.yaml b/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-deploy-scope-b56971/command.yaml new file mode 100644 index 00000000000..dbd3b98e570 --- /dev/null +++ b/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-deploy-scope-b56971/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-14616" +evidence_item_id: "dod-omnimarket-pr-1769-deploy-scope-b56971" +check_type: "command" +check_value: "See contracts/OMN-14616.yaml dod-omnimarket-pr-1769-deploy-scope-b56971." +contract_entry_sha256: "sha256:e4c3e710b9321825c36987735f3a0114af0c93b21a372c106a18dc213004c17d" +status: PASS +run_timestamp: "2026-07-15T05:58:33Z" +commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" +runner: "codex-merge-controller" +verifier: "codex-deploy-scope-audit" +pr_number: 1769 +branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" +probe_command: "gh pr diff 1769 --name-only deploy-surface audit at head b5697123." +probe_stdout: | + omnimarket#1769 current diff includes the broker contract, adapter, adequacy receipt, and test files. + No Dockerfiles, compose files, deploy scripts, runtime service definitions, + migrations, or systemd units are introduced by the OMN-14616 lane. +actual_output: "PASS: current #1769 deploy-scope audit found no live deploy or restart surface." +exit_code: 0 diff --git a/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-local-verification-b56971/command.yaml b/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-local-verification-b56971/command.yaml new file mode 100644 index 00000000000..073f90cc2f3 --- /dev/null +++ b/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-local-verification-b56971/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-14616" +evidence_item_id: "dod-omnimarket-pr-1769-local-verification-b56971" +check_type: "command" +check_value: "See contracts/OMN-14616.yaml dod-omnimarket-pr-1769-local-verification-b56971." +contract_entry_sha256: "sha256:4d7c60aece800c10e21c59ca3b8dc8a4d5f0ab365858ab100019f6e5373f1c66" +status: PASS +run_timestamp: "2026-07-15T05:58:33Z" +commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" +runner: "codex-merge-controller" +verifier: "codex-local-verification-audit" +pr_number: 1769 +branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" +probe_command: "gh pr view 1769 body verification at head b5697123." +probe_stdout: | + omnimarket#1769 current head is b5697123b95cd776367bc61343b41e5f0c8fc6ee. + The PR body still records focused tests, RED proof, ruff, strict mypy, + node runtime import sweep, and pre-commit evidence. +actual_output: "PASS: current #1769 head retains the OMN-14616 local verification evidence." +exit_code: 0 diff --git a/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-product-head-b56971/command.yaml b/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-product-head-b56971/command.yaml new file mode 100644 index 00000000000..7153281313e --- /dev/null +++ b/drift/dod_receipts/OMN-14616/dod-omnimarket-pr-1769-product-head-b56971/command.yaml @@ -0,0 +1,20 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-14616" +evidence_item_id: "dod-omnimarket-pr-1769-product-head-b56971" +check_type: "command" +check_value: "See contracts/OMN-14616.yaml dod-omnimarket-pr-1769-product-head-b56971." +contract_entry_sha256: "sha256:24af97b6adceb85fe4d43c371b9ce5d1ba98dd7b2e4338137c56fa5911b1d4b1" +status: PASS +run_timestamp: "2026-07-15T05:58:33Z" +commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" +runner: "codex-merge-controller" +verifier: "codex-product-head-audit" +pr_number: 1769 +branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" +probe_command: "gh pr view 1769 plus file-content checks at head b5697123." +probe_stdout: | + omnimarket#1769 targets dev at b5697123b95cd776367bc61343b41e5f0c8fc6ee. + The broker contract, handler adapters, adequacy receipts, and regression tests remain present. +actual_output: "PASS: omnimarket#1769 current product head retains OMN-14616 entrypoint evidence." +exit_code: 0 diff --git a/drift/dod_receipts/OMN-14616/dod-pr-1769-state-coverage-b56971/command.yaml b/drift/dod_receipts/OMN-14616/dod-pr-1769-state-coverage-b56971/command.yaml new file mode 100644 index 00000000000..5c7dc0c23d3 --- /dev/null +++ b/drift/dod_receipts/OMN-14616/dod-pr-1769-state-coverage-b56971/command.yaml @@ -0,0 +1,23 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-14616" +evidence_item_id: "dod-pr-1769-state-coverage-b56971" +check_type: "command" +check_value: "See contracts/OMN-14616.yaml dod-pr-1769-state-coverage-b56971." +contract_entry_sha256: "sha256:cd24b507ed898647c62e5ad6649d63f782d674e6ccbb63197f8bc98efb797b72" +status: PASS +run_timestamp: "2026-07-15T05:58:33Z" +commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" +runner: "codex-merge-controller" +verifier: "codex-state-coverage-audit" +pr_number: 1769 +branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" +probe_command: "gh pr view 1769 --json headRefOid,body; verify current head and recorded state-coverage + PASS." +probe_stdout: | + state-coverage-gate (strict mode): 1 node(s) checked + PASS: 1 WARN: 0 FAIL: 0 + + state-coverage-gate: PASS +actual_output: "PASS: state-coverage proof remains recorded on current #1769 head b5697123." +exit_code: 0