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
74 changes: 74 additions & 0 deletions contracts/OMN-20291.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20291"
title: "Autobind OCC evidence for OMN-20291"
summary: "OCC Evidence-Source autobind companion (OMN-13317 F1) for PR #3285."
is_seam_ticket: false
interface_change: false
interfaces_touched: []
requirements:
- id: "req-transcribed-acceptance-criteria"
statement: |-
The acceptance criteria this ticket's author declared, transcribed from the ticket body at autobind time by occ-autobind. The ticket body is the source and this block is the copy; each criterion's id is the label the sibling binds_ac entry claims.
acceptance:
- id: "AC1"
statement: |-
AC1: a report in knowledge-base-internal reports/ lists each of the 26 tasks with the crush verdict and the node verdict from the same rubric version -- falsifier: the report omits a task or scores the two engines under different rubric versions
- id: "AC2"
statement: |-
AC2: the node PASS count is at least the crush PASS count, or the report names each node failure class with a ticket -- falsifier: node PASS below 7 with an unticketed failure class
evidence_requirements:
- kind: "ci"
description: "PR #3285 product diff scope present"
command: "gh pr view ${PR_NUMBER} --repo ${REPO} --json files"
- kind: "tests"
description: |-
Behavior proof for PR #3285 on OmniNode-ai/omnimarket, derived from the PR's own diff: the test target(s) it adds or changes. Bound as dod_evidence item `dod-occ-diff-derived-behavior-proof`, executed at cwd `${OMNI_HOME}/omnimarket`.
command: |-
uv run pytest tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py -q
emergency_bypass:
enabled: false
justification: ""
follow_up_ticket_id: ""
dod_evidence:
- id: "dod-OmniNode-ai-omnimarket-pr-3285"
description: "PR #3285 on OmniNode-ai/omnimarket — Evidence-Source autobind."
source: "generated"
checks:
- check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_delegated_code_edit_orchestrator/handlers/handler_delegated_code_edit_orchestrator.py?ref=e793efaeef65d40cd00cec7afcc2ffee5cb74b17 --jq '.content' | base64 -d | grep -c 'def _lead'
binds_ac:
- "AC1"
- "AC2"
ac_bindings:
- label: "AC1"
criterion_hash: "60c021a51a0b8c2db3d5b1c1308e00720b7b392a83c6b4a25ffce0775c5e367d"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-10-01T11:42:04Z"
- label: "AC2"
criterion_hash: "4f4b7b5ce5c211cdf907cfee9733442fcea7953224419aaf9b1504271b0207f9"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-10-01T11:42:04Z"
- id: "dod-OmniNode-ai-omnimarket-pr-3285-ci"
description: "PR #3285 on OmniNode-ai/omnimarket — product diff scope check (OMN-14425)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 3285 --repo OmniNode-ai/omnimarket --json files"
- id: "occ-self-bind-pr-12497"
description: "OCC companion PR #12497 — self-bind for OMN-20291 (OMN-14650)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 12497 --repo OmniNode-ai/onex_change_control --json number,state"
- id: "dod-occ-diff-derived-behavior-proof-pr-3285"
description: "PR #3285 on OmniNode-ai/omnimarket — diff-derived behavior proof (OMN-16434)."
source: "generated"
checks:
- check_type: "test_passes"
check_value: |-
uv run pytest tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py -q
cwd: "${OMNI_HOME}/omnimarket"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20291"
evidence_item_id: "dod-OmniNode-ai-omnimarket-pr-3285-ci"
check_type: "command"
check_value: "gh pr view 3285 --repo OmniNode-ai/omnimarket --json files"
contract_sha256: "sha256:6f29c879d26513455edad7c794691280a10c4bf071ca4331a88136bab691ab15"
contract_entry_sha256: "sha256:56cec24dbbbeb68f3b7756d5e69d561b0628f76912a6d3efa6aa4936037b0940"
status: PASS
run_timestamp: "2026-10-03T05:01:41Z"
commit_sha: "e793efaeef65d40cd00cec7afcc2ffee5cb74b17"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 3285 --repo OmniNode-ai/omnimarket --json files"
probe_stdout: |
{"files":[{"additions":6,"deletions":0,"path":"src/omnimarket/nodes/node_delegated_code_edit_orchestrator/__init__.py"},{"additions":305,"deletions":41,"path":"src/omnimarket/nodes/node_delegated_code_edit_orchestrator/handlers/handler_delegated_code_edit_orchestrator.py"},{"additions":191,"deletions":16,"path":"src/omnimarket/nodes/node_delegated_code_edit_orchestrator/handlers/turn_protocol.py"},{"additions":10,"deletions":0,"path":"src/omnimarket/nodes/node_delegated_code_edit_orchestrator/models/model_delegated_code_edit.py"},{"additions":391,"deletions":15,"path":"tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py"}]}
actual_output: "PASS: product-diff-scope for OMN-20291 from OmniNode-ai/omnimarket#3285."
exit_code: 0
pr_number: 3285
branch: "auto/window-omninode-ai-omnimarket-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20291"
evidence_item_id: "dod-OmniNode-ai-omnimarket-pr-3285"
check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_delegated_code_edit_orchestrator/handlers/handler_delegated_code_edit_orchestrator.py?ref=e793efaeef65d40cd00cec7afcc2ffee5cb74b17 --jq '.content' | base64 -d | grep -c 'def _lead'
contract_sha256: "sha256:6f29c879d26513455edad7c794691280a10c4bf071ca4331a88136bab691ab15"
contract_entry_sha256: "sha256:5e83339d0a3a6ef77528f480c99c16fc964a737b8763f15b722c0ecfccbd8bd5"
status: PASS
run_timestamp: "2026-10-03T05:01:41Z"
commit_sha: "e793efaeef65d40cd00cec7afcc2ffee5cb74b17"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_delegated_code_edit_orchestrator/handlers/handler_delegated_code_edit_orchestrator.py?ref=e793efaeef65d40cd00cec7afcc2ffee5cb74b17 --jq '.content' | base64 -d | grep -c 'def _lead'
probe_stdout: |
{"evidence_ref":"e793efaeef65d40cd00cec7afcc2ffee5cb74b17","green_exit":0,"red_exit":1,"red_ref":"720c05cc58601bc98ff8023961a65e99dab3ac96"}
actual_output: |-
PASS: content-bound probe GREEN at e793efaeef65d40cd00cec7afcc2ffee5cb74b17, RED at merge-base 720c05cc58601bc98ff8023961a65e99dab3ac96 (exit 1).
exit_code: 0
pr_number: 3285
branch: "auto/window-omninode-ai-omnimarket-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
check_type: test_passes
created_at: '2026-10-03T05:03:13Z'
evidence_item_id: dod-occ-diff-derived-behavior-proof-pr-3285
reason: 'The base receipt records status PENDING: the check was declared but not executed, because the
minting producer runs in the effects runtime with no product-repo checkout (OMN-16859). This record
rebinds the key to a receipt produced by executing the declared check for real in the product checkout
at PR #3285 head.'
replacement:
actual_output: 'PASS: declared check executed in the OmniNode-ai/omnimarket checkout at PR #3285 head;
exit status 0. Run: https://github.com/OmniNode-ai/omnimarket/actions/runs/37098457184'
branch: jonah/omn-20291-code-edit-loop-fixes
check_type: test_passes
check_value: |-
repos/OmniNode-ai/omnimarket/commits/e793efaeef65d40cd00cec7afcc2ffee5cb74b17
uv run pytest tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py -q
commit_sha: e793efaeef65d40cd00cec7afcc2ffee5cb74b17
contract_entry_sha256: sha256:9a8f1324d0727d766d2848c9072af86a878fba89c44d7f79abc89ec2096035ad
duration_ms: 7776
evidence_item_id: dod-occ-diff-derived-behavior-proof-pr-3285
exit_code: 0
pr_number: 3285
probe_command: |-
repos/OmniNode-ai/omnimarket/commits/e793efaeef65d40cd00cec7afcc2ffee5cb74b17
uv run pytest tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py -q
probe_stdout: |-
........................................................................ [ 59%]
................................................. [100%]
121 passed in 1.19s
run_timestamp: '2026-10-03T05:03:13Z'
runner: omnimarket-ci occ-receipt-runner
schema_version: 1.0.0
status: PASS
ticket_id: OMN-20291
verifier: github-actions product-repo test execution
working_dir: null
schema_version: 1.0.0
superseder: omnimarket-ci occ-receipt-runner
supersedes: drift/dod_receipts/OMN-20291/dod-occ-diff-derived-behavior-proof-pr-3285/test_passes.yaml
ticket_id: OMN-20291
tombstone: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20291"
evidence_item_id: "dod-occ-diff-derived-behavior-proof-pr-3285"
check_type: "test_passes"
check_value: |-
uv run pytest tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py -q
contract_sha256: "sha256:6f29c879d26513455edad7c794691280a10c4bf071ca4331a88136bab691ab15"
contract_entry_sha256: "sha256:9a8f1324d0727d766d2848c9072af86a878fba89c44d7f79abc89ec2096035ad"
status: PENDING
run_timestamp: "2026-10-03T05:01:41Z"
commit_sha: "e793efaeef65d40cd00cec7afcc2ffee5cb74b17"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_delegated_code_edit_orchestrator/handlers/handler_delegated_code_edit_orchestrator.py?ref=e793efaeef65d40cd00cec7afcc2ffee5cb74b17 --jq '.content' | base64 -d | grep -c 'def _lead'
probe_stdout: |
{"evidence_ref":"e793efaeef65d40cd00cec7afcc2ffee5cb74b17","green_exit":0,"red_exit":1,"red_ref":"720c05cc58601bc98ff8023961a65e99dab3ac96"}
actual_output: |-
PENDING: the declared test run is owed by occ-receipt-runner in the product repo's CI, which executes it in a real checkout and supersedes this receipt with the result; probe is the live PR read.
exit_code: 0
pr_number: 3285
branch: "auto/window-omninode-ai-omnimarket-occ-autobind"
20 changes: 20 additions & 0 deletions drift/dod_receipts/OMN-20291/occ-self-bind-pr-12497/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20291"
evidence_item_id: "occ-self-bind-pr-12497"
check_type: "command"
check_value: "gh pr view 12497 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
contract_sha256: "sha256:6f29c879d26513455edad7c794691280a10c4bf071ca4331a88136bab691ab15"
contract_entry_sha256: "sha256:5e5a561f4d97935175ccf8249d6fed0b0c07b19bcdc1f7550ef579c7470d7859"
status: PASS
run_timestamp: "2026-10-03T05:01:41Z"
commit_sha: "b12788646bdfa51ecff8a05059abb0221595b7e4"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh api repos/OmniNode-ai/onex_change_control/pulls/12497/files --paginate --jq '.[].sha'"
probe_stdout: |
0805c379e17c09571d2dda9ccf803d01d15a54aa ccf5a8243a5106bee1f68e450cb7f3dc8349e645 ac21cd633b5486b5babfb110c42264032fe2120f 58e0d1b815c55c26bab91f9b644fd338fc6b1cd3
actual_output: "PASS: OCC self-bind for OMN-20291 (OCC#12497)."
exit_code: 0
pr_number: 12497
branch: "auto/window-omninode-ai-omnimarket-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
check_type: test_passes
created_at: '2026-10-03T05:03:20Z'
evidence_item_id: dod-mac-occ-20392-ac1-bulk-replace-glob-scope
reason: 'The base receipt records status PASS: the check was declared but not executed, because the minting
producer runs in the effects runtime with no product-repo checkout (OMN-16859). This record rebinds
the key to a receipt produced by executing the declared check for real in the product checkout at PR
#3285 head.'
replacement:
actual_output: 'PASS: declared check executed in the OmniNode-ai/omnimarket checkout at PR #3285 head;
exit status 0. Run: https://github.com/OmniNode-ai/omnimarket/actions/runs/37098457184'
branch: jonah/omn-20291-code-edit-loop-fixes
check_type: test_passes
check_value: |-
repos/OmniNode-ai/omnimarket/commits/e793efaeef65d40cd00cec7afcc2ffee5cb74b17
env -u PYTHONPATH uv run pytest "tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py::test_replace_in_files_edits_thirty_files_in_one_action_and_turn" "tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py::test_replace_in_files_glob_is_a_scope_over_the_writable_manifest" "tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py::test_replace_in_files_confines_paths_and_refuses_oversized_content" -q
commit_sha: e793efaeef65d40cd00cec7afcc2ffee5cb74b17
contract_entry_sha256: sha256:308f2377e8cd69b7ad1a49c84452f94d8c45339eedd38b763bc604e70cf04764
duration_ms: 6671
evidence_item_id: dod-mac-occ-20392-ac1-bulk-replace-glob-scope
exit_code: 0
pr_number: 3285
probe_command: |-
repos/OmniNode-ai/omnimarket/commits/e793efaeef65d40cd00cec7afcc2ffee5cb74b17
env -u PYTHONPATH uv run pytest "tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py::test_replace_in_files_edits_thirty_files_in_one_action_and_turn" "tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py::test_replace_in_files_glob_is_a_scope_over_the_writable_manifest" "tests/nodes/node_delegated_code_edit_orchestrator/test_handler_delegated_code_edit_orchestrator.py::test_replace_in_files_confines_paths_and_refuses_oversized_content" -q
probe_stdout: |-
... [100%]
3 passed in 0.55s
run_timestamp: '2026-10-03T05:03:20Z'
runner: omnimarket-ci occ-receipt-runner
schema_version: 1.0.0
status: PASS
ticket_id: OMN-20392
verifier: github-actions product-repo test execution
working_dir: null
schema_version: 1.0.0
superseder: omnimarket-ci occ-receipt-runner
supersedes: drift/dod_receipts/OMN-20392/dod-mac-occ-20392-ac1-bulk-replace-glob-scope/test_passes.yaml
ticket_id: OMN-20392
tombstone: false
Loading