Turn a billing export into the board's SaaS metrics pack

1,473 MRR movements since 2021 into an ARR bridge, NRR and GRR, cohort retention, CAC payback and Rule of 40, with ending ARR tied to the dollar and customer by customer, and a seven-slide board deck.

Who
Lumenhall's finance team's LangGraph agent, on OpenAI gpt-6.1-sol
Runs in
LangGraph
Hands over
.pptxlumenhall-q3-2026-board-pack.pptx.xlsxlumenhall-q3-2026-metrics-final.xlsx
7 slides + 13 sheetsin 2 files, opened in Office
33 turns, 9 minone agent run in LangGraph on gpt-6.1-sol, unedited

The ask

Board meeting's at the end of the month and Priya wants the Q3 metrics pack; her note is board_pack_note.md. The billing exports (every MRR movement since 2021 and today's subscriptions) and finance_inputs.csv are in this folder. Build the metrics workbook (ARR bridge, NRR and GRR, cohort retention, CAC payback, Rule of 40, with checks that ending ARR ties to the subscriptions) and the board deck. Coast theme.

Lumenhall's finance team's LangGraph agent, on OpenAI gpt-6.1-sol

Every quarter the board asks how much ARR the company added, how much it kept and what it cost to win. The answers sit in a billing export of every MRR movement, and finance spends days turning it into a bridge, a cohort triangle and slides. This quarter the board also wants net and gross retention reported separately.

This run is a LangGraph agent, built the way the docs show with artiwright's Python package, on OpenAI's gpt-6.1-sol. It gets the request, the paths of the files and the notes, and nothing else.

What they handed over

Made-up data in the shape of a real export. Download it and try the ask yourself.

What came out

lumenhall-q3-2026-board-pack.pptxPowerPoint · 7 slides · 55 KB
Download
lumenhall-q3-2026-metrics-final.xlsxExcel · 13 sheets · 259 KB
Download

Screenshots exported by PowerPoint and Excel.

What the agent noticed

Its own check caught a break

When the Checks sheet first calculated, ending ARR tied but the customer-by-customer check was off by $3,145,092 of MRR, all of today's subscriptions. The agent looked at the customer balances and the sorted copy of the movements behind them, rebuilt that copy as links to the billing rows, and all eleven checks came to zero. Ending ARR is $37,741,104, today's MRR times 12.

It kept gross retention separate

Trailing-four-quarter NRR is 104.0% and GRR is 90.4%. GRR caps each customer at its starting MRR, so one customer's expansion can't hide another's loss. The deck says gross retention still shows material losses in the starting base and asks to work on contraction and churn alongside expansion.

It called the proxies proxies

Finance supplied no recognized revenue, so the deck calls the Rule of 40 ARR-based: 36.5% ARR growth plus a 3.7% FCF margin, 40.2%, only narrowly over the line. The Definitions sheet calls CAC payback a blended proxy and the magic number ARR-based.

Build it yourself

Board meeting's at the end of the month and Priya wants the Q3 metrics pack; her note is board_pack_note.md. The billing exports (every MRR movement since 2021 and today's subscriptions) and finance_inputs.csv are in this folder. Build the metrics workbook (ARR bridge, NRR and GRR, cohort retention, CAC payback, Rule of 40, with checks that ending ARR ties to the subscriptions) and the board deck. Coast theme.

Set Artiwright up in your app first: Quickstart for AI apps, Google ADK, LangGraph, Node.js.

Inside the workbook

13 sheets, laid out by the agent. In its words, sheet by sheet:

  1. The Finance sheet
    Finance

    S&M spend, plan ARR and FCF margin for the eight quarters from 2024-Q4 to 2026-Q3, as imported.

  2. The Movements sheet
    Movements

    All 1,473 MRR movements since January 2021: new, expansion, contraction and churn, by customer.

  3. The Subscriptions sheet
    Subscriptions

    Today's 355 subscriptions and their MRR.

  4. The Customer MRR sheet
    Customer MRR

    Each of the 493 billing customers' MRR at all 23 quarter ends, and the difference from today's subscriptions.

Show all 13 sheets
  1. The Customer Events sheet
    Customer Events

    The movements sorted by customer, as links to the Movements rows.

  2. The Definitions sheet
    Definitions

    The 78% gross margin, the board's asks, and how each metric is calculated, including which ones are ARR-based proxies.

  3. The ARR History sheet
    ARR History

    Quarterly ARR since 2021 with the bridge: beginning, new, expansion, contraction, churn and ending, and growth.

  4. The Quarterly Metrics sheet
    Quarterly Metrics

    For the eight finance quarters: ARR against plan, growth, trailing-four-quarter NRR and GRR, CAC payback, the magic number and Rule of 40.

  5. The Cohort MRR sheet
    Cohort MRR

    Each signing quarter's MRR at every quarter end since it signed.

  6. The Cohort Retention sheet
    Cohort Retention

    That MRR as a share of signing-quarter MRR, by age, for all 23 cohorts.

  7. The Checks sheet
    Checks

    Eleven checks, including ending ARR against today's subscriptions and every customer's MRR against the snapshot. All zero.

  8. The Board Summary sheet
    Board Summary

    The headline metrics for eight quarters and a chart of ending ARR against plan.

  9. The Board Data sheet
    Board Data

    The rounded figures the deck quotes, each a formula on the metrics.

How it got thereSee all 39 calls the agent made, what lint found and the finalize report

The run

One real session in LangGraph (gpt-6.1-sol), with only Artiwright's tools and the paths of the files above. Nothing below is edited: every call the agent made, what came back, and the renders it looked at.

  1. artiwright_help
    {
      "query": "skill spreadsheets",
      "search": "",
      "maxChars": 18000
    }
    ---
    name: artiwright-spreadsheets
    description: Build native Excel workbooks (.xlsx) with Artiwright - live formulas that compute as you write them, tables, number formats, conditional formats, data validation and native charts, then render, lint and publish a checked file. Use when a user asks for a spreadsheet, workbook, financial or operating model, budget, tracker, dashboard or data "as Excel".
    ---
    
    # Artiwright spreadsheets
    
    You build workbooks as code against a live document. Formulas compute as you write them, so you
    can read results back, check them, and look at the sheet as an image before you publish.
    Everything you make stays native and editable in Excel: real formulas (not pasted values), tables,
    number formats, conditional formats, validation dropdowns and charts linked to the cells.
    
    ## The loop
    
    1. **Plan the sheets.** Inputs (assumptions the user can change) → calculations → outputs
       (summary, charts). Decide the rows, columns and units before writing. Never invent numbers:
       ask, or label an assumption clearly as one.
    2. **Build** a sheet or a whole section per call: values, then formulas, then formats.
    3. **Look.** Render each sheet (`artiwright_render`) and read key results back (`return` a range,
       or `artiwright_inspect` with kind `formula`).
    4. **Check** with lint: formula errors, cycles, `####` columns, numbers stored as text, typed-in
       numbers in formulas. Fix everything in one call, then look again.
    5. **Publish** with finalize, stating requirements: the sheets, tables and charts that must exist
       and key cells with the values they must hold (`{ cell: "Checks!B2", equals: 0 }`).
    
    ## Work in few calls
    
    Every call resends the whole conversation, so a workbook made in 4 calls costs a fraction of one
    made in 25. When the user gives the data, this is usually enough:
    
    1. **One `artiwright_run` that builds every sheet**: rename `Sheet1`, write inputs, formulas,
       formats, tables, rules and charts, and `return` the key result cells to read them back.
    2. **`artiwright_lint`**. If it reports problems, fix them all in **one** run.
    3. **`artiwright_finalize`** with requirements (sheets, tables, charts, key cell values).
    
    - Don't probe the API with small runs: the calls on this page are enough. Use `help` only for
      something it doesn't show (`help("range.format")`, `help("functions")`).
    - One formula fills a range adjusted per row: `sheet
    …
  2. I’ll build the metrics from the billing history, reconcile ending ARR to the September 30 subscriptions, and use the workbook’s results for a seven-slide Coast-themed deck. I’ll also document the retention and unit-economics definitions so the board can see exactly what’s included.

  3. artiwright_importfinance_inputs.csv
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "path": "./work/finance_inputs.csv",
      "content": "",
      "sheet": "Finance",
      "at": "A1",
      "replace": false,
      "table": "Finance",
      "dates": "iso",
      "theme": "coast"
    }
    {
      "ok": true,
      "value": {
        "sheet": "Finance",
        "range": "A1:D9",
        "rows": 8,
        "columns": [
          "Quarter",
          "S&M spend",
          "Plan ARR",
          "FCF margin"
        ],
        "firstRows": [
          [
            "2024-Q4",
            2112000,
            23000000,
            -0.115
          ],
          [
            "2025-Q1",
            2279000,
            24800000,
            -0.108
          ],
          [
            "2025-Q2",
            2387000,
            26000000,
            -0.07
          ]
        ],
        "table": "Finance"
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance"
      ],
      "version": 1,
      "lint": {
        "errors": 0,
        "warnings": 3
      },
      "next": "Use the table in formulas, e.g. =SUM(Finance[column]); import the next file the same way."
    }
  4. artiwright_help
    {
      "query": "skill presentations",
      "search": "",
      "maxChars": 11000
    }
    ---
    name: artiwright-presentations
    description: Build native, editable PowerPoint decks (.pptx) with Artiwright - plan the story, compose slides from layout recipes with real charts and tables, render and lint them, fix problems by anchor, and publish a checked file. Use when a user asks for a presentation, deck, slides, a QBR, a pitch, or a report "as PowerPoint".
    ---
    
    # Artiwright presentations
    
    You build decks as code against a live document, look at what you built, fix it, and publish a file
    that has been checked. Every object has an anchor (`sl_…` slides, `sh_…` shapes, `ch_…` charts,
    `tb_…` tables, `im_…` pictures) that stays the same across calls, so you can point at exactly what
    to change.
    
    ## The loop
    
    1. **Plan.** Who is the audience and what should they conclude? Write one message per slide. A slide
       that reports a finding gets a headline sentence with the claim ("Enterprise drove 48% of new
       ARR", not "Revenue"); a slide that sets something up (agenda, process, method, team) gets a plain
       name for what it shows ("How a renewal is approved"). Gather the facts first (from the user,
       files or other agents); never invent numbers. A requested slide count is the total, title
       slide included.
    2. **Build** each slide from a layout recipe (`references/recipes.md`), with native charts and
       tables. A recipe slide is a few lines of code and comes out aligned, readable and lint clean;
       boxes placed by hand take many times the code, and are where overlaps, small text and crowded
       slides come from. Place shapes yourself only for a slide no recipe fits.
    3. **Look.** Render the slides (a contact sheet first, then single slides you doubt) and lint.
    4. **Fix** by anchor, then look again. Repeat until lint has no errors.
    5. **Review** as the audience will: the headlines alone, the copy on each slide (the `writing`
       guide), and the contact sheet for slides that look alike but say different kinds of things.
       Lint checks that slides are built right, not that they read well. Fix what you find.
    6. **Publish** with finalize, stating requirements (slide count, which slides need native charts).
       Tell the user what the deck contains and anything you could not do.
    
    ## Decks from a workbook
    
    When the deck reports on a workbook in the same session, take every figure from the workbook. In
    one `artiwright_run` on the workbook, return the values the slides ne
    …
  5. artiwright_importmrr_movements.csv
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "path": "./work/mrr_movements.csv",
      "content": "",
      "sheet": "Movements",
      "at": "A1",
      "replace": false,
      "table": "Movements",
      "dates": "iso",
      "theme": "coast"
    }
    {
      "ok": true,
      "value": {
        "sheet": "Movements",
        "range": "A1:G1474",
        "rows": 1473,
        "columns": [
          "Month",
          "Quarter",
          "Customer",
          "Segment",
          "Cohort",
          "Movement",
          "MRR change"
        ],
        "firstRows": [
          [
            44197,
            "2021-Q1",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "New",
            1950
          ],
          [
            44197,
            "2021-Q1",
            "CUS-0002",
            "SMB",
            "2021-Q1",
            "New",
            2650
          ],
          [
            44197,
            "2021-Q1",
            "CUS-0003",
            "SMB",
            "2021-Q1",
            "New",
            2020
          ]
        ],
        "table": "Movements"
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements"
      ],
      "version": 2,
      "lint": {
        "errors": 0,
        "warnings": 5
      },
      "next": "Use the table in formulas, e.g. =SUM(Movements[column]); import the next file the same way."
    }
  6. artiwright_importsubscriptions_2026-09-30.csv
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "path": "./work/subscriptions_2026-09-30.csv",
      "content": "",
      "sheet": "Subscriptions",
      "at": "A1",
      "replace": false,
      "table": "Subscriptions",
      "dates": "iso",
      "theme": "coast"
    }
    {
      "ok": true,
      "value": {
        "sheet": "Subscriptions",
        "range": "A1:D356",
        "rows": 355,
        "columns": [
          "Customer",
          "Segment",
          "Cohort",
          "MRR"
        ],
        "firstRows": [
          [
            "CUS-0002",
            "SMB",
            "2021-Q1",
            5569
          ],
          [
            "CUS-0005",
            "Mid-market",
            "2021-Q1",
            6175
          ],
          [
            "CUS-0010",
            "Enterprise",
            "2021-Q1",
            41333
          ]
        ],
        "table": "Subscriptions"
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions"
      ],
      "version": 3,
      "lint": {
        "errors": 0,
        "warnings": 7
      },
      "next": "Use the table in formulas, e.g. =SUM(Subscriptions[column]); import the next file the same way."
    }
  7. artiwright_run
    const m=workbook.sheets.get('Movements').range('A2:G1474').values; const f=workbook.sheets.get('Finance').range('A1:D9').values; return {finance:f,types:[...new Set(m.map(r=>r[5]))],quarters:[...new Set(m.map(r=>r[1]))].sort(),customers:new Set(m.map(r=>r[2])).size,cohorts:[...new Set(m.map(r=>r[4]))].sort(),movementSum:m.reduce((a,r)=>a+r[6],0),subscriptionSum:workbook.sheets.get('Subscriptions').range('D2:D356').values.reduce((a,r)=>a+r[0],0)};
    {
      "ok": true,
      "value": {
        "finance": [
          [
            "Quarter",
            "S&M spend",
            "Plan ARR",
            "FCF margin"
          ],
          [
            "2024-Q4",
            2112000,
            23000000,
            -0.115
          ],
          [
            "2025-Q1",
            2279000,
            24800000,
            -0.108
          ],
          [
            "2025-Q2",
            2387000,
            26000000,
            -0.07
          ],
          [
            "2025-Q3",
            2494000,
            27700000,
            -0.052
          ],
          [
            "2025-Q4",
            2770000,
            28800000,
            -0.023
          ],
          [
            "2026-Q1",
            2807000,
            30500000,
            -0.004
          ],
          [
            "2026-Q2",
            2934000,
            33600000,
            0.018
          ],
          [
            "2026-Q3",
            3235000,
            36600000,
            0.037
          ]
        ],
        "types": [
          "New",
          "Contraction",
          "Churn",
          "Expansion"
        ],
        "quarters": [
          "2021-Q1",
          "2021-Q2",
          "2021-Q3",
          "2021-Q4",
          "2022-Q1",
          "2022-Q2",
          "2022-Q3",
          "2022-Q4",
          "2023-Q1",
          "2023-Q2",
          "2023-Q3",
          "2023-Q4",
          "2024-Q1",
          "2024-Q2",
          "2024-Q3",
          "2024-Q4",
          "2025-Q1",
          "2025-Q2",
          "2025-Q3",
          "2025-Q4",
          "2026-Q1",
          "2026-Q2",
          "2026-Q3"
        ],
        "customers": 493,
        "cohorts": [
          "2021-Q1",
          "2021-Q2",
          "2021-Q3",
          "2021-Q4",
          "2022-Q1",
          "2022-Q2",
          "2022-Q3",
          "2022-Q4",
          "2023-Q1",
          "2023-Q2",
          "2023-Q3",
          "2023-Q4",
          "2024-Q1",
          "2024-Q2",
          "2024-Q3",
          "2024-Q4",
          "2025-Q1",
          "2025-Q2",
          "2025-Q3",
          "2025-Q4",
          "2026-Q1",
          "2026-Q2",
          "2026-Q3"
        ],
        "movementSum": 3145092,
        "subscriptionSum": 3145092
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions"
      ],
      "version": 3,
      "lint": {
        "errors": 0,
        "warnings": 7
      }
    }
  8. artiwright_runerror
    const mov=workbook.sheets.get('Movements').range('A2:G1474').values; const quarters=[...new Set(mov.map(r=>r[1]))].sort(); const ids=[...new Set(mov.map(r=>r[2]))].sort(); const meta=new Map(mov.map(r=>[r[2],[r[3],r[4]]])); const col=n=>{let s='';for(;n;n=Math.floor((n-1)/26))s=String.fromCharCode(65+(n-1)%26)+s;return s;};
    const inp=workbook.sheets.add('Definitions'); inp.range('A1:B1').values=[['Lumenhall Q3 2026 metrics','Inputs and definitions']]; inp.range('A3:B10').values=[['Months per year',12],['Gross margin',0.78],['Quarters per year',4],['Money check decimal places',2],['FY27 quota-carrying reps requested',12],['S&M increase requested',0.08],['Rule of 40 threshold',0.4],['Snapshot date','2026-09-30']]; [['Annualize',3],['GrossMargin',4],['YearQuarters',5],['MoneyDecimals',6],['RepAsk',7],['SMAsk',8],['RuleTarget',9]].forEach(([n,r])=>workbook.names.add(n,`Definitions!$B$${r}`)); inp.range('A12:B23').values=[['ARR','Cumulative signed MRR movements x 12; no revenue recognition assumptions.'],['NRR, trailing four quarters','Ending MRR from customers with positive MRR four quarters earlier / their starting MRR. New customers excluded.'],['GRR, trailing four quarters','Sum of MIN(start MRR, end MRR) per starting customer / starting MRR. Expansion never offsets another customer loss.'],['Cohort retention','Signing-quarter cohorts. Quarter-end MRR / signing-quarter-end MRR. Q0 is 100%; future ages blank.'],['CAC payback, months','Current-quarter total S&M / (new-logo MRR added in quarter x gross margin). Blended acquisition-cost proxy, not sales-only CAC.'],['Magic number','Net new ARR / prior-quarter S&M. ARR-based proxy; finance does not provide recognized revenue.'],['Rule of 40','ARR year-over-year growth + supplied FCF margin; ARR growth proxy, not GAAP revenue growth.'],['Bridge','New and expansion positive; contraction and churn negative, as recorded in source.'],['History opening balance','Zero before 2021-Q1, supported by complete movement history and customer-level snapshot tie.'],['First magic number','2024-Q4 unavailable because prior-quarter S&M is not supplied.'],['Approvals','FY27 hiring and S&M requests are not an approved financial forecast.'],['Sources','mrr_movements.csv; subscriptions_2026-09-30.csv; finance_inputs.csv; Priya board_pack_note.md.']];
    const cs=workbook.sheets.add('Customer MRR'); cs.range('A1').values=[['Customer','Segment','Cohort',...quarters,'Snapshot MRR','MRR difference']]; cs.range(`A2:C${ids.length+1}`).values=ids.map(id=>[id,...meta.get(id)]); for(let j=0;j<quarters.length;j++){const c=col(j+4);cs.range(`${c}2:${c}${ids.length+1}`).formulas=`=SUMIFS(Movements[MRR change],Movements[Customer],$A2,Movements[Quarter],"<="&${c}$1)`;} cs.range('AA2:AA494').formulas='=SUMIF(Subscriptions[Customer],A2,Subscriptions[MRR])'; cs.range('AB2:AB494').formulas='=ROUND(Z2-AA2,MoneyDecimals)'; cs.tables.add('A1:AB494',{name:'CustomerMRR'});
    const hist=workbook.sheets.add('ARR History'); hist.range('A1:K1').values=[['Quarter','Beginning ARR','New ARR','Expansion ARR','Contraction ARR','Churn ARR','Ending ARR','Net new ARR','QoQ growth','YoY growth','Bridge check']]; hist.range('A2:A24').values=quarters.map(q=>[q]); hist.range('B2:B24').formulas='=SUMIFS(Movements[MRR change],Movements[Quarter],"<"&A2)*Annualize'; ['New','Expansion','Contraction','Churn'].forEach((t,i)=>hist.range(`${col(i+3)}2:${col(i+3)}24`).formulas=`=SUMIFS(Movements[MRR change],Movements[Quarter],A2,Movements[Movement],"${t}")*Annualize`);hist.range('G2:G24').formulas='=SUMIFS(Movements[MRR change],Movements[Quarter],"<="&A2)*Annualize';hist.range('H2:H24').formulas='=G2-B2';hist.range('I2:I24').formulas='=IFERROR(G2/B2-1,"")';hist.range('J6:J24').formulas='=G6/G2-1';hist.range('K2:K24').formulas='=ROUND(SUM(B2:F2)-G2,MoneyDecimals)';hist.tables.add('A1:K24',{name:'ARRHistory'});
    const metrics=workbook.sheets.add('Quarterly Metrics');metrics.range('A1:V1').values=[['Quarter','Beginning ARR','New ARR','Expansion ARR','Contraction ARR','Churn ARR','Ending ARR','Plan ARR','ARR vs plan $','ARR vs plan %','QoQ ARR growth','YoY ARR growth','TTM NRR','TTM GRR','S&M spend','Gross margin','CAC payback months','Magic number','FCF margin','Rule of 40','TTM starting ARR','TTM retained ARR']];metrics.range('A2:A9').formulas='=Finance!A2'; const hm={B:'B',C:'C',D:'D',E:'E',F:'F',G:'G',K:'I',L:'J'};Object.entries(hm).forEach(([dest,source])=>metrics.range(`${dest}2:${dest}9`).formulas=`=INDEX('ARR History'!${source}$2:${source}$24,MATCH(A2,'ARR History'!$A$2:$A$24,0))`);metrics.range('H2:H9').formulas='=Finance!C2';metrics.range('I2:I9').formulas='=G2-H2';metrics.range('J2:J9').formulas='=G2/H2-1'; metrics.range('O2:O9').formulas='=Finance!B2';metrics.range('P2:P9').formulas='=GrossMargin';metrics.range('Q2:Q9').formulas='=O2/(C2/Annualize*P2)';metrics.range('R3:R9').formulas='=(G3-B3)/O2';metrics.range('S2:S9').formulas='=Finance!D2';metrics.range('T2:T9').formulas='=L2+S2';for(let r=2;r<=9;r++){const qi=quarters.indexOf(workbook.sheets.get('Finance').range(`A${r}`).values[0][0]); const start=`'Customer MRR'!${col(qi)}$2:${col(qi)}$494`;const end=`'Customer MRR'!${col(qi+4)}$2:${col(qi+4)}$494`;metrics.range(`U${r}`).formulas=`=SUM(${start})*Annualize`;metrics.range(`V${r}`).formulas=`=SUMPRODUCT((${start}>0)*${end})*Annualize`;metrics.range(`M${r}`).formulas=`=V${r}/U${r}`;metrics.range(`N${r}`).formulas=`=SUMPRODUCT((${start}>0)*IF(${end}<${start},${end},${start}))/SUM(${start})`;}metrics.tables.add('A1:V9',{name:'Metrics'});
    const cm=workbook.sheets.add('Cohort MRR');cm.range('A1').values=[['Signing quarter',...quarters]];cm.range('A2:A24').values=quarters.map(q=>[q]);for(let j=0;j<quarters.length;j++){const c=col(j+2);cm.range(`${c}2:${c}24`).formulas=`=IF(${c}$1<$A2,"",SUMIFS(Movements[MRR change],Movements[Cohort],$A2,Movements[Quarter],"<="&${c}$1))`;}
    const cr=workbook.sheets.add('Cohort Retention');cr.range('A1:Y1').values=[['Signing quarter','Q0 MRR',...quarters.map((q,i)=>`Q${i}`)]];cr.range('A2:A24').values=quarters.map(q=>[q]);for(let r=2;r<=24;r++){const base=col(r);cr.range(`B${r}`).formulas=`='Cohort MRR'!${base}${r}`;for(let age=0;age<23;age++){if(r-2+age<23)cr.range(`${col(age+3)}${r}`).formulas=`='Cohort MRR'!${col(r+age)}${r}/$B${r}`;}}cr.conditionalFormats.add('C2:Y24',{type:'colorScale',colors:['orange-100','white','teal-500']});
    const checks=workbook.sheets.add('Checks');checks.range('A1:C1').values=[['Reconciliation and data checks','Difference (must be 0)','Basis']]; checks.range('A2:C11').values=[['Ending ARR less subscriptions ARR',null,'Latest billing ARR less snapshot MRR x 12'],['Bridge absolute differences',null,'All quarters'],['Customer absolute MRR differences',null,'Every customer, not only aggregate'],['Unknown movement types',null,'All events accounted for'],['Negative customer quarter-end balances',null,'Full historical customer MRR matrix'],['Snapshot customers absent in movements',null,'Snapshot membership in billing history'],['Duplicate snapshot customer rows',null,'One snapshot row per customer'],['Cohort MRR less ending MRR',null,'Latest cohort balances less billing total'],['Latest finance quarter mismatch',null,'Finance and billing end in same quarter'],['Customer cohort inconsistencies',null,'One signing quarter per customer']];checks.range('B2').formulas="=ROUND('Quarterly Metrics'!G9-SUM(Subscriptions[MRR])*Annualize,MoneyDecimals)";checks.range('B3').formulas="=SUMPRODUCT(ABS('ARR History'!K2:K24))";checks.range('B4').formulas="=SUMPRODUCT(ABS('Customer MRR'!AB2:AB494))";checks.range('B5').formulas='=COUNTA(Movements[Movement])-COUNTIF(Movements[Movement],"New")-COUNTIF(Movements[Movement],"Expansion")-COUNTIF(Movements[Movement],"Contraction")-COUNTIF(Movements[Movement],"Churn")';checks.range('B6').formulas="=COUNTIF('Customer MRR'!D2:Z494,\"<0\")";checks.range('B7').formulas="=SUMPRODUCT(--(COUNTIF('Customer MRR'!A2:A494,Subscriptions[Customer])=0))";checks.range('B8').formulas='=COUNTA(Subscriptions[Customer])-COUNTA(UNIQUE(Subscriptions[Customer]))';checks.range('B9').formulas="=ROUND(SUM('Cohort MRR'!X2:X24)-SUM(Movements[MRR change]),MoneyDecimals)";checks.range('B10').formulas="=IF(Finance!A9='ARR History'!A24,0,1)";checks.range('B11').values=[[ids.filter(id=>new Set(mov.filter(r=>r[2]===id).map(r=>r[4])).size!==1).length]];checks.range('A13:B13').values=[['Total absolute check exceptions',null]];checks.range('B13').formulas='=SUMPRODUCT(ABS(B2:B11))';checks.range('B2:B13').numberFormat='0.00';
    const dash=workbook.sheets.add('Board Summary'); dash.showGridLines=false; dash.merge('A1:H1');dash.range('A1').values=[['Lumenhall Q3 2026 board metrics']];dash.range('A3:H3').values=[['Quarter','Ending ARR','Plan ARR','YoY growth','TTM NRR','TTM GRR','CAC months','Rule of 40']];dash.range('A4:A11').formulas="='Quarterly Metrics'!A2";['G','H','L','M','N','Q','T'].forEach((c,i)=>dash.range(`${col(i+2)}4:${col(i+2)}11`).formulas=`='Quarterly Metrics'!${c}2`);dash.charts.add('line',{data:'A3:C11',at:'A14',size:{width:1050,height:320},title:'Ending ARR versus plan'}); dash.range('A33:H33').merge();dash.range('A33').values=[['ARR reconciles to the September 30 snapshot. Definitions and audit checks are included in this workbook.']];
    for(const name of ['Finance','Movements','Subscriptions','Definitions','Customer MRR','ARR History','Quarterly Metrics','Cohort MRR','Cohort Retention','Checks','Board Summary']){const s=workbook.sheets.get(name);s.freeze(1,1);s.setColumnWidth('A',160);s.setColumnWidth('B:AB',135);const last=name==='Quarterly Metrics'?'V':name==='ARR History'?'K':name==='Customer MRR'?'AB':name==='Cohort MRR'?'X':name==='Cohort Retention'?'Y':name==='Board Summary'?'H':name==='Checks'?'C':name==='Movements'?'G':name==='Definitions'?'B':'D';s.range(`A1:${last}1`).format({fill:'accent1',color:'white',bold:true,wrap:true});}
    inp.setColumnWidth('A',290).setColumnWidth('B',850);inp.range('B3:B9').format({color:'blue-700',fill:'blue-50'});inp.range('B4').numberFormat='percent1';inp.range('B8:B9').numberFormat='percent1';inp.range('B12:B23').format({wrap:true});workbook.sheets.get('Finance').range('B2:C9').numberFormat='currency0';workbook.sheets.get('Finance').range('D2:D9').numberFormat='percent1';workbook.sheets.get('Finance').range('B2:D9').format({color:'blue-700',fill:'blue-50'});workbook.sheets.get('Movements').range('G2:G1474').numberFormat='currency0';workbook.sheets.get('Subscriptions').range('D2:D356').numberFormat='currency0';cs.range('D2:AB494').numberFormat='#,##0;(#,##0);–';hist.range('B2:H24').numberFormat='currency0';hist.range('I2:J24').numberFormat='percent1';metrics.range('B2:I9').numberFormat='currency0';metrics.range('J2:N9').numberFormat='percent1';metrics.range('O2:O9').numberFormat='currency0';metrics.range('P2:P9').numberFormat='percent1';metrics.range('Q2:R9').numberFormat='0.0';metrics.range('S2:T9').numberFormat='percent1';metrics.range('U2:V9').numberFormat='currency0';cm.range('B2:X24').numberFormat='#,##0';cr.range('B2:B24').numberFormat='currency0';cr.range('C2:Y24').numberFormat='0%';checks.setColumnWidth('A',330).setColumnWidth('B',200).setColumnWidth('C',380);dash.range('A3:H3').format({fill:'accent1',color:'white',bold:true});dash.range('B4:C11').numberFormat='$0.0,,"M"';dash.range('D4:F11').numberFormat='0.0%';dash.range('G4:G11').numberFormat='0.0';dash.range('H4:H11').numberFormat='0.0%';dash.range('A33:H33').format({wrap:true});
    return {checks:checks.range('A2:B13').values,metrics:metrics.range('A1:V9').values,cohortLatest:cr.range('A18:I24').values};
    {
      "ok": false,
      "error": {
        "name": "Timeout",
        "message": "The code ran longer than 60000 ms and was stopped; the run changed nothing."
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "version": 0,
      "lint": {
        "errors": 0,
        "warnings": 0
      }
    }
  9. artiwright_status
    {
      "session": "saas-board-pack"
    }
    {
      "id": "saas-board-pack",
      "createdAt": "2026-11-16T00:10:46.199Z",
      "updatedAt": "2026-11-16T00:11:08.908Z",
      "documents": [
        {
          "name": "metrics",
          "kind": "workbook",
          "sheets": [
            "Finance",
            "Movements",
            "Subscriptions"
          ],
          "version": 3,
          "canUndo": true,
          "canRedo": false,
          "outputs": [],
          "theme": {
            "name": "Coast",
            "preset": "coast"
          }
        }
      ]
    }
  10. artiwright_run
    const mov=workbook.sheets.get('Movements').range('A2:G1474').values;const qs=[...new Set(mov.map(r=>r[1]))].sort();const ids=[...new Set(mov.map(r=>r[2]))].sort();const meta=new Map(mov.map(r=>[r[2],[r[3],r[4]]]));const s=workbook.sheets.add('Customer MRR');s.range('A1').values=[['Customer','Segment','Cohort',...qs,'Snapshot MRR','MRR difference']];s.range('A2:C494').values=ids.map(id=>[id,...meta.get(id)]);for(let j=0;j<8;j++){const c=String.fromCharCode(68+j);s.range(`${c}2:${c}494`).formulas=`=SUMIFS(Movements!$G$2:$G$1474,Movements!$C$2:$C$1474,$A2,Movements!$B$2:$B$1474,"<="&${c}$1)`;}return s.range('D2:K2');
    {
      "ok": true,
      "value": {
        "range": "'Customer MRR'!D2:K2",
        "values": [
          [
            1488,
            1876,
            1720,
            1720,
            1720,
            1720,
            2278,
            3207
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR"
      ],
      "version": 4,
      "lint": {
        "errors": 0,
        "warnings": 35
      }
    }
  11. artiwright_run
    const s=workbook.sheets.get('Customer MRR');for(let j=8;j<23;j++){const c=String.fromCharCode(68+j);s.range(`${c}2:${c}494`).formulas=`=SUMIFS(Movements!$G$2:$G$1474,Movements!$C$2:$C$1474,$A2,Movements!$B$2:$B$1474,"<="&${c}$1)`;}s.range('AA2:AA494').formulas='=SUMIF(Subscriptions[Customer],A2,Subscriptions[MRR])';s.range('AB2:AB494').formulas='=Z2-AA2';return s.range('Z2:AB5');
    {
      "ok": true,
      "value": {
        "range": "'Customer MRR'!Z2:AB5",
        "values": [
          [
            0,
            0,
            0
          ],
          [
            5569,
            5569,
            0
          ],
          [
            0,
            0,
            0
          ],
          [
            0,
            0,
            0
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR"
      ],
      "version": 5,
      "lint": {
        "errors": 0,
        "warnings": 50
      }
    }
  12. artiwright_runerror
    const mov=workbook.sheets.get('Movements').range('A2:G1474').values;const quarters=[...new Set(mov.map(r=>r[1]))].sort();const col=n=>{let s='';for(;n;n=Math.floor((n-1)/26))s=String.fromCharCode(65+(n-1)%26)+s;return s;};const inp=workbook.sheets.add('Definitions');inp.range('A1:B1').values=[['Lumenhall Q3 2026 metrics','Inputs and definitions']];inp.range('A3:B10').values=[['Months per year',12],['Gross margin',0.78],['Quarters per year',4],['Money check decimal places',2],['FY27 quota-carrying reps requested',12],['S&M increase requested',0.08],['Rule of 40 threshold',0.4],['Snapshot date','2026-09-30']];[['Annualize',3],['GrossMargin',4],['YearQuarters',5],['MoneyDecimals',6],['RepAsk',7],['SMAsk',8],['RuleTarget',9]].forEach(([n,r])=>workbook.names.add(n,`Definitions!$B$${r}`));inp.range('A12:B23').values=[['ARR','Cumulative signed MRR movements x 12; not recognized revenue.'],['NRR, trailing four quarters','Ending MRR from customers positive four quarters earlier / starting MRR. New customers excluded.'],['GRR, trailing four quarters','Sum of MIN(start MRR, end MRR) per starting customer / starting MRR. Expansion cannot offset another customer loss.'],['Cohort retention','Signing-quarter cohorts. Quarter-end MRR / signing-quarter-end MRR. Q0 is 100%; future ages blank.'],['CAC payback, months','Current-quarter total S&M / (new-logo MRR x gross margin). Blended acquisition-cost proxy.'],['Magic number','Net new ARR / prior-quarter S&M. ARR-based proxy; recognized revenue is not supplied.'],['Rule of 40','ARR year-over-year growth + supplied FCF margin; ARR growth proxy, not revenue growth.'],['Bridge','New and expansion positive; contraction and churn negative as recorded.'],['History opening balance','Zero before 2021-Q1; complete movement history reconciles customer by customer to snapshot.'],['First magic number','2024-Q4 unavailable because prior-quarter S&M is not supplied.'],['Approvals','FY27 hiring and S&M requests are not an approved financial forecast.'],['Sources','mrr_movements.csv; subscriptions_2026-09-30.csv; finance_inputs.csv; board_pack_note.md.']];
    const hist=workbook.sheets.add('ARR History');hist.range('A1:K1').values=[['Quarter','Beginning ARR','New ARR','Expansion ARR','Contraction ARR','Churn ARR','Ending ARR','Net new ARR','QoQ growth','YoY growth','Bridge check']];hist.range('A2:A24').values=quarters.map(q=>[q]);hist.range('B2:B24').formulas='=SUMIFS(Movements[MRR change],Movements[Quarter],"<"&A2)*Annualize';['New','Expansion','Contraction','Churn'].forEach((t,i)=>hist.range(`${col(i+3)}2:${col(i+3)}24`).formulas=`=SUMIFS(Movements[MRR change],Movements[Quarter],A2,Movements[Movement],"${t}")*Annualize`);hist.range('G2:G24').formulas='=SUMIFS(Movements[MRR change],Movements[Quarter],"<="&A2)*Annualize';hist.range('H2:H24').formulas='=G2-B2';hist.range('I2:I24').formulas='=IFERROR(G2/B2-1,"")';hist.range('J6:J24').formulas='=G6/G2-1';hist.range('K2:K24').formulas='=ROUND(SUM(B2:F2)-G2,MoneyDecimals)';hist.tables.add('A1:K24',{name:'ARRHistory'});
    const metrics=workbook.sheets.add('Quarterly Metrics');metrics.range('A1:V1').values=[['Quarter','Beginning ARR','New ARR','Expansion ARR','Contraction ARR','Churn ARR','Ending ARR','Plan ARR','ARR vs plan $','ARR vs plan %','QoQ ARR growth','YoY ARR growth','TTM NRR','TTM GRR','S&M spend','Gross margin','CAC payback months','Magic number','FCF margin','Rule of 40','TTM starting ARR','TTM retained ARR']];metrics.range('A2:A9').formulas='=Finance!A2';const hm={B:'B',C:'C',D:'D',E:'E',F:'F',G:'G',K:'I',L:'J'};Object.entries(hm).forEach(([dest,source])=>metrics.range(`${dest}2:${dest}9`).formulas=`=INDEX('ARR History'!${source}$2:${source}$24,MATCH(A2,'ARR History'!$A$2:$A$24,0))`);metrics.range('H2:H9').formulas='=Finance!C2';metrics.range('I2:I9').formulas='=G2-H2';metrics.range('J2:J9').formulas='=G2/H2-1';metrics.range('O2:O9').formulas='=Finance!B2';metrics.range('P2:P9').formulas='=GrossMargin';metrics.range('Q2:Q9').formulas='=O2/(C2/Annualize*P2)';metrics.range('R3:R9').formulas='=(G3-B3)/O2';metrics.range('S2:S9').formulas='=Finance!D2';metrics.range('T2:T9').formulas='=L2+S2';for(let r=2;r<=9;r++){const qi=quarters.indexOf(workbook.sheets.get('Finance').range(`A${r}`).values[0][0]);const start=`'Customer MRR'!${col(qi)}$2:${col(qi)}$494`;const end=`'Customer MRR'!${col(qi+4)}$2:${col(qi+4)}$494`;metrics.range(`U${r}`).formulas=`=SUM(${start})*Annualize`;metrics.range(`V${r}`).formulas=`=SUMPRODUCT((${start}>0)*${end})*Annualize`;metrics.range(`M${r}`).formulas=`=V${r}/U${r}`;metrics.range(`N${r}`).formulas=`=SUMPRODUCT((${start}>0)*IF(${end}<${start},${end},${start}))/SUM(${start})`;}metrics.tables.add('A1:V9',{name:'Metrics'});return metrics.range('A1:V9');
    {
      "ok": false,
      "error": {
        "name": "Timeout",
        "message": "The code ran longer than 60000 ms and was stopped; the run changed nothing."
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "version": 0,
      "lint": {
        "errors": 0,
        "warnings": 0
      }
    }
  13. artiwright_help
    {
      "query": "",
      "search": "batch|suspend|calculation|defer",
      "maxChars": 5000
    }
    3 entries match "batch|suspend|calculation|defer":
      recording.apply  Applies ops sent as JSON, as one undo step: `{ target: "sl_7Q2M4K9A.shapes", op: "add", args: [{ … }] }`.
      workbook  An Excel workbook: `const wb = Workbook.create(); const s = wb.sheets.add("Model");` then `s.range("A1").values = [["Month", "Revenue"], ["Jan", 120]]` and `await wb.save("model.xlsx")`.
      workbook.circularReferences  Formula cells in a cycle, from the last calculation.
  14. artiwright_run
    const rows=workbook.sheets.get('Movements').range('A2:G1474').values;const indexed=rows.map((r,i)=>({r,source:i+2})).sort((a,b)=>a.r[2].localeCompare(b.r[2]));const s=workbook.sheets.add('Customer Events');s.range('A1:G1').values=workbook.sheets.get('Movements').range('A1:G1').values;s.range('A2:G1474').values=indexed.map(x=>x.r);const ids=workbook.sheets.get('Customer MRR').range('A2:A494').values.flat();const ranges=new Map();indexed.forEach((x,i)=>{if(!ranges.has(x.r[2]))ranges.set(x.r[2],[i+2,i+2]);else ranges.get(x.r[2])[1]=i+2;});const formulas=ids.map(id=>{const [a,b]=ranges.get(id);return Array.from({length:23},(_,j)=>`=SUMIF('Customer Events'!$B$${a}:$B$${b},"<="&${String.fromCharCode(68+j)}$1,'Customer Events'!$G$${a}:$G$${b})`);});workbook.sheets.get('Customer MRR').range('D2:Z494').formulas=formulas;return {events:indexed.length,customers:ids.length};
    {
      "ok": true,
      "value": {
        "events": 1473,
        "customers": 493
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events"
      ],
      "version": 6,
      "lint": {
        "errors": 0,
        "warnings": 50
      }
    }
  15. artiwright_run
    const inp=workbook.sheets.add('Definitions');inp.range('A1:B1').values=[['Lumenhall Q3 2026 metrics','Inputs and definitions']];inp.range('A3:B10').values=[['Months per year',12],['Gross margin',0.78],['Quarters per year',4],['Money check decimal places',2],['FY27 quota-carrying reps requested',12],['S&M increase requested',0.08],['Rule of 40 threshold',0.4],['Snapshot date','2026-09-30']];[['Annualize',3],['GrossMargin',4],['YearQuarters',5],['MoneyDecimals',6],['RepAsk',7],['SMAsk',8],['RuleTarget',9]].forEach(([n,r])=>workbook.names.add(n,`Definitions!$B$${r}`));inp.range('A12:B23').values=[['ARR','Cumulative signed MRR movements x 12; not recognized revenue.'],['NRR, trailing four quarters','Ending MRR from customers positive four quarters earlier / starting MRR. New customers excluded.'],['GRR, trailing four quarters','Sum of MIN(start MRR, end MRR) per starting customer / starting MRR. Expansion cannot offset another customer loss.'],['Cohort retention','Signing-quarter cohorts. Quarter-end MRR / signing-quarter-end MRR. Q0 is 100%; future ages blank.'],['CAC payback, months','Current-quarter total S&M / (new-logo MRR x gross margin). Blended acquisition-cost proxy.'],['Magic number','Net new ARR / prior-quarter S&M. ARR-based proxy; recognized revenue not supplied.'],['Rule of 40','ARR year-over-year growth + supplied FCF margin; ARR proxy, not revenue growth.'],['Bridge','New and expansion positive; contraction and churn negative as recorded.'],['History opening balance','Zero before 2021-Q1; complete movement history reconciles customer by customer to snapshot.'],['First magic number','2024-Q4 unavailable because prior-quarter S&M not supplied.'],['Approvals','FY27 requests are not an approved forecast.'],['Sources','mrr_movements.csv; subscriptions_2026-09-30.csv; finance_inputs.csv; board_pack_note.md.']];const qs=[...new Set(workbook.sheets.get('Movements').range('B2:B1474').values.flat())].sort();const h=workbook.sheets.add('ARR History');h.range('A1:K1').values=[['Quarter','Beginning ARR','New ARR','Expansion ARR','Contraction ARR','Churn ARR','Ending ARR','Net new ARR','QoQ growth','YoY growth','Bridge check']];h.range('A2:A24').values=qs.map(q=>[q]);h.range('B2:B24').formulas='=SUMIFS(Movements[MRR change],Movements[Quarter],"<"&A2)*Annualize';['New','Expansion','Contraction','Churn'].forEach((t,i)=>h.range(`${String.fromCharCode(67+i)}2:${String.fromCharCode(67+i)}24`).formulas=`=SUMIFS(Movements[MRR change],Movements[Quarter],A2,Movements[Movement],"${t}")*Annualize`);h.range('G2:G24').formulas='=SUMIFS(Movements[MRR change],Movements[Quarter],"<="&A2)*Annualize';h.range('H2:H24').formulas='=G2-B2';h.range('I2:I24').formulas='=IFERROR(G2/B2-1,"")';h.range('J6:J24').formulas='=G6/G2-1';h.range('K2:K24').formulas='=ROUND(SUM(B2:F2)-G2,MoneyDecimals)';h.tables.add('A1:K24',{name:'ARRHistory'});return h.range('A24:K24');
    {
      "ok": true,
      "value": {
        "range": "'ARR History'!A24:K24",
        "values": [
          [
            "2026-Q3",
            34323432,
            2801520,
            1718676,
            -161208,
            -941316,
            37741104,
            3417672,
            0.09957256022649474,
            0.3653369961207331,
            0
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History"
      ],
      "version": 7,
      "lint": {
        "errors": 25,
        "warnings": 50
      }
    }
  16. artiwright_run
    const qs=workbook.sheets.get('ARR History').range('A2:A24').values.flat();const m=workbook.sheets.add('Quarterly Metrics');m.range('A1:V1').values=[['Quarter','Beginning ARR','New ARR','Expansion ARR','Contraction ARR','Churn ARR','Ending ARR','Plan ARR','ARR vs plan $','ARR vs plan %','QoQ ARR growth','YoY ARR growth','TTM NRR','TTM GRR','S&M spend','Gross margin','CAC payback months','Magic number','FCF margin','Rule of 40','TTM starting ARR','TTM retained ARR']];m.range('A2:A9').formulas='=Finance!A2';Object.entries({B:'B',C:'C',D:'D',E:'E',F:'F',G:'G',K:'I',L:'J'}).forEach(([d,s])=>m.range(`${d}2:${d}9`).formulas=`=INDEX('ARR History'!${s}$2:${s}$24,MATCH(A2,'ARR History'!$A$2:$A$24,0))`);m.range('H2:H9').formulas='=Finance!C2';m.range('I2:I9').formulas='=G2-H2';m.range('J2:J9').formulas='=G2/H2-1';m.range('O2:O9').formulas='=Finance!B2';m.range('P2:P9').formulas='=GrossMargin';m.range('Q2:Q9').formulas='=O2/(C2/Annualize*P2)';m.range('R3:R9').formulas='=(G3-B3)/O2';m.range('S2:S9').formulas='=Finance!D2';m.range('T2:T9').formulas='=L2+S2';for(let r=2;r<=9;r++){const qi=qs.indexOf(workbook.sheets.get('Finance').range(`A${r}`).values[0][0]);const start=`'Customer MRR'!${String.fromCharCode(64+qi)}$2:${String.fromCharCode(64+qi)}$494`;const end=`'Customer MRR'!${String.fromCharCode(68+qi)}$2:${String.fromCharCode(68+qi)}$494`;m.range(`U${r}`).formulas=`=SUM(${start})*Annualize`;m.range(`V${r}`).formulas=`=SUMPRODUCT((${start}>0)*${end})*Annualize`;m.range(`M${r}`).formulas=`=V${r}/U${r}`;m.range(`N${r}`).formulas=`=SUMPRODUCT((${start}>0)*IF(${end}<${start},${end},${start}))/SUM(${start})`;}m.tables.add('A1:V9',{name:'Metrics'});return m.range('A1:V9');
    {
      "ok": true,
      "value": {
        "range": "'Quarterly Metrics'!A1:V9",
        "values": [
          [
            "Quarter",
            "Beginning ARR",
            "New ARR",
            "Expansion ARR",
            "Contraction ARR",
            "Churn ARR",
            "Ending ARR",
            "Plan ARR",
            "ARR vs plan $",
            "ARR vs plan %",
            "QoQ ARR growth",
            "YoY ARR growth",
            "TTM NRR",
            "TTM GRR",
            "S&M spend",
            "Gross margin",
            "CAC payback months",
            "Magic number",
            "FCF margin",
            "Rule of 40",
            "TTM starting ARR",
            "TTM retained ARR"
          ],
          [
            "2024-Q4",
            20868876,
            1417800,
            631476,
            -145860,
            -379476,
            22392816,
            23000000,
            -607184,
            -0.026399304347826114,
            0.07302453663532238,
            0.5070556871511629,
            1.0085784363211414,
            0.89604763608435,
            2112000,
            0.78,
            22.917412676193887,
            null,
            -0.115,
            0.3920556871511629,
            14858652,
            14986116
          ],
          [
            "2025-Q1",
            22392816,
            1818840,
            781320,
            -277512,
            -323340,
            24392124,
            24800000,
            -407876,
            -0.0164466129032258,
            0.08928345590835929,
            0.46306382433534465,
            0.9805316091436945,
            0.884932222677278,
            2279000,
            0.78,
            19.27686792765634,
            0.9466420454545454,
            -0.108,
            0.35506382433534467,
            16671948,
            16347372
          ],
          [
            "2025-Q2",
            24392124,
            1670400,
            512580,
            -58920,
            -721944,
            25794240,
            26000000,
            -205760,
            -0.00791384615384616,
            0.057482325032457204,
            0.3955928373868669,
            0.9775655425848255,
            0.8745783069951046,
            2387000,
            0.78,
            21.98460064839375,
            0.6152329969284774,
            -0.07,
            0.3255928373868669,
            18482640,
            18067992
          ],
          [
            "2025-Q3",
            25794240,
            1426440,
            1416996,
            -174840,
            -820500,
            27642336,
            27700000,
            -57664,
            -0.0020817328519855405,
            0.07164762365551369,
            0.3245723440016606,
            1.0112151703810017,
            0.8945593428222967,
            2494000,
            0.78,
            
    …
  17. artiwright_lint
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "rules": "",
      "severity": "error",
      "slide": ""
    }
    {
      "ok": false,
      "errors": 25,
      "warnings": 0,
      "findings": [
        {
          "rule": "cell/too-narrow",
          "sheet": "ARR History",
          "range": "G11",
          "message": "ARR History!G11 shows #### in Excel: \"11741796\" needs 69 px but column G is 64 px.",
          "evidence": {
            "text": "11741796",
            "needs": 69,
            "width": 64
          },
          "fix": "sheet.setColumnWidth(\"G\", 80) or sheet.autofitColumns().",
          "severity": "error"
        },
        {
          "rule": "cell/too-narrow",
          "sheet": "ARR History",
          "range": "B12",
          "message": "ARR History!B12 shows #### in Excel: \"11741796\" needs 69 px but column B is 64 px.",
          "evidence": {
            "text": "11741796",
            "needs": 69,
            "width": 64
          },
          "fix": "sheet.setColumnWidth(\"B\", 80) or sheet.autofitColumns().",
          "severity": "error"
        },
        {
          "rule": "cell/too-narrow",
          "sheet": "ARR History",
          "range": "G12",
          "message": "ARR History!G12 shows #### in Excel: \"12905640\" needs 69 px but column G is 64 px.",
          "evidence": {
            "text": "12905640",
            "needs": 69,
            "width": 64
          },
          "fix": "sheet.setColumnWidth(\"G\", 80) or sheet.autofitColumns().",
          "severity": "error"
        },
        {
          "rule": "cell/too-narrow",
          "sheet": "ARR History",
          "range": "B13",
          "message": "ARR History!B13 shows #### in Excel: \"12905640\" needs 69 px but column B is 64 px.",
          "evidence": {
            "text": "12905640",
            "needs": 69,
            "width": 64
          },
          "fix": "sheet.setColumnWidth(\"B\", 80) or sheet.autofitColumns().",
          "severity": "error"
        },
        {
          "rule": "cell/too-narrow",
          "sheet": "ARR History",
          "range": "G13",
          "message": "ARR History!G13 shows #### in Excel: \"14858652\" needs 69 px but column G is 64 px.",
          "evidence": {
            "text": "14858652",
            "needs": 69,
            "width": 64
          },
          "fix": "sheet.setColumnWidth(\"G\", 80) or sheet.autofitColumns().",
          "severity": "error"
        },
        {
          "rule": "cell/too-narrow",
          "sheet": "ARR History",
          "range": "B14",
          "message": "ARR History!B14 shows #### in Excel: \"14858652\" needs 69 px but column B is 64 px.",
          "evidence": {
            "text": "14858652",
            "needs": 69,
            "width": 64
          },
          "fix": "sheet.setColumnW
    …
  18. artiwright_run
    const qs=workbook.sheets.get('ARR History').range('A2:A24').values.flat();const cm=workbook.sheets.add('Cohort MRR');cm.range('A1:X1').values=[['Signing quarter',...qs]];cm.range('A2:A24').values=qs.map(q=>[q]);for(let j=0;j<23;j++){const c=String.fromCharCode(66+j);cm.range(`${c}2:${c}24`).formulas=`=IF(${c}$1<$A2,"",SUMIFS(Movements[MRR change],Movements[Cohort],$A2,Movements[Quarter],"<="&${c}$1))`;}const cr=workbook.sheets.add('Cohort Retention');cr.range('A1:Y1').values=[['Signing quarter','Q0 MRR',...qs.map((q,i)=>`Q${i}`)]];cr.range('A2:A24').values=qs.map(q=>[q]);for(let r=2;r<=24;r++){cr.range(`B${r}`).formulas=`='Cohort MRR'!${String.fromCharCode(64+r)}${r}`;const fs=Array.from({length:23},(_,age)=>r-2+age<23?`='Cohort MRR'!${String.fromCharCode(64+r+age)}${r}/$B${r}`:'');cr.range(`C${r}:Y${r}`).formulas=[fs];}cr.conditionalFormats.add('C2:Y24',{type:'colorScale',colors:['orange-100','white','teal-500']});const ev=workbook.sheets.get('Customer Events');ev.clear();ev.range('A1:G1').values=workbook.sheets.get('Movements').range('A1:G1').values;ev.range('A2').formulas='=SORT(Movements!A2:G1474,3,1)';workbook.sheets.get('Definitions').range('A25:B25').values=[['Model dimensions','Fixed export dimensions. Refresh customer ranges and cohort horizon if new customers or quarters are added. Customer Events is a live customer-sorted copy of raw billing.']];return {events:ev.range('A2:G3').values,cohorts:cr.range('A18:J24').values};
    {
      "ok": true,
      "value": {
        "events": [
          [
            44197,
            "2021-Q1",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "New",
            1950
          ],
          [
            44228,
            "2021-Q1",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Contraction",
            -462
          ]
        ],
        "cohorts": [
          [
            "2025-Q1",
            150487,
            1,
            1.028613767302159,
            1.0526690013090831,
            1.0695143102061972,
            1.02454697083469,
            1.017469947570222,
            1.1436668948148345,
            null
          ],
          [
            "2025-Q2",
            139200,
            1,
            1.0390732758620689,
            1.015316091954023,
            1.0766882183908046,
            0.8268965517241379,
            0.8271767241379311,
            null,
            null
          ],
          [
            "2025-Q3",
            121748,
            1,
            1.003794723527286,
            1.056937280283865,
            1.0629496993790453,
            1.0771511647008576,
            null,
            null,
            null
          ],
          [
            "2025-Q4",
            96294,
            1,
            0.9857727376575903,
            1.0036139323322326,
            0.879992522898623,
            null,
            null,
            null,
            null
          ],
          [
            "2026-Q1",
            109098,
            1,
            1.0471777667784927,
            0.9923646629635741,
            null,
            null,
            null,
            null,
            null
          ],
          [
            "2026-Q2",
            301394,
            1,
            1.0739331240834258,
            null,
            null,
            null,
            null,
            null,
            null
          ],
          [
            "2026-Q3",
            233355,
            1,
            null,
            null,
            null,
            null,
            null,
            null,
            null
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention"
      ],
      "version": 9,
      "lint": {
        "errors": 41,
        "warnings": 50
      }
    }
  19. artiwright_run
    const s=workbook.sheets.add('Checks');s.range('A1:C1').values=[['Reconciliation and data checks','Difference (must be 0)','Basis']];s.range('A2:C12').values=[['Ending ARR less subscriptions ARR',null,'Latest ARR less snapshot MRR x 12'],['Bridge absolute differences',null,'All quarters'],['Customer absolute MRR differences',null,'Every billing customer'],['Unknown movement types',null,'All events accounted for'],['Negative customer balances',null,'All quarter-end customer balances'],['Snapshot customers absent in history',null,'Snapshot membership in movement history'],['Duplicate snapshot customers',null,'One snapshot row per customer'],['Cohort MRR less ending MRR',null,'Latest cohort balances less billing total'],['Latest finance quarter mismatch',null,'Finance and billing end together'],['Inconsistent customer signing quarters',null,'Unique customer/cohort pairs less customers'],['Sorted source less raw MRR',null,'Live sorted billing copy tie']];const f={2:"=ROUND('Quarterly Metrics'!G9-SUM(Subscriptions[MRR])*Annualize,MoneyDecimals)",3:"=SUMPRODUCT(ABS('ARR History'!K2:K24))",4:"=SUMPRODUCT(ABS('Customer MRR'!AB2:AB494))",5:'=COUNTA(Movements[Movement])-COUNTIF(Movements[Movement],"New")-COUNTIF(Movements[Movement],"Expansion")-COUNTIF(Movements[Movement],"Contraction")-COUNTIF(Movements[Movement],"Churn")',6:"=COUNTIF('Customer MRR'!D2:Z494,\"<0\")",7:"=SUMPRODUCT(--(COUNTIF('Customer MRR'!A2:A494,Subscriptions[Customer])=0))",8:'=COUNTA(Subscriptions[Customer])-COUNTA(UNIQUE(Subscriptions[Customer]))',9:"=ROUND(SUM('Cohort MRR'!X2:X24)-SUM(Movements[MRR change]),MoneyDecimals)",10:"=IF(Finance!A9='ARR History'!A24,0,1)",11:"=COUNTA(UNIQUE(Movements[Customer]&Movements[Cohort]))-COUNTA('Customer MRR'!A2:A494)",12:"=SUM('Customer Events'!G2:G1474)-SUM(Movements[MRR change])"};Object.entries(f).forEach(([r,f])=>s.range(`B${r}`).formulas=f);s.range('A14:B14').values=[['Total absolute check exceptions',null]];s.range('B14').formulas='=SUMPRODUCT(ABS(B2:B12))';s.range('A16:B17').values=[['Subscription MRR',null],['Subscription ARR',null]];s.range('B16').formulas='=SUM(Subscriptions[MRR])';s.range('B17').formulas='=B16*Annualize';
    const d=workbook.sheets.add('Board Summary');d.showGridLines=false;d.merge('A1:H1');d.range('A1').values=[['Lumenhall Q3 2026 board metrics']];d.range('A3:H3').values=[['Quarter','Ending ARR','Plan ARR','YoY growth','TTM NRR','TTM GRR','CAC months','Rule of 40']];d.range('A4:A11').formulas="='Quarterly Metrics'!A2";['G','H','L','M','N','Q','T'].forEach((c,i)=>d.range(`${String.fromCharCode(66+i)}4:${String.fromCharCode(66+i)}11`).formulas=`='Quarterly Metrics'!${c}2`);d.charts.add('line',{data:'A3:C11',at:'A14',size:{width:1050,height:320},title:'Ending ARR versus plan'});d.merge('A33:H33');d.range('A33').values=[['ARR reconciles to the September 30 snapshot. See Definitions for calculation conventions and Checks for audit controls.']];
    const specs={'Finance':'D','Movements':'G','Subscriptions':'D','Definitions':'B','Customer MRR':'AB','Customer Events':'G','ARR History':'K','Quarterly Metrics':'V','Cohort MRR':'X','Cohort Retention':'Y','Checks':'C','Board Summary':'H'};for(const [n,end]of Object.entries(specs)){const t=workbook.sheets.get(n);t.freeze(1,1);t.setColumnWidth('A',160).setColumnWidth('B:AB',135);t.range(`A1:${end}1`).format({fill:'accent1',color:'white',bold:true,wrap:true});}const inp=workbook.sheets.get('Definitions');inp.setColumnWidth('A',290).setColumnWidth('B',850);inp.range('B3:B9').format({color:'blue-700',fill:'blue-50'});['B4','B8:B9'].forEach(r=>inp.range(r).numberFormat='percent1');inp.range('B12:B25').format({wrap:true});const fin=workbook.sheets.get('Finance');fin.range('B2:C9').numberFormat='currency0';fin.range('D2:D9').numberFormat='percent1';fin.range('B2:D9').format({color:'blue-700',fill:'blue-50'});for(const n of ['Movements','Customer Events']){const t=workbook.sheets.get(n);t.setColumnWidth('C:E',155);t.range('A2:A1474').numberFormat='date';t.range('G2:G1474').numberFormat='currency0';}workbook.sheets.get('Subscriptions').range('D2:D356').numberFormat='currency0';const cs=workbook.sheets.get('Customer MRR');cs.range('D2:AB494').numberFormat='#,##0;(#,##0);–';const h=workbook.sheets.get('ARR History');h.range('B2:H24').numberFormat='currency0';h.range('I2:J24').numberFormat='percent1';const m=workbook.sheets.get('Quarterly Metrics');m.range('B2:I9').numberFormat='currency0';m.range('J2:N9').numberFormat='percent1';m.range('O2:O9').numberFormat='currency0';m.range('P2:P9').numberFormat='percent1';m.range('Q2:R9').numberFormat='0.0';m.range('S2:T9').numberFormat='percent1';m.range('U2:V9').numberFormat='currency0';workbook.sheets.get('Cohort MRR').range('B2:X24').numberFormat='#,##0';const cr=workbook.sheets.get('Cohort Retention');cr.range('B2:B24').numberFormat='currency0';cr.range('C2:Y24').numberFormat='0%';s.setColumnWidth('A',335).setColumnWidth('B',210).setColumnWidth('C',380);s.range('B2:B17').numberFormat='#,##0.00';d.range('A3:H3').format({fill:'accent1',color:'white',bold:true});d.range('B4:C11').numberFormat='$0.0,,"M"';d.range('D4:F11').numberFormat='0.0%';d.range('G4:G11').numberFormat='0.0';d.range('H4:H11').numberFormat='0.0%';d.range('A33:H33').format({wrap:true});return s.range('A2:B17');
    {
      "ok": true,
      "value": {
        "range": "Checks!A2:B17",
        "values": [
          [
            "Ending ARR less subscriptions ARR",
            0
          ],
          [
            "Bridge absolute differences",
            0
          ],
          [
            "Customer absolute MRR differences",
            3145092
          ],
          [
            "Unknown movement types",
            0
          ],
          [
            "Negative customer balances",
            0
          ],
          [
            "Snapshot customers absent in history",
            0
          ],
          [
            "Duplicate snapshot customers",
            0
          ],
          [
            "Cohort MRR less ending MRR",
            0
          ],
          [
            "Latest finance quarter mismatch",
            0
          ],
          [
            "Inconsistent customer signing quarters",
            0
          ],
          [
            "Sorted source less raw MRR",
            0
          ],
          [
            null,
            null
          ],
          [
            "Total absolute check exceptions",
            3145092
          ],
          [
            null,
            null
          ],
          [
            "Subscription MRR",
            3145092
          ],
          [
            "Subscription ARR",
            37741104
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention",
        "Checks",
        "Board Summary"
      ],
      "version": 10,
      "lint": {
        "errors": 25,
        "warnings": 0
      },
      "note": "Read under their right names, so the run went through: charts.add: read width as w; charts.add: read height as h. Use those names next time."
    }
  20. artiwright_run
    return {customer:workbook.sheets.get('Customer MRR').range('A2:D5').values,last:workbook.sheets.get('Customer MRR').range('Z2:AB5').values,events:workbook.sheets.get('Customer Events').range('B2:G10').values,metrics:workbook.sheets.get('Quarterly Metrics').range('M6:N9').values};
    {
      "ok": true,
      "value": {
        "customer": [
          [
            "CUS-0001",
            "SMB",
            "2021-Q1",
            0
          ],
          [
            "CUS-0002",
            "SMB",
            "2021-Q1",
            0
          ],
          [
            "CUS-0003",
            "SMB",
            "2021-Q1",
            0
          ],
          [
            "CUS-0004",
            "SMB",
            "2021-Q1",
            0
          ]
        ],
        "last": [
          [
            0,
            0,
            0
          ],
          [
            0,
            5569,
            -5569
          ],
          [
            0,
            0,
            0
          ],
          [
            0,
            0,
            0
          ]
        ],
        "events": [
          [
            "2021-Q1",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "New",
            1950
          ],
          [
            "2021-Q1",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Contraction",
            -462
          ],
          [
            "2021-Q2",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Expansion",
            388
          ],
          [
            "2021-Q3",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Contraction",
            -156
          ],
          [
            "2022-Q3",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Expansion",
            558
          ],
          [
            "2022-Q4",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Expansion",
            322
          ],
          [
            "2022-Q4",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Expansion",
            607
          ],
          [
            "2023-Q3",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Contraction",
            -897
          ],
          [
            "2023-Q3",
            "CUS-0001",
            "SMB",
            "2021-Q1",
            "Churn",
            -2310
          ]
        ],
        "metrics": [
          [
            "#DIV/0!",
            "#DIV/0!"
          ],
          [
            "#DIV/0!",
            "#DIV/0!"
          ],
          [
            "#DIV/0!",
            "#DIV/0!"
          ],
          [
            "#DIV/0!",
            "#DIV/0!"
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention",
        "Checks",
        "Board Summary"
      ],
      "version": 10,
      "lint": {
        "errors": 25,
        "warnings": 0
      }
    }
  21. artiwright_run
    const rows=workbook.sheets.get('Movements').range('A2:G1474').values;const sorted=rows.map((r,i)=>({id:r[2],row:i+2})).sort((a,b)=>a.id.localeCompare(b.id));const s=workbook.sheets.get('Customer Events');s.clear();s.range('A1:G1').values=workbook.sheets.get('Movements').range('A1:G1').values;s.range('A2:G1474').formulas=sorted.map(x=>Array.from({length:7},(_,j)=>`=Movements!${String.fromCharCode(65+j)}${x.row}`));s.range('A1:G1').format({fill:'accent1',color:'white',bold:true});s.setColumnWidth('A:G',150);s.range('A2:A1474').numberFormat='date';s.range('G2:G1474').numberFormat='currency0';return {checks:workbook.sheets.get('Checks').range('B2:B14').values,retention:workbook.sheets.get('Quarterly Metrics').range('M6:N9').values};
    {
      "ok": true,
      "value": {
        "checks": [
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            0
          ],
          [
            null
          ],
          [
            0
          ]
        ],
        "retention": [
          [
            1.0139405423596568,
            0.8921282611351784
          ],
          [
            1.032689404169969,
            0.9013114233102456
          ],
          [
            1.0321341508801964,
            0.8933287431612639
          ],
          [
            1.039734268478612,
            0.9039829340038411
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention",
        "Checks",
        "Board Summary"
      ],
      "version": 11,
      "lint": {
        "errors": 0,
        "warnings": 0
      }
    }
  22. Ending ARR reconciles exactly to the subscription snapshot, both in total and customer by customer. Net and gross retention are calculated separately for the customers present at the start of each trailing-four-quarter period, so expansion cannot mask losses in GRR.

    I’m labeling the magic number and Rule of 40 as ARR-based measures because finance did not provide recognized revenue.

  23. artiwright_render
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "slides": [],
      "sheets": [
        "Board Summary",
        "Checks",
        "Cohort Retention"
      ],
      "range": "A1:H17"
    }
    Sheet Board Summary A1:H17Sheet Checks A1:H17Sheet Cohort Retention A1:H17
    A render the agent looked atA render the agent looked atA render the agent looked at
  24. artiwright_lint
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "rules": "",
      "severity": "warn",
      "slide": ""
    }
    {
      "ok": true,
      "errors": 0,
      "warnings": 0,
      "findings": []
    }
  25. artiwright_run
    const m=workbook.sheets.get('Quarterly Metrics').range('A2:V9').values;const round=(n,d=1)=>Math.round(n*10**d)/10**d;const cr=workbook.sheets.get('Cohort Retention');const cohortQs=['2024-Q1','2024-Q3','2025-Q1','2025-Q3'];const qs=cr.range('A2:A24').values.flat();return {quarters:m.map(r=>r[0]),arrM:m.map(r=>round(r[6]/1e6,2)),planM:m.map(r=>round(r[7]/1e6,2)),latest:{quarter:m[7][0],arr:round(m[7][6]/1e6,2),plan:round(m[7][7]/1e6,2),gap:round(m[7][8]/1e6,2),gapPct:round(m[7][9]*100),yoy:round(m[7][11]*100),qoq:round(m[7][10]*100),nrr:round(m[7][12]*100),grr:round(m[7][13]*100),cac:round(m[7][16]),magic:round(m[7][17],2),fcf:round(m[7][18]*100),rule40:round(m[7][19]*100)},last4:{quarters:m.slice(4).map(r=>r[0]),bridge:m.slice(4).map(r=>r.slice(1,8).map(v=>round(v/1e6,2))),nrr:m.slice(4).map(r=>round(r[12]*100)),grr:m.slice(4).map(r=>round(r[13]*100)),cac:m.slice(4).map(r=>round(r[16])),magic:m.slice(4).map(r=>round(r[17],2)),growth:m.slice(4).map(r=>round(r[11]*100)),fcf:m.slice(4).map(r=>round(r[18]*100)),rule40:m.slice(4).map(r=>round(r[19]*100))},cohorts:cohortQs.map(q=>({name:q,values:cr.range(`C${qs.indexOf(q)+2}:G${qs.indexOf(q)+2}`).values[0].map(v=>round(v*100))})),asks:workbook.sheets.get('Definitions').range('A7:B8').values,check:workbook.sheets.get('Checks').range('B14').values};
    {
      "ok": true,
      "value": {
        "quarters": [
          "2024-Q4",
          "2025-Q1",
          "2025-Q2",
          "2025-Q3",
          "2025-Q4",
          "2026-Q1",
          "2026-Q2",
          "2026-Q3"
        ],
        "arrM": [
          22.39,
          24.39,
          25.79,
          27.64,
          28.95,
          30.98,
          34.32,
          37.74
        ],
        "planM": [
          23,
          24.8,
          26,
          27.7,
          28.8,
          30.5,
          33.6,
          36.6
        ],
        "latest": {
          "quarter": "2026-Q3",
          "arr": 37.74,
          "plan": 36.6,
          "gap": 1.14,
          "gapPct": 3.1,
          "yoy": 36.5,
          "qoq": 10,
          "nrr": 104,
          "grr": 90.4,
          "cac": 17.8,
          "magic": 1.16,
          "fcf": 3.7,
          "rule40": 40.2
        },
        "last4": {
          "quarters": [
            "2025-Q4",
            "2026-Q1",
            "2026-Q2",
            "2026-Q3"
          ],
          "bridge": [
            [
              27.64,
              1.17,
              0.74,
              -0.2,
              -0.4,
              28.95,
              28.8
            ],
            [
              28.95,
              1.29,
              1.34,
              -0.22,
              -0.39,
              30.98,
              30.5
            ],
            [
              30.98,
              3.55,
              1.11,
              -0.33,
              -0.98,
              34.32,
              33.6
            ],
            [
              34.32,
              2.8,
              1.72,
              -0.16,
              -0.94,
              37.74,
              36.6
            ]
          ],
          "nrr": [
            101.4,
            103.3,
            103.2,
            104
          ],
          "grr": [
            89.2,
            90.1,
            89.3,
            90.4
          ],
          "cac": [
            36.6,
            33.4,
            12.7,
            17.8
          ],
          "magic": [
            0.53,
            0.73,
            1.19,
            1.16
          ],
          "growth": [
            29.3,
            27,
            33.1,
            36.5
          ],
          "fcf": [
            -2.3,
            -0.4,
            1.8,
            3.7
          ],
          "rule40": [
            27,
            26.6,
            34.9,
            40.2
          ]
        },
        "cohorts": [
          {
            "name": "2024-Q1",
            "values": [
              100,
              100.2,
              106.5,
              108.1,
              103.1
            ]
          },
          {
            "name": "2024-Q3",
            "values": [
              100,
              103.2,
              104.6,
              105.1,
              112
            ]
          },
          {
            "name": "2025-Q1",
            "values": [
              100,
              102.9,
              105.3,
              1
    …
  26. artiwright_finalizelumenhall-q3-2026-metrics.xlsx
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "file": "lumenhall-q3-2026-metrics.xlsx",
      "requirements": {
        "sheets": [
          "Finance",
          "Movements",
          "Subscriptions",
          "Definitions",
          "Customer Events",
          "Customer MRR",
          "ARR History",
          "Quarterly Metrics",
          "Cohort MRR",
          "Cohort Retention",
          "Checks",
          "Board Summary"
        ],
        "tables": [
          "Finance",
          "Movements",
          "Subscriptions",
          "ARRHistory",
          "Metrics"
        ],
        "charts": 1,
        "values": [
          {
            "cell": "Checks!B14",
            "equals": 0,
            "tolerance": 0
          },
          {
            "cell": "Checks!B2",
            "equals": 0,
            "tolerance": 0
          },
          {
            "cell": "Checks!B4",
            "equals": 0,
            "tolerance": 0
          },
          {
            "cell": "'Quarterly Metrics'!G9",
            "equals": 37741104,
            "tolerance": 0.01
          }
        ],
        "slideCount": 0,
        "nativeCharts": [],
        "nativeTables": [],
        "tableTotals": [],
        "fonts": {
          "allowed": []
        },
        "lint": {
          "block": [
            "error",
            "warn"
          ],
          "waive": []
        }
      }
    }
    {
      "ok": true,
      "blocking": [],
      "warnings": [],
      "checks": [
        {
          "step": 1,
          "code": "path",
          "ok": true
        },
        {
          "step": 2,
          "code": "validate",
          "ok": true
        },
        {
          "step": 3,
          "code": "requirements",
          "ok": true
        },
        {
          "step": 4,
          "code": "lint",
          "ok": true
        },
        {
          "step": 5,
          "code": "publish",
          "ok": true
        }
      ],
      "path": "./sessions/saas-board-pack/outputs/lumenhall-q3-2026-metrics.xlsx",
      "sha256": "834322c6a53bdb884ecf0e2a240805a07702b47bd204b25aed557d2d41a08165",
      "bytes": 262380,
      "receiptPath": "./sessions/saas-board-pack/.artiwright/receipts/lumenhall-q3-2026-metrics.834322c6a53b.1794788259048.receipt.json"
    }
  27. artiwright_run
    const add=(recipe,props)=>{const s=deck.slides.add();compose(s,h(recipe,props));return s;};const source='Source: Lumenhall billing history and finance inputs, September 30, 2026.';
    add(TitleSlide,{title:'Lumenhall Q3 2026',subtitle:'Board metrics and FY27 investment decisions',eyebrow:'October 2026 board meeting',figures:[{value:'$37.7M',label:'Ending ARR, 3.1% above plan'},{value:'36.5%',label:'Year-over-year ARR growth'},{value:'40.2%',label:'ARR-based Rule of 40'}]});
    add(ComparisonTable,{title:'ARR reached $37.7M, ahead of plan by $1.14M',rows:[['ARR bridge, $M','2025 Q4','2026 Q1','2026 Q2','2026 Q3'],['Beginning',27.64,28.95,30.98,34.32],['New',1.17,1.29,3.55,2.8],['Expansion',0.74,1.34,1.11,1.72],['Contraction',-0.2,-0.22,-0.33,-0.16],['Churn',-0.4,-0.39,-0.98,-0.94],['Ending',28.95,30.98,34.32,37.74],['Plan',28.8,30.5,33.6,36.6]],takeaways:['New and expansion outweighed contraction and churn.','Q3 ARR grew 10.0% sequentially and 36.5% year over year.'],note:source+' ARR equals MRR × 12. Rounded components may not sum.'});
    add(ChartTakeaway,{title:'Net retention reached 104.0%; gross retention was 90.4%',chart:{type:'line',categories:['2025 Q4','2026 Q1','2026 Q2','2026 Q3'],series:[{name:'Trailing-four-quarter NRR (%)',values:[101.4,103.3,103.2,104]},{name:'Trailing-four-quarter GRR (%)',values:[89.2,90.1,89.3,90.4]}],format:'0.0"%"'},takeaways:['Expansion lifted net retention above gross retention.','Gross retention still reveals material losses in the starting base.','Prioritize contraction and churn alongside expansion.'],note:source+' Each point uses customers present four quarters earlier; GRR caps each customer at starting MRR.'});
    add(ChartTakeaway,{title:'Selected cohorts retained more than their signing-quarter MRR',chart:{type:'line',categories:['Q0','Q1','Q2','Q3','Q4'],series:[{name:'2024 Q1',values:[100,100.2,106.5,108.1,103.1]},{name:'2024 Q3',values:[100,103.2,104.6,105.1,112]},{name:'2025 Q1',values:[100,102.9,105.3,107,102.5]},{name:'2025 Q3',values:[100,100.4,105.7,106.3,107.7]}],format:'0.0"%"'},takeaways:['The selected mature cohorts all exceeded their initial MRR at Q4.','Expansion offsets losses within each cohort.','The workbook includes every signing quarter since 2021.'],note:source+' Illustrative vintages, not a full-population average. Q0 is signing-quarter-end MRR; Q4 is four quarters later.'});
    add(TwoCharts,{title:'Payback improved from Q4, but rose sequentially to 17.8 months',left:{type:'column',categories:['2025 Q4','2026 Q1','2026 Q2','2026 Q3'],series:[{name:'CAC payback (months)',values:[36.6,33.4,12.7,17.8]}],format:'0.0'},right:{type:'column',categories:['2025 Q4','2026 Q1','2026 Q2','2026 Q3'],series:[{name:'ARR-based magic number',values:[0.53,0.73,1.19,1.16]}],format:'0.00"x"'},takeaways:['Q3 magic number remained above 1.0x.','Monitor acquisition efficiency as hiring ramps.'],note:source+' Payback = current S&M ÷ (new-logo MRR × 78% gross margin). Magic = net new ARR ÷ prior-quarter S&M.'});
    add(ChartTakeaway,{title:'ARR-based Rule of 40 cleared the threshold at 40.2%',chart:{type:'line',categories:['2025 Q4','2026 Q1','2026 Q2','2026 Q3'],series:[{name:'ARR-based Rule of 40 (%)',values:[27,26.6,34.9,40.2]},{name:'YoY ARR growth (%)',values:[29.3,27,33.1,36.5]},{name:'Threshold (%)',values:[40,40,40,40]}],format:'0.0"%"'},figure:{value:'40.2%',label:'Q3 ARR growth plus FCF margin'},takeaways:['36.5% ARR growth plus 3.7% FCF margin.','The threshold is only narrowly exceeded.','Protect cash generation as spending increases.'],note:source+' Uses ARR growth, not recognized revenue growth. FCF margins are supplied by finance.'});
    add(TwoColumns,{title:'Approve the FY27 hiring plan and S&M increase',left:{heading:'Decisions requested',bullets:['Approve twelve quota-carrying sales representatives.','Approve an 8% increase in S&M.','Confirm the spending baseline and hiring phasing.']},right:{heading:'Proposed operating guardrails',bullets:['Track payback and magic number each quarter.','Review gross retention alongside net retention.','Stage hiring against productivity and cash performance.','Return with a costed plan and ramp assumptions.']}});return deck.slides.items?.map(s=>s.id) ?? 'Seven slides built';
    {
      "ok": true,
      "value": [
        "sl_1VH52203",
        "sl_9HW3EA5T",
        "sl_QG3KT2HP",
        "sl_CHC6SP47",
        "sl_DCKNV47G",
        "sl_5SF2EY6N",
        "sl_0Q3DX8NY"
      ],
      "logs": [],
      "created": [
        "sl_1VH52203",
        "sh_R10RQSX9",
        "sh_01SENHD6",
        "sh_S2ZYEVM2",
        "sh_BM7854PP",
        "sh_GH6C4H0J",
        "sh_2MS7PKCC",
        "sh_57R3AAXV",
        "sh_MKQ1MEH7",
        "sh_D01J6NCN",
        "sh_574G8Z4E",
        "sl_9HW3EA5T",
        "sh_16DKS55K",
        "tb_VJJKHHN9",
        "sh_5PEE3CQQ",
        "sh_9A80V5DT",
        "sl_QG3KT2HP",
        "sh_70GCCV4V",
        "ch_2MFA2CGR",
        "sh_KX7XTT80",
        "sh_8SNVS8HS",
        "sl_CHC6SP47",
        "sh_RAVX547R",
        "ch_F3FYHJWC",
        "sh_DDC75DNS",
        "sh_KWGM5S7F",
        "sl_DCKNV47G",
        "sh_X975K1C6",
        "sh_N7885FC9",
        "ch_DCZPDS7J",
        "sh_2CHGQE8Y",
        "ch_8NY5GA3H",
        "sh_7RXYN8N2",
        "sh_CNRJCSN7",
        "sl_5SF2EY6N",
        "sh_4PF2SZEF",
        "ch_V1FMXKJC",
        "sh_J86BNWB1",
        "sh_MSM0WXAM",
        "sh_NZRJCXGV",
        "sh_SERFTCWG",
        "sl_0Q3DX8NY",
        "sh_JBT1X81X",
        "sh_ZMQMK57R",
        "sh_F4WCCZN4",
        "sh_4300W157",
        "sh_JPHYKMBD"
      ],
      "removed": [],
      "slides": 7,
      "version": 1,
      "lint": {
        "errors": 2,
        "warnings": 1
      },
      "theme": {
        "theme": "Coast",
        "source": "requested"
      }
    }
  28. artiwright_render
    {
      "session": "saas-board-pack",
      "document": "deck",
      "slides": [],
      "sheets": [],
      "range": ""
    }
    Contact sheet of 7 slides.
    A render the agent looked at
  29. artiwright_lint
    {
      "session": "saas-board-pack",
      "document": "deck",
      "rules": "",
      "severity": "warn",
      "slide": ""
    }
    {
      "ok": false,
      "errors": 2,
      "warnings": 1,
      "findings": [
        {
          "rule": "text/overflow",
          "message": "Text in \"bullets\" runs past the bottom of its box.",
          "evidence": {
            "lines": 2,
            "boxHeight": 79,
            "textHeight": 75.7
          },
          "fix": "Shorten the text, make the box taller, or set textBox: { autofit: \"shrink\" }.",
          "severity": "error",
          "slide": "sl_9HW3EA5T",
          "slideIndex": 2,
          "id": "sh_5PEE3CQQ"
        },
        {
          "rule": "text/overflow",
          "message": "Text in \"Source: Lumenhall billing his…\" runs past the bottom of its box.",
          "evidence": {
            "lines": 1,
            "boxHeight": 21,
            "textHeight": 23.1
          },
          "fix": "Shorten the text, make the box taller, or set textBox: { autofit: \"shrink\" }.",
          "severity": "error",
          "slide": "sl_9HW3EA5T",
          "slideIndex": 2,
          "id": "sh_9A80V5DT"
        },
        {
          "rule": "layout/overlap",
          "message": "Text in \"bullets\" overlaps the table \"table\".",
          "evidence": {
            "with": "tb_VJJKHHN9",
            "overlap": [
              96,
              551,
              600,
              29
            ]
          },
          "fix": "Move one of them, or put them in a stack if the overlap is intended.",
          "severity": "warn",
          "slide": "sl_9HW3EA5T",
          "slideIndex": 2,
          "id": "sh_5PEE3CQQ"
        }
      ]
    }
  30. artiwright_help
    {
      "query": "ChartOptions, TableOptions",
      "search": "",
      "maxChars": 13000
    }
    ChartOptions
      frame: Frame
      name?: string
      alt?: string
      categories?: Array<string | number | string[]>  Category labels (not used by scatter and bubble charts).
      series: ChartSeriesInput[]
      title?: string | { text: string; style?: string | TextStyle; overlay?: boolean }
      legend?: | false | LegendPosition | { position?: LegendPosition; overlay?: boolean; style?: string | TextStyle }  Position, false to hide, or options.
      dataLabels?: boolean | DataLabelsInput  Labels on every series.
      stacked?: boolean | "percent"  Column, bar, line and area charts: stack series, or stack to 100%.
      axes?: { x?: AxisInput; y?: AxisInput; y2?: AxisInput }  y2: the secondary value axis on the right, for series with axis: "secondary".
      gap?: number  Space between bar groups, percent of a bar's width (0–500).
      overlap?: number  Bar overlap within a group, percent (-100–100).
      holeSize?: number  Doughnut hole, percent of the diameter (10–90).
      firstSliceAngle?: number  Pie and doughnut rotation in degrees.
      varyColors?: boolean  A different color for every point.
      radarStyle? (marker | filled | lines)
      blanks? (gap | zero | span)  How gaps draw: leave a gap, drop to zero, or connect across.
      style?: string | TextStyle  Default text for the chart: font, size, color.
      background?: string
      border?: string | LineOptions
      plotBackground?: string
      upDownBars?: boolean  Stock charts with four series (open, high, low, close).
      highLowLines?: boolean
      totals?: number[]  Waterfall: indexes of the points that are totals (full bars from zero), e.g. [0, 4].
      connectorLines?: boolean  Waterfall: lines joining the bars (default true).
      parentLabels? (overlapping | banner | none)  Treemap: parent labels (default "overlapping").
      bins?: number | { count?: number; width?: number }  Histogram: the number of bins, or their width (default: automatic).
      threeD?: boolean  Column, bar, line, area and pie charts drawn in 3D.
      split?: { by: "position" | "value" | "percent" | "custom"; value?: number; points?: number[]; /** Size of the second plot, percent of the first (5–200, default 75). */ secondSize?: number; }  Pie-of-pie and bar-of-pie: which points go to the second plot.
      wireframe?: boolean  Surface and contour charts: lines only, no fill.
      boxWhisker?: { /** A line through the means (default false). */ meanLine?: boolean; /** An x at each mean (default true). */ meanM
    …
  31. artiwright_run
    const m=workbook.sheets.get('Quarterly Metrics').range('A6:V9').values;const rd=(n,d=1)=>Math.round(n*10**d)/10**d;const c=workbook.sheets.get('Cohort Retention');return JSON.stringify({bridge:m.map(r=>r.slice(1,8).map(v=>rd(v/1e6,2))),nrr:m.map(r=>rd(r[12]*100)),grr:m.map(r=>rd(r[13]*100)),cac:m.map(r=>rd(r[16])),magic:m.map(r=>rd(r[17],2)),growth:m.map(r=>rd(r[11]*100)),fcf:m.map(r=>rd(r[18]*100)),rule:m.map(r=>rd(r[19]*100)),cohorts:[14,16,18,20].map(r=>[c.range(`A${r}`).values[0][0],c.range(`C${r}:G${r}`).values[0].map(v=>rd(v*100))])});
    {
      "ok": true,
      "value": "{\"bridge\":[[27.64,1.17,0.74,-0.2,-0.4,28.95,28.8],[28.95,1.29,1.34,-0.22,-0.39,30.98,30.5],[30.98,3.55,1.11,-0.33,-0.98,34.32,33.6],[34.32,2.8,1.72,-0.16,-0.94,37.74,36.6]],\"nrr\":[101.4,103.3,103.2,104],\"grr\":[89.2,90.1,89.3,90.4],\"cac\":[36.6,33.4,12.7,17.8],\"magic\":[0.53,0.73,1.19,1.16],\"growth\":[29.3,27,33.1,36.5],\"fcf\":[-2.3,-0.4,1.8,3.7],\"rule\":[27,26.6,34.9,40.2],\"cohorts\":[[\"2024-Q1\",[100,100.2,106.5,108.1,103.1]],[\"2024-Q3\",[100,103.2,104.6,105.1,112]],[\"2025-Q1\",[100,102.9,105.3,107,102.5]],[\"2025-Q3\",[100,100.4,105.7,106.3,107.7]]]}",
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention",
        "Checks",
        "Board Summary"
      ],
      "version": 11,
      "lint": {
        "errors": 0,
        "warnings": 0
      }
    }
  32. artiwright_help
    {
      "query": "AxisInput",
      "search": "",
      "maxChars": 4000
    }
    AxisInput
      title?: string | { text: string; style?: string | TextStyle }
      min?: number
      max?: number
      majorUnit?: number
      minorUnit?: number
      format?: string  Excel number format of the tick labels, e.g. "$#,##0", "0%".
      gridlines?: boolean  Major gridlines (default: on for the value axis).
      minorGridlines?: boolean
      reverse?: boolean  Categories in reverse order.
      logBase?: number
      hidden?: boolean
      style?: string | TextStyle
      line?: string | LineOptions
      gridlineStyle?: string | LineOptions
      labels? (nextTo | low | high | none)
      crossesAt?: number
      tickMarks? (none | out | in | cross)
      labelEvery?: number  Category axis: label every nth category, starting with the first (3 on monthly data labels each quarter).
      Also accepted: label → title, name → title, numberFormat → format, showGridlines → gridlines, grid → gridlines, step → majorUnit, tickLabelSkip → labelEvery, labelInterval → labelEvery, interval → majorUnit, visible → hidden: true to hide the axis, logarithmic → logBase
  33. artiwright_run
    deck.resolve('sh_5PEE3CQQ').setText('Q3 ARR grew 10.0% sequentially and 36.5% year over year.');deck.resolve('sh_5PEE3CQQ').update({frame:{x:72,y:592,w:1136,h:48},textStyle:{size:23}});deck.resolve('sh_9A80V5DT').setText('Source: billing history and finance inputs, September 30, 2026. ARR = MRR × 12. Components rounded.');deck.resolve('sh_9A80V5DT').update({frame:{x:72,y:658,w:1136,h:40}});deck.resolve('ch_2MFA2CGR').update({axes:{y:{min:80,max:110,majorUnit:5,format:'0"%"'}}});deck.resolve('ch_F3FYHJWC').update({axes:{y:{min:95,max:115,majorUnit:5,format:'0"%"'}}});return 'Layout fixed and retention chart scales focused on observed range.';
    {
      "ok": true,
      "value": "Layout fixed and retention chart scales focused on observed range.",
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 7,
      "version": 2,
      "lint": {
        "errors": 0,
        "warnings": 0
      }
    }
  34. artiwright_render
    {
      "session": "saas-board-pack",
      "document": "deck",
      "slides": [
        2,
        3,
        4
      ],
      "sheets": [],
      "range": ""
    }
    Slide 2Slide 3Slide 4
    A render the agent looked atA render the agent looked atA render the agent looked at
  35. artiwright_lint
    {
      "session": "saas-board-pack",
      "document": "deck",
      "rules": "",
      "severity": "warn",
      "slide": ""
    }
    {
      "ok": true,
      "errors": 0,
      "warnings": 0,
      "findings": []
    }
  36. artiwright_finalizelumenhall-q3-2026-board-pack.pptxerror
    {
      "session": "saas-board-pack",
      "document": "deck",
      "file": "lumenhall-q3-2026-board-pack.pptx",
      "requirements": {
        "sheets": [],
        "tables": [],
        "charts": 0,
        "values": [],
        "slideCount": 7,
        "nativeCharts": [
          "sl_QG3KT2HP",
          "sl_CHC6SP47",
          "sl_DCKNV47G",
          "sl_5SF2EY6N"
        ],
        "nativeTables": [
          "sl_9HW3EA5T"
        ],
        "tableTotals": [],
        "fonts": {
          "allowed": []
        },
        "lint": {
          "block": [
            "error",
            "warn"
          ],
          "waive": []
        }
      }
    }
    {
      "ok": false,
      "blocking": [
        {
          "step": 4,
          "code": "numbers/untraced",
          "message": "10 of the 28 numbers in the table on slide 2 are not in the session's workbooks (28.95, 30.98, 34.32, 28.95, 30.98). Read the figures from the workbook rather than typing them; if they come from somewhere else, waive \"numbers/untraced\".",
          "slide": 2,
          "id": "tb_VJJKHHN9",
          "evidence": {
            "numbers": 28,
            "untraced": 10,
            "examples": [
              "28.95",
              "30.98",
              "34.32",
              "28.95",
              "30.98"
            ]
          }
        }
      ],
      "warnings": [],
      "checks": [
        {
          "step": 1,
          "code": "path",
          "ok": true
        },
        {
          "step": 2,
          "code": "size",
          "ok": true
        },
        {
          "step": 2,
          "code": "validate",
          "ok": true
        },
        {
          "step": 3,
          "code": "package",
          "ok": true
        },
        {
          "step": 4,
          "code": "slideCount",
          "ok": true
        },
        {
          "step": 4,
          "code": "nativeCharts",
          "ok": true
        },
        {
          "step": 4,
          "code": "nativeTables",
          "ok": true
        },
        {
          "step": 4,
          "code": "numbers",
          "ok": false
        },
        {
          "step": 5,
          "code": "chartData",
          "ok": true
        },
        {
          "step": 6,
          "code": "lint",
          "ok": true
        },
        {
          "step": 7,
          "code": "reimport",
          "ok": true
        }
      ],
      "receiptPath": "./sessions/saas-board-pack/.artiwright/receipts/lumenhall-q3-2026-board-pack.84ee3806f772.1794788309508.receipt.json"
    }
  37. artiwright_run
    const defs=workbook.sheets.get('Definitions');defs.range('A27:B29').values=[['Dollars per million',1000000],['Percent scale',100],['Presentation decimal places',1]];workbook.names.add('DollarsPerMillion','Definitions!$B$27').add('PercentScale','Definitions!$B$28').add('DisplayDecimals','Definitions!$B$29');defs.range('B27:B29').format({color:'blue-700',fill:'blue-50'});const s=workbook.sheets.add('Board Data');s.range('A1:V1').values=workbook.sheets.get('Quarterly Metrics').range('A1:V1').values;s.range('A2:A9').formulas="='Quarterly Metrics'!A2";for(const c of ['B','C','D','E','F','G','H','I','O','U','V'])s.range(`${c}2:${c}9`).formulas=`=ROUND('Quarterly Metrics'!${c}2/DollarsPerMillion,MoneyDecimals)`;for(const c of ['J','K','L','M','N','P','S','T'])s.range(`${c}2:${c}9`).formulas=`=ROUND('Quarterly Metrics'!${c}2*PercentScale,DisplayDecimals)`;s.range('Q2:Q9').formulas="=ROUND('Quarterly Metrics'!Q2,DisplayDecimals)";s.range('R3:R9').formulas="=ROUND('Quarterly Metrics'!R3,MoneyDecimals)";s.range('A12:F12').values=[['Selected signing cohort','Q0 %','Q1 %','Q2 %','Q3 %','Q4 %']];[14,16,18,20].forEach((r,i)=>{s.range(`A${13+i}`).formulas=`='Cohort Retention'!A${r}`;for(let a=0;a<5;a++)s.range(`${String.fromCharCode(66+a)}${13+i}`).formulas=`=ROUND('Cohort Retention'!${String.fromCharCode(67+a)}${r}*PercentScale,DisplayDecimals)`;});s.range('A19:B19').values=[['Units','Money in $M; percentages in percentage points. Display-only rounded figures for PowerPoint provenance.']];s.setColumnWidth('A:V',145);s.range('A1:V1').format({fill:'accent1',color:'white',bold:true,wrap:true});s.range('A12:F12').format({fill:'accent1',color:'white',bold:true});s.range('B2:V9').numberFormat='0.00';s.freeze(1,1);return s.range('A6:H9');
    {
      "ok": true,
      "value": {
        "range": "'Board Data'!A6:H9",
        "values": [
          [
            "2025-Q4",
            27.64,
            1.17,
            0.74,
            -0.2,
            -0.4,
            28.95,
            28.8
          ],
          [
            "2026-Q1",
            28.95,
            1.29,
            1.34,
            -0.22,
            -0.39,
            30.98,
            30.5
          ],
          [
            "2026-Q2",
            30.98,
            3.55,
            1.11,
            -0.33,
            -0.98,
            34.32,
            33.6
          ],
          [
            "2026-Q3",
            34.32,
            2.8,
            1.72,
            -0.16,
            -0.94,
            37.74,
            36.6
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention",
        "Checks",
        "Board Summary",
        "Board Data"
      ],
      "version": 12,
      "lint": {
        "errors": 0,
        "warnings": 1
      }
    }
  38. artiwright_lint
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "rules": "",
      "severity": "warn",
      "slide": ""
    }
    {
      "ok": true,
      "errors": 0,
      "warnings": 1,
      "findings": [
        {
          "rule": "text/clipped",
          "sheet": "Board Data",
          "range": "A12",
          "message": "Board Data!A12 is cut off: \"Selected signing cohort\" is wider than the column and B12 is not empty.",
          "evidence": {
            "needs": 163,
            "width": 145
          },
          "fix": "Widen the column, wrap the text (format({ wrap: true })), or shorten it.",
          "severity": "warn"
        }
      ]
    }
  39. artiwright_run
    const s=workbook.sheets.get('Board Data');s.setColumnWidth('A',185);s.merge('B19:V19');s.range('B19:V19').format({wrap:true});return workbook.sheets.get('Checks').range('B14');
    {
      "ok": true,
      "value": {
        "range": "Checks!B14",
        "values": [
          [
            0
          ]
        ]
      },
      "logs": [],
      "created": [],
      "removed": [],
      "slides": 0,
      "sheets": [
        "Finance",
        "Movements",
        "Subscriptions",
        "Customer MRR",
        "Customer Events",
        "Definitions",
        "ARR History",
        "Quarterly Metrics",
        "Cohort MRR",
        "Cohort Retention",
        "Checks",
        "Board Summary",
        "Board Data"
      ],
      "version": 13,
      "lint": {
        "errors": 0,
        "warnings": 0
      }
    }
  40. artiwright_finalizelumenhall-q3-2026-metrics-final.xlsx
    {
      "session": "saas-board-pack",
      "document": "metrics",
      "file": "lumenhall-q3-2026-metrics-final.xlsx",
      "requirements": {
        "sheets": [
          "Finance",
          "Movements",
          "Subscriptions",
          "Definitions",
          "Customer Events",
          "Customer MRR",
          "ARR History",
          "Quarterly Metrics",
          "Cohort MRR",
          "Cohort Retention",
          "Checks",
          "Board Summary",
          "Board Data"
        ],
        "tables": [
          "Finance",
          "Movements",
          "Subscriptions",
          "ARRHistory",
          "Metrics"
        ],
        "charts": 1,
        "values": [
          {
            "cell": "Checks!B14",
            "equals": 0,
            "tolerance": 0
          },
          {
            "cell": "Checks!B2",
            "equals": 0,
            "tolerance": 0
          },
          {
            "cell": "Checks!B4",
            "equals": 0,
            "tolerance": 0
          },
          {
            "cell": "'Quarterly Metrics'!G9",
            "equals": 37741104,
            "tolerance": 0.01
          }
        ],
        "slideCount": 0,
        "nativeCharts": [],
        "nativeTables": [],
        "tableTotals": [],
        "fonts": {
          "allowed": []
        },
        "lint": {
          "block": [
            "error",
            "warn"
          ],
          "waive": []
        }
      }
    }
    {
      "ok": true,
      "blocking": [],
      "warnings": [],
      "checks": [
        {
          "step": 1,
          "code": "path",
          "ok": true
        },
        {
          "step": 2,
          "code": "validate",
          "ok": true
        },
        {
          "step": 3,
          "code": "requirements",
          "ok": true
        },
        {
          "step": 4,
          "code": "lint",
          "ok": true
        },
        {
          "step": 5,
          "code": "publish",
          "ok": true
        }
      ],
      "path": "./sessions/saas-board-pack/outputs/lumenhall-q3-2026-metrics-final.xlsx",
      "sha256": "e0f65d0419cf570d00f568747440e49cfe96edb53e08f08404cabeef18ee0f0c",
      "bytes": 265421,
      "receiptPath": "./sessions/saas-board-pack/.artiwright/receipts/lumenhall-q3-2026-metrics-final.e0f65d0419cf.1794788359262.receipt.json"
    }
  41. artiwright_finalizelumenhall-q3-2026-board-pack.pptx
    {
      "session": "saas-board-pack",
      "document": "deck",
      "file": "lumenhall-q3-2026-board-pack.pptx",
      "requirements": {
        "sheets": [],
        "tables": [],
        "charts": 0,
        "values": [],
        "slideCount": 7,
        "nativeCharts": [
          "sl_QG3KT2HP",
          "sl_CHC6SP47",
          "sl_DCKNV47G",
          "sl_5SF2EY6N"
        ],
        "nativeTables": [
          "sl_9HW3EA5T"
        ],
        "tableTotals": [],
        "fonts": {
          "allowed": []
        },
        "lint": {
          "block": [
            "error",
            "warn"
          ],
          "waive": []
        }
      }
    }
    {
      "ok": true,
      "blocking": [],
      "warnings": [],
      "checks": [
        {
          "step": 1,
          "code": "path",
          "ok": true
        },
        {
          "step": 2,
          "code": "size",
          "ok": true
        },
        {
          "step": 2,
          "code": "validate",
          "ok": true
        },
        {
          "step": 3,
          "code": "package",
          "ok": true
        },
        {
          "step": 4,
          "code": "slideCount",
          "ok": true
        },
        {
          "step": 4,
          "code": "nativeCharts",
          "ok": true
        },
        {
          "step": 4,
          "code": "nativeTables",
          "ok": true
        },
        {
          "step": 4,
          "code": "numbers",
          "ok": true
        },
        {
          "step": 5,
          "code": "chartData",
          "ok": true
        },
        {
          "step": 6,
          "code": "lint",
          "ok": true
        },
        {
          "step": 7,
          "code": "reimport",
          "ok": true
        },
        {
          "step": 8,
          "code": "publish",
          "ok": true
        }
      ],
      "path": "./sessions/saas-board-pack/outputs/lumenhall-q3-2026-board-pack.pptx",
      "sha256": "7ded8acf0f5030faeda23eeff8bca54476bac6b4af41fb654a5277a9f4fe0056",
      "bytes": 55879,
      "manifestPath": "./sessions/saas-board-pack/outputs/lumenhall-q3-2026-board-pack.pptx.manifest.ndjson",
      "receiptPath": "./sessions/saas-board-pack/.artiwright/receipts/lumenhall-q3-2026-board-pack.7ded8acf0f50.1794788353463.receipt.json"
    }
The agent's last message

Completed in Coast theme:

  • [Metrics workbook](sessions/saas-board-pack/outputs/lumenhall-q3-2026-metrics-final.xlsx)
  • [Seven-slide board deck](sessions/saas-board-pack/outputs/lumenhall-q3-2026-board-pack.pptx)

Q3 highlights

  • Ending ARR: $37.74M, 3.1% above plan
  • YoY ARR growth: 36.5%
  • Trailing-four-quarter NRR / GRR: 104.0% / 90.4%
  • CAC payback: 17.8 months
  • Magic number: 1.16x
  • ARR-based Rule of 40: 40.2%

Ending ARR ties exactly to subscriptions, including customer-level reconciliation. All workbook checks pass, and both files passed publication validation.

Definitions are documented, including the ARR-based proxies used where recognized revenue wasn’t supplied.

Lint during the run

Narrow columns, a crowded slide and typed numbers

Lint found 25 cells on ARR History too narrow for their numbers, then two text boxes running over and a takeaway sitting on the table on the bridge slide. The agent fixed both and lint came back clean. Finalize then refused the deck: 10 of the 28 numbers in the bridge table had been typed in as rounded millions and weren't in the workbook. The agent added a Board Data sheet that rounds them with formulas, fixed one clipped label there, saved the workbook again as lumenhall-q3-2026-metrics-final.xlsx, and the deck passed.

  1. lintmetrics25 × Column too narrow (####)
  2. lintmetricsNo findings
  3. finalizelumenhall-q3-2026-metrics.xlsxNo findings
  4. lintdeck2 × Text overflows its box1 × Text overlaps
  5. lintdeckNo findings
  6. finalizelumenhall-q3-2026-board-pack.pptxNo findings
  7. lintmetrics1 × text/clipped
  8. finalizelumenhall-q3-2026-metrics-final.xlsxNo findings
  9. finalizelumenhall-q3-2026-board-pack.pptxNo findings

Finalize report

Nothing is published until these pass. Finalize checks the real file and never overwrites one.

How this example was made: the request above went to a LangGraph agent on gpt-6.1-sol, built with Artiwright's Python package, using agent-runs/framework_run.py. The files are what it finalized, opened in PowerPoint and Excel for the screenshots. Companies, people and figures are made up.