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
51 changes: 38 additions & 13 deletions contracts/OMN-12587.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,31 +63,56 @@ dod_evidence:
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-stability-overlay-pr-201/command.yaml"
&& grep -q '^pr_number: 201$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-stability-overlay-pr-201/command.yaml"
&& grep -q '^commit_sha: "d6f7e7645baa939b691dbee8a5b2bd30495a01ce"$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-stability-overlay-pr-201/command.yaml"
- id: "dod-occ-self-bind"
- id: "dod-sea-live-unblock-pr-202"
description: >
OCC PR carries the OMN-12587 central contract + receipts and binds to itself so the OCC-first merge-eligibility
gate can verify the evidence is present on the OCC head before merge.
onex-self-extending-agent PR #202 lands the fix that truly unblocks SEA live delegation, found by
a live proof on the stability-test lane. DEFECT 1: _KafkaStabilityTransport.close() called EventBusKafka.stop()
(no such method; EventBusKafka exposes close()), crashing every live delegation round-trip at teardown
— fixed to close(), with a REAL-API regression test that constructs a real EventBusKafka and asserts
the adapter only calls methods that exist on it (fails on the old stop() code, closes the stub-hides-API-drift
gap). DEFECT 2: the model registry pinned local inference at localhost:8000 (unreachable off-host),
skipping Track-B — added the documented SEA_LOCAL_INFERENCE_BASE_URL env seam that rewrites local_vllm
endpoint hosts (path/cloud preserved; explicit overlay endpoint wins). DEFECT 3: the delegation
effect appends /v1/chat/completions to intent.base_url but SEA endpoints declare the full URL (404
double-path) — InferenceClient.infer now normalizes base_url to its origin. Proven green by the
new unit tests, full pytest (no -k), mypy --strict, ruff, and pre-commit (incl. the OMN-12608 inference-architecture
guard + OMN-12609 architecture-verdict).
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-occ-self-bind/command.yaml"
&& grep -q '^pr_number: 2101$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-occ-self-bind/command.yaml"
- id: "dod-sea-live-unblock-pr-202"
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml"
&& grep -q '^pr_number: 202$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml"
&& grep -q '^commit_sha: "a4a2236eaeef69481e16dafc100be6e7db20c119"$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml"
- id: "dod-sea-live-delegation-reproof"
description: >
onex-self-extending-agent PR #202 carries the follow-up live delegation unblock for OMN-12587: real
EventBusKafka teardown uses close(), off-host local inference can be pointed at the .201 origin,
and inference base_url is normalized before the omnimarket delegation effect appends the chat path.
The PR includes live re-proof evidence and targeted regressions for those three live-only defects.
Live re-proof (WITH the committed fix) of one delegation inference round-trip on the stability-test
lane, inference pointed at the .201 vLLM (192.168.86.201:8000, Qwen3.6-35B-A3B), under the brew
interpreter (CLAUDE.md Rule 11). The real CLI seam (registry endpoint -> InferenceClient -> real
StabilityDelegationBus -> .201 broker -> live node_llm_delegation_call_effect -> .201 vLLM) returned
correlation_id 4095e6d6-ea09-4d2f-a7ac-5d9d1b5db387 on response topic onex.evt.omnibase-infra.inference-response.v1
(request topic onex.cmd.omnibase-infra.delegation-inference-request.v1), model_used=Qwen3.6-35B-A3B,
real token usage, error='', real model output. The transport completed start/arm/publish/await/close()
— the old stop() would have crashed at teardown.
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml"
&& grep -q '^pr_number: 202$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml"
&& grep -q '^commit_sha: "a4a2236eaeef69481e16dafc100be6e7db20c119"$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml"
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-delegation-reproof/command.yaml"
&& grep -q 'correlation_id=4095e6d6-ea09-4d2f-a7ac-5d9d1b5db387' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-sea-live-delegation-reproof/command.yaml"
- id: "dod-occ-self-bind"
description: >
OCC PR carries the OMN-12587 central contract + receipts and binds to itself so the OCC-first merge-eligibility
gate can verify the evidence is present on the OCC head before merge.
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-occ-self-bind/command.yaml"
&& grep -q '^pr_number: 2106$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12587/dod-occ-self-bind/command.yaml"
- id: "dod-occ-pr-2104"
description: "onex_change_control PR #2104 carries the central evidence update for OMN-12587 PR #202."
source: "manual"
Expand Down
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-12587/dod-occ-pr-2104/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ticket_id: "OMN-12587"
evidence_item_id: "dod-occ-pr-2104"
check_type: "command"
check_value: "gh pr view 2104 --repo OmniNode-ai/onex_change_control --json number,headRefOid,headRefName,title,state,files"
contract_sha256: "sha256:19fd8aa672eaeec2b13fab5401bbc7a8e56792c9ceb2317e5b74bc43edb0c913"
contract_sha256: "sha256:9a8fa577d57ac719299eaf46a59dceddbddd41f2c42b86c6a96072b9efe39588"
status: PASS
run_timestamp: "2026-06-02T19:31:00Z"
commit_sha: "474b504bf9f4c019a171eb3ac2eb1836bb60f33f"
Expand Down
27 changes: 15 additions & 12 deletions drift/dod_receipts/OMN-12587/dod-occ-self-bind/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,29 @@ schema_version: "1.0.0"
ticket_id: "OMN-12587"
evidence_item_id: "dod-occ-self-bind"
check_type: "command"
check_value: "gh pr view 2101 --repo OmniNode-ai/onex_change_control --json number,state,files"
contract_sha256: "sha256:19fd8aa672eaeec2b13fab5401bbc7a8e56792c9ceb2317e5b74bc43edb0c913"
check_value: "gh pr view 2106 --repo OmniNode-ai/onex_change_control --json number,state,files"
contract_sha256: "sha256:9a8fa577d57ac719299eaf46a59dceddbddd41f2c42b86c6a96072b9efe39588"
status: PASS
run_timestamp: "2026-06-02T15:32:00Z"
commit_sha: "e663a25eba4db809d0facd7bb9ca92cb194019d1"
branch: "jonah/omn-12587-occ-receipt"
pr_number: 2101
run_timestamp: "2026-06-02T19:20:00Z"
commit_sha: "da2ef092bbf44c040c74fcde7ad1606e9eb81062"
branch: "jonah/omn-12587-occ-fix-receipt"
pr_number: 2106
runner: "claude-code"
verifier: "jonah"
probe_command: "gh pr view 2101 --repo OmniNode-ai/onex_change_control --json number,state,files"
probe_command: "gh pr view 2106 --repo OmniNode-ai/onex_change_control --json number,state,files"
probe_stdout: |
number: 2101
number: 2106
state: OPEN
files:
- contracts/OMN-12587.yaml
- drift/dod_receipts/OMN-12587/dod-sea-stability-overlay-pr-201/command.yaml
- drift/dod_receipts/OMN-12587/dod-sea-live-unblock-pr-202/command.yaml
- drift/dod_receipts/OMN-12587/dod-sea-live-delegation-reproof/command.yaml
- drift/dod_receipts/OMN-12587/dod-occ-self-bind/command.yaml
actual_output: >-
PASS: OCC PR 2101 carries the OMN-12587 central contract and the SEA stability-overlay PR #201 receipt
plus this self-binding receipt, so the OCC-first merge-eligibility gate can verify the OMN-12587 evidence
is present on the OCC head before merge.
PASS: OCC PR 2106 carries the OMN-12587 central contract (extended with the SEA live-unblock fix PR
#202 and live-delegation-reproof evidence items) and the paired receipts plus this self-binding receipt,
so the OCC-first merge-eligibility gate can verify the OMN-12587 evidence is present on the OCC head
before merge.
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12587/onex_change_control"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12587-fix/onex_change_control"
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12587"
evidence_item_id: "dod-sea-live-delegation-reproof"
check_type: "command"
check_value: >-
env -u PYTHONPATH KAFKA_BOOTSTRAP_SERVERS=192.168.86.201:39092 KAFKA_API_VERSION=2.8.0 SEA_DELEGATION_BUS_BOOTSTRAP=src/contracts/delegation_bootstrap_overlay.stability-test.yaml
SEA_LOCAL_INFERENCE_BASE_URL=http://192.168.86.201:8000 /opt/homebrew/bin/python3.13 <real-seam>
contract_sha256: "sha256:9a8fa577d57ac719299eaf46a59dceddbddd41f2c42b86c6a96072b9efe39588"
status: PASS
run_timestamp: "2026-06-02T19:10:00Z"
commit_sha: "a4a2236eaeef69481e16dafc100be6e7db20c119"
branch: "jonah/omn-12587-sea-unblock"
runner: "claude-code"
verifier: "jonah"
probe_command: >-
env -u PYTHONPATH KAFKA_BOOTSTRAP_SERVERS=192.168.86.201:39092 KAFKA_API_VERSION=2.8.0 SEA_DELEGATION_BUS_BOOTSTRAP=src/contracts/delegation_bootstrap_overlay.stability-test.yaml
SEA_LOCAL_INFERENCE_BASE_URL=http://192.168.86.201:8000 brew-python3.13 <real CLI seam: load stability
overlay -> real StabilityDelegationBus -> InferenceClient.infer at .201:8000>
probe_stdout: |
local coding_primary endpoint_url resolved -> http://192.168.86.201:8000/v1/chat/completions (via SEA_LOCAL_INFERENCE_BASE_URL)
overlay lane=stability-test id=sea-delegation-bootstrap-stability-test
bus type=StabilityDelegationBus
request_topic=onex.cmd.omnibase-infra.delegation-inference-request.v1
response_topic=onex.evt.omnibase-infra.inference-response.v1
broker=192.168.86.201:39092 api_version=2.8.0
correlation_id=4095e6d6-ea09-4d2f-a7ac-5d9d1b5db387
RESULT correlation_id=4095e6d6-ea09-4d2f-a7ac-5d9d1b5db387
model_used=Qwen3.6-35B-A3B llm_call_id=chatcmpl-85c62a70f1db18f3
tokens prompt=32 completion=198 latency_ms=1138 error=''
MODEL OUTPUT SNIPPET: "Here's a thinking process: ... Formulate Response: The only acceptable response is PONG."
OK: real transport round-trip completed (start/arm/publish/await/close)
actual_output: >-
PASS: live re-proof WITH the committed fix. One delegation inference round-trip on the stability-test
lane, inference pointed at the .201 vLLM (192.168.86.201:8000, Qwen3.6-35B-A3B), under the brew interpreter
(CLAUDE.md Rule 11). The REAL CLI seam (registry endpoint -> InferenceClient -> real StabilityDelegationBus
-> .201 stability broker -> live node_llm_delegation_call_effect consumer -> .201 vLLM) published to
onex.cmd.omnibase-infra.delegation-inference-request.v1 and received the correlated response on onex.evt.omnibase-infra.inference-response.v1
with correlation_id 4095e6d6-ea09-4d2f-a7ac-5d9d1b5db387, model_used=Qwen3.6-35B-A3B, real token usage
(prompt=32, completion=198), latency 1138ms, error='', and real model output. The transport completed
start/arm/publish/await/close() — proving DEFECT 1 fixed (the old EventBusKafka.stop() would have crashed
at teardown), DEFECT 2 (SEA_LOCAL_INFERENCE_BASE_URL routed inference to .201:8000), and DEFECT 3 (origin
base_url avoids the /v1/chat/completions double-path 404). Evidence: docs/evidence/OMN-12587-live-delegation-reproof.md
in SEA PR #202.
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12587-fix/onex-self-extending-agent"
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,42 @@ schema_version: "1.0.0"
ticket_id: "OMN-12587"
evidence_item_id: "dod-sea-live-unblock-pr-202"
check_type: "command"
check_value: "gh pr view 202 --repo OmniNode-ai/onex-self-extending-agent --json number,headRefOid,headRefName,title,state,files"
contract_sha256: "sha256:19fd8aa672eaeec2b13fab5401bbc7a8e56792c9ceb2317e5b74bc43edb0c913"
check_value: "gh pr view 202 --repo OmniNode-ai/onex-self-extending-agent --json number,state,files"
contract_sha256: "sha256:9a8fa577d57ac719299eaf46a59dceddbddd41f2c42b86c6a96072b9efe39588"
status: PASS
run_timestamp: "2026-06-02T19:24:00Z"
run_timestamp: "2026-06-02T19:18:00Z"
commit_sha: "a4a2236eaeef69481e16dafc100be6e7db20c119"
branch: "jonah/omn-12587-sea-unblock"
pr_number: 202
runner: "codex"
runner: "claude-code"
verifier: "jonah"
probe_command: "gh pr view 202 --repo OmniNode-ai/onex-self-extending-agent --json number,url,headRefOid,headRefName,baseRefName,title,state"
probe_command: "gh pr view 202 --repo OmniNode-ai/onex-self-extending-agent --json number,state,files"
probe_stdout: |
{"baseRefName":"dev","headRefName":"jonah/omn-12587-sea-unblock","headRefOid":"a4a2236eaeef69481e16dafc100be6e7db20c119","number":202,"state":"OPEN","title":"fix(OMN-12587): unblock SEA live delegation — real EventBusKafka shutdown, off-host inference seam, base_url origin","url":"https://github.com/OmniNode-ai/onex-self-extending-agent/pull/202"}
number: 202
state: OPEN
files:
- CLAUDE.md
- docs/evidence/OMN-12587-live-delegation-reproof.md
- pyproject.toml
- src/contracts/model_registry.local.yaml.example
- src/contracts/model_registry.py
- src/pipeline/delegation_bus_stability.py
- src/pipeline/inference.py
- tests/unit/test_delegation_bus_stability.py
- tests/unit/test_inference_bootstrap.py
- tests/unit/test_model_registry_contract.py
actual_output: >-
PASS: onex-self-extending-agent PR #202 carries the OMN-12587 live delegation unblock follow-up. The
PR fixes the real EventBusKafka close surface, adds SEA_LOCAL_INFERENCE_BASE_URL for off-host local
inference, normalizes inference base_url to origin before omnimarket appends /v1/chat/completions, and
records the live stability-lane re-proof in docs/evidence/OMN-12587-live-delegation-reproof.md.
PASS: onex-self-extending-agent PR #202 lands the fix that truly unblocks SEA live delegation. DEFECT
1 (hard crash): _KafkaStabilityTransport.close() called EventBusKafka.stop() — no such method; EventBusKafka
exposes close()/shutdown() — crashing every live delegation round-trip at teardown. Fixed to close();
TestKafkaTransportRealApiSurface constructs a real EventBusKafka (no broker connect) and asserts the
adapter only calls methods that exist on it (fails on the old stop() code, closes the stub-hides-API-drift
gap). DEFECT 2 (Track-B skipped off-host): the model registry pinned local inference at localhost:8000;
added the documented SEA_LOCAL_INFERENCE_BASE_URL env seam rewriting local_vllm endpoint hosts (path/cloud
preserved; explicit per-entry overlay endpoint wins). DEFECT 3 (404 double-path): the delegation effect
appends /v1/chat/completions to intent.base_url but SEA endpoints declare the full URL; InferenceClient.infer
now normalizes base_url to its origin. Local proof: uv run pytest tests/ (no -k) = 1337 passed, 15 skipped;
mypy --strict = no issues in 199 files; ruff check + format clean; pre-commit hooks pass (incl. OMN-12608
SEA inference-architecture guard); architecture-verdict (OMN-12609) pass.
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12587-sea-unblock/onex-self-extending-agent"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12587-fix/onex-self-extending-agent"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ticket_id: "OMN-12587"
evidence_item_id: "dod-sea-stability-overlay-pr-201"
check_type: "command"
check_value: "gh pr view 201 --repo OmniNode-ai/onex-self-extending-agent --json number,state,files"
contract_sha256: "sha256:19fd8aa672eaeec2b13fab5401bbc7a8e56792c9ceb2317e5b74bc43edb0c913"
contract_sha256: "sha256:9a8fa577d57ac719299eaf46a59dceddbddd41f2c42b86c6a96072b9efe39588"
status: PASS
run_timestamp: "2026-06-02T15:55:00Z"
commit_sha: "d6f7e7645baa939b691dbee8a5b2bd30495a01ce"
Expand Down
Loading