From Bland to Brilliant

Two features, polished before lunch

Two rough features got reframed and shipped before lunch

In amplifier-app-newtui, TODO updates were invisible and pricing could silently show $0. Both got reframed, redesigned, and shipped in a single morning.

The surprising part isn't the fixes — it's what made them possible.

2
features polished
1
morning session

One developer, a 44-minute window, both features shipped

Michael J. Jabbour authored a calibrated backlog at 10:40, shipped the TODO feature at 11:00, and accurate pricing at 11:24 — all in one repo.

Two features in under an hour. So what did that morning actually start with?

10:40
Calibrated backlog28a70c6 — names both problems
11:00
Native TODO checklistb3d0dae — ~20 min later
11:24
Accurate cost pricing08fc724 — ~24 min later

The morning opened with a diagnosis, not a keyboard

docs/BACKLOG.md named exactly two problems: item #1 accurate pricing (parity with amplifier-app-cli), item #2 the live TODO tracker — "renderer shipped, adapter missing."

That precise naming is the actor the rest of this story leans on.

TODO updates were invisible — folded into a one-line digest

The parent reducer mapped the tool 'todo' to ('updated','plan') — a single digested line. Under the full-screen TUI the printing panel was stripped, with no replacement.

You can't fix what you can't see clearly. The backlog said so precisely.

"todo": ("updated", "plan"),

→ updated plan

A surgical reducer change turned the digest into a live checklist

The reducer now routes tool_name=='todo' to _update_todo, and the renderer draws a native block: a "· Todo · N/M" header, ✔/▶/□ rows, and a █/░ progress bar. A change, not a rebuild.

One precise fix down. The second was the same shape.

· Todo · 2/3
  ✔ write backlog
  ▶ ship TODO block
  □ ship pricing
████████████████░░░░░░░░

A full pricing lifecycle that never lies in the footer

A background daemon thread fetches live pricing from Helicone, backed by a 24-hour on-disk cache and a fallback table. Unpriceable usage never records $0 — the total shows "~$" when estimated.

The backlog's contract — "never lie in the footer" — drove exactly what shipped.

# live fetch on daemon thread name="pricing-fetch" (daemon) source: helicone.ai/api/llm-costs # cache: 24h TTL ~/.amplifier/pricing_cache.json # honesty flag footer → ~$1.23 (estimated) footer → $1.23 (exact)

Both fixes landed back-to-back and clean — because diagnosis was the leverage

The cost commit shipped fully tested in the same change: 783 passed / 1 xfailed, ruff clean, pyright 0 errors. A precise backlog turned two problems into two correct first-try fixes.

Not typing speed — the diffs were modest. Diagnosis was the leverage.

783
tests passed (1 xfailed)
0
pyright errors, ruff clean
~44
minutes, backlog to ship
The Pattern

Write the calibrated backlog first

Naming a problem precisely enough — which reducer mapping to change, exactly where the footer lies, what the cache contract must be — is most of the work of fixing it right the first time.

Sources

Research Methodology

Both features shipped · 2026-07-19

Repo: amplifier-app-newtui (git@github.com:michaeljabbour/amplifier-app-newtui)

Commits: backlog 28a70c6 (10:40:01), TODO b3d0dae (11:00:16), cost 08fc724 (11:23:57), all 2026-07-19 -0400

Research performed:

Gaps: "Single session" is inferred from three commits by one author in a ~44-min window; git records commit times, not editor sessions. The 08fc724 commit message mislabels the source as LiteLLM and the cache as ~/.amplifier/newtui/; the shipped code uses Helicone at ~/.amplifier/pricing_cache.json — claims here follow the shipped source, not the message.

Primary contributor: Michael J. Jabbour — sole human author of the backlog and both feature commits (Co-Authored-By: Amplifier trailer on both).

More Amplifier Stories