From cd2626612dcedb5021d17b0abb046b27e61c5f15 Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Sun, 24 May 2026 15:09:34 -0400 Subject: [PATCH] contracts(OMN-11932): add omnibase_core PR #1149 evidence - Adds OCC contract for OMN-11932 (typed LogicalModelKey/EndpointRef constants) - Binds omnibase_core PR #1149 at head fac7c2b9912ddf1ab1d196ef1a8980a820ce3acb - Records 10/10 unit tests passing for the new StrEnum constants --- contracts/OMN-11932.yaml | 29 +++++++++++++++- .../OMN-11932/dod-11932-tests/command.yaml | 33 +++++++++++++++++++ .../OMN-11932/dod-occ-pr/command.yaml | 20 +++++++++++ .../dod-omnibase-core-pr-1149/command.yaml | 24 ++++++++++++++ .../dod-omnimarket-pr-815/command.yaml | 2 +- 5 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 drift/dod_receipts/OMN-11932/dod-11932-tests/command.yaml create mode 100644 drift/dod_receipts/OMN-11932/dod-occ-pr/command.yaml create mode 100644 drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml diff --git a/contracts/OMN-11932.yaml b/contracts/OMN-11932.yaml index 98ce6c0128c..3c3b383e9a4 100644 --- a/contracts/OMN-11932.yaml +++ b/contracts/OMN-11932.yaml @@ -3,7 +3,8 @@ schema_version: "1.0.0" ticket_id: "OMN-11932" title: "Generate typed LLM routing constants" summary: > - Central OCC evidence for generated logical model key and endpoint ref constants in omnimarket. + Central OCC evidence for generated logical model key and endpoint ref constants across omnimarket and + omnibase_core. is_seam_ticket: false interface_change: true interfaces_touched: @@ -21,3 +22,29 @@ dod_evidence: - check_type: "command" check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-11932/dod-omnimarket-pr-815/command.yaml && grep -q '^pr_number: 815$' drift/dod_receipts/OMN-11932/dod-omnimarket-pr-815/command.yaml" + - id: "dod-11932-tests" + description: "10 unit tests pass covering LogicalModelKey and EndpointRef membership, round-trip, + attribute access, and no-empty-values invariants." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-11932/dod-11932-tests/command.yaml" + - id: "dod-omnibase-core-pr-1149" + description: "omnibase_core PR #1149 implements the generator script, generated constants, and CI + drift gate." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml + && grep -q '^pr_number: 1149$' drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml + && grep -q '^commit_sha: \"fac7c2b9912ddf1ab1d196ef1a8980a820ce3acb\"$' drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml" + - id: "dod-occ-pr" + description: "OCC PR #1544 carries the central OMN-11932 contract and receipts." + source: "manual" + status: "verified" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-11932/dod-occ-pr/command.yaml && + grep -q '^pr_number: 1544$' drift/dod_receipts/OMN-11932/dod-occ-pr/command.yaml" diff --git a/drift/dod_receipts/OMN-11932/dod-11932-tests/command.yaml b/drift/dod_receipts/OMN-11932/dod-11932-tests/command.yaml new file mode 100644 index 00000000000..55cd816abf4 --- /dev/null +++ b/drift/dod_receipts/OMN-11932/dod-11932-tests/command.yaml @@ -0,0 +1,33 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11932" +evidence_item_id: "dod-11932-tests" +check_type: "command" +check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11932/dod-11932-tests/command.yaml\"" +status: PASS +run_timestamp: "2026-05-24T19:00:00Z" +commit_sha: "fac7c2b9912ddf1ab1d196ef1a8980a820ce3acb" +contract_sha256: "sha256:717a5491754e74c8750e73a85ba83f1138ccd30bed83b06f74a3e48f4bc9d761" +runner: "local-occ-evidence" +verifier: "jonah" +probe_command: "uv run pytest tests/unit/constants/test_constants_llm_refs.py -v --tb=short" +probe_stdout: | + collected 10 items + + tests/unit/constants/test_constants_llm_refs.py::TestLogicalModelKey::test_all_registry_models_present PASSED + tests/unit/constants/test_constants_llm_refs.py::TestEndpointRef::test_all_running_slots_present PASSED + tests/unit/constants/test_constants_llm_refs.py::TestLogicalModelKey::test_can_round_trip_from_string PASSED + tests/unit/constants/test_constants_llm_refs.py::TestEndpointRef::test_can_round_trip_from_string PASSED + tests/unit/constants/test_constants_llm_refs.py::TestLogicalModelKey::test_known_model_key_by_attribute PASSED + tests/unit/constants/test_constants_llm_refs.py::TestEndpointRef::test_known_slot_by_attribute PASSED + tests/unit/constants/test_constants_llm_refs.py::TestLogicalModelKey::test_no_empty_values PASSED + tests/unit/constants/test_constants_llm_refs.py::TestEndpointRef::test_no_empty_values PASSED + tests/unit/constants/test_constants_llm_refs.py::TestLogicalModelKey::test_values_are_strings PASSED + tests/unit/constants/test_constants_llm_refs.py::TestEndpointRef::test_values_are_strings PASSED + + 10 passed in 0.56s +actual_output: "PASS: 10/10 unit tests pass for LogicalModelKey and EndpointRef StrEnum constants." +exit_code: 0 +pr_number: 1149 +branch: "jonah/omn-11932-generate-typed-logical-model-key-and-endpoint-ref" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11932/omnibase_core" diff --git a/drift/dod_receipts/OMN-11932/dod-occ-pr/command.yaml b/drift/dod_receipts/OMN-11932/dod-occ-pr/command.yaml new file mode 100644 index 00000000000..0fb2878c5e0 --- /dev/null +++ b/drift/dod_receipts/OMN-11932/dod-occ-pr/command.yaml @@ -0,0 +1,20 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11932" +evidence_item_id: "dod-occ-pr" +check_type: "command" +check_value: "gh pr view 1544 --repo OmniNode-ai/onex_change_control --json number,headRefName,title,state,headRefOid" +status: PASS +run_timestamp: "2026-05-24T19:27:16Z" +commit_sha: "78b86382f07f377093d9d0d824f8ca10757fc892" +contract_sha256: "sha256:717a5491754e74c8750e73a85ba83f1138ccd30bed83b06f74a3e48f4bc9d761" +runner: "codex-local" +verifier: "codex" +probe_command: "gh pr view 1544 --repo OmniNode-ai/onex_change_control --json number,headRefName,title,state,headRefOid" +probe_stdout: | + {"headRefName":"jonah/omn-11932-occ-evidence","headRefOid":"78b86382f07f377093d9d0d824f8ca10757fc892","number":1544,"state":"OPEN","title":"contracts(OMN-11932): add omnibase_core PR #1149 evidence"} +actual_output: "PASS: onex_change_control PR #1544 carries the central OMN-11932 contract and receipts." +exit_code: 0 +pr_number: 1544 +branch: "jonah/omn-11932-occ-evidence" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11932/onex_change_control" diff --git a/drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml b/drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml new file mode 100644 index 00000000000..b47dfed7def --- /dev/null +++ b/drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml @@ -0,0 +1,24 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11932" +evidence_item_id: "dod-omnibase-core-pr-1149" +check_type: "command" +check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml\" + && grep -q '^pr_number: 1149$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml\" + && grep -q '^commit_sha: \"fac7c2b9912ddf1ab1d196ef1a8980a820ce3acb\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11932/dod-omnibase-core-pr-1149/command.yaml\"" +status: PASS +run_timestamp: "2026-05-24T19:00:00Z" +commit_sha: "fac7c2b9912ddf1ab1d196ef1a8980a820ce3acb" +contract_sha256: "sha256:717a5491754e74c8750e73a85ba83f1138ccd30bed83b06f74a3e48f4bc9d761" +runner: "local-occ-evidence" +verifier: "jonah" +probe_command: "gh pr view 1149 --repo OmniNode-ai/omnibase_core --json number,url,headRefOid,headRefName,title,state,baseRefName + --jq ." +probe_stdout: | + {"baseRefName":"main","headRefName":"jonah/omn-11932-generate-typed-logical-model-key-and-endpoint-ref","headRefOid":"fac7c2b9912ddf1ab1d196ef1a8980a820ce3acb","number":1149,"state":"OPEN","title":"feat(OMN-11932): generate typed LogicalModelKey and EndpointRef constants","url":"https://github.com/OmniNode-ai/omnibase_core/pull/1149"} +actual_output: "PASS: omnibase_core PR #1149 implements generator script, generated constants module, + CI drift gate, and 10 unit tests for OMN-11932." +exit_code: 0 +pr_number: 1149 +branch: "jonah/omn-11932-generate-typed-logical-model-key-and-endpoint-ref" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11932/omnibase_core" diff --git a/drift/dod_receipts/OMN-11932/dod-omnimarket-pr-815/command.yaml b/drift/dod_receipts/OMN-11932/dod-omnimarket-pr-815/command.yaml index a5d9b24d101..29f3d847960 100644 --- a/drift/dod_receipts/OMN-11932/dod-omnimarket-pr-815/command.yaml +++ b/drift/dod_receipts/OMN-11932/dod-omnimarket-pr-815/command.yaml @@ -7,7 +7,7 @@ check_value: "gh pr view 815 --repo OmniNode-ai/omnimarket --json number,state,h status: PASS run_timestamp: "2026-05-24T18:12:00Z" commit_sha: "d2b5854298b192a59a10464329dd4726f16718df" -contract_sha256: "sha256:dc5a9ef06c6a62d1a0bab363ff4ce799eeead31a82c74bf92db6295a7f9cf2c6" +contract_sha256: "sha256:717a5491754e74c8750e73a85ba83f1138ccd30bed83b06f74a3e48f4bc9d761" runner: "codex" verifier: "receipt-gate-local" probe_command: "gh pr view 815 --repo OmniNode-ai/omnimarket --json number,state,headRefOid"