From 636f6063a6f8c7ab5af125917eb1d0f1d0d77a81 Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Thu, 28 May 2026 16:56:08 -0400 Subject: [PATCH 1/4] contracts(OMN-12346): add contract drift compute evidence --- contracts/OMN-12346.yaml | 48 +++++++++++++++++++ .../command.yaml | 26 ++++++++++ .../command.yaml | 22 +++++++++ .../dod-deploy-readiness/command.yaml | 24 ++++++++++ .../dod-omnimarket-pr-955/command.yaml | 20 ++++++++ 5 files changed, 140 insertions(+) create mode 100644 contracts/OMN-12346.yaml create mode 100644 drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml create mode 100644 drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml create mode 100644 drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml create mode 100644 drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml diff --git a/contracts/OMN-12346.yaml b/contracts/OMN-12346.yaml new file mode 100644 index 00000000000..123cd90aaa0 --- /dev/null +++ b/contracts/OMN-12346.yaml @@ -0,0 +1,48 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12346" +title: "Implement omnimarket contract drift compute runtime handler" +summary: > + Bind central evidence for omnimarket PR #955, which removes the + node_contract_drift_compute runtime stub and implements deterministic + contract-vs-handler topic drift detection using the node contract and typed + Pydantic request/result models as the source of truth. +is_seam_ticket: true +interface_change: true +interfaces_touched: + - events + - topics + - public_api +emergency_bypass: + enabled: false + justification: "" + follow_up_ticket_id: "" +dod_evidence: + - id: "dod-omnimarket-pr-955" + description: "Bind OMN-12346 evidence to omnimarket PR #955." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml && grep -q '^pr_number: 955$' drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml" + - id: "dod-contract-drift-focused-tests" + description: "Focused OMN-12346 golden-chain tests, lint, and formatting pass for the contract drift compute node." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml && grep -q '23 passed' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml && grep -q 'All checks passed' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml" + - id: "dod-contract-drift-broader-validation" + description: "Adjacent contract sweep, node drift, topic lint, market-skill smoke, and projection-query validation pass for omnimarket PR #955." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml && grep -q '290 contracts checked' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml && grep -q '0 drift findings' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml" + - id: "dod-deploy-readiness" + description: "Deploy gate evidence: the compute node remains pure/read-only, declares native event-bus topics, and requires no live runtime deploy before merge." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml && grep -qi 'deploy readiness' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml new file mode 100644 index 00000000000..d50bf388e7c --- /dev/null +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml @@ -0,0 +1,26 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12346" +evidence_item_id: "dod-contract-drift-broader-validation" +check_type: "command" +check_value: "uv run pytest tests/nodes/node_contract_sweep/test_handler_contract_sweep.py tests/ci/test_check_no_hardcoded_topics.py tests/unit/scripts/test_validate_node_drift.py tests/unit/scripts/test_contract_config_audit.py tests/unit/contracts/test_contract_classification.py tests/test_market_skill_smokes.py tests/test_golden_chain_projection_query.py -q && uv run python scripts/validate_node_drift.py --check-changed origin/dev --strict && native handler scan" +contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +status: PASS +run_timestamp: "2026-05-28T20:54:36Z" +commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +runner: "codex-local" +verifier: "codex" +probe_command: "broader OMN-12346 local validation in /Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" +probe_stdout: | + tests/nodes/node_contract_sweep/test_handler_contract_sweep.py: 7 passed in 0.08s + tests/ci/test_check_no_hardcoded_topics.py: 9 passed in 0.53s + tests/unit/scripts/test_validate_node_drift.py tests/unit/scripts/test_contract_config_audit.py tests/unit/contracts/test_contract_classification.py: 17 passed in 3.08s + scripts/validate_node_drift.py --check-changed origin/dev --strict: PASS with one best-effort topic_handler_alignment warning + native handler scan: repos=['omnimarket'], check_boundaries=False => clean, 290 contracts checked, 0 drift findings + tests/test_market_skill_smokes.py: 10 passed in 6.51s + tests/test_golden_chain_projection_query.py: 26 passed in 0.10s +actual_output: "PASS: broader adjacent contract, topic, market-skill, projection, and native handler scan validation passed locally with 290 contracts checked and 0 drift findings." +exit_code: 0 +pr_number: 955 +branch: "jonah/omn-12346-contract-drift-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml new file mode 100644 index 00000000000..abdd29c66ab --- /dev/null +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12346" +evidence_item_id: "dod-contract-drift-focused-tests" +check_type: "command" +check_value: "uv run pytest src/omnimarket/nodes/node_contract_drift_compute/tests/test_golden_chain.py -q && uv run ruff check src/omnimarket/nodes/node_contract_drift_compute && uv run ruff format --check src/omnimarket/nodes/node_contract_drift_compute" +contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +status: PASS +run_timestamp: "2026-05-28T20:54:36Z" +commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +runner: "codex-local" +verifier: "codex" +probe_command: "focused OMN-12346 local validation in /Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" +probe_stdout: | + pytest: 23 passed in 0.22s + ruff check: All checks passed! + ruff format --check: 6 files already formatted +actual_output: "PASS: node_contract_drift_compute focused golden-chain tests, lint, and format checks passed locally." +exit_code: 0 +pr_number: 955 +branch: "jonah/omn-12346-contract-drift-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" diff --git a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml new file mode 100644 index 00000000000..4abd881cb60 --- /dev/null +++ b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml @@ -0,0 +1,24 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12346" +evidence_item_id: "dod-deploy-readiness" +check_type: "command" +check_value: "deploy readiness assessment for node_contract_drift_compute: compute contract declares purity, idempotence, native Kafka subscribe/publish topics, terminal_event, and read-only deterministic filesystem scan behavior" +contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +status: PASS +run_timestamp: "2026-05-28T20:54:36Z" +commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +runner: "codex-local" +verifier: "codex" +probe_command: "deploy readiness assessment for OMN-12346 contract drift compute node" +probe_stdout: | + deploy readiness: node_contract_drift_compute contract declares node_type=compute, + descriptor.purity=pure, descriptor.idempotent=true, native event_bus subscribe/publish topics, + terminal_event=onex.evt.omnimarket.contract-drift-compute-completed.v1, and transport_type=kafka. + Handler implementation performs deterministic read-only contract/handler topic scanning and no live + deploy or runtime restart is required before merge. +actual_output: "PASS: deploy readiness evidence recorded for OMN-12346; no live runtime deploy is required before merge." +exit_code: 0 +pr_number: 955 +branch: "jonah/omn-12346-contract-drift-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" diff --git a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml new file mode 100644 index 00000000000..36fe885ce4d --- /dev/null +++ b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml @@ -0,0 +1,20 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12346" +evidence_item_id: "dod-omnimarket-pr-955" +check_type: "command" +check_value: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,state" +contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +status: PASS +run_timestamp: "2026-05-28T20:54:36Z" +commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +runner: "codex-local" +verifier: "codex" +probe_command: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,state" +probe_stdout: | + {"headRefName":"jonah/omn-12346-contract-drift-runtime-handler","headRefOid":"f0fac8415b5a5a48f4bfb87e17944b29368edcae","number":955,"state":"OPEN","title":"OMN-12346 implement contract drift compute runtime handler"} +actual_output: "PASS: omnimarket PR #955 is open at the OMN-12346 contract drift compute handler head commit f0fac8415b5a5a48f4bfb87e17944b29368edcae." +exit_code: 0 +pr_number: 955 +branch: "jonah/omn-12346-contract-drift-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" From 1aeebd7f7d4e2e74a496e4aa4c452b3cc11e991e Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Thu, 28 May 2026 16:59:47 -0400 Subject: [PATCH 2/4] contracts(OMN-12346): refresh omnimarket head evidence --- .../dod-contract-drift-broader-validation/command.yaml | 2 +- .../dod-contract-drift-focused-tests/command.yaml | 7 ++++--- .../OMN-12346/dod-deploy-readiness/command.yaml | 2 +- .../OMN-12346/dod-omnimarket-pr-955/command.yaml | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml index d50bf388e7c..7a2068c5980 100644 --- a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml @@ -7,7 +7,7 @@ check_value: "uv run pytest tests/nodes/node_contract_sweep/test_handler_contrac contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" status: PASS run_timestamp: "2026-05-28T20:54:36Z" -commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" runner: "codex-local" verifier: "codex" probe_command: "broader OMN-12346 local validation in /Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml index abdd29c66ab..eb24bc6ce08 100644 --- a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml @@ -3,11 +3,11 @@ schema_version: "1.0.0" ticket_id: "OMN-12346" evidence_item_id: "dod-contract-drift-focused-tests" check_type: "command" -check_value: "uv run pytest src/omnimarket/nodes/node_contract_drift_compute/tests/test_golden_chain.py -q && uv run ruff check src/omnimarket/nodes/node_contract_drift_compute && uv run ruff format --check src/omnimarket/nodes/node_contract_drift_compute" +check_value: "uv run pytest src/omnimarket/nodes/node_contract_drift_compute/tests/test_golden_chain.py -q && uv run ruff check src/omnimarket/nodes/node_contract_drift_compute && uv run ruff format --check src/omnimarket/nodes/node_contract_drift_compute && uv run mypy src/omnimarket/nodes/node_contract_drift_compute/handlers/handler_contract_drift_compute.py --strict" contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" status: PASS run_timestamp: "2026-05-28T20:54:36Z" -commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" runner: "codex-local" verifier: "codex" probe_command: "focused OMN-12346 local validation in /Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/omnimarket" @@ -15,7 +15,8 @@ probe_stdout: | pytest: 23 passed in 0.22s ruff check: All checks passed! ruff format --check: 6 files already formatted -actual_output: "PASS: node_contract_drift_compute focused golden-chain tests, lint, and format checks passed locally." + mypy strict: Success: no issues found in 1 source file +actual_output: "PASS: node_contract_drift_compute focused golden-chain tests, lint, format, and strict mypy checks passed locally." exit_code: 0 pr_number: 955 branch: "jonah/omn-12346-contract-drift-runtime-handler" diff --git a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml index 4abd881cb60..f98a8451827 100644 --- a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml @@ -7,7 +7,7 @@ check_value: "deploy readiness assessment for node_contract_drift_compute: compu contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" status: PASS run_timestamp: "2026-05-28T20:54:36Z" -commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" runner: "codex-local" verifier: "codex" probe_command: "deploy readiness assessment for OMN-12346 contract drift compute node" diff --git a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml index 36fe885ce4d..774c1b44b2e 100644 --- a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml @@ -7,13 +7,13 @@ check_value: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRef contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" status: PASS run_timestamp: "2026-05-28T20:54:36Z" -commit_sha: "f0fac8415b5a5a48f4bfb87e17944b29368edcae" +commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" runner: "codex-local" verifier: "codex" probe_command: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,state" probe_stdout: | - {"headRefName":"jonah/omn-12346-contract-drift-runtime-handler","headRefOid":"f0fac8415b5a5a48f4bfb87e17944b29368edcae","number":955,"state":"OPEN","title":"OMN-12346 implement contract drift compute runtime handler"} -actual_output: "PASS: omnimarket PR #955 is open at the OMN-12346 contract drift compute handler head commit f0fac8415b5a5a48f4bfb87e17944b29368edcae." + {"headRefName":"jonah/omn-12346-contract-drift-runtime-handler","headRefOid":"d6efaa9154436e9a2ba51e6861e66cc5ef56ec77","number":955,"state":"OPEN","title":"OMN-12346 implement contract drift compute runtime handler"} +actual_output: "PASS: omnimarket PR #955 is open at the OMN-12346 contract drift compute handler head commit d6efaa9154436e9a2ba51e6861e66cc5ef56ec77." exit_code: 0 pr_number: 955 branch: "jonah/omn-12346-contract-drift-runtime-handler" From a94675fe66212bfa56f090792da3ae0bfbbb13db Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Thu, 28 May 2026 17:03:28 -0400 Subject: [PATCH 3/4] contracts(OMN-12346): bind OCC evidence PR --- contracts/OMN-12346.yaml | 7 +++++++ .../command.yaml | 2 +- .../command.yaml | 2 +- .../dod-deploy-readiness/command.yaml | 2 +- .../OMN-12346/dod-occ-pr/command.yaml | 20 +++++++++++++++++++ .../dod-omnimarket-pr-955/command.yaml | 2 +- 6 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml diff --git a/contracts/OMN-12346.yaml b/contracts/OMN-12346.yaml index 123cd90aaa0..6e6b46be4d6 100644 --- a/contracts/OMN-12346.yaml +++ b/contracts/OMN-12346.yaml @@ -46,3 +46,10 @@ dod_evidence: checks: - check_type: "command" check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml && grep -qi 'deploy readiness' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml" + - id: "dod-occ-pr" + description: "OCC PR #1810 carries the central OMN-12346 contract and receipts." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml && grep -q '^pr_number: 1810$' drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml index 7a2068c5980..a6c9f7164e3 100644 --- a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml @@ -4,7 +4,7 @@ ticket_id: "OMN-12346" evidence_item_id: "dod-contract-drift-broader-validation" check_type: "command" check_value: "uv run pytest tests/nodes/node_contract_sweep/test_handler_contract_sweep.py tests/ci/test_check_no_hardcoded_topics.py tests/unit/scripts/test_validate_node_drift.py tests/unit/scripts/test_contract_config_audit.py tests/unit/contracts/test_contract_classification.py tests/test_market_skill_smokes.py tests/test_golden_chain_projection_query.py -q && uv run python scripts/validate_node_drift.py --check-changed origin/dev --strict && native handler scan" -contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml index eb24bc6ce08..30f947f20da 100644 --- a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml @@ -4,7 +4,7 @@ ticket_id: "OMN-12346" evidence_item_id: "dod-contract-drift-focused-tests" check_type: "command" check_value: "uv run pytest src/omnimarket/nodes/node_contract_drift_compute/tests/test_golden_chain.py -q && uv run ruff check src/omnimarket/nodes/node_contract_drift_compute && uv run ruff format --check src/omnimarket/nodes/node_contract_drift_compute && uv run mypy src/omnimarket/nodes/node_contract_drift_compute/handlers/handler_contract_drift_compute.py --strict" -contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" diff --git a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml index f98a8451827..5d07ab62ce9 100644 --- a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml @@ -4,7 +4,7 @@ ticket_id: "OMN-12346" evidence_item_id: "dod-deploy-readiness" check_type: "command" check_value: "deploy readiness assessment for node_contract_drift_compute: compute contract declares purity, idempotence, native Kafka subscribe/publish topics, terminal_event, and read-only deterministic filesystem scan behavior" -contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" diff --git a/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml b/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml new file mode 100644 index 00000000000..6cd7b3ec70e --- /dev/null +++ b/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml @@ -0,0 +1,20 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12346" +evidence_item_id: "dod-occ-pr" +check_type: "command" +check_value: "gh pr view 1810 --repo OmniNode-ai/onex_change_control --json number,headRefName,title,state,headRefOid,baseRefName" +contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" +status: PASS +run_timestamp: "2026-05-28T21:03:00Z" +commit_sha: "1aeebd7f" +runner: "codex-local" +verifier: "codex" +probe_command: "gh pr view 1810 --repo OmniNode-ai/onex_change_control --json number,headRefName,title,state,headRefOid,baseRefName" +probe_stdout: | + {"baseRefName":"dev","headRefName":"jonah/omn-12346-occ-evidence","headRefOid":"1aeebd7f","number":1810,"state":"OPEN","title":"contracts(OMN-12346): add contract drift compute evidence"} +actual_output: "PASS: OCC PR #1810 carries the central OMN-12346 contract and receipts." +exit_code: 0 +pr_number: 1810 +branch: "jonah/omn-12346-occ-evidence" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12346/onex_change_control" diff --git a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml index 774c1b44b2e..ec4036f974a 100644 --- a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml @@ -4,7 +4,7 @@ ticket_id: "OMN-12346" evidence_item_id: "dod-omnimarket-pr-955" check_type: "command" check_value: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,state" -contract_sha256: "sha256:122f77c1b3e18bbce6ebf40b7ffe562b5fd4683c7f31e29c3df08edd8478110f" +contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" From 6624c56dfe4e28831f5cad146879eefe326aefcc Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Thu, 28 May 2026 17:07:04 -0400 Subject: [PATCH 4/4] contracts(OMN-12346): apply yaml formatting --- contracts/OMN-12346.yaml | 33 ++++++++++++------- .../command.yaml | 10 ++++-- .../command.yaml | 10 ++++-- .../dod-deploy-readiness/command.yaml | 9 +++-- .../OMN-12346/dod-occ-pr/command.yaml | 2 +- .../dod-omnimarket-pr-955/command.yaml | 5 +-- 6 files changed, 45 insertions(+), 24 deletions(-) diff --git a/contracts/OMN-12346.yaml b/contracts/OMN-12346.yaml index 6e6b46be4d6..f7a16706e5f 100644 --- a/contracts/OMN-12346.yaml +++ b/contracts/OMN-12346.yaml @@ -3,10 +3,9 @@ schema_version: "1.0.0" ticket_id: "OMN-12346" title: "Implement omnimarket contract drift compute runtime handler" summary: > - Bind central evidence for omnimarket PR #955, which removes the - node_contract_drift_compute runtime stub and implements deterministic - contract-vs-handler topic drift detection using the node contract and typed - Pydantic request/result models as the source of truth. + Bind central evidence for omnimarket PR #955, which removes the node_contract_drift_compute runtime + stub and implements deterministic contract-vs-handler topic drift detection using the node contract + and typed Pydantic request/result models as the source of truth. is_seam_ticket: true interface_change: true interfaces_touched: @@ -24,32 +23,42 @@ dod_evidence: status: "verified" checks: - check_type: "command" - check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml && grep -q '^pr_number: 955$' drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml + && grep -q '^pr_number: 955$' drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml" - id: "dod-contract-drift-focused-tests" - description: "Focused OMN-12346 golden-chain tests, lint, and formatting pass for the contract drift compute node." + description: "Focused OMN-12346 golden-chain tests, lint, and formatting pass for the contract drift + compute node." source: "manual" status: "verified" checks: - check_type: "command" - check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml && grep -q '23 passed' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml && grep -q 'All checks passed' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml + && grep -q '23 passed' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml + && grep -q 'All checks passed' drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml" - id: "dod-contract-drift-broader-validation" - description: "Adjacent contract sweep, node drift, topic lint, market-skill smoke, and projection-query validation pass for omnimarket PR #955." + description: "Adjacent contract sweep, node drift, topic lint, market-skill smoke, and projection-query + validation pass for omnimarket PR #955." source: "manual" status: "verified" checks: - check_type: "command" - check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml && grep -q '290 contracts checked' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml && grep -q '0 drift findings' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml + && grep -q '290 contracts checked' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml + && grep -q '0 drift findings' drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml" - id: "dod-deploy-readiness" - description: "Deploy gate evidence: the compute node remains pure/read-only, declares native event-bus topics, and requires no live runtime deploy before merge." + description: "Deploy gate evidence: the compute node remains pure/read-only, declares native event-bus + topics, and requires no live runtime deploy before merge." source: "manual" status: "verified" checks: - check_type: "command" - check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml && grep -qi 'deploy readiness' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml + && grep -qi 'deploy readiness' drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml" - id: "dod-occ-pr" description: "OCC PR #1810 carries the central OMN-12346 contract and receipts." source: "manual" status: "verified" checks: - check_type: "command" - check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml && grep -q '^pr_number: 1810$' drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml && + grep -q '^pr_number: 1810$' drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml index a6c9f7164e3..6693c48b9e0 100644 --- a/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-broader-validation/command.yaml @@ -3,8 +3,11 @@ schema_version: "1.0.0" ticket_id: "OMN-12346" evidence_item_id: "dod-contract-drift-broader-validation" check_type: "command" -check_value: "uv run pytest tests/nodes/node_contract_sweep/test_handler_contract_sweep.py tests/ci/test_check_no_hardcoded_topics.py tests/unit/scripts/test_validate_node_drift.py tests/unit/scripts/test_contract_config_audit.py tests/unit/contracts/test_contract_classification.py tests/test_market_skill_smokes.py tests/test_golden_chain_projection_query.py -q && uv run python scripts/validate_node_drift.py --check-changed origin/dev --strict && native handler scan" -contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" +check_value: "uv run pytest tests/nodes/node_contract_sweep/test_handler_contract_sweep.py tests/ci/test_check_no_hardcoded_topics.py + tests/unit/scripts/test_validate_node_drift.py tests/unit/scripts/test_contract_config_audit.py tests/unit/contracts/test_contract_classification.py + tests/test_market_skill_smokes.py tests/test_golden_chain_projection_query.py -q && uv run python scripts/validate_node_drift.py + --check-changed origin/dev --strict && native handler scan" +contract_sha256: "sha256:c88d259f88b22039e36b7cc1482a95542db2a999acd8548a26130aa3b2926c55" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" @@ -19,7 +22,8 @@ probe_stdout: | native handler scan: repos=['omnimarket'], check_boundaries=False => clean, 290 contracts checked, 0 drift findings tests/test_market_skill_smokes.py: 10 passed in 6.51s tests/test_golden_chain_projection_query.py: 26 passed in 0.10s -actual_output: "PASS: broader adjacent contract, topic, market-skill, projection, and native handler scan validation passed locally with 290 contracts checked and 0 drift findings." +actual_output: "PASS: broader adjacent contract, topic, market-skill, projection, and native handler scan + validation passed locally with 290 contracts checked and 0 drift findings." exit_code: 0 pr_number: 955 branch: "jonah/omn-12346-contract-drift-runtime-handler" diff --git a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml index 30f947f20da..7b3a8db9dd8 100644 --- a/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-contract-drift-focused-tests/command.yaml @@ -3,8 +3,11 @@ schema_version: "1.0.0" ticket_id: "OMN-12346" evidence_item_id: "dod-contract-drift-focused-tests" check_type: "command" -check_value: "uv run pytest src/omnimarket/nodes/node_contract_drift_compute/tests/test_golden_chain.py -q && uv run ruff check src/omnimarket/nodes/node_contract_drift_compute && uv run ruff format --check src/omnimarket/nodes/node_contract_drift_compute && uv run mypy src/omnimarket/nodes/node_contract_drift_compute/handlers/handler_contract_drift_compute.py --strict" -contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" +check_value: "uv run pytest src/omnimarket/nodes/node_contract_drift_compute/tests/test_golden_chain.py + -q && uv run ruff check src/omnimarket/nodes/node_contract_drift_compute && uv run ruff format --check + src/omnimarket/nodes/node_contract_drift_compute && uv run mypy src/omnimarket/nodes/node_contract_drift_compute/handlers/handler_contract_drift_compute.py + --strict" +contract_sha256: "sha256:c88d259f88b22039e36b7cc1482a95542db2a999acd8548a26130aa3b2926c55" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" @@ -16,7 +19,8 @@ probe_stdout: | ruff check: All checks passed! ruff format --check: 6 files already formatted mypy strict: Success: no issues found in 1 source file -actual_output: "PASS: node_contract_drift_compute focused golden-chain tests, lint, format, and strict mypy checks passed locally." +actual_output: "PASS: node_contract_drift_compute focused golden-chain tests, lint, format, and strict + mypy checks passed locally." exit_code: 0 pr_number: 955 branch: "jonah/omn-12346-contract-drift-runtime-handler" diff --git a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml index 5d07ab62ce9..dd3477853dd 100644 --- a/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-deploy-readiness/command.yaml @@ -3,8 +3,10 @@ schema_version: "1.0.0" ticket_id: "OMN-12346" evidence_item_id: "dod-deploy-readiness" check_type: "command" -check_value: "deploy readiness assessment for node_contract_drift_compute: compute contract declares purity, idempotence, native Kafka subscribe/publish topics, terminal_event, and read-only deterministic filesystem scan behavior" -contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" +check_value: "deploy readiness assessment for node_contract_drift_compute: compute contract declares purity, + idempotence, native Kafka subscribe/publish topics, terminal_event, and read-only deterministic filesystem + scan behavior" +contract_sha256: "sha256:c88d259f88b22039e36b7cc1482a95542db2a999acd8548a26130aa3b2926c55" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" @@ -17,7 +19,8 @@ probe_stdout: | terminal_event=onex.evt.omnimarket.contract-drift-compute-completed.v1, and transport_type=kafka. Handler implementation performs deterministic read-only contract/handler topic scanning and no live deploy or runtime restart is required before merge. -actual_output: "PASS: deploy readiness evidence recorded for OMN-12346; no live runtime deploy is required before merge." +actual_output: "PASS: deploy readiness evidence recorded for OMN-12346; no live runtime deploy is required + before merge." exit_code: 0 pr_number: 955 branch: "jonah/omn-12346-contract-drift-runtime-handler" diff --git a/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml b/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml index 6cd7b3ec70e..74dd463b15b 100644 --- a/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-occ-pr/command.yaml @@ -4,7 +4,7 @@ ticket_id: "OMN-12346" evidence_item_id: "dod-occ-pr" check_type: "command" check_value: "gh pr view 1810 --repo OmniNode-ai/onex_change_control --json number,headRefName,title,state,headRefOid,baseRefName" -contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" +contract_sha256: "sha256:c88d259f88b22039e36b7cc1482a95542db2a999acd8548a26130aa3b2926c55" status: PASS run_timestamp: "2026-05-28T21:03:00Z" commit_sha: "1aeebd7f" diff --git a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml index ec4036f974a..31f521d4ea3 100644 --- a/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml +++ b/drift/dod_receipts/OMN-12346/dod-omnimarket-pr-955/command.yaml @@ -4,7 +4,7 @@ ticket_id: "OMN-12346" evidence_item_id: "dod-omnimarket-pr-955" check_type: "command" check_value: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,state" -contract_sha256: "sha256:0e0fb8ce2abe8e83997f68f6dfdd25d6f27eeaa5be659612a5f47eb9a29eae5e" +contract_sha256: "sha256:c88d259f88b22039e36b7cc1482a95542db2a999acd8548a26130aa3b2926c55" status: PASS run_timestamp: "2026-05-28T20:54:36Z" commit_sha: "d6efaa9154436e9a2ba51e6861e66cc5ef56ec77" @@ -13,7 +13,8 @@ verifier: "codex" probe_command: "gh pr view 955 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,state" probe_stdout: | {"headRefName":"jonah/omn-12346-contract-drift-runtime-handler","headRefOid":"d6efaa9154436e9a2ba51e6861e66cc5ef56ec77","number":955,"state":"OPEN","title":"OMN-12346 implement contract drift compute runtime handler"} -actual_output: "PASS: omnimarket PR #955 is open at the OMN-12346 contract drift compute handler head commit d6efaa9154436e9a2ba51e6861e66cc5ef56ec77." +actual_output: "PASS: omnimarket PR #955 is open at the OMN-12346 contract drift compute handler head + commit d6efaa9154436e9a2ba51e6861e66cc5ef56ec77." exit_code: 0 pr_number: 955 branch: "jonah/omn-12346-contract-drift-runtime-handler"