Skip to content

Studio: every run button shows its cost estimate, and every run its actual cost #1063

In review

Description

@danielrispler

Parent

#1056

What to build

The figures on the page ("Where the figures show"). Every button that starts a background run shows its cost estimate, a short line beside or under it in the time hint's style: Draft the map, Back a law, Guard with a law's Back this law and Start the run, Explore this, a micro-world's Rebuild and Try again, Review map text and Run again, and the Map draft's Retry. A run's actual cost shows where its result shows: the Map draft panel's status line once ready, the map text review's line in Ratify, Back a law's patch review, a micro-world's row, and each ended row of the Background runs list. The list's head shows the 7-day total for all projects and draws even with no run listed while the total is not zero. Every figure's hover says where it comes from (story 19); shares say "about" and "under 1%"; a missing cost shows nothing.

Acceptance criteria

  • Each listed button shows its view's estimate, and none when the view carries none
  • Each listed view shows its run's actual cost, and nothing for a missing cost
  • The runs list's head draws with only the total, tested by the total changing while the list is open
  • The hover text of story 19 on estimates, actual costs and the total
  • Snap fixtures: Draft the map's card with its estimate, the Map draft panel's spent line, the runs list with figures and with only the total, and one brief button's estimate
  • $modern-web-guidance before the code and $web-design-guidelines on the result (AGENTS.md, UI changes)

Reading

Touches

  • Files: ui/map-scan.ts, ui/map-model.ts, ui/map-draft.ts, ui/map-runs.ts, ui/patch-review.ts, ui/micro-world.ts, ui/map-ratify.ts, ui/map-brief.ts, ui/map-stale.ts, scripts/snap/fixtures-map.ts, scripts/snap/fixtures-runs.ts, scripts/snap/fixtures-brief.ts, scripts/snap/fixtures.ts
  • Session: auto mode
  • Route: medium · effort medium — presentational UI over figures the wire carries, and a new condition for drawing the list's head, tested while open

Activity

  1. added
    ready-for-agent
    on Dec 2, 2026
  2. added 2 commits that reference this issue on Dec 2, 2026
  3. danielrispler commented on Dec 2, 2026

    @danielrispler
    OwnerAuthor

    Built on the integration branch issue-1056-run-cost, PR #1071 (closes on merge).

    Route outcome: medium·medium claude/sonnet → pass | 10m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions