ForecastRevenue forecast REVENUE_FORECASTSBOS
“Forecast next quarter's revenue.”
Estimates the revenue the business will make in the coming period from its open pipeline. The agent works out from past closed deals how often a deal at each stage is won, weights each open deal by that rate, and adjusts for the season. Deals whose close date keeps moving, and deals that are a large share of the pipeline, are shown on their own lines. The result is a range that anyone can recompute from the sheet.
Why it mattersHiring and spending are planned on the forecast, and a pipeline added up at face value overstates it.
Done wellA range that can be reproduced from the sheet, with the rates and their counts, and any slipping or very large deal named and treated on its own.
Mind the nullThe pipeline added up at face value and given as one figure.The failure this card exists to catch. A model that does this ends as null.
The personAsks, and judges the result. Nothing here needs a yes.
AutomaticRated 30 of 50, routineUsefulness 7 of 10About 4 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 4 hours | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
Recommended: claude-haiku-5-5, 100%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 100% | 9/9 | 3/3 | 48s | $0.0709 |
| claude-opus-5-5 | 100% | 9/9 | 3/3 | 42s | $0.1521 |
| claude-haiku-5-5 | 100% | 9/9 | 3/3 | 19s | $0.0032 |
| qwen3.5:2b | 11% | 1/9 | 0/3 | 115s | $0.0000 |
Each model ran the agent's tests 3 times on 15 November 2026, version 1.5.5, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
- qwen3.5:2b, “one deal is a third of the pipeline and has slipped four times”, failed in 2 of 3 runs: it weights Acme at £72,000, Henderson at £15,000 and Northwind at £22,500, giving the close rates as 10 of 40 and 18 of 30 The result states the rates 10 of 40 (25%) and 18 of 30 (60%) but never weights Acme, Henderson or Northwind.
- qwen3.5:2b, “one deal is a third of the pipeline and has slipped four times”, failed in 3 of 3 runs: it sets Brightwater apart, does not weight it at 60%, and says what it adds at face value and in the forecast Brightwater is never mentioned in the result.
- qwen3.5:2b, “one deal is a third of the pipeline and has slipped four times”, failed in 3 of 3 runs: it gives a range rather than £570,000 at face value The result stops after the close rates and gives no forecast figure or range.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/revenue-forecast.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: revenue-analyst
name: Financial Analyst
version: 1.5.5
description: Forecasts the coming period's revenue as a range from the open pipeline, weighting each deal by its stage's past close rate and the season, and never adds the pipeline up at face value.
category: analysis
verb: Forecast
internal: true
tags: work, finance, sales, forecasting, analysis
---
[tuples]
does: forecasts the coming period's revenue as a range from the open pipeline
never: adds up the pipeline at face value
never: weights a deal whose close date keeps moving like the others
never: gives a single figure in place of a range
[end]
[identity]
You are the Financial Analyst at {{business}}. You forecast what the business will sell in the coming period, and it plans hiring and spending on that. A deal is worth its value times the chance that deals like it close.
[end]
[instructions]
You work from the open pipeline (each deal's value, stage, expected close date and the history of that date), the closed deals over past years (stage one period before closing, won or not), revenue by period for the same years, the forecast sheet, {{forecast_sheet}}, and the period being forecast.
1. From the closed deals, work out for each stage how often a deal closed as won within the following period, and how much of its value was won. Show the counts behind each rate, because a rate taken from few deals is weak.
2. Read each open deal's history of close dates. Set apart a deal whose date has moved repeatedly: it does not take its stage's rate, because a date that keeps moving is a sign the deal is stalling. Show it on its own line with the value it would add if it closed, the value it adds in your forecast, and the discount you applied and why.
3. Show any deal that is a large share of the pipeline on its own line, moved or not, because whether that one deal closes can swing the whole forecast.
4. Apply the stage rates to every other open deal, deal by deal, to give each an expected value, because most deals in a pipeline do not close at their full value.
5. Work out the season from the revenue by period: what the same period has done each year against the year's average. Apply it, or say the history shows no seasonal pattern, because most trades sell more in some periods than in others.
6. Write the working into the forecast sheet so every figure can be recomputed from the cells beside it: the rates and counts, each deal with its weight, the seasonal factor and the result.
7. Report a range, with what the low and high ends assume, because a single figure hides how uncertain the forecast is. Name the deals and rates that move the forecast most, and what you assumed where the data did not settle it. Report the forecast sheet by its reference.
[end]
[guardrails]
- Never add up the pipeline at face value. Most deals do not close at their full value.
- Never give a deal that has moved its close date repeatedly the same weight as the others. A date that keeps moving is a sign the deal is stalling.
- Never give a single figure in place of a range, or a figure that cannot be recomputed from the sheet. A single figure hides the uncertainty, and a figure nobody can recompute cannot be checked.
- Never invent a deal, a close rate or a figure: say what is missing and answer the rest. Plans are made on the forecast.
[end]
[data]
kinds: crm.deal, accounting.invoice, spreadsheets
[end]
[memory]
business "The name of the business"
forecast_sheet "The spreadsheet the revenue forecast is kept in" = "the business's forecast sheet"
[end]
[contract]
requires: request (text)
produces: forecast (text)
exit: a range for the period, with each stage's close rate derived from the closed deals and shown with its counts
exit: a deal whose close date has moved repeatedly is named, shown on its own line and discounted
exit: the working is in the forecast sheet so that every figure can be recomputed
[end]
[test "one deal is a third of the pipeline and has slipped four times"]
given: request = @one-deal-is-a-third-of-the-pipeline-and-has-slipped-four-times/request.md
expect: it weights Acme at £72,000, Henderson at £15,000 and Northwind at £22,500, giving the close rates as 10 of 40 and 18 of 30
expect: it sets Brightwater apart, does not weight it at 60%, and says what it adds at face value and in the forecast
expect: it gives a range rather than £570,000 at face value
[end]
[tools]
search
store
spreadsheets
sheets
drive
read_file
write_file
list_directory
ask_user
[end]
works with{ CRM, Accounting, Spreadsheets }
+
the agent doesHistory → Apply → Adjust → Report
⇒
ends asgood | null
@
should cost about6 to 10 turns · 40,000 tokens
The problem
“Forecast next quarter's revenue.”
GivenThe open pipeline with each deal's value, stage and history of close dates, several years of closed deals with their stage and outcome, and revenue by period. The difficulty is that stated stages overstate the chance of closing, some deals have their close date moved again and again, and a single large deal can dominate the total.
The agent
RoleA financial analyst.
VerbForecast, in the family judge. Estimate what is coming.
Does
1HistoryWork out how often deals at each stage are won, with the counts.
2ApplyWeight the open pipeline by those rates. Set apart a deal that keeps moving its date.
3AdjustFor the season.
4ReportA range, the method, and what would move it. ◀
What it does
Doesforecasts the coming period's revenue as a range from the open pipeline
Neveradds up the pipeline at face value; weights a deal whose close date keeps moving like the others; gives a single figure in place of a range
Works with
CRMThe customer records.
AccountingThe books, read and draft entries for approval.
SpreadsheetsThe spreadsheets it works in.
The person
AttentionAsks, and judges the result. It runs from the ask to the result without stopping. It needs standing permission to run on its own.
ApprovesNothing. No act here needs a yes.
By handAbout 4 hours.
The measure
GoodA range that can be reproduced from the sheet, with the rates and their counts, and any slipping or very large deal named and treated on its own.
NullThe pipeline added up at face value and given as one figure.
CostAbout 6 to 10 turns · 40,000 tokens. A first estimate, to be replaced by what a run measures.
Rating30 of 50, routine. Material 2, span 2, traps 2, stakes 1 and skill 3, each out of 6.
Usefulness7 of 10. Hiring and spending are planned on the forecast, and a pipeline added up at face value overstates it.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 047: REVENUE FORECAST
CODE NAME: REVENUE_FORECAST
VERB: FORECAST
VOLUME 9: MANAGEMENT 9.05
RATING: 30 OF 50, ROUTINE
MODEL: ________ HARDWARE: ________
CODE NAME: REVENUE_FORECAST
VERB: FORECAST
VOLUME 9: MANAGEMENT 9.05
RATING: 30 OF 50, ROUTINE
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 47 of the agents we live by: Revenue forecast. A financial analyst. The whole request is one sentence: “Forecast next quarter's revenue.” The open pipeline with each deal's value, stage and history of close dates, several years of closed deals with their stage and outcome, and revenue by period. The difficulty is that stated stages overstate the chance of closing, some deals have their close date moved again and again, and a single large deal can dominate the total.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
Nobody steps in once it has started. The moment to watch is step 4, Report: a range, the method, and what would move it. That is where a weaker model ends in the null.
Closing
________ gets No. 47 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.