Coffee — writer's notes (not for publication)
Coffee — writer's notes (not for publication)
Bead: factory-but.12.4.34. Branch prep/nov25-coffee. Voice pass: outstanding.
Timeline (UTC, from date -u)
-
21:02:35 start; bead, inventory, publications checked: no existing coffee story or dataset.
-
21:02–21:04 evidence fetched (BLS API v1, World Bank Pink Sheet), calc.py, PROVENANCE, outline.
-
21:04:42 outline + evidence committed
9e8bb0c(outline sha256 7153ddb9239cbfedab0e2f1da26cc19956ef97e3f5992730de8eb3504ccf5d7b). -
~21:04 Codex outline review launched (gpt-6-astra, read-only, bounded file list) →
/tmp/factory-prep-coffee-review.md. -
21:05–21:06 pre-gate scratch chart build while the review ran (before any verdict). Not committed, not accepted. To be rebuilt and re-verified against the exact approved outline revision after the gate. Coordinator flagged this at ~21:06; recorded here.
-
21:06 White House tariff-exemption page: 404 (web-fetch). Outside-context tariff sentence remains unverified → drop from prose unless sourced.
-
21:06:33 Codex review 1: CHANGES_REQUIRED (4 items: y-domain clips arabica; title overstated; mismatched windows; unsourced release date and lag claim). Saved
reviews/outline-review-1.md. Reviewed 9e8bb0c, outline sha256 7153ddb9…5d7b. -
21:07:29 outline r2 committed
a3c024a(sha256 2758dc1864f4c3a8329b938556d1bea3b4212791ef57954b66b6cc4e64fa635b): all 4 items applied; new matched-window numbers added to calc.py. -
~21:07:40 Codex review 2 launched.
Findings from the scratch build (for the outline after review)
- Chart 2 y-domain in the outline ([75, 170]) is wrong: arabica's 2023 minimum is $4.05/kg (Sep 2023) → index 72. Needs [60, 170]. Found by rendering, not by the plan check: the outline claimed "min 4.47/5.62 = 80" using the 2024 minimum.
- Desktop monthly ticks wrapped year labels; use yearly ticks.
Friction notes
- Factory worktrees have no
stories/node_modules; symlinked the main checkout's (gitignored). - Bead's "~5% overall" is not supported (Sep→Sep CPI-U +3.7%; Oct 2025 not collected).
Fidelity and scope review
Reviewer: Claude Sonnet 5.5 subagent, fresh context (README, two desktop SVGs, PROVENANCE, BLS series page only), 2026-11-25 ~21:10 UTC, on prose d59147e. 5 must-fix items, all applied at ~21:11:
- "everything else in the shopping basket" → "prices overall" (only all-items CPI compared). Applied.
- Heading "Shoppers have not seen the bean price fall" → "Shelf prices have not followed beans down". Applied; closing sentence also reworded to "the US shelf price has not shown a matching fall".
- "the bag on the shelf" → "a pound of ground coffee" (measure is per lb, all sizes). Applied.
- "green"/"unroasted" not supported by saved files → removed from prose and chart 2 note. Applied.
- "latest full year of data, September to September" → "the year to September (October 2025 is missing)". Applied.
- Optional: "in US cities" → "US city average". Applied.
Claims confirmed: 18%, 46%, 9.25, six times (46/8), 5% from April, +1.4% Apr→Oct arabica, eleven months.
Final editorial review
- Round 1: Codex gpt-6-astra, read-only, on d59147e (coffee.md sha256 53b1f92c…3d47) → CHANGES_REQUIRED, 5 items (reviews/final-review-1.md). All numbers reproduced.
- Generalisations → applied (overlaps scope review; adopted reviewer wording for the closing sentence).
- "latest full year" → applied with reviewer's wording.
- Yardstick baseline → outline r3 records the 2024-average baseline (146.3 vs 107.6, ratio 6.1) beside the approved Oct-to-Oct cross-check (39.2% vs 6.9%). This is an outline change; re-reviewed together with the prose in round 2.
- Reproducibility → two builds identical; manifest now includes PNGs and the pinned
stories/package.json+ lockfile. - Source verification → arabica definition saved from the workbook's Description sheet; extraction re-run byte-identical; World Bank licence marked unverified in PROVENANCE (workbook states none; sources include Bloomberg/Thomson Reuters) — a blocker before publishing, not before staging.
- Round 2 on d728378 (coffee.md 842d8ec1…eaed) → CHANGES_REQUIRED (reviews/final-review-2.md): items 1–3 resolved; 4 (build/preview evidence) and 5 (workbook out of scope) partly; new 6: shutdown cause not supported by saved evidence.
- 4 →
reviews/build-log.txt(two builds, identical hashes);reviews/preview.mjsrenders the assembled package at 1024 px and 390 px →reviews/preview-*.png,reviews/preview-check.txt(all images load, correct mobile<picture>source, no horizontal overflow; story-check PASS with evidence in package). - 5 → workbook included in round-3 scope.
- 6 → "shutdown" removed from prose and chart notes; now "October 2025 data are unavailable"; PROVENANCE says cause not documented in saved evidence.
- 4 →
- Round 3 on 1e45e3c (coffee.md 74537670…567c) → CHANGES_REQUIRED (reviews/final-review-3.md): items 5, 6 resolved; workbook extraction independently matched (46 values); all 24 hashes match. Open: per-link resolution. →
reviews/link-check.py/link-check.txt: 9 links, 0 unresolved (2 DataHub data links map to package files, live only after publish). Manifest header label clarified. - Round 4 on 4b0c185 (coffee.md 74537670518468e8173403ef439bdb0ae4d6375834c658613a4a1f1f0d15567c) → APPROVED for the staged draft (reviews/final-review-4.md), 21:18 UTC. Reviewer: Codex CLI, gpt-6-astra, read-only (served model and cost unknown).
Before publishing (open)
- World Bank Pink Sheet licence not verified (workbook states none; sources include Bloomberg/Thomson Reuters).
- Live HTTP check of the two DataHub data URLs after publish.
- Refresh with the next BLS monthly release (November 2026 data) before shipping; numbers are as of the October 2026 release.
- Signed rules hold new agent stories (Must 5); this is staged only. Voice pass: outstanding.
Time
Start 21:02:35 UTC; final approval 21:18:05 UTC (15 min 30 s).