diff --git a/contracts/OMN-12403.yaml b/contracts/OMN-12403.yaml new file mode 100644 index 00000000000..dbb479a3d4e --- /dev/null +++ b/contracts/OMN-12403.yaml @@ -0,0 +1,38 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12403" +title: "Migrate node_dod_verify _build_receipt() to ModelDodReceipt" +summary: > + node_dod_verify/__main__.py::_build_receipt() emitted a legacy receipt dict with timestamp, git_sha, + and result keys that the DoD completion guard rejects. This migrates _build_receipt() to emit ModelDodReceipt + (OMN-9792) matching the reference implementation in omniclaude dod_evidence_runner.write_evidence_receipt(). +is_seam_ticket: false +interface_change: false +interfaces_touched: [] +emergency_bypass: + enabled: false + justification: "" + follow_up_ticket_id: "" +dod_evidence: + - id: "dod-omnimarket-pr-974" + description: "omnimarket PR #974 migrates _build_receipt() to ModelDodReceipt and updates tests." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12403/dod-omnimarket-pr-974/command.yaml\" + && grep -q '^pr_number: 974$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12403/dod-omnimarket-pr-974/command.yaml\"" + - id: "dod-deploy-assessment" + description: > + Schema-only change to receipt output: no Docker container, runtime process, or Kafka topic is modified. + The fix changes the JSON keys written to dod_report.json on disk. No service restart is required. + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12403/dod-deploy-assessment/command.yaml\"" + - id: "dod-occ-pr-1823" + description: "onex_change_control PR #1823 carries the OMN-12403 central contract and receipts." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12403/dod-occ-pr-1823/command.yaml\" + && grep -q '^pr_number: 1823$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12403/dod-occ-pr-1823/command.yaml\"" diff --git a/drift/dod_receipts/OMN-12403/dod-deploy-assessment/command.yaml b/drift/dod_receipts/OMN-12403/dod-deploy-assessment/command.yaml new file mode 100644 index 00000000000..215b220b3ea --- /dev/null +++ b/drift/dod_receipts/OMN-12403/dod-deploy-assessment/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12403" +evidence_item_id: "dod-deploy-assessment" +check_type: "command" +check_value: "python3 -c \"print('schema-only receipt writer change; no runtime deploy required')\"" +status: PASS +run_timestamp: "2026-05-28T21:55:07Z" +commit_sha: "01c1eafd3a05882979a8fb6f5ccac71cbd20c7f7" +runner: "codex" +contract_sha256: "sha256:749850eade7b19b9bdfadd887e101f3b96ee0a1d585ef17ec059a9fb346b216a" +verifier: "manual-merge-sweep" +probe_command: "python3 -c \"print('schema-only receipt writer change; no runtime deploy required')\"" +probe_stdout: | + schema-only receipt writer change; no runtime deploy required +actual_output: "PASS: OMN-12403 only changes the local DoD receipt JSON shape emitted by node_dod_verify; + no container, runtime process, Kafka topic, or dashboard deployment is required." +exit_code: 0 +pr_number: 974 +branch: "jonah/omn-12403-dod-receipt-modeldodreceipt" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12403/omnimarket" diff --git a/drift/dod_receipts/OMN-12403/dod-occ-pr-1823/command.yaml b/drift/dod_receipts/OMN-12403/dod-occ-pr-1823/command.yaml new file mode 100644 index 00000000000..ca410df38ca --- /dev/null +++ b/drift/dod_receipts/OMN-12403/dod-occ-pr-1823/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12403" +evidence_item_id: "dod-occ-pr-1823" +check_type: "command" +check_value: "gh pr view 1823 --repo OmniNode-ai/onex_change_control --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +status: PASS +run_timestamp: "2026-05-28T21:55:07Z" +commit_sha: "fc1cf4fbe105f1227aa1a587b40b3a37d8950780" +runner: "codex" +contract_sha256: "sha256:749850eade7b19b9bdfadd887e101f3b96ee0a1d585ef17ec059a9fb346b216a" +verifier: "manual-merge-sweep" +probe_command: "gh pr view 1823 --repo OmniNode-ai/onex_change_control --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +probe_stdout: | + {"baseRefName":"dev","headRefName":"jonah/omn-12403-occ-contract-clean","headRefOid":"4e89780065d1cbe80702903f16ec9780d40cff21","number":1823,"state":"OPEN","title":"chore(OMN-12403): add OCC contract for node_dod_verify receipt migration","url":"https://github.com/OmniNode-ai/onex_change_control/pull/1823"} +actual_output: "PASS: onex_change_control PR #1823 carries the OMN-12403 central contract and receipts." +exit_code: 0 +pr_number: 1823 +branch: "jonah/omn-12403-occ-contract-clean" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12403/onex_change_control" diff --git a/drift/dod_receipts/OMN-12403/dod-omnimarket-pr-974/command.yaml b/drift/dod_receipts/OMN-12403/dod-omnimarket-pr-974/command.yaml new file mode 100644 index 00000000000..368270dbeaa --- /dev/null +++ b/drift/dod_receipts/OMN-12403/dod-omnimarket-pr-974/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-12403" +evidence_item_id: "dod-omnimarket-pr-974" +check_type: "command" +check_value: "gh pr view 974 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +status: PASS +run_timestamp: "2026-05-28T21:55:07Z" +commit_sha: "01c1eafd3a05882979a8fb6f5ccac71cbd20c7f7" +runner: "codex" +contract_sha256: "sha256:749850eade7b19b9bdfadd887e101f3b96ee0a1d585ef17ec059a9fb346b216a" +verifier: "manual-merge-sweep" +probe_command: "gh pr view 974 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +probe_stdout: | + {"baseRefName":"dev","headRefName":"jonah/omn-12403-dod-receipt-modeldodreceipt","headRefOid":"01c1eafd3a05882979a8fb6f5ccac71cbd20c7f7","number":974,"state":"MERGED","title":"fix(OMN-12403): migrate node_dod_verify _build_receipt() to ModelDodReceipt","url":"https://github.com/OmniNode-ai/omnimarket/pull/974"} +actual_output: "PASS: omnimarket PR #974 carries the OMN-12403 ModelDodReceipt migration at head 01c1eafd3a05882979a8fb6f5ccac71cbd20c7f7." +exit_code: 0 +pr_number: 974 +branch: "jonah/omn-12403-dod-receipt-modeldodreceipt" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12403/omnimarket"