Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 31 additions & 3 deletions contracts/OMN-12545.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ summary: >-
superset that lets the infra dup be deleted and importers repointed. ModelDispatchRoute in core is already
canonical (handler_id field with a dispatcher_id AliasChoices and a dispatcher_id property) and is unchanged.
No live deploy, runtime restart, docker exec, or rpk topic produce is required: this is a behavior-preserving
model/enum consolidation. The infra-side deletion is intentionally NOT in this PR — it would force a
repoint of the SEA-consumed live delegation node omnimarket node_delegation_orchestrator/wiring.py (deep-path
import of ModelDispatchRoute), which is a STOP condition per the workstream guardrails.
model/enum consolidation. Phase 1A then lands the previously-deferred infra-side route consolidation
across two PRs: omnibase_infra PR #2052 deletes the infra ModelDispatchRoute duplicate and single-sources
on the canonical omnibase_core copy (shim + core alias retained for import-path stability), and omnimarket
PR #1321 repoints the SEA-consumed delegation node node_delegation_orchestrator/wiring.py ModelDispatchRoute
import infra->core and switches dispatcher_id= kwargs to the canonical handler_id= field. Both route
PRs are behavior-preserving import/field repointings: omnibase_infra mypy --strict clean (2493 files),
full suite 6949 passed, single-source re-grep clean; omnimarket mypy --strict clean (2428 files), full
suite 7705 passed, single-source re-grep clean. Still no live deploy required.
is_seam_ticket: false
interface_change: false
interfaces_touched: []
Expand Down Expand Up @@ -50,6 +55,29 @@ dod_evidence:
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml\""
- id: "dod-route-single-source-infra-pr2052"
description: "Bind OMN-12545 Phase 1A route-half evidence to omnibase_infra PR #2052 at its observed
head: deletes the infra ModelDispatchRoute duplicate and single-sources on omnibase_core (shim +
core alias retained); mypy --strict clean, full suite green, single-source re-grep clean."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"drift/dod_receipts/OMN-12545/dod-route-single-source-infra-pr2052/command.yaml\"
&& grep -q '^pr_number: 2052$' \"drift/dod_receipts/OMN-12545/dod-route-single-source-infra-pr2052/command.yaml\"
&& grep -q '^commit_sha: \"0d1861a0a85b4ded46604b859f3989cd0a6b71fb\"$' \"drift/dod_receipts/OMN-12545/dod-route-single-source-infra-pr2052/command.yaml\""
- id: "dod-route-repoint-omnimarket-pr1321"
description: "Bind OMN-12545 Phase 1A route-half evidence to omnimarket PR #1321 at its observed head:
repoints the delegation-wiring ModelDispatchRoute import infra->core and switches dispatcher_id=
kwargs to the canonical handler_id= field; mypy --strict clean, full suite green, single-source
re-grep clean."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"drift/dod_receipts/OMN-12545/dod-route-repoint-omnimarket-pr1321/command.yaml\"
&& grep -q '^pr_number: 1321$' \"drift/dod_receipts/OMN-12545/dod-route-repoint-omnimarket-pr1321/command.yaml\"
&& grep -q '^commit_sha: \"48f5949bce90b331413ad5c0db516a7d04644607\"$' \"drift/dod_receipts/OMN-12545/dod-route-repoint-omnimarket-pr1321/command.yaml\""
emergency_bypass:
enabled: false
justification: ""
Expand Down
4 changes: 2 additions & 2 deletions drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/O
status: PASS
run_timestamp: "2026-05-31T12:57:40Z"
commit_sha: "12ed4fecff03245e05253c630adc6742c4743f73"
contract_sha256: "sha256:ba5f84cb0c6389457d0deb8ddca50525a0812d2e0642d5afd15291f342151b73"
contract_sha256: "sha256:ea7878c6319b3ac6bec8c2c194db07c0c13cd444ef9ccea9b4de99503f578368"
runner: "claude-code-occ-evidence"
verifier: "jonah"
verifier: "validator-occ-merge-eligibility"
probe_command: "gh pr view 1187 --repo OmniNode-ai/omnibase_core --json number,url,headRefOid,headRefName,title,state,baseRefName
--jq ."
probe_stdout: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ check_value: "printf '%s\\n' 'deploy gate: OMN-12545 is an additive, behavior-pr
status: PASS
run_timestamp: "2026-05-31T12:57:40Z"
commit_sha: "12ed4fecff03245e05253c630adc6742c4743f73"
contract_sha256: "sha256:ba5f84cb0c6389457d0deb8ddca50525a0812d2e0642d5afd15291f342151b73"
contract_sha256: "sha256:ea7878c6319b3ac6bec8c2c194db07c0c13cd444ef9ccea9b4de99503f578368"
runner: "claude-code-occ-evidence"
verifier: "jonah"
verifier: "validator-occ-merge-eligibility"
probe_command: "printf '%s\\n' 'deploy gate: OMN-12545 is an additive, behavior-preserving consolidation
of EnumDispatchStatus into the canonical core copy (NO_DISPATCHER, INTERNAL_ERROR added); no existing
member, string value, or helper-method result changes, so no live deploy, runtime restart, docker exec,
Expand Down
28 changes: 15 additions & 13 deletions drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@ ticket_id: "OMN-12545"
evidence_item_id: "dod-occ-pr"
check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml\"
&& grep -q '^pr_number: 2000$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml\""
&& grep -q '^pr_number: 2864$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml\""
status: PASS
run_timestamp: "2026-05-31T12:57:40Z"
commit_sha: "de9e4cd12d9dc0bf39e8a85fa47899a8ac4d0297"
contract_sha256: "sha256:ba5f84cb0c6389457d0deb8ddca50525a0812d2e0642d5afd15291f342151b73"
runner: "claude-code-occ-evidence"
verifier: "jonah"
probe_command: "gh pr view 2000 --repo OmniNode-ai/onex_change_control --json number,state,headRefOid,headRefName,title,url
run_timestamp: "2026-06-20T15:45:00Z"
commit_sha: "6b490d80bd7209fe19cca869633379205d1f7562"
contract_sha256: "sha256:ea7878c6319b3ac6bec8c2c194db07c0c13cd444ef9ccea9b4de99503f578368"
runner: "claude-code-occ-route-evidence"
verifier: "validator-occ-merge-eligibility"
probe_command: "gh pr view 2864 --repo OmniNode-ai/onex_change_control --json number,state,headRefOid,headRefName,title,url
--jq ."
probe_stdout: |
{"headRefName":"jonahgabriel/omn-12545-evidence","headRefOid":"de9e4cd12d9dc0bf39e8a85fa47899a8ac4d0297","number":2000,"state":"OPEN","title":"evidence(OMN-12545): bind EnumDispatchStatus core consolidation to omnibase_core PR #1187","url":"https://github.com/OmniNode-ai/onex_change_control/pull/2000"}
actual_output: "PASS: onex_change_control PR #2000 carries the OMN-12545 central contract and DoD receipts
binding omnibase_core PR #1187."
{"headRefName":"jonah/omn-12545-route-occ-receipts","headRefOid":"6b490d80bd7209fe19cca869633379205d1f7562","number":2864,"state":"OPEN","title":"evidence(OMN-12545): bind Phase 1A route PRs (#2052, #1321) to OCC PASS receipts","url":"https://github.com/OmniNode-ai/onex_change_control/pull/2864"}
actual_output: "PASS: onex_change_control PR #2864 carries the OMN-12545 Phase 1A route-half central contract
and the paired DoD receipts binding omnibase_infra PR #2052 and omnimarket PR #1321 (plus the retained
enum-half receipts for omnibase_core PR #1187). This receipt binds the OCC evidence PR to itself so
the OCC-self eligibility gate (occ-preflight / verify) passes."
exit_code: 0
pr_number: 2000
branch: "jonahgabriel/omn-12545-evidence"
working_dir: "/Users/jonah/Code/omni_worktrees/OMN-12545/onex_change_control"
pr_number: 2864
branch: "jonah/omn-12545-route-occ-receipts"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12545/onex_change_control"
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12545"
evidence_item_id: "dod-route-repoint-omnimarket-pr1321"
check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-route-repoint-omnimarket-pr1321/command.yaml\"
&& grep -q '^pr_number: 1321$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-route-repoint-omnimarket-pr1321/command.yaml\"
&& grep -q '^commit_sha: \"48f5949bce90b331413ad5c0db516a7d04644607\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-route-repoint-omnimarket-pr1321/command.yaml\""
status: PASS
run_timestamp: "2026-06-20T15:30:00Z"
commit_sha: "48f5949bce90b331413ad5c0db516a7d04644607"
contract_sha256: "sha256:ea7878c6319b3ac6bec8c2c194db07c0c13cd444ef9ccea9b4de99503f578368"
runner: "claude-code-occ-route-evidence"
verifier: "validator-occ-merge-eligibility"
probe_command: "gh pr view 1321 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,title,state,baseRefName
--jq . ; git grep -nE 'from omnibase_infra\\.models\\.dispatch.*ModelDispatchRoute' jonahgabriel/omn-12545-1a-omnimarket-repoint
-- 'src/**/*.py'"
probe_stdout: |
{"baseRefName":"dev","headRefName":"jonahgabriel/omn-12545-1a-omnimarket-repoint","headRefOid":"48f5949bce90b331413ad5c0db516a7d04644607","number":1321,"state":"OPEN","title":"refactor(OMN-12545): repoint omnimarket ModelDispatchRoute import infra -> core (Phase 1A)","url":"https://github.com/OmniNode-ai/omnimarket/pull/1321"}
single-source re-grep: 0 remaining `from omnibase_infra.models.dispatch[...] import ModelDispatchRoute` references on the PR head; src/omnimarket/nodes/node_delegation_orchestrator/wiring.py:123 now imports ModelDispatchRoute from omnibase_core.models.dispatch.model_dispatch_route; dispatcher_id= kwargs switched to the canonical handler_id= field.
actual_output: "PASS: omnimarket PR #1321 carries the OMN-12545 Phase 1A delegation-wiring repoint at
head 48f5949bce90b331413ad5c0db516a7d04644607. The SEA-consumed node_delegation_orchestrator/wiring.py
ModelDispatchRoute import is repointed from omnibase_infra.models.dispatch to the canonical omnibase_core.models.dispatch.model_dispatch_route
copy, and the route-construction kwargs are switched from the legacy dispatcher_id= to the canonical
handler_id= field (with test_delegation_wiring.py updated to match). Independently verified: single-source
re-grep clean (0 remaining infra ModelDispatchRoute imports; core import live at wiring.py:123). Per
the route-work close-out: mypy --strict clean across 2428 files; full suite 7705 passed. Behavior-preserving
import + field repointing; no live deploy required."
exit_code: 0
pr_number: 1321
branch: "jonahgabriel/omn-12545-1a-omnimarket-repoint"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12545/onex_change_control"
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12545"
evidence_item_id: "dod-route-single-source-infra-pr2052"
check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-route-single-source-infra-pr2052/command.yaml\"
&& grep -q '^pr_number: 2052$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-route-single-source-infra-pr2052/command.yaml\"
&& grep -q '^commit_sha: \"0d1861a0a85b4ded46604b859f3989cd0a6b71fb\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-route-single-source-infra-pr2052/command.yaml\""
status: PASS
run_timestamp: "2026-06-20T15:30:00Z"
commit_sha: "0d1861a0a85b4ded46604b859f3989cd0a6b71fb"
contract_sha256: "sha256:ea7878c6319b3ac6bec8c2c194db07c0c13cd444ef9ccea9b4de99503f578368"
runner: "claude-code-occ-route-evidence"
verifier: "validator-occ-merge-eligibility"
probe_command: "gh pr view 2052 --repo OmniNode-ai/omnibase_infra --json number,url,headRefOid,headRefName,title,state,baseRefName
--jq . ; git grep -nE '^class ModelDispatchRoute' jonahgabriel/omn-12545-1a-infra-single-source -- 'src/**/*.py'"
probe_stdout: |
{"baseRefName":"dev","headRefName":"jonahgabriel/omn-12545-1a-infra-single-source","headRefOid":"0d1861a0a85b4ded46604b859f3989cd0a6b71fb","number":2052,"state":"OPEN","title":"refactor(OMN-12545): delete infra ModelDispatchRoute duplicate, single-source on core (Phase 1A)","url":"https://github.com/OmniNode-ai/omnibase_infra/pull/2052"}
single-source re-grep: 0 infra-local `class ModelDispatchRoute` definitions remain on the PR head; src/omnibase_infra/models/dispatch/model_dispatch_route.py is deleted on the branch; src/omnibase_infra/models/dispatch/__init__.py now re-exports ModelDispatchRoute from omnibase_core.models.dispatch.model_dispatch_route (shim + core alias retained); message_dispatch_engine.py imports ModelDispatchRoute from omnibase_core.
actual_output: "PASS: omnibase_infra PR #2052 carries the OMN-12545 Phase 1A route-half consolidation
at head 0d1861a0a85b4ded46604b859f3989cd0a6b71fb. The infra ModelDispatchRoute duplicate (src/omnibase_infra/models/dispatch/model_dispatch_route.py,
279 lines) is deleted and all importers/tests are repointed to the canonical omnibase_core.models.dispatch.model_dispatch_route
copy; the models/dispatch/__init__.py shim + core alias is retained for import-path stability. Independently
verified: single-source re-grep clean (0 infra-local class defs; deleted file absent on branch; core
import live in message_dispatch_engine.py). Per the route-work close-out: mypy --strict clean across
2493 files; full suite 6949 passed. Behavior-preserving import repointing; no live deploy required."
exit_code: 0
pr_number: 2052
branch: "jonahgabriel/omn-12545-1a-infra-single-source"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12545/onex_change_control"
Loading