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
49 changes: 49 additions & 0 deletions contracts/OMN-12738.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12738"
title: "Delegation Qwen prompts can truncate unless reasoning is disabled"
summary: >
Add typed inference protocol request shaping so Qwen test and code-generation delegation requests suppress
excessive reasoning at the provider boundary without requiring callers to include /no_think, while preserving
original prompt, response, and token evidence.
is_seam_ticket: true
interface_change: false
interfaces_touched: []
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-omnimarket-pr-1065"
description: "omnimarket PR #1065 implements typed inference protocol directives for Qwen code and
test delegation"
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-omnimarket-pr-1065/command.yaml\"
&& grep -q '^pr_number: 1065$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-omnimarket-pr-1065/command.yaml\"
&& grep -q '^commit_sha: \"4b9546e150058b16c96d66ffbd51b3c28780df54\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-omnimarket-pr-1065/command.yaml\""
- id: "dod-focused-delegation-tests"
description: "Focused protocol, inference, dispatcher, direct-curl, and delegate-skill golden-chain
tests pass"
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-focused-delegation-tests/command.yaml\"
&& grep -q '89 passed' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-focused-delegation-tests/command.yaml\"
&& grep -q 'prompt/response/token evidence' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-focused-delegation-tests/command.yaml\""
- id: "dod-deploy-gate-assessment"
description: "Deploy-gate assessment for runtime path touches and post-merge runtime validation"
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-deploy-gate-assessment/command.yaml\"
&& grep -q 'deploy assessment' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-deploy-gate-assessment/command.yaml\"
&& grep -q 'docker exec omninode-runtime-effects' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-deploy-gate-assessment/command.yaml\""
- id: "dod-occ-pr-2222-evidence"
description: "OCC PR #2222 carries the central contract and receipts for OMN-12738"
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-occ-pr-2222-evidence/command.yaml\"
&& grep -q '^pr_number: 2222$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12738/dod-occ-pr-2222-evidence/command.yaml\""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12738"
evidence_item_id: "dod-deploy-gate-assessment"
check_type: "command"
check_value: "printf '%s\n' 'deploy assessment: no live deploy or restart was performed for OMN-12738
before merge; post-merge validation should run docker exec omninode-runtime-effects python /tmp/omn-12738_qwen_no_think_probe.py
to verify Qwen delegation completes with persisted prompt/response/token evidence'"
status: PASS
run_timestamp: "2026-06-06T11:27:50Z"
commit_sha: "4b9546e150058b16c96d66ffbd51b3c28780df54"
contract_sha256: "sha256:6f74c6ef43378414ac29b659c60ff0bdfcfdebdc4fe1aafc28c297256f227ba7"
runner: "codex"
verifier: "deploy-gate-local"
probe_command: "printf '%s\n' 'deploy assessment: no live deploy or restart was performed for OMN-12738
before merge; post-merge validation should run docker exec omninode-runtime-effects python /tmp/omn-12738_qwen_no_think_probe.py
to verify Qwen delegation completes with persisted prompt/response/token evidence'"
probe_stdout: |
deploy assessment: no live deploy or restart was performed for OMN-12738 before merge; post-merge validation should run docker exec omninode-runtime-effects python /tmp/omn-12738_qwen_no_think_probe.py to verify Qwen delegation completes with persisted prompt/response/token evidence
actual_output: "PASS: runtime-path deploy gate has an explicit deploy assessment and a docker exec post-merge
validation proof surface; no live .201 mutation was performed without approval."
exit_code: 0
pr_number: 1065
branch: "jonah/omn-12738-delegation-qwen-prompts-can-truncate-unless-reasoning-is"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12738/onex_change_control"
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12738"
evidence_item_id: "dod-focused-delegation-tests"
check_type: "command"
check_value: "uv run pytest tests/unit/inference/test_protocol_config.py tests/unit/delegation/test_handler_inference_intent.py
tests/test_golden_chain_node_delegate_skill_orchestrator.py tests/unit/nodes/node_delegate_skill_orchestrator/test_directcurl_evidence.py
tests/unit/delegation/test_delegation_chain_e2e.py tests/unit/delegation/test_delegation_orchestrator.py
tests/unit/delegation/test_dispatcher_event_bus.py tests/unit/delegation/test_delegation_wiring.py tests/unit/delegation/test_handler_routing_intent.py
-q"
status: PASS
run_timestamp: "2026-06-06T11:27:50Z"
commit_sha: "4b9546e150058b16c96d66ffbd51b3c28780df54"
contract_sha256: "sha256:6f74c6ef43378414ac29b659c60ff0bdfcfdebdc4fe1aafc28c297256f227ba7"
runner: "codex"
verifier: "receipt-gate-local"
probe_command: "uv run pytest tests/unit/inference/test_protocol_config.py tests/unit/delegation/test_handler_inference_intent.py
tests/test_golden_chain_node_delegate_skill_orchestrator.py tests/unit/nodes/node_delegate_skill_orchestrator/test_directcurl_evidence.py
tests/unit/delegation/test_delegation_chain_e2e.py tests/unit/delegation/test_delegation_orchestrator.py
tests/unit/delegation/test_dispatcher_event_bus.py tests/unit/delegation/test_delegation_wiring.py tests/unit/delegation/test_handler_routing_intent.py
-q"
probe_stdout: |
........................................................................ [ 80%]
................. [100%]
89 passed in 0.47s
actual_output: "PASS: focused protocol, inference, dispatcher, direct-curl, and delegate-skill golden-chain
tests prove caller prompts stay free of /no_think, provider requests apply the typed directive for Qwen
code/test tasks, useful pytest code content is returned, and prompt/response/token evidence is persisted."
exit_code: 0
pr_number: 1065
branch: "jonah/omn-12738-delegation-qwen-prompts-can-truncate-unless-reasoning-is"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12738/omnimarket"
20 changes: 20 additions & 0 deletions drift/dod_receipts/OMN-12738/dod-occ-pr-2222-evidence/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12738"
evidence_item_id: "dod-occ-pr-2222-evidence"
check_type: "command"
check_value: "gh pr view 2222 --repo OmniNode-ai/onex_change_control --json state -q .state"
status: PASS
run_timestamp: "2026-06-06T11:36:00Z"
commit_sha: "26153096e57c0fe838802dbdeb8bfb47b1722458"
contract_sha256: "sha256:6f74c6ef43378414ac29b659c60ff0bdfcfdebdc4fe1aafc28c297256f227ba7"
runner: "codex"
verifier: "occ-preflight-local"
probe_command: "gh pr view 2222 --repo OmniNode-ai/onex_change_control --json state -q .state"
probe_stdout: |
OPEN
actual_output: "PASS: OCC PR #2222 is open and carries OMN-12738 central evidence."
exit_code: 0
pr_number: 2222
branch: "jonah/omn-12738-occ-evidence"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12738/onex_change_control"
22 changes: 22 additions & 0 deletions drift/dod_receipts/OMN-12738/dod-omnimarket-pr-1065/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12738"
evidence_item_id: "dod-omnimarket-pr-1065"
check_type: "command"
check_value: "gh pr view 1065 --repo OmniNode-ai/omnimarket --json state,headRefOid -q '{state: .state,
headRefOid: .headRefOid}'"
status: PASS
run_timestamp: "2026-06-06T11:27:50Z"
commit_sha: "4b9546e150058b16c96d66ffbd51b3c28780df54"
contract_sha256: "sha256:6f74c6ef43378414ac29b659c60ff0bdfcfdebdc4fe1aafc28c297256f227ba7"
runner: "codex"
verifier: "receipt-gate-local"
probe_command: "gh pr view 1065 --repo OmniNode-ai/omnimarket --json state,headRefOid -q '{state: .state,
headRefOid: .headRefOid}'"
probe_stdout: |
{"headRefOid":"4b9546e150058b16c96d66ffbd51b3c28780df54","state":"OPEN"}
actual_output: "PASS: omnimarket PR #1065 is open at the expected head commit for OMN-12738."
exit_code: 0
pr_number: 1065
branch: "jonah/omn-12738-delegation-qwen-prompts-can-truncate-unless-reasoning-is"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12738/omnimarket"
Loading