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
56 changes: 56 additions & 0 deletions contracts/OMN-12545.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12545"
title: "Consolidate duplicated dispatch enums to single CORE EnumDispatchStatus copy"
summary: >-
Binds central OCC evidence for omnibase_core PR #1187, which merges the two infra-only members (NO_DISPATCHER,
INTERNAL_ERROR) from the duplicate omnibase_infra.enums.enum_dispatch_status into the canonical core
EnumDispatchStatus and wires them into is_terminal/is_error/get_description. The change is purely additive:
no existing member, string value, or helper-method result changes, so the core enum becomes a lossless
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.
is_seam_ticket: false
interface_change: false
interfaces_touched: []
evidence_requirements:
- kind: "tests"
description: "EnumDispatchStatus unit test reflects the 10-member superset and exhaustive classification;
core dispatch consumers stay green."
command: "uv run pytest tests/unit/enums/test_enum_dispatch_status.py -v"
- kind: "ci"
description: "omnibase_core PR #1187 CI green across required gates."
command: "gh pr checks 1187 --repo OmniNode-ai/omnibase_core --watch"
dod_evidence:
- id: "dod-core-pr-1187"
description: "Bind OMN-12545 evidence to omnibase_core PR #1187 at the observed PR head."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml\"
&& grep -q '^pr_number: 1187$' \"drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml\"
&& grep -q '^commit_sha: \"12ed4fecff03245e05253c630adc6742c4743f73\"$' \"drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml\""
- id: "dod-deploy-assessment"
description: "Behavior-preserving additive enum consolidation requires CI and receipt-gate validation
but no live deploy before merge."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"drift/dod_receipts/OMN-12545/dod-deploy-assessment/command.yaml\"
&& grep -q 'deploy gate' \"drift/dod_receipts/OMN-12545/dod-deploy-assessment/command.yaml\""
- id: "dod-occ-pr"
description: "Bind OMN-12545 central evidence to this onex_change_control PR."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml\""
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
28 changes: 28 additions & 0 deletions drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12545"
evidence_item_id: "dod-core-pr-1187"
check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml\"
&& grep -q '^pr_number: 1187$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml\"
&& grep -q '^commit_sha: \"12ed4fecff03245e05253c630adc6742c4743f73\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12545/dod-core-pr-1187/command.yaml\""
status: PASS
run_timestamp: "2026-05-31T12:57:40Z"
commit_sha: "12ed4fecff03245e05253c630adc6742c4743f73"
contract_sha256: "sha256:ba5f84cb0c6389457d0deb8ddca50525a0812d2e0642d5afd15291f342151b73"
runner: "claude-code-occ-evidence"
verifier: "jonah"
probe_command: "gh pr view 1187 --repo OmniNode-ai/omnibase_core --json number,url,headRefOid,headRefName,title,state,baseRefName
--jq ."
probe_stdout: |
{"baseRefName":"dev","headRefName":"jonahgabriel/omn-12545-consolidate-dispatch-enums-route","headRefOid":"12ed4fecff03245e05253c630adc6742c4743f73","number":1187,"state":"OPEN","title":"refactor(OMN-12545): merge infra-only EnumDispatchStatus members into canonical core copy","url":"https://github.com/OmniNode-ai/omnibase_core/pull/1187"}
actual_output: "PASS: omnibase_core PR #1187 carries the OMN-12545 EnumDispatchStatus superset merge at
head 12ed4fecff03245e05253c630adc6742c4743f73. EnumDispatchStatus now has 10 members (NO_DISPATCHER
and INTERNAL_ERROR added from the deleted infra dup). test_enum_dispatch_status.py: 24 passed. Core
dispatch consumers green: test_message_dispatch_engine.py + test_handler_registry.py (145 passed). enums
+ dispatch-model trees: 4241 passed, 1 skipped. ruff format+check clean; mypy --strict clean on the
changed enum (2 pre-existing contract_loader.py errors confirmed identical on the pristine dev base)."
exit_code: 0
pr_number: 1187
branch: "jonahgabriel/omn-12545-consolidate-dispatch-enums-route"
working_dir: "/Users/jonah/Code/omni_worktrees/OMN-12545/omnibase_core"
30 changes: 30 additions & 0 deletions drift/dod_receipts/OMN-12545/dod-deploy-assessment/command.yaml
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-deploy-assessment"
check_type: "command"
check_value: "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,
or rpk topic produce is required before merge'"
status: PASS
run_timestamp: "2026-05-31T12:57:40Z"
commit_sha: "12ed4fecff03245e05253c630adc6742c4743f73"
contract_sha256: "sha256:ba5f84cb0c6389457d0deb8ddca50525a0812d2e0642d5afd15291f342151b73"
runner: "claude-code-occ-evidence"
verifier: "jonah"
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,
or rpk topic produce is required before merge'"
probe_stdout: |
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, or rpk topic produce is required before merge
actual_output: "PASS: no live deploy required before merge. OMN-12545 adds two enum members to the canonical
core EnumDispatchStatus and wires them into is_terminal/is_error/get_description, matching the classification
of the now-deletable infra dup. String values are unchanged and the change is purely additive, so existing
producers/consumers and on-the-wire status strings are unaffected. Validated by PR #1187 CI and the
dod-core-pr-1187 receipt."
exit_code: 0
pr_number: 1187
branch: "jonahgabriel/omn-12545-consolidate-dispatch-enums-route"
working_dir: "/Users/jonah/Code/omni_worktrees/OMN-12545/omnibase_core"
23 changes: 23 additions & 0 deletions drift/dod_receipts/OMN-12545/dod-occ-pr/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
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\""
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
--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."
exit_code: 0
pr_number: 2000
branch: "jonahgabriel/omn-12545-evidence"
working_dir: "/Users/jonah/Code/omni_worktrees/OMN-12545/onex_change_control"
Loading