carlos / platform Public

cli: label converted ARR and MRR as estimates (BDC-6, BDC-35)

Paul approved new text for BDC-6 and BDC-35 on 2026-11-09 in copy review
udf3zvfpk3xj3tlmj43qusluku, after the task review found converted
figures were not labelled as estimates. The CLI's rate clause and the
cli.md revenue paragraph carry it byte for byte; the copy record's rows
and header follow, with the review result beside it. The root census
overlay is re-proposed for billing_cli_copy.go (envelope only, seal
unchanged).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev e58becd225dcaf792db2b617f3ed12bb0c1417f0 parent 90dc56b
5 files changed, +32 −6
  • billing_cli_copy.go +1 −1
  • docs/site/cli.md +1 −1
  • docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy-approved-2.json +26 −0
  • docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy.md +3 −3
  • internal/provision/testdata/plan14-root-reads-billing-dashboard-1.tsv +1 −1

CI failed — run details

diff --git a/billing_cli_copy.go b/billing_cli_copy.go
index 43df3ec61..ce5514e94 100644
--- a/billing_cli_copy.go
+++ b/billing_cli_copy.go
@@ -38,7 +38,7 @@ const (
cliBillingCopyLabelARR = "arr"
cliBillingCopyARR = "%s a year before tax (%s)"
- cliBillingCopyRateDay = ", at ecb rates of %s"
+ cliBillingCopyRateDay = ", estimated at ecb rates of %s"
cliBillingCopyLabelMRR = "mrr"
cliBillingCopyMRR = "%s a month before tax"
cliBillingCopyLabelPaying = "paying"
diff --git a/docs/site/cli.md b/docs/site/cli.md
index 57fb71ad0..059e101b2 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -2319,7 +2319,7 @@ carlos billing house -account bac -off -note "now a customer"
`problems` prints one line per open problem: its number, the account, the reason, the subscription, when it opened (UTC) and what the console saw. `-all` adds closed problems. `close` needs `-note`. The console refuses to close most problems while Stripe still shows the subscription as live.
-`revenue` prints what the paying accounts bring in, before tax: ARR and MRR in euros at the ECB rates of the day it names, with each currency's own total beside ARR, for example `arr €2,400.00 a year before tax (€2,400.00), at ecb rates of 2026-11-06`. Then it prints how many accounts pay, how many of those have a failing renewal or are cancelling, and how many accounts are paying, free, sponsored, house and ours. A figure the console can't stand behind yet, because a read from Stripe is behind or a rate is missing, says `not available yet` and why, instead of a wrong number. In test mode it says so.
+`revenue` prints what the paying accounts bring in, before tax: ARR and MRR in euros, with each currency's own total beside ARR. When a total converts another currency, it is an estimate at the ECB rates of the day it names, for example `arr €2,425.00 a year before tax (€2,400.00 + $28.00), estimated at ecb rates of 2026-11-06`. Then it prints how many accounts pay, how many of those have a failing renewal or are cancelling, and how many accounts are paying, free, sponsored, house and ours. A figure the console can't stand behind yet, because a read from Stripe is behind or a rate is missing, says `not available yet` and why, instead of a wrong number. In test mode it says so.
`payments` lists the money Stripe has taken and paid back, newest first, up to 500 lines: when it happened (UTC), the account, the kind, the amount charged, the tax, what settled in euros and Stripe's fee. `-month 2026-11` keeps one month. `-kind` keeps one of `subscription`, `once-off`, `refund`, `fee` or `unmatched`, a payment from a Stripe customer the console can't match to an account.
diff --git a/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy-approved-2.json b/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy-approved-2.json
new file mode 100644
index 000000000..ac62f7654
--- /dev/null
+++ b/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy-approved-2.json
@@ -0,0 +1,26 @@
+{
+ "action": "approve",
+ "guidance": null,
+ "strings": [
+ {
+ "id": "BDC-6",
+ "text": ", estimated at ecb rates of <day>",
+ "original": ", estimated at ecb rates of <day>",
+ "edited": false,
+ "rerolled": false,
+ "rerolls": [],
+ "done": false
+ },
+ {
+ "id": "BDC-35",
+ "text": "`revenue` prints what the paying accounts bring in, before tax: ARR and MRR in euros, with each currency's own total beside ARR. When a total converts another currency, it is an estimate at the ECB rates of the day it names, for example `arr €2,425.00 a year before tax (€2,400.00 + $28.00), estimated at ecb rates of 2026-11-06`. Then it prints how many accounts pay, how many of those have a failing renewal or are cancelling, and how many accounts are paying, free, sponsored, house and ours. A figure the console can't stand behind yet, because a read from Stripe is behind or a rate is missing, says `not available yet` and why, instead of a wrong number. In test mode it says so.",
+ "original": "`revenue` prints what the paying accounts bring in, before tax: ARR and MRR in euros, with each currency's own total beside ARR. When a total converts another currency, it is an estimate at the ECB rates of the day it names, for example `arr €2,425.00 a year before tax (€2,400.00 + $28.00), estimated at ecb rates of 2026-11-06`. Then it prints how many accounts pay, how many of those have a failing renewal or are cancelling, and how many accounts are paying, free, sponsored, house and ours. A figure the console can't stand behind yet, because a read from Stripe is behind or a rate is missing, says `not available yet` and why, instead of a wrong number. In test mode it says so.",
+ "edited": false,
+ "rerolled": false,
+ "rerolls": [],
+ "done": false
+ }
+ ],
+ "review": "udf3zvfpk3xj3tlmj43qusluku",
+ "generation": 1
+}
diff --git a/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy.md b/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy.md
index a8253638e..e152118b2 100644
--- a/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy.md
+++ b/docs/superpowers/plans/2026-11-09-billing-dashboard-1-copy.md
@@ -1,6 +1,6 @@
# Billing dashboard plan 1: copy record
-Every user-facing string plan 1 of the billing dashboard writes (spec `2026-11-09-billing-dashboard-design.md` §4.2 to §4.4): the `carlos billing revenue` and `carlos billing payments` verbs, the console door's refusals, the docs and the Stripe setup script. Paul approved all 38 rows unchanged on 2026-11-09 in copy review `il22ckkydvo2n7onrbwviz3sfq` (`2026-11-09-billing-dashboard-1-copy-approved.json`). The gate is `approved_billing_dashboard_copy_test.go` at the repo root, in the asset copy record's format: one table per heading, columns id, file, text, status.
+Every user-facing string plan 1 of the billing dashboard writes (spec `2026-11-09-billing-dashboard-design.md` §4.2 to §4.4): the `carlos billing revenue` and `carlos billing payments` verbs, the console door's refusals, the docs and the Stripe setup script. Paul approved all 38 rows unchanged on 2026-11-09 in copy review `il22ckkydvo2n7onrbwviz3sfq` (`2026-11-09-billing-dashboard-1-copy-approved.json`). Paul approved new text for BDC-6 and BDC-35 on 2026-11-09 in copy review `udf3zvfpk3xj3tlmj43qusluku` (`2026-11-09-billing-dashboard-1-copy-approved-2.json`), after the task review found converted figures were not labelled as estimates. The gate is `approved_billing_dashboard_copy_test.go` at the repo root, in the asset copy record's format: one table per heading, columns id, file, text, status.
The rules are the asset copy record's (`2026-10-24-edge-asset-cache-copy.md`): a row's Go text is one literal or one `fmt.Sprintf`/`fmt.Errorf`/`errors.New` format, with a verb where the row has a placeholder (`<eur>`, `<amounts>`, `<day>` and `<reason>` are `%s`; `<n>` and `<all>` are `%d`); docs rows are one line per paragraph or code line in `docs/site/cli.md` and `docs/site/plans.md`; the task that writes a row adds its id to `billingDashboardCopyBuilt` in the same commit. Amounts are formatted by the code (`€24.00`, `$28.00`); `<amounts>` is each currency's own total joined with ` + `. A revenue line prints as its label, two spaces, then its value, or the label, two spaces, BDC-13 and the reason's text when the door refuses the figure.
@@ -18,7 +18,7 @@ The rules are the asset copy record's (`2026-10-24-edge-asset-cache-copy.md`): a
|---|---|---|---|
| BDC-4 | billing_cli_copy.go | arr | approved |
| BDC-5 | billing_cli_copy.go | <eur> a year before tax (<amounts>) | approved |
-| BDC-6 | billing_cli_copy.go | , at ecb rates of <day> | approved |
+| BDC-6 | billing_cli_copy.go | , estimated at ecb rates of <day> | approved |
| BDC-7 | billing_cli_copy.go | mrr | approved |
| BDC-8 | billing_cli_copy.go | <eur> a month before tax | approved |
| BDC-9 | billing_cli_copy.go | paying | approved |
@@ -71,7 +71,7 @@ BDC-23 fills the account column when the door's `account` is empty: a payment fr
| BDC-32 | docs/site/cli.md | carlos billing revenue | approved |
| BDC-33 | docs/site/cli.md | carlos billing payments -month 2026-11 | approved |
| BDC-34 | docs/site/cli.md | carlos billing payments -kind unmatched | approved |
-| BDC-35 | docs/site/cli.md | `revenue` prints what the paying accounts bring in, before tax: ARR and MRR in euros at the ECB rates of the day it names, with each currency's own total beside ARR, for example `arr €2,400.00 a year before tax (€2,400.00), at ecb rates of 2026-11-06`. Then it prints how many accounts pay, how many of those have a failing renewal or are cancelling, and how many accounts are paying, free, sponsored, house and ours. A figure the console can't stand behind yet, because a read from Stripe is behind or a rate is missing, says `not available yet` and why, instead of a wrong number. In test mode it says so. | approved |
+| BDC-35 | docs/site/cli.md | `revenue` prints what the paying accounts bring in, before tax: ARR and MRR in euros, with each currency's own total beside ARR. When a total converts another currency, it is an estimate at the ECB rates of the day it names, for example `arr €2,425.00 a year before tax (€2,400.00 + $28.00), estimated at ecb rates of 2026-11-06`. Then it prints how many accounts pay, how many of those have a failing renewal or are cancelling, and how many accounts are paying, free, sponsored, house and ours. A figure the console can't stand behind yet, because a read from Stripe is behind or a rate is missing, says `not available yet` and why, instead of a wrong number. In test mode it says so. | approved |
| BDC-36 | docs/site/cli.md | `payments` lists the money Stripe has taken and paid back, newest first, up to 500 lines: when it happened (UTC), the account, the kind, the amount charged, the tax, what settled in euros and Stripe's fee. `-month 2026-11` keeps one month. `-kind` keeps one of `subscription`, `once-off`, `refund`, `fee` or `unmatched`, a payment from a Stripe customer the console can't match to an account. | approved |
BDC-32 to BDC-34 are new lines in the section's `sh` block, after `carlos billing problems -all`.
diff --git a/internal/provision/testdata/plan14-root-reads-billing-dashboard-1.tsv b/internal/provision/testdata/plan14-root-reads-billing-dashboard-1.tsv
index 9e8d43c9b..4a09631f1 100644
--- a/internal/provision/testdata/plan14-root-reads-billing-dashboard-1.tsv
+++ b/internal/provision/testdata/plan14-root-reads-billing-dashboard-1.tsv
@@ -1,3 +1,3 @@
# Census overlay billing-dashboard-1, written by census-propose (#369). census-ruling-billing-dashboard-1, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-billing-dashboard-1.md.
# 0 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-@coverage . c22abc56445e0bd91a531e54857f7d8e89c4b4fdb72ea01f606c56658cb60fcb
+@coverage . e524a944cd8c5be7e518bf767ad25f48bc8de05cf3ef60080a01d900a7151fe1