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
54 changes: 54 additions & 0 deletions contracts/OMN-20758.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
schema_version: 1.0.0
ticket_id: OMN-20758
title: Autobind OCC evidence for OMN-20758
summary: 'Hand-authored OCC Evidence-Source companion (OMN-15247) for PR #378 on OmniNode-ai/omnidash.
occ-autobind has no candidate grammar for TypeScript, page-spec JSON or package.json, so it cannot mint
one, and verify / verify fails closed on a missing Evidence-Source line.'
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.
The ticket body is the source and this block is the copy.
acceptance:
- id: AC1
statement: 'AC1: The local Overview''s cards are titled Actual spend, Agent calls and Tokens processed,
each showing the same served figure as today -- falsifier: a vitest page test rendering the
Overview from a served metering-summary row that fails unless each of the three titles is present
and bound to the same value the current Spend, Measured runs and Tokens in and out cards show'
- id: AC2
statement: 'AC2: No card on the local Overview is still titled Spend, Measured runs or Tokens
in and out -- falsifier: the same vitest suite failing when any of the three old titles renders'
evidence_requirements:
- kind: ci
description: 'PR #378 product diff scope present'
command: gh pr view ${PR_NUMBER} --repo ${REPO} --json files
- kind: ci
description: The Overview page spec labels the three cards Actual spend, Agent calls and Tokens processed
at the PR head and not at the merge base.
command: 'gh api -H ''Accept: application/vnd.github.raw'' "repos/OmniNode-ai/omnidash/contents/src/pages/local/overview.page.yaml?ref=bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3"
| grep -cE ''"label": "(Actual spend|Agent calls|Tokens processed)"'''
emergency_bypass:
enabled: false
justification: ''
follow_up_ticket_id: ''
dod_evidence:
- id: dod-OmniNode-ai-omnidash-pr-378
description: 'PR #378 on OmniNode-ai/omnidash -- Evidence-Source autobind, hand-authored (OMN-15247).
The Overview retitles Spend, Measured runs and Tokens in and out as Actual spend, Agent calls and
Tokens processed. The check reads src/pages/local/overview.page.yaml at the PR commit and counts
the three new labels: 3 there, and 0 at the merge base f5102a40f89f16e86103d9bf7ba6412948a0d316.
The ref is a commit, so the file the check reads cannot change under it.'
source: generated
checks:
- check_type: command
check_value: 'gh api -H ''Accept: application/vnd.github.raw'' "repos/OmniNode-ai/omnidash/contents/src/pages/local/overview.page.yaml?ref=bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3"
| grep -cE ''"label": "(Actual spend|Agent calls|Tokens processed)"'''
- id: dod-OmniNode-ai-omnidash-pr-378-ci
description: 'PR #378 on OmniNode-ai/omnidash -- product diff scope check (OMN-14425).'
source: generated
checks:
- check_type: command
check_value: gh pr view 378 --repo OmniNode-ai/omnidash --json files
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
schema_version: 1.0.0
ticket_id: OMN-20758
evidence_item_id: dod-OmniNode-ai-omnidash-pr-378-ci
check_type: command
check_value: gh pr view 378 --repo OmniNode-ai/omnidash --json files
contract_sha256: sha256:9abfa39e26f8c14e72e2035b00248663b1d1bb3c17adae9ea83b543b61c7acc3
contract_entry_sha256: sha256:8219f02963bcb13afaa4805d24cc8282b2a7d8c7923aa73cfe5247256ceb1855
status: PASS
run_timestamp: '2026-10-09T03:15:50Z'
commit_sha: bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3
runner: claude-opus-5-5@laptop
verifier: occ-probe-capture-v1
probe_command: gh pr view 378 --repo OmniNode-ai/omnidash --json files
probe_stdout: '{"files":[{"path":"CHANGELOG.md","additions":7,"deletions":0,"changeType":"MODIFIED"},{"path":"package-lock.json","additions":2,"deletions":2,"changeType":"MODIFIED"},{"path":"package.json","additions":1,"deletions":1,"changeType":"MODIFIED"},{"path":"src/pages/LocalDashboardPage.live.test.tsx","additions":5,"deletions":5,"changeType":"MODIFIED"},{"path":"src/pages/LocalDashboardPage.omn19980.test.tsx","additions":16,"deletions":16,"changeType":"MODIFIED"},{"path":"src/pages/LocalDashboardPage.omn20758.test.tsx","additions":94,"deletions":0,"changeType":"ADDED"},{"path":"src/pages/local/overview.contracts.yaml","additions":3,"deletions":3,"changeType":"MODIFIED"},{"path":"src/pages/local/overview.page.yaml","additions":6,"deletions":6,"changeType":"MODIFIED"},{"path":"tests/e2e/local-dashboard-contracts.spec.ts","additions":8,"deletions":8,"changeType":"MODIFIED"}]}'
actual_output: 'PASS: product-diff-scope for OMN-20758 from OmniNode-ai/omnidash#378.'
exit_code: 0
duration_ms: 1037
pr_number: 378
branch: jake/omn-20758-omnidash-companion
artifact_sha256:
- sha256:64f1d5d5734bd27fddb1e197c0128a37e12dd21f0e842b39b4380ce72f7698b3
- sha256:30e70d7493a2ca4b69cbce60fa424488a306d0f7264467d0908336874564e4d9
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
schema_version: 1.0.0
ticket_id: OMN-20758
evidence_item_id: dod-OmniNode-ai-omnidash-pr-378
check_type: command
check_value: 'gh api -H ''Accept: application/vnd.github.raw'' "repos/OmniNode-ai/omnidash/contents/src/pages/local/overview.page.yaml?ref=bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3"
| grep -cE ''"label": "(Actual spend|Agent calls|Tokens processed)"'''
contract_sha256: sha256:9abfa39e26f8c14e72e2035b00248663b1d1bb3c17adae9ea83b543b61c7acc3
contract_entry_sha256: sha256:60325756ed137f1e1e2371bde42daf65520bf0857656d63fb9ba6a7c43beb342
status: PASS
run_timestamp: '2026-10-09T03:15:31Z'
commit_sha: bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3
runner: claude-opus-5-5@laptop
verifier: occ-probe-capture-v1
probe_command: 'gh api -H ''Accept: application/vnd.github.raw'' "repos/OmniNode-ai/omnidash/contents/src/pages/local/overview.page.yaml?ref=bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3"
| grep -cE ''"label": "(Actual spend|Agent calls|Tokens processed)"'''
probe_stdout: '{"evidence_ref":"bd205eaaa3f934f00c0b5b8a1c41770fd425b4b3","green_exit":0,"red_exit":1,"red_ref":"f5102a40f89f16e86103d9bf7ba6412948a0d316"}'
actual_output: 'PASS: Evidence-Source autobind for OMN-20758 from OmniNode-ai/omnidash#378.'
exit_code: 0
duration_ms: 1621
pr_number: 378
branch: jake/omn-20758-omnidash-companion
artifact_sha256:
- sha256:768001c77db0c37798c05f8389efc9095321622c433ee942c67286ac4d428055
- sha256:797c9b236ec637ea9e6bbadc2c78e8274fe4c171bb92ceeaac29818d474dd496
18 changes: 18 additions & 0 deletions drift/occ_bindings/OMN-20758/occ-self-bind-pr-13380/command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
schema_version: "1.0.0"
ticket_id: "OMN-20758"
evidence_item_id: "occ-self-bind-pr-13380"
check_type: "command"
check_value: "gh pr view 13380 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
contract_sha256: "sha256:9abfa39e26f8c14e72e2035b00248663b1d1bb3c17adae9ea83b543b61c7acc3"
status: PASS
run_timestamp: "2026-10-09T03:30:12Z"
commit_sha: "f66c50187adc9d0115fab338b38311f7862c0a79"
runner: "occ-self-bind-mint"
verifier: "github-pr-readback"
probe_command: "gh pr view 13380 --repo OmniNode-ai/onex_change_control --json number,state,headRefName"
probe_stdout: |
{"headRefName":"jake/omn-20758-omnidash-companion","number":13380,"state":"OPEN"}
exit_code: 0
pr_number: 13380
branch: "jake/omn-20758-omnidash-companion"
Loading