@trajectonomics/cli 0.8.0-alpha.32 → 0.8.0-alpha.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -263,6 +263,39 @@ each side.
263
263
  ]
264
264
  ```
265
265
 
266
+ ## Where each year's money went
267
+
268
+ > **Ships in 0.8.0.**
269
+
270
+ `traj projection run --breakdown` adds each Annual roll-up's cash flow as the engine routed it: each
271
+ Flow's income, the tax taken at source and each Levy's settlement (a refund is negative), each expense
272
+ and its category, each Contribution applied and the part the cash could not fund, each planned
273
+ withdrawal, what `cashflow.withdraw` drew and what `cashflow.surplus` filled. In JSON it is the
274
+ `cashflow` table, one row per line. In the human format it is one block per year, after the body:
275
+
276
+ ```
277
+ cash flow 2026-03-31 to 2027-03-30 (13 rows)
278
+ line amount
279
+ money in 124500.00
280
+ income 120000.00
281
+ withdrawals 3000.00
282
+ drawn 1500.00
283
+ tax 4200.00
284
+ spending 50700.00
285
+ housing 30000.00
286
+ food 18000.00
287
+ transport 1500.00
288
+ (uncategorised) 1200.00
289
+ saving 64800.00
290
+ not funded 19200.00
291
+ left over 4800.00
292
+ ```
293
+
294
+ Each total is the engine's figure, or an exact sum of the engine's own lines, so the CLI adds no figure of
295
+ its own. In every year, money in plus `unmet` (the cash a Shortfall left unpaid) equals tax, spending,
296
+ saving and left over: the engine routes every unit of cash. `not funded` is the part of the
297
+ Contributions the cash could not fund; it is not in saving.
298
+
266
299
  ## Seeing it in a browser
267
300
 
268
301
  `traj dashboard --as-of 2026-11-30 --horizon 2056-11-30` reads your ledger once and serves the Dashboard (net worth, the ledger, projections, the FI date, a Scenario compare, tax and health) on `http://127.0.0.1:4321/` until you press Ctrl-C. It only reads, it listens on this machine only, and it takes the same Scenario flags as the projection reads (`--scenario`, `--compare` twice, `--monthly`, `--carry-in`); `--port 0` picks a free port. Run it again to see new figures.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trajectonomics/cli",
3
- "version": "0.8.0-alpha.32",
3
+ "version": "0.8.0-alpha.34",
4
4
  "description": "trajectonomics command line",
5
5
  "license": "MIT",
6
6
  "type": "module",