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
53 changes: 53 additions & 0 deletions contracts/OMN-19513.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,3 +330,56 @@ dod_evidence:
checks:
- check_type: "command"
check_value: "gh pr view 11477 --repo OmniNode-ai/onex_change_control --json number,state"
- id: "dod-OmniNode-ai-omnimarket-pr-2956"
description: "PR #2956 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_projection_claude_hook_events/handlers/handler_claude_hook_events_writer.py?ref=d5084f6ac5e446dd080c19c91217d2346d657a58 --jq '.content' | base64 -d | grep -c 'def _event_params'
binds_ac:
- "AC1"
- "AC2"
- "AC3"
- "AC4"
ac_bindings:
- label: "AC1"
criterion_hash: "f28079db66f1d14525aad8879d1834c062f08e8defe08e5f8f62cd6eda821756"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-09-25T01:05:41Z"
- label: "AC2"
criterion_hash: "321b04312ca92762a0f289a72df23ec14cbb862fb2fb956536fd91e1fe24731c"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-09-25T01:05:41Z"
- label: "AC3"
criterion_hash: "0ab6c0d94a2e18b52230f731511e329b0f45972f79359dd3dde33400087de12c"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-09-25T01:05:41Z"
- label: "AC4"
criterion_hash: "d49bab4afa4689f8cdcaa05328498ced2264f483fdea1655a2d807d2dc15a474"
proposed_by: "occ-autobind"
accepted_by: "7a850ce1-f95e-431f-b4e3-62f7449f04c0"
accepted_at: "2026-09-25T01:05:41Z"
- id: "dod-OmniNode-ai-omnimarket-pr-2956-ci"
description: "PR #2956 on OmniNode-ai/omnimarket — product diff scope check (OMN-14425)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 2956 --repo OmniNode-ai/omnimarket --json files"
- id: "dod-occ-diff-derived-behavior-proof-pr-2956"
description: "PR #2956 on OmniNode-ai/omnimarket — diff-derived behavior proof (OMN-16434)."
source: "generated"
checks:
- check_type: "test_passes"
check_value: |-
uv run pytest tests/test_golden_chain_projection_claude_hook_events.py tests/test_omn19513_claude_hook_events_projection.py tests/test_omn19513_claude_hook_events_real_postgres.py -q
cwd: "${OMNI_HOME}/omnimarket"
- id: "occ-self-bind-pr-11473"
description: "OCC companion PR #11473 — self-bind for OMN-19513 (OMN-14650)."
source: "generated"
checks:
- check_type: "command"
check_value: "gh pr view 11473 --repo OmniNode-ai/onex_change_control --json number,state"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-19513"
evidence_item_id: "dod-OmniNode-ai-omnimarket-pr-2956-ci"
check_type: "command"
check_value: "gh pr view 2956 --repo OmniNode-ai/omnimarket --json files"
contract_sha256: "sha256:ce1df3ac21e2a1879eb3f16639fb70acc57ed51606c7dca39637c590c2f56b18"
contract_entry_sha256: "sha256:0bbe0a758414d64cdfcccaa7116349ab3703591a63a9a9d002a427722abfa1ec"
status: PASS
run_timestamp: "2026-09-26T15:14:38Z"
commit_sha: "d5084f6ac5e446dd080c19c91217d2346d657a58"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh pr view 2956 --repo OmniNode-ai/omnimarket --json files"
probe_stdout: |
{"files":[{"additions":1,"deletions":0,"path":"pyproject.toml"},{"additions":35,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/__init__.py"},{"additions":130,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/contract.yaml"},{"additions":2,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/handlers/__init__.py"},{"additions":323,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/handlers/handler_claude_hook_events_writer.py"},{"additions":168,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/handlers/handler_projection_claude_hook_events.py"},{"additions":50,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/metadata.yaml"},{"additions":356,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/migrations/0000_create_claude_hook_events.sql"},{"additions":100,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/migrations/0001_grant_omninode_runtime_claude_hook_events.sql"},{"additions":43,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/models/__init__.py"},{"additions":63,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/models/enum_claude_hook_event_name.py"},{"additions":28,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/models/enum_parent_resolution.py"},{"additions":266,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/models/model_claude_hook_event_wire.py"},{"additions":62,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/models/model_claude_hook_projection_request.py"},{"additions":117,"deletions":0,"path":"src/omnimarket/nodes/node_projection_claude_hook_events/models/model_claude_hook_projection_result.py"},{"additions":161,"deletions":0,"path":"tests/fixtures/claude_hook_capture/capture_contract_pins.json"},{"additions":40,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/ConfigChange.json"},{"additions":51,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/CwdChanged.json"},{"additions":40,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/DirectoryAdded.json"},{"additions":46,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/Elicitation.json"},{"additions":43,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/ElicitationResult.json"},{"additions":40,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/FileChanged.json"},{"additions":42,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/InstructionsLoaded.json"},{"additions":44,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/MessageDisplay.json"},{"additions":52,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/Notification.json"},{"additions":40,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PermissionDenied.json"},{"additions":28,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PermissionRequest.json"},{"additions":40,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PostCompact.json"},{"additions":26,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PostModelSwitch.json"},{"additions":34,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PostToolBatch.json"},{"additions":42,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PostToolUse.json"},{"additions":42,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PostToolUseFailure.json"},{"additions":40,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PreCompact.json"},{"additions":26,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PreModelSwitch.json"},{"additions":46,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/PreToolUse.json"},{"additions":27,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/SessionEnd.json"},{"additions":31,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/SessionStart.json"},{"additions":27,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/Setup.json"},{"additions":42,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/Stop.json"},{"additions":52,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/StopFailure.json"},{"additions":28,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/SubagentStart.json"},{"additions":54,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/SubagentStop.json"},{"additions":54,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/TaskCompleted.json"},{"additions":54,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/TaskCreated.json"},{"additions":28,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/TeammateIdle.json"},{"additions":54,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/UserPromptExpansion.json"},{"additions":53,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/UserPromptSubmit.json"},{"additions":39,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/WorktreeCreate.json"},{"additions":39,"deletions":0,"path":"tests/fixtures/claude_hook_capture/events/WorktreeRemove.json"},{"additions":4,"deletions":0,"path":"tests/fixtures/claude_hook_capture/expected_projection/claude_agent_spans.jsonl"},{"additions":20,"deletions":0,"path":"tests/fixtures/claude_hook_capture/expected_projection/claude_hook_events.jsonl"},{"additions":2,"deletions":0,"path":"tests/fixtures/claude_hook_capture/scenarios/orphan_agent.events.jsonl"},{"additions":14,"deletions":0,"path":"tests/fixtures/claude_hook_capture/scenarios/subagent_tree.events.jsonl"},{"additions":4,"deletions":0,"path":"tests/fixtures/claude_hook_capture/scenarios/workflow_agent.events.jsonl"},{"additions":237,"deletions":0,"path":"tests/test_golden_chain_projection_claude_hook_events.py"},{"additions":635,"deletions":0,"path":"tests/test_omn19513_claude_hook_events_projection.py"},{"additions":205,"deletions":0,"path":"tests/test_omn19513_claude_hook_events_real_postgres.py"}]}
actual_output: "PASS: product-diff-scope for OMN-19513 from OmniNode-ai/omnimarket#2956."
exit_code: 0
pr_number: 2956
branch: "auto/omninode-ai-omnimarket-pr-2956-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-19513"
evidence_item_id: "dod-OmniNode-ai-omnimarket-pr-2956"
check_type: "command"
check_value: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_projection_claude_hook_events/handlers/handler_claude_hook_events_writer.py?ref=d5084f6ac5e446dd080c19c91217d2346d657a58 --jq '.content' | base64 -d | grep -c 'def _event_params'
contract_sha256: "sha256:ce1df3ac21e2a1879eb3f16639fb70acc57ed51606c7dca39637c590c2f56b18"
contract_entry_sha256: "sha256:ed8a80130a45741e15e50cfd6c01a6955c85207f1bee9f7f378da544a352e8dc"
status: PASS
run_timestamp: "2026-09-26T15:14:38Z"
commit_sha: "d5084f6ac5e446dd080c19c91217d2346d657a58"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_projection_claude_hook_events/handlers/handler_claude_hook_events_writer.py?ref=d5084f6ac5e446dd080c19c91217d2346d657a58 --jq '.content' | base64 -d | grep -c 'def _event_params'
probe_stdout: |
{"evidence_ref":"d5084f6ac5e446dd080c19c91217d2346d657a58","green_exit":0,"red_exit":1,"red_ref":"939f16175a55826ae195fb24abb4b31e83732674"}
actual_output: |-
PASS: content-bound probe GREEN at d5084f6ac5e446dd080c19c91217d2346d657a58, RED at merge-base 939f16175a55826ae195fb24abb4b31e83732674 (exit 1).
exit_code: 0
pr_number: 2956
branch: "auto/omninode-ai-omnimarket-pr-2956-occ-autobind"
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
check_type: test_passes
created_at: '2026-09-26T15:22:36Z'
evidence_item_id: dod-occ-diff-derived-behavior-proof-pr-2956
reason: 'Re-executed for PR #2956 at head 3467e4fe1669f54b9e638fd64d93b65f250a89f7. The prior executed
attempt recorded PASS at d5084f6ac5e446dd080c19c91217d2346d657a58; since then the head moved from d5084f6ac5e446dd080c19c91217d2346d657a58
to 3467e4fe1669f54b9e638fd64d93b65f250a89f7. This record supersedes that attempt and does not edit it.'
replacement:
actual_output: 'PASS: declared check executed in the OmniNode-ai/omnimarket checkout at PR #2956 head;
exit status 0. Run: https://github.com/OmniNode-ai/omnimarket/actions/runs/36251674264'
branch: jonah/omn-19513-claude-hook-events-projection
check_type: test_passes
check_value: |-
repos/OmniNode-ai/omnimarket/commits/3467e4fe1669f54b9e638fd64d93b65f250a89f7
uv run pytest tests/test_golden_chain_projection_claude_hook_events.py tests/test_omn19513_claude_hook_events_projection.py tests/test_omn19513_claude_hook_events_real_postgres.py -q
commit_sha: 3467e4fe1669f54b9e638fd64d93b65f250a89f7
contract_entry_sha256: sha256:d143399d45d2fd8610ae22d4380829478dee4c8b224997afb59764ef9fe723a9
duration_ms: 9377
evidence_item_id: dod-occ-diff-derived-behavior-proof-pr-2956
exit_code: 0
pr_number: 2956
probe_command: |-
repos/OmniNode-ai/omnimarket/commits/3467e4fe1669f54b9e638fd64d93b65f250a89f7
uv run pytest tests/test_golden_chain_projection_claude_hook_events.py tests/test_omn19513_claude_hook_events_projection.py tests/test_omn19513_claude_hook_events_real_postgres.py -q
probe_stdout: |-
................................................................ss [100%]
64 passed, 2 skipped in 1.44s
run_timestamp: '2026-09-26T15:22:36Z'
runner: omnimarket-ci occ-receipt-runner
schema_version: 1.0.0
status: PASS
ticket_id: OMN-19513
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-19513/dod-occ-diff-derived-behavior-proof-pr-2956/test_passes.yaml
ticket_id: OMN-19513
tombstone: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
check_type: test_passes
created_at: '2026-09-26T15:15:52Z'
evidence_item_id: dod-occ-diff-derived-behavior-proof-pr-2956
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 #2956 head.'
replacement:
actual_output: 'PASS: declared check executed in the OmniNode-ai/omnimarket checkout at PR #2956 head;
exit status 0. Run: https://github.com/OmniNode-ai/omnimarket/actions/runs/36251278975'
branch: jonah/omn-19513-claude-hook-events-projection
check_type: test_passes
check_value: |-
repos/OmniNode-ai/omnimarket/commits/d5084f6ac5e446dd080c19c91217d2346d657a58
uv run pytest tests/test_golden_chain_projection_claude_hook_events.py tests/test_omn19513_claude_hook_events_projection.py tests/test_omn19513_claude_hook_events_real_postgres.py -q
commit_sha: d5084f6ac5e446dd080c19c91217d2346d657a58
contract_entry_sha256: sha256:d143399d45d2fd8610ae22d4380829478dee4c8b224997afb59764ef9fe723a9
duration_ms: 8974
evidence_item_id: dod-occ-diff-derived-behavior-proof-pr-2956
exit_code: 0
pr_number: 2956
probe_command: |-
repos/OmniNode-ai/omnimarket/commits/d5084f6ac5e446dd080c19c91217d2346d657a58
uv run pytest tests/test_golden_chain_projection_claude_hook_events.py tests/test_omn19513_claude_hook_events_projection.py tests/test_omn19513_claude_hook_events_real_postgres.py -q
probe_stdout: |-
................................................................ss [100%]
64 passed, 2 skipped in 1.45s
run_timestamp: '2026-09-26T15:15:52Z'
runner: omnimarket-ci occ-receipt-runner
schema_version: 1.0.0
status: PASS
ticket_id: OMN-19513
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-19513/dod-occ-diff-derived-behavior-proof-pr-2956/test_passes.yaml
ticket_id: OMN-19513
tombstone: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-19513"
evidence_item_id: "dod-occ-diff-derived-behavior-proof-pr-2956"
check_type: "test_passes"
check_value: |-
uv run pytest tests/test_golden_chain_projection_claude_hook_events.py tests/test_omn19513_claude_hook_events_projection.py tests/test_omn19513_claude_hook_events_real_postgres.py -q
contract_sha256: "sha256:ce1df3ac21e2a1879eb3f16639fb70acc57ed51606c7dca39637c590c2f56b18"
contract_entry_sha256: "sha256:d143399d45d2fd8610ae22d4380829478dee4c8b224997afb59764ef9fe723a9"
status: PENDING
run_timestamp: "2026-09-26T15:14:38Z"
commit_sha: "d5084f6ac5e446dd080c19c91217d2346d657a58"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: |-
gh api repos/OmniNode-ai/omnimarket/contents/src/omnimarket/nodes/node_projection_claude_hook_events/handlers/handler_claude_hook_events_writer.py?ref=d5084f6ac5e446dd080c19c91217d2346d657a58 --jq '.content' | base64 -d | grep -c 'def _event_params'
probe_stdout: |
{"evidence_ref":"d5084f6ac5e446dd080c19c91217d2346d657a58","green_exit":0,"red_exit":1,"red_ref":"939f16175a55826ae195fb24abb4b31e83732674"}
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: 2956
branch: "auto/omninode-ai-omnimarket-pr-2956-occ-autobind"
20 changes: 20 additions & 0 deletions drift/dod_receipts/OMN-19513/occ-self-bind-pr-11473/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-19513"
evidence_item_id: "occ-self-bind-pr-11473"
check_type: "command"
check_value: "gh pr view 11473 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
contract_sha256: "sha256:ce1df3ac21e2a1879eb3f16639fb70acc57ed51606c7dca39637c590c2f56b18"
contract_entry_sha256: "sha256:7eedbda63f62ba1b1f807c64ccab0d9793f67ce8eea8265bc285d45be36404bc"
status: PASS
run_timestamp: "2026-09-26T15:14:38Z"
commit_sha: "60ab304c02c168b732b1a4d118b6ae8e4bed1732"
runner: "node_pr_lifecycle_fix_effect"
verifier: "occ-evidence-source-autobind"
probe_command: "gh api repos/OmniNode-ai/onex_change_control/pulls/11473/files --paginate --jq '.[].sha'"
probe_stdout: |
874955bedf38d7505845e1193279e819c61605a2 307722f71b35c3e433b5419a434499e4857cbf32 5992dac979e69e5e2a5f9e1c58bcc4b23f720181 cfaf4cfa6fe06613481bf721a618e6964083b8dd
actual_output: "PASS: OCC self-bind for OMN-19513 (OCC#11473)."
exit_code: 0
pr_number: 11473
branch: "auto/omninode-ai-omnimarket-pr-2956-occ-autobind"
Loading