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
18 changes: 18 additions & 0 deletions contracts/OMN-9906.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,21 @@ dod_evidence:
check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-9906/dod-occ-pr-981/command.yaml
&& grep -q '^ticket_id: OMN-9906$' drift/dod_receipts/OMN-9906/dod-occ-pr-981/command.yaml &&
grep -q '^pr_number: 981$' drift/dod_receipts/OMN-9906/dod-occ-pr-981/command.yaml"
- id: "dod-omniclaude-pr-1572-hook-gate-failopen"
description: "omniclaude PR #1572 follow-up fixes the TEAM_LEAD_GUARD shell hook to fail open when
hook-gate.sh cannot be loaded or does not define onex_hook_gate."
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572-hook-gate-failopen/command.yaml
&& grep -q '^ticket_id: OMN-9906$' drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572-hook-gate-failopen/command.yaml
&& grep -q '^pr_number: 1572$' drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572-hook-gate-failopen/command.yaml
&& grep -q '^status: PASS$' drift/dod_receipts/OMN-9906/dod-omniclaude-pr-1572-hook-gate-failopen/command.yaml"
- id: "dod-occ-pr-984"
description: "OCC PR #984 carries the OMN-9906 omniclaude PR #1572 hook-gate fail-open receipt refresh."
source: "manual"
checks:
- check_type: "command"
check_value: "grep -q '^status: PASS$' drift/dod_receipts/OMN-9906/dod-occ-pr-984/command.yaml
&& grep -q '^ticket_id: OMN-9906$' drift/dod_receipts/OMN-9906/dod-occ-pr-984/command.yaml &&
grep -q '^pr_number: 984$' drift/dod_receipts/OMN-9906/dod-occ-pr-984/command.yaml"
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-9906/dod-001/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ run_timestamp: "2026-05-12T21:21:00Z"
commit_sha: "0601e1f0ca5494c6b7aeb5c35221461644799cbd"
runner: "pr-fixer-core"
verifier: "jonahgabriel"
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
probe_command: "cd /Volumes/PRO-G40/Code/omni_home/omni_worktrees/core-evidence/core-1068 && env -u PYTHONPATH
uv run pytest tests/unit/test_enum_hook_bit.py -q"
probe_stdout: |
Expand Down
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-9906/dod-occ-pr-972/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ run_timestamp: "2026-05-12T21:25:00Z"
commit_sha: "b439cc88069007a8fb615314f689a37c06cf9300"
runner: "pr-fixer-core"
verifier: "jonahgabriel"
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
probe_command: "cd /Volumes/PRO-G40/Code/omni_home/omni_worktrees/core-evidence/onex_change_control &&
uv run validate-yaml contracts/OMN-9906.yaml && grep -q '^status: PASS$' drift/dod_receipts/OMN-9906/dod-001/command.yaml
&& grep -q '^pr_number: 1068$' drift/dod_receipts/OMN-9906/dod-001/command.yaml"
Expand Down
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-9906/dod-occ-pr-974/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ probe_stdout: |
actual_output: "PASS: OCC PR #974 is OPEN on branch jonah/omn-occ-bind-overnight."
exit_code: 0
pr_number: 974
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-9906/dod-occ-pr-980/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ exit_code: 0
pr_number: 980
branch: "jonah/omn-9906-10895-receipt-refresh"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-9906/onex_change_control-receipt-refresh"
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-9906/dod-occ-pr-981/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ exit_code: 0
pr_number: 981
branch: "jonah/omn-9906-receipt-refresh-2"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-9906/onex_change_control-receipt-refresh"
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
23 changes: 23 additions & 0 deletions drift/dod_receipts/OMN-9906/dod-occ-pr-984/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: "1.0.0"
ticket_id: OMN-9906
evidence_item_id: dod-occ-pr-984
check_type: command
check_value: "gh pr view 984 --repo OmniNode-ai/onex_change_control --json state -q '.state' | grep -q
OPEN"
status: PASS
run_timestamp: "2026-05-13T14:44:00Z"
commit_sha: 54a61b0bb265ec62b0b602a816e77809c9a62ef1
runner: jonah-local
verifier: jonahgabriel
probe_command: "gh pr view 984 --repo OmniNode-ai/onex_change_control --json number,state,headRefName,headRefOid
-q '.'"
probe_stdout: |
{"headRefName":"jonah/omn-9906-occ-refresh","headRefOid":"54a61b0bb265ec62b0b602a816e77809c9a62ef1","number":984,"state":"OPEN"}
actual_output: "PASS: OCC PR #984 is open and carries the OMN-9906 omniclaude PR #1572 hook-gate fail-open
receipt refresh."
exit_code: 0
pr_number: 984
branch: "jonah/omn-9906-occ-refresh"
working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-9906/onex_change_control"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
2 changes: 1 addition & 1 deletion drift/dod_receipts/OMN-9906/dod-occ-pr/command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ probe_stdout: |
actual_output: "PASS: OCC PR #974 is OPEN on branch jonah/omn-occ-bind-overnight."
exit_code: 0
pr_number: 974
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
schema_version: "1.0.0"
ticket_id: OMN-9906
evidence_item_id: dod-omniclaude-pr-1572-hook-gate-failopen
check_type: command
check_value: >-
gh pr diff 1572 --repo OmniNode-ai/omniclaude | grep -q 'failed to source hook-gate.sh; failing open'
&& gh pr diff 1572 --repo OmniNode-ai/omniclaude | grep -q 'onex_hook_gate unavailable; failing open'
status: PASS
run_timestamp: "2026-05-13T14:40:00Z"
commit_sha: 36f5e84bb9afeb0563c128e27c13bcab50297a06
runner: jonah-local
verifier: jonahgabriel
probe_command: >-
gh pr diff 1572 --repo OmniNode-ai/omniclaude | grep -E 'failed to source hook-gate.sh|onex_hook_gate
unavailable|onex_hook_gate TEAM_LEAD_GUARD'
probe_stdout: |
+ echo "[$(date -u +"%Y-%m-%dT%H:%M:%SZ")] [$_OMNICLAUDE_HOOK_NAME] ERROR: failed to source hook-gate.sh; failing open" >> "$LOG_FILE" 2>/dev/null || true
+ echo "[$(date -u +"%Y-%m-%dT%H:%M:%SZ")] [$_OMNICLAUDE_HOOK_NAME] ERROR: onex_hook_gate unavailable; failing open" >> "$LOG_FILE" 2>/dev/null || true
+if ! onex_hook_gate TEAM_LEAD_GUARD; then
actual_output: >-
PASS: omniclaude PR #1572 head 36f5e84bb9afeb0563c128e27c13bcab50297a06 keeps the TEAM_LEAD_GUARD bitmask
behavior and now fails open when hook-gate.sh cannot be loaded or onex_hook_gate is unavailable.
exit_code: 0
pr_number: 1572
branch: jonah/omn-9906-migrate-env-toggles-to-contract
working_dir: /Users/jonah/Code/omni_home/omni_worktrees/OMN-9906/omniclaude
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ actual_output: >-
v0.40.2 tag so CI sees the WORKTREE_GUARD enum bit without adding a raw 40-character SHA to pyproject.toml.
exit_code: 0
pr_number: 1572
contract_sha256: "sha256:b6f49b8e32c04179d862788422e5d1949efc5461f72a04b2cf4044682f9053ca"
contract_sha256: "sha256:34803f8318f217cc4fa972e730d91366bfae45f964a371d8e71688872e59f28a"
Loading