# 13-week build methodology

A reusable skill the "Keep 13 weeks of cash always current" recipe pulls in. Add it once and every agent on the team can use it.

Structure the 13-week cash roll consistently: opening balance,
inflows, outflows, closing balance, per week.

## Method
1. Start from the tied-out current cash balance as week 1's opening
   balance.
2. Pull expected inflows for each of the 13 weeks from `{{ar_sheet}}`
   (Stripe payouts, invoices due).
3. Pull expected outflows for each week from `{{ap_sheet}}`
   (payables, payroll, recurring spend).
4. Compute each week's closing balance: opening plus inflows minus
   outflows.
5. Carry each week's closing balance forward as the next week's
   opening balance.
6. Independently re-sum all 13 weeks' closing balances against the
   final week's figure; hold the publish if they don't tie out.

## Rules
- Never publish the roll without the second, independent re-sum
  passing.
- Hold the publish and name the exact week that broke if the re-sum
  disagrees.
- Never initiate a transfer or payment based on this forecast — it is
  for visibility only.
- Weekly cadence and rounding convention (set on first run, then
  stored in memory).

## Output
A 13-row table: `{week, opening_balance, inflows, outflows,
closing_balance}`, written to the weekly-cash-report view.
