Skip to content

feat(OMN-20758): the Overview titles Actual spend, Agent calls and Tokens processed as the mockup does - #378

Merged
jake-b-omni merged 1 commit into
devfrom
jake/omn-20758-mockup-titles
Oct 9, 2026
Merged

jake-b-omni merged 1 commit into
devfrom
jake/omn-20758-mockup-titles

Conversation

@jake-b-omni

@jake-b-omni jake-b-omni commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

The OMN-20223 re-walk on 2026-10-09 (bundle v1.1.7) reconciled every in-scope figure but failed AC4 on three titles. The Overview said Spend, Measured runs and Tokens in and out, where the demo mockup (walkthrough step 5) says Actual spend, Agent calls and Tokens processed.

Change. In overview.page.yaml (widget title and label) and overview.contracts.yaml (component title), overview-spend, overview-measured and overview-tokens are retitled. Component ids, bindings, required fields, formats and captions are unchanged, so each card shows the same served figure as before. Savings keeps its modelled label (OMN-20008), as the ticket specifies.

Release. 1.1.7 → 1.1.8 (project-level lockfile fields only) with a CHANGELOG entry, so onex dashboard can pin the renamed page.

Tests.

  • src/pages/LocalDashboardPage.omn20758.test.tsx (5) renders the Overview from a served metering-summary all-time row. All 5 fail without the rename.
    • T1: Actual spend shows $0.0123 (spend_usd), Agent calls shows 23 (runs_measured), and Tokens processed shows 5,756 in · 378 out.
    • T2: no heading titled Spend, Measured runs or Tokens in and out renders.
    • T3: Agent calls keeps its run-class caption.
  • The page-level tests that look panels up by title (omn19980, live) and the e2e spec local-dashboard-contracts.spec.ts use the new titles.
  • Full vitest: 2184 passed, 15 skipped. tsc and eslint are clean.
  • e2e, run locally with system Chrome: 16 passed. 3 fail identically on unchanged dev: "stored basis…", "Overview is the default page…" and "Runs lists every decision…". This PR does not touch them, and CI does not run e2e.

Evidence-Source: OCC#13380
Evidence-Ticket: OMN-20758

🤖 Generated with Claude Code

…kens processed as the mockup does

The OMN-20223 re-walk failed AC4 on three titles: the Overview said Spend,
Measured runs and Tokens in and out where the demo mockup says Actual
spend, Agent calls and Tokens processed. Only the titles change; each card
keeps its component id, binding and served figure. Savings keeps its
modelled label (OMN-20008).

Bumps to 1.1.8 so onex dashboard can pin the renamed page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jake-b-omni
jake-b-omni enabled auto-merge (squash) October 9, 2026 03:13
@onexbot-occ-writer

Copy link
Copy Markdown
Contributor

OCC autobind did not mint a companion for this PR: no changed-file candidate could be proven RED against the merge base, and emitting a PR-existence probe instead would be non-falsifiable evidence (OMN-15247). Hand-authored evidence is required.

Considered 9 changed file(s):

  • CHANGELOG.md: release-line source, but the diff also changes a path that is not a release artefact, so release lines are not offered
  • package-lock.json: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • package.json: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • src/pages/LocalDashboardPage.live.test.tsx: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • src/pages/LocalDashboardPage.omn19980.test.tsx: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • src/pages/LocalDashboardPage.omn20758.test.tsx: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • src/pages/local/overview.contracts.yaml: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • src/pages/local/overview.page.yaml: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)
  • tests/e2e/local-dashboard-contracts.spec.ts: no candidate grammar reads this file type (only Python declarations, uv.lock lines, release-artefact lines and contract-pin lines are proposed)

This verdict is occ-autobind's, derived from this head and its merge base alone. A second producer, the occ-companion-effect backstop, consumes its own command on the lab bus and may still mint a companion under the generic binding. Whether it does depends on that consumer running, not on this diff (OMN-18876).

@jake-b-omni
jake-b-omni merged commit 161ce9f into dev Oct 9, 2026
43 of 50 checks passed
@jake-b-omni
jake-b-omni deleted the jake/omn-20758-mockup-titles branch October 9, 2026 04:02
jake-b-omni pushed a commit that referenced this pull request Oct 9, 2026
#378 (OMN-20758) took 1.1.8 first, so the table fit releases as 1.1.9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jake-b-omni added a commit that referenced this pull request Oct 9, 2026
…440x900 (#379)

* fix(OMN-20759): the Runs and Recent runs tables fit their panels at 1440x900

The OMN-20223 re-walk found both run tables wider than their panels at 1440:
Runs (17 columns) scrolled sideways with Host clipped, and the Overview's
Recent runs clipped the Run id. Runs had no fit treatment at all, and Recent
runs gave the run id and timestamp a 9ch floor while the host, a 33-character
token with no break opportunity, could not wrap.

Both tables now use the fit wrapper. Run id, time, model, backend and host may
break inside themselves; every other cell still wraps at spaces, and no column
is dropped. A Playwright check at 1440x900 asserts each table's scrollWidth
fits its container, no cell is clipped and every header is present; it fails
on dev with 1230 px and 82 px of overflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(OMN-20759): bump to 1.1.9 so onex dashboard can pin the table fit

#378 (OMN-20758) took 1.1.8 first, so the table fit releases as 1.1.9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(OMN-20759): the local dashboard contract spec matches the fitted Runs table and the merged pages

The scroll test asserted the Runs table scrolls sideways, the behaviour
OMN-20759 removes; it now asserts the table needs no sideways scroll. Two
stale expectations from merged work also failed this spec on dev: per-run
cost prints $0.0004 since #376, and Savings and Baseline spend (#375) both
carry the baseline caption and modelled note. The e2e suite is not in CI,
so neither break was caught when it merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Jake Brower <jake@bodegalogic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant