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
33 changes: 33 additions & 0 deletions contracts/OMN-12952.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12952"
title: "Per-leg delegation e2e probe harness — DEL-01 red-with-cause, GEN-01 green proof leg"
summary: >-
Adds test_leg_probe.py to the existing e2e_probe directory (OMN-12789 harness). Two per-leg probe classes:
TestE2EDEL01DelegateSkillLeg (delegate-skill path, known dispatcher-broken on dev; xfail documents DEL-01,
reports red-with-cause without failing dry-run) and TestE2EGEN01GenerationLeg (generation consumer path;
publishes to onex.cmd.omnimarket.node-generation-requested.v1, races completed/failed terminals, polls
generation_events DB row, reads projection API; green proof leg). LegResult dataclass emits structured
PROBE_LEG_STATUS log lines per leg. All 9 tests opt-in guarded by OMN_ALLOW_LIVE_E2E_PROBE=true — CI
never hits bus. Dry-run: 9 skipped, 0 errors, 0 warnings. Assertion thresholds are TODO OMN-12952 placeholders
pending GEN-01 packet calibration from Milestone 4.4(b).
is_seam_ticket: false
interface_change: false
interfaces_touched: []
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-e2e-probe-dry-run"
description: >-
omnimarket PR (branch jonah/omn-12952-lane-parameterized-e2e-probe, HEAD eee2087c030a86ec2e46268e7cf41a7f0c8afd3d)
adds test_leg_probe.py. Dry-run from clean checkout: 9 skipped, 0 errors. All hooks pass (leaked-literals-gate,
no-hardcoded-topics, topic-naming-lint, no-untracked-todos). Pre-existing test failure on test_golden_chain_generation_self_extension.py
confirmed on canonical main before this PR.
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' drift/dod_receipts/OMN-12952/dod-e2e-probe-dry-run/command.yaml
42 changes: 42 additions & 0 deletions drift/dod_receipts/OMN-12952/dod-e2e-probe-dry-run/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12952"
evidence_item_id: "dod-e2e-probe-dry-run"
check_type: "command"
check_value: >-
uv run pytest tests/integration/e2e_probe/test_leg_probe.py -v
status: PASS
run_timestamp: "2026-06-12T00:00:00Z"
commit_sha: "eee2087c030a86ec2e46268e7cf41a7f0c8afd3d"
branch: "jonah/omn-12952-lane-parameterized-e2e-probe"
pr_number: 2571
runner: "claude-omn-12952-leg-probe"
verifier: "receipt-gate-ci"
contract_sha256: "sha256:37b9cb714808d83e1d63e9b184fea0eb79402597e9523c12ad90adaf54350f67"
probe_command: >-
uv run pytest tests/integration/e2e_probe/test_leg_probe.py -v
probe_stdout: |
============================= test session starts ==============================
platform darwin -- Python 3.12.12, pytest-9.0.2, pluggy-1.6.0
asyncio: mode=Mode.AUTO
collecting ... collected 9 items

tests/integration/e2e_probe/test_leg_probe.py::TestE2EDEL01DelegateSkillLeg::test_del01_bus_connectivity SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EDEL01DelegateSkillLeg::test_del01_terminal_arrives SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EDEL01DelegateSkillLeg::test_del01_status_report SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EGEN01GenerationLeg::test_gen01_bus_connectivity SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EGEN01GenerationLeg::test_gen01_terminal_arrives SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EGEN01GenerationLeg::test_gen01_projection_row_written SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EGEN01GenerationLeg::test_gen01_projection_api_read SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2EGEN01GenerationLeg::test_gen01_status_report SKIPPED
tests/integration/e2e_probe/test_leg_probe.py::TestE2ELegSummary::test_dry_run_summary SKIPPED

============================== 9 skipped in 0.16s ==============================

Skip reason: Requires OMN_ALLOW_LIVE_E2E_PROBE=true to run against the live bus.
Gate check: all hooks pass — leaked-literals-gate PASS, no-hardcoded-topics PASS,
topic-naming-lint PASS, no-untracked-todos PASS.
Pre-existing failure test_invocation_event_emitted_on_terminal_topic confirmed on
canonical main before this PR (not introduced by this change).
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12952/omnimarket"
Loading