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
55 changes: 55 additions & 0 deletions contracts/OMN-13020.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-13020"
title: "Vendor missing node migrations — llm_routing 0000 + context_roi 001 (prod forward-migration exit
3)"
summary: >
Prod forward-migration (omnibase-infra-prod-forward-migration) exited 3 at 2026-06-11T09:35:52Z on node_projection_llm_routing/0001_create_routing_dashboard_projection_view.sql:135
— relation "llm_routing_decisions" does not exist. The 0001 VIEW applies against NODE_POSTGRES_DB=omnidash_analytics,
where the base table (created by flat infra 065 only in the omnibase_infra DB) never existed. The self-contained
base-table migration node_projection_llm_routing/0000_create_llm_routing_decisions.sql existed in omnimarket
dev source (omnimarket #1168 / OMN-12942, merge ed6734f8) and as untracked hot-patch residue on the
.201 stability clone, but in NO omnibase_infra ref — every clean build reproduced the prod failure by
construction. Same class: node_projection_context_roi/001 (omnimarket #1178 / OMN-12955, merge 5010b1f4)
was never vendored either. omnibase_infra PR #1956 vendors both files via the canonical mechanism (scripts/sync-node-migrations.sh,
OMN-12559), byte-identical to the omnimarket dev blobs (sha256 f8a8b339... / c4126e65...). SQL-only
additive change; all statements IF NOT EXISTS; 0000 sorts lexically before 0001 inside the namespaced
node:<node>:<file> identity space — no flat-sequence renumber. Root-cause gate gap (sync --check skips
when omnimarket source is unresolvable on the runner) is recorded on the ticket; migration-gate sentinel
vacuity is OMN-13062.
is_seam_ticket: false
interface_change: false
interfaces_touched: []
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-infra-pr-1956"
description: >
omnibase_infra PR #1956 (base=dev) adds both vendored migration files, produced by scripts/sync-node-migrations.sh
against omnimarket@dev (dcd3ead5) and byte-identical to the omnimarket dev blobs and the .201 stability-clone
hot-patch copies (sha256 f8a8b339953a15f9b8d7e1fdc980b01a352835b466e14941c416649892f577db and c4126e65c943cdd774513c3241070cd3ccdd567699512f562c12a77bd6c05f52).
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-13020/dod-infra-pr-1956/command.yaml
&& grep -q '^pr_number: 1956$' drift/dod_receipts/OMN-13020/dod-infra-pr-1956/command.yaml"
- id: "dod-focused-checks"
description: >
Migration-sequence validator exits 0 and sync-node-migrations.sh --check reports in-sync after vendoring;
ruff format/check clean; mypy src/ --strict Success (2418 files); full pytest suite (no -k filter,
-n 8) 23846 passed / 381 skipped with remaining F/E confined to live-infra-dependent integration/performance
surfaces and xdist logging-capture flakes on a 2-SQL-file diff (test_util_db_transaction passes
serially; test_receipt_gate_install_guard reproduces on byte-identical dev-tip content).
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-13020/dod-focused-checks/command.yaml"
- id: "dod-occ-pr-2541"
description: "onex_change_control PR #2541 carries the OMN-13020 central contract and receipt evidence."
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-13020/dod-occ-pr-2541/command.yaml
&& grep -q '^pr_number: 2541$' drift/dod_receipts/OMN-13020/dod-occ-pr-2541/command.yaml"
27 changes: 27 additions & 0 deletions drift/dod_receipts/OMN-13020/dod-focused-checks/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-13020"
evidence_item_id: "dod-focused-checks"
check_type: "command"
check_value: "uv run python scripts/validation/validate_migration_sequence.py && uv run mypy src/ --strict
&& uv run ruff check src/ tests/"
status: PASS
run_timestamp: "2026-06-12T07:33:00Z"
commit_sha: "20c22f813105718e1d75752c04794cc8897baf9b"
runner: "claude-p4-prod-migration-lane"
verifier: "receipt-gate-local"
probe_command: "uv run python scripts/validation/validate_migration_sequence.py; echo validator_exit=$?"
probe_stdout: |
validator_exit=0
actual_output: "PASS: migration-sequence validator exit 0 on the vendored tree; ruff format/check clean
(4063 files unchanged, All checks passed!); mypy src/ --strict Success (2418 files). Full no-filter
suite also run for context (uv run pytest tests/ -n 8, exited nonzero): 23846 passed / 381 skipped /
16 failed / 79 errors in 617.99s — every F/E is in live-infra-dependent integration/performance surfaces
(Kafka/Postgres/runtime/LLM endpoints not running locally) or xdist logging-capture flakes (test_util_db_transaction
passes serially: 36 passed), plus tests/ci/test_receipt_gate_install_guard.py which fails on workflow
content byte-identical to origin/dev (git diff origin/dev on the asserted files = empty) — pre-existing
dev-baseline, unreachable from this 2-SQL-file additive diff. Full log: omni_home/docs/evidence/2026-06-12-dev-integration-pass/P4-prod-migration/02-pytest-full-suite.log"
exit_code: 0
contract_sha256: "sha256:6299b6df0cc1abd8970269a1a5ed5938f0c49946cb120afbd81fb32575825f4a"
pr_number: 1956
branch: "jonah/omn-13020-vendor-node-migrations"
32 changes: 32 additions & 0 deletions drift/dod_receipts/OMN-13020/dod-infra-pr-1956/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-13020"
evidence_item_id: "dod-infra-pr-1956"
check_type: "command"
check_value: "shasum -a 256 docker/migrations/forward/nodes/node_projection_llm_routing/0000_create_llm_routing_decisions.sql
docker/migrations/forward/nodes/node_projection_context_roi/001_create_context_roi_scores.sql && uv
run python scripts/validation/validate_migration_sequence.py && OMNIMARKET_SRC=<omnimarket@dcd3ead5>
bash scripts/sync-node-migrations.sh --check"
status: PASS
run_timestamp: "2026-06-12T07:31:32Z"
commit_sha: "20c22f813105718e1d75752c04794cc8897baf9b"
runner: "claude-p4-prod-migration-lane"
verifier: "receipt-gate-local"
probe_command: "shasum -a 256 docker/migrations/forward/nodes/node_projection_llm_routing/0000_create_llm_routing_decisions.sql
docker/migrations/forward/nodes/node_projection_context_roi/001_create_context_roi_scores.sql && uv
run python scripts/validation/validate_migration_sequence.py; echo exit=$? && OMNIMARKET_SRC=$OMNI_HOME/omni_worktrees/OMN-13020/omnimarket-src
bash scripts/sync-node-migrations.sh --check"
probe_stdout: |
f8a8b339953a15f9b8d7e1fdc980b01a352835b466e14941c416649892f577db docker/migrations/forward/nodes/node_projection_llm_routing/0000_create_llm_routing_decisions.sql
c4126e65c943cdd774513c3241070cd3ccdd567699512f562c12a77bd6c05f52 docker/migrations/forward/nodes/node_projection_context_roi/001_create_context_roi_scores.sql
validator exit: 0
[sync-node-migrations] check: in sync.
sync --check exit: 0
actual_output: "PASS: both vendored files byte-identical to omnimarket dev blobs (git cat-file sha256
match: f8a8b339... for 0000, c4126e65... for context_roi 001) and to the .201 stability-clone untracked
copies; migration-sequence validator exit 0; sync-node-migrations.sh --check in sync after vendoring.
PR #1956 base=dev, head 20c22f813, rebased on infra dev tip 1e4cfa380."
exit_code: 0
contract_sha256: "sha256:6299b6df0cc1abd8970269a1a5ed5938f0c49946cb120afbd81fb32575825f4a"
pr_number: 1956
branch: "jonah/omn-13020-vendor-node-migrations"
20 changes: 20 additions & 0 deletions drift/dod_receipts/OMN-13020/dod-occ-pr-2541/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-13020"
evidence_item_id: "dod-occ-pr-2541"
check_type: "command"
check_value: "gh pr view 2541 --repo OmniNode-ai/onex_change_control --json state,baseRefName,headRefOid"
status: PASS
run_timestamp: "2026-06-12T07:34:40Z"
commit_sha: "8816eb03c"
runner: "codex-merge-sweep"
verifier: "receipt-gate-local"
probe_command: "gh pr view 2541 --repo OmniNode-ai/onex_change_control --json state,baseRefName,headRefOid"
probe_stdout: |
{"baseRefName":"dev","headRefOid":"8816eb03c","state":"OPEN"}
actual_output: "PASS: onex_change_control PR #2541 is open against dev and carries OMN-13020 central OCC
evidence for omnibase_infra PR #1956."
exit_code: 0
contract_sha256: "sha256:6299b6df0cc1abd8970269a1a5ed5938f0c49946cb120afbd81fb32575825f4a"
pr_number: 2541
branch: "jonah/omn-13020-occ-evidence"
Loading