diff --git a/contracts/OMN-12352.yaml b/contracts/OMN-12352.yaml new file mode 100644 index 00000000000..398cbea2e94 --- /dev/null +++ b/contracts/OMN-12352.yaml @@ -0,0 +1,57 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +title: "Implement env parity compute runtime handler" +summary: > + Canonical OCC evidence for omnimarket PR #962. The PR replaces node_env_parity_compute's runtime stub + with a native Onex compute handler, contract-owned env parity configuration, typed request/result models, + and runtime adapter coverage for command plus terminal event-bus topics. +is_seam_ticket: false +interface_change: false +interfaces_touched: [] +emergency_bypass: + enabled: false + justification: "" + follow_up_ticket_id: "" +dod_evidence: + - id: "dod-omnimarket-pr-962" + description: "omnimarket PR #962 carries the native env parity compute implementation at the recorded + head SHA." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12352/dod-omnimarket-pr-962/command.yaml + && grep -q '^pr_number: 962$' drift/dod_receipts/OMN-12352/dod-omnimarket-pr-962/command.yaml + && grep -q '^commit_sha: \"80732f0919b28a083f0844b74eedfccdbfa97040\"$' drift/dod_receipts/OMN-12352/dod-omnimarket-pr-962/command.yaml" + - id: "dod-focused-tests" + description: "Focused env parity golden-chain tests pass through the native runtime adapter." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12352/dod-focused-tests/command.yaml" + - id: "dod-runtime-adapter-proof" + description: "Runtime adapter dispatch proves contract-owned command and terminal topics for env_parity_compute." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12352/dod-runtime-adapter-proof/command.yaml" + - id: "dod-broader-relevant-tests" + description: "Broader relevant omnimarket tests pass outside unrelated repo-wide CI debt." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12352/dod-broader-relevant-tests/command.yaml" + - id: "dod-deploy-assessment" + description: "Repo-local deploy-gate contract is present and validates; no live deploy or runtime + restart was performed pre-merge." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12352/dod-deploy-assessment/command.yaml" + - id: "dod-occ-pr-1816" + description: "OCC PR #1816 carries the central OMN-12352 contract and receipts." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-12352/dod-occ-pr-1816/command.yaml + && grep -q '^pr_number: 1816$' drift/dod_receipts/OMN-12352/dod-occ-pr-1816/command.yaml" diff --git a/drift/dod_receipts/OMN-12352/dod-broader-relevant-tests/command.yaml b/drift/dod_receipts/OMN-12352/dod-broader-relevant-tests/command.yaml new file mode 100644 index 00000000000..fa6ad1497de --- /dev/null +++ b/drift/dod_receipts/OMN-12352/dod-broader-relevant-tests/command.yaml @@ -0,0 +1,25 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +evidence_item_id: "dod-broader-relevant-tests" +check_type: "command" +check_value: "uv run pytest tests/test_all_node_entry_points_are_package_form.py tests/test_golden_chain_gap_compute.py + tests/test_wave6_compute_stubs.py tests/unit/config/test_env_example_sync.py tests/unit/cli/test_validate_config.py + tests/unit/scripts/test_validate_node_drift.py -q" +status: PASS +run_timestamp: "2026-05-28T21:16:28Z" +commit_sha: "80732f0919b28a083f0844b74eedfccdbfa97040" +runner: "codex" +contract_sha256: "sha256:0ceac41f54834af2a99853cc3dd6d5b66d6d83c25349ad27a77ea4d3df890be2" +verifier: "receipt-gate-local" +probe_command: "uv run pytest tests/test_all_node_entry_points_are_package_form.py tests/test_golden_chain_gap_compute.py + tests/test_wave6_compute_stubs.py tests/unit/config/test_env_example_sync.py tests/unit/cli/test_validate_config.py + tests/unit/scripts/test_validate_node_drift.py -q" +probe_stdout: | + ....................s.................................. [100%] + 54 passed, 1 skipped in 1.03s +actual_output: "PASS: broader relevant node entrypoint, config, drift, and compute-stub tests pass." +exit_code: 0 +pr_number: 962 +branch: "jonah/omn-12352-env-parity-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12352/omnimarket" diff --git a/drift/dod_receipts/OMN-12352/dod-deploy-assessment/command.yaml b/drift/dod_receipts/OMN-12352/dod-deploy-assessment/command.yaml new file mode 100644 index 00000000000..d04ff377f85 --- /dev/null +++ b/drift/dod_receipts/OMN-12352/dod-deploy-assessment/command.yaml @@ -0,0 +1,23 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +evidence_item_id: "dod-deploy-assessment" +check_type: "command" +check_value: "uv run validate-yaml docs/work-tracking/contracts/OMN-12352.yaml" +status: PASS +run_timestamp: "2026-05-28T21:16:28Z" +commit_sha: "80732f0919b28a083f0844b74eedfccdbfa97040" +runner: "codex" +contract_sha256: "sha256:0ceac41f54834af2a99853cc3dd6d5b66d6d83c25349ad27a77ea4d3df890be2" +verifier: "receipt-gate-local" +probe_command: "uv run validate-yaml docs/work-tracking/contracts/OMN-12352.yaml" +probe_stdout: | + [INFO] Validating 1 file(s)... + [OK] docs/work-tracking/contracts/OMN-12352.yaml (ticket_contract) + [OK] All 1 file(s) valid +actual_output: "PASS: omnimarket repo-local deploy-gate contract is present and validates; no live deploy + or restart was performed pre-merge." +exit_code: 0 +pr_number: 962 +branch: "jonah/omn-12352-env-parity-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12352/omnimarket" diff --git a/drift/dod_receipts/OMN-12352/dod-focused-tests/command.yaml b/drift/dod_receipts/OMN-12352/dod-focused-tests/command.yaml new file mode 100644 index 00000000000..7e2f8b46bff --- /dev/null +++ b/drift/dod_receipts/OMN-12352/dod-focused-tests/command.yaml @@ -0,0 +1,24 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +evidence_item_id: "dod-focused-tests" +check_type: "command" +check_value: "uv run pytest tests/test_golden_chain_env_parity_compute.py tests/test_golden_chain_new_stub_nodes.py + -q" +status: PASS +run_timestamp: "2026-05-28T21:16:28Z" +commit_sha: "80732f0919b28a083f0844b74eedfccdbfa97040" +runner: "codex" +contract_sha256: "sha256:0ceac41f54834af2a99853cc3dd6d5b66d6d83c25349ad27a77ea4d3df890be2" +verifier: "receipt-gate-local" +probe_command: "uv run pytest tests/test_golden_chain_env_parity_compute.py tests/test_golden_chain_new_stub_nodes.py + -q" +probe_stdout: | + .....ssss [100%] + 5 passed, 4 skipped in 0.20s +actual_output: "PASS: focused env parity golden-chain tests pass through CodexRuntimeRequestAdapter local + dispatch." +exit_code: 0 +pr_number: 962 +branch: "jonah/omn-12352-env-parity-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12352/omnimarket" diff --git a/drift/dod_receipts/OMN-12352/dod-occ-pr-1816/command.yaml b/drift/dod_receipts/OMN-12352/dod-occ-pr-1816/command.yaml new file mode 100644 index 00000000000..eae589227e6 --- /dev/null +++ b/drift/dod_receipts/OMN-12352/dod-occ-pr-1816/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +evidence_item_id: "dod-occ-pr-1816" +check_type: "command" +check_value: "gh pr view 1816 --repo OmniNode-ai/onex_change_control --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +status: PASS +run_timestamp: "2026-05-28T21:26:00Z" +commit_sha: "9c3e81cdaf351e7a4175512c4cf4fc52dc82764f" +runner: "codex" +contract_sha256: "sha256:0ceac41f54834af2a99853cc3dd6d5b66d6d83c25349ad27a77ea4d3df890be2" +verifier: "receipt-gate-local" +probe_command: "gh pr view 1816 --repo OmniNode-ai/onex_change_control --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +probe_stdout: | + {"baseRefName":"dev","headRefName":"jonah/omn-12352-env-parity-occ-evidence","headRefOid":"9c3e81cdaf351e7a4175512c4cf4fc52dc82764f","number":1816,"state":"OPEN","title":"OMN-12352: add env parity runtime OCC evidence","url":"https://github.com/OmniNode-ai/onex_change_control/pull/1816"} +actual_output: "PASS: onex_change_control PR #1816 carries the central OMN-12352 contract and receipts." +exit_code: 0 +pr_number: 1816 +branch: "jonah/omn-12352-env-parity-occ-evidence" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12352/onex_change_control" diff --git a/drift/dod_receipts/OMN-12352/dod-omnimarket-pr-962/command.yaml b/drift/dod_receipts/OMN-12352/dod-omnimarket-pr-962/command.yaml new file mode 100644 index 00000000000..411947d8b3a --- /dev/null +++ b/drift/dod_receipts/OMN-12352/dod-omnimarket-pr-962/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +evidence_item_id: "dod-omnimarket-pr-962" +check_type: "command" +check_value: "gh pr view 962 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +status: PASS +run_timestamp: "2026-05-28T21:16:28Z" +commit_sha: "80732f0919b28a083f0844b74eedfccdbfa97040" +runner: "codex" +contract_sha256: "sha256:0ceac41f54834af2a99853cc3dd6d5b66d6d83c25349ad27a77ea4d3df890be2" +verifier: "receipt-gate-local" +probe_command: "gh pr view 962 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +probe_stdout: | + {"baseRefName":"dev","headRefName":"jonah/omn-12352-env-parity-runtime-handler","headRefOid":"80732f0919b28a083f0844b74eedfccdbfa97040","number":962,"state":"OPEN","title":"OMN-12352: implement env parity compute runtime handler","url":"https://github.com/OmniNode-ai/omnimarket/pull/962"} +actual_output: "PASS: omnimarket PR #962 binds OMN-12352 to the native env parity compute implementation." +exit_code: 0 +pr_number: 962 +branch: "jonah/omn-12352-env-parity-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12352/omnimarket" diff --git a/drift/dod_receipts/OMN-12352/dod-runtime-adapter-proof/command.yaml b/drift/dod_receipts/OMN-12352/dod-runtime-adapter-proof/command.yaml new file mode 100644 index 00000000000..fb2ee3b3ad6 --- /dev/null +++ b/drift/dod_receipts/OMN-12352/dod-runtime-adapter-proof/command.yaml @@ -0,0 +1,31 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12352" +evidence_item_id: "dod-runtime-adapter-proof" +check_type: "command" +check_value: "uv run python scripts/run_codex_runtime_request.py --command-name env_parity_compute --runtime-selection + local --payload '{\"scope\":\"omnimarket-runtime\",\"variable_names\":[\"ENABLE_KAFKA\"],\"env_by_lane\":{\"dev\":{\"ENABLE_KAFKA\":\"true\"},\"staging\":{\"ENABLE_KAFKA\":\"true\"},\"prod\":{\"ENABLE_KAFKA\":\"true\"}}}' + --timeout-ms 30000" +status: PASS +run_timestamp: "2026-05-28T21:16:28Z" +commit_sha: "80732f0919b28a083f0844b74eedfccdbfa97040" +runner: "codex" +contract_sha256: "sha256:0ceac41f54834af2a99853cc3dd6d5b66d6d83c25349ad27a77ea4d3df890be2" +verifier: "receipt-gate-local" +probe_command: "uv run python scripts/run_codex_runtime_request.py --command-name env_parity_compute --runtime-selection + local --payload '{\"scope\":\"omnimarket-runtime\",\"variable_names\":[\"ENABLE_KAFKA\"],\"env_by_lane\":{\"dev\":{\"ENABLE_KAFKA\":\"true\"},\"staging\":{\"ENABLE_KAFKA\":\"true\"},\"prod\":{\"ENABLE_KAFKA\":\"true\"}}}' + --timeout-ms 30000" +probe_stdout: | + ok: true + runtime_mode: local + node_contract: src/omnimarket/nodes/node_env_parity_compute/contract.yaml + command_topic: onex.cmd.omnimarket.env-parity-compute-start.v1 + terminal_topic: onex.evt.omnimarket.env-parity-compute-completed.v1 + output status: passed + parity_ok: true +actual_output: "PASS: native runtime adapter dispatch reached node_env_parity_compute through contract-owned + topics." +exit_code: 0 +pr_number: 962 +branch: "jonah/omn-12352-env-parity-runtime-handler" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12352/omnimarket"