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
65 changes: 65 additions & 0 deletions contracts/OMN-12748.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12748"
title: "Expose delegated prompt and response text through correlation projection"
summary: >
Adds the contract-declared onex.snapshot.projection.delegation.correlation-trace.v1 projection exposure
so dashboard and integration tests can inspect prompt_text and response_text for a delegated run without
adding a bespoke REST route or bloating the high-frequency decisions projection.
is_seam_ticket: true
interface_change: true
interfaces_touched:
- "topics"
- "public_api"
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-omnimarket-pr-1073"
description: "omnimarket PR #1073 carries the OMN-12748 projection contract change."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-omnimarket-pr-1073/command.yaml"
&& grep -q '^pr_number: 1073$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-omnimarket-pr-1073/command.yaml"
&& grep -q '67f83fb1' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-omnimarket-pr-1073/command.yaml"
- id: "dod-projection-contract-test"
description: "Focused projection contract test proves prompt_text and response_text are exposed on
the correlation trace and omitted from decisions."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-projection-contract-test/command.yaml"
&& grep -q '7 passed' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-projection-contract-test/command.yaml"
- id: "dod-contract-topic-declaration"
description: "Correlation trace projection topic is declared in the delegation projection contract."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-contract-topic-declaration/command.yaml"
&& grep -q 'onex.snapshot.projection.delegation.correlation-trace.v1' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-contract-topic-declaration/command.yaml"
- id: "dod-deploy-assessment"
description: "Post-merge dev-lane deploy is required before live projection-api serves the new topic."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-deploy-assessment/command.yaml"
&& grep -q 'dev-lane deploy required' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-deploy-assessment/command.yaml"
- id: "dod-occ-pr"
description: "onex_change_control PR carries the central OMN-12748 contract and PASS receipts."
source: "manual"
status: "verified"
checks:
- check_type: "command"
check_value: >-
grep -q '^status: PASS$' "$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-12748/dod-occ-pr/command.yaml"
&& grep -q '^ticket_id: "OMN-12748"$' "$CONTRACT_REPO_DIR/contracts/OMN-12748.yaml"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12748"
evidence_item_id: "dod-contract-topic-declaration"
check_type: "command"
check_value: "grep -q 'onex.snapshot.projection.delegation.correlation-trace.v1' src/omnimarket/nodes/node_projection_delegation/contract.yaml"
status: PASS
run_timestamp: "2026-06-06T22:18:00Z"
commit_sha: "67f83fb1f48a08b2bd3cb5464ce58e12ba7e6abc"
contract_sha256: "sha256:69932b258487821c1e9870325c4c9dba75ae3de52c0aea4be3f9314efdd4cddf"
branch: "jonah/omn-12748-delegation-prompt-response-projection"
pr_number: 1073
runner: "codex"
verifier: "jonah"
probe_command: "grep -n 'onex.snapshot.projection.delegation.correlation-trace.v1' src/omnimarket/nodes/node_projection_delegation/contract.yaml"
probe_stdout: |
145: - topic: onex.snapshot.projection.delegation.correlation-trace.v1 # onex-topic-allow: projection snapshot topics use onex.snapshot.* prefix by convention
actual_output: "PASS: the correlation trace projection topic is contract-declared on node_projection_delegation."
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12748/omnimarket"
21 changes: 21 additions & 0 deletions drift/dod_receipts/OMN-12748/dod-deploy-assessment/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12748"
evidence_item_id: "dod-deploy-assessment"
check_type: "command"
check_value: "post-merge deploy .201 dev lane and verify correlation trace projection prompt_text/response_text"
status: PASS
run_timestamp: "2026-06-06T22:18:00Z"
commit_sha: "67f83fb1f48a08b2bd3cb5464ce58e12ba7e6abc"
contract_sha256: "sha256:69932b258487821c1e9870325c4c9dba75ae3de52c0aea4be3f9314efdd4cddf"
branch: "jonah/omn-12748-delegation-prompt-response-projection"
pr_number: 1073
runner: "codex"
verifier: "jonah"
probe_command: "operator deploy assessment for OMN-12748"
probe_stdout: |
dev-lane deploy required after omnimarket#1073 merges; current .201 dev projection-api does not yet know onex.snapshot.projection.delegation.correlation-trace.v1.
actual_output: "PASS: deploy requirement is explicit; no claim is made that the live dev runtime serves
the new projection before merge/redeploy."
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12748/omnimarket"
23 changes: 23 additions & 0 deletions drift/dod_receipts/OMN-12748/dod-occ-pr/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12748"
evidence_item_id: "dod-occ-pr"
check_type: "command"
check_value: "test -f contracts/OMN-12748.yaml && find drift/dod_receipts/OMN-12748 -name command.yaml
| wc -l"
status: PASS
run_timestamp: "2026-06-06T23:02:00Z"
commit_sha: "ab13bf35525402df5dce181bd9915b7425f9e1dd"
contract_sha256: "sha256:69932b258487821c1e9870325c4c9dba75ae3de52c0aea4be3f9314efdd4cddf"
branch: "jonah/omn-12748-projection-occ"
pr_number: 2243
runner: "codex"
verifier: "jonah"
probe_command: "test -f contracts/OMN-12748.yaml && find drift/dod_receipts/OMN-12748 -name command.yaml
| wc -l"
probe_stdout: |
5
actual_output: "PASS: OCC evidence branch carries the OMN-12748 central contract and five PASS command
receipts in onex_change_control PR #2243."
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12748/onex_change_control"
21 changes: 21 additions & 0 deletions drift/dod_receipts/OMN-12748/dod-omnimarket-pr-1073/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12748"
evidence_item_id: "dod-omnimarket-pr-1073"
check_type: "command"
check_value: "gh pr view 1073 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,baseRefName,title,state"
status: PASS
run_timestamp: "2026-06-06T22:20:00Z"
commit_sha: "67f83fb1f48a08b2bd3cb5464ce58e12ba7e6abc"
contract_sha256: "sha256:69932b258487821c1e9870325c4c9dba75ae3de52c0aea4be3f9314efdd4cddf"
branch: "jonah/omn-12748-delegation-prompt-response-projection"
pr_number: 1073
runner: "codex"
verifier: "jonah"
probe_command: "gh pr view 1073 --repo OmniNode-ai/omnimarket --json number,url,headRefOid,headRefName,baseRefName,title,state"
probe_stdout: |
{"baseRefName":"dev","headRefName":"jonah/omn-12748-delegation-prompt-response-projection","headRefOid":"67f83fb1f48a08b2bd3cb5464ce58e12ba7e6abc","number":1073,"state":"OPEN","title":"feat(OMN-12748): expose delegated prompt/response via per-correlation projection","url":"https://github.com/OmniNode-ai/omnimarket/pull/1073"}
actual_output: "PASS: omnimarket PR #1073 carries the OMN-12748 correlation-trace projection exposure
at head 67f83fb1."
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12748/omnimarket"
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-12748"
evidence_item_id: "dod-projection-contract-test"
check_type: "command"
check_value: "uv run pytest tests/test_projection_delegation_api_contract.py -q"
status: PASS
run_timestamp: "2026-06-06T22:18:00Z"
commit_sha: "67f83fb1f48a08b2bd3cb5464ce58e12ba7e6abc"
contract_sha256: "sha256:69932b258487821c1e9870325c4c9dba75ae3de52c0aea4be3f9314efdd4cddf"
branch: "jonah/omn-12748-delegation-prompt-response-projection"
pr_number: 1073
runner: "codex"
verifier: "jonah"
probe_command: "uv run pytest tests/test_projection_delegation_api_contract.py -q"
probe_stdout: |
....... [100%]
7 passed in 0.05s
actual_output: "PASS: focused projection contract tests prove the correlation trace exposes prompt_text/response_text
and decisions stays lean."
exit_code: 0
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-12748/omnimarket"
Loading