2 Commits
Author SHA1 Message Date
CatoandClaude 5b0f93f117 feat(copy): the machine that runs the work is a runner, not a builder (#1482)
"Builder" meant three things on Loki's screens: the machine that runs
agent work ("Cloud builder", "Waiting for a builder"), the role on a
project, and the approved builder a customer books through Bitbaum. The
person keeps the word; the machine becomes a runner, the word the code
and the desktop app already use (box-runner, Fleet Runner, "Hosted
runner"). Not "engine": on screen that is already the model and
subscription a change is built with.

- every user-facing string where "builder" meant the machine, with
  EXECUTOR_COPY as the source, plus docs, quickstart, pricing and voice
- unchanged: the Builder role, "a builder or owner can start work",
  people who build ("App builders", "for one builder running Loki"),
  the site widget's "Send to builder" (the site's maker), stored
  transcript parsing, and internal codes and paths (needs-builder,
  cloud-builder-private, /api/builder/presence)
- tests that pin the wording follow it


Claude-Session: https://claude.ai/code/session_019MDtmw5m9WhdN77N2YeqDm

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 22:30:16 +01:00
CatoandClaude Opus 5 54ee73791f feat(control): say what a dispatch will do before it is dispatched (#794)
Priority 4 of the 2026-09-17 review: "Show agent, model, machine, and
known cost/quota information before dispatch."

All three were already settable on the project profile — agent, "Runs
on", Model — as three separate controls, stacked, and nothing stated the
combination. So the operator chose a builder in one row, a model two
rows down, pressed a prompt button, and the first statement of what
actually ran arrived afterwards, on the run record.

Now, directly above the prompt buttons that dispatch:

  Dispatch runs   Claude Code · opus · This computer   [last run $0.42]

COST IS THE LAST RUN'S, AND SAYS SO. What this dispatch will cost cannot
be known before it runs, and a predicted number beside a button reads as
a quote. What the previous run on this project cost is measured, and it
is the best available answer to "what am I about to spend" — labelled as
the past, in the tag and in its title text, never as an estimate.

A real sub-cent run renders "<$0.01", not "$0.00". Rounding a run that
cost something down to free is exactly the move that turns a measurement
back into a claim, and it is pinned by a test.

QUOTA IS EVIDENCE, NOT A BLOCK. The one piece available without asking
anything: the previous run here died with capacity language
(looksLikeAgentCapacityIssue, the same predicate the provider chooser
uses). Quota refills, so the caution says "may still be spent" and
leaves the decision with the operator. An ordinary crash is not evidence
about quota, which is also pinned.

Nothing is invented: a project that has pinned no builder gets no
machine in the sentence, and an agent with no model choice gets no empty
slot.

On the standing model instruction — Opus preserved, Fable excluded:
there is nothing to exclude. `fable` does not appear anywhere in this
repo (the two grep hits are the word "undiffable"), and this change adds
no model list of its own; it renders whatever the agent registry already
offers.

Tests: 7 cases, proved by mutation — dropping the sub-cent branch fails
with actual '$0.00'. tsc clean, lint 0 errors, check:design ok,
test:unit 205/205.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 09:44:36 -07:00