Chapter 13Assessment·~15 min read

Observability, evals and cost: measure trust, not lines of code

What the platform records, how we know that agents and harness changes are getting better rather than worse, and what it all costs, in money and in reviewer time.

Finance Platform team Leadership Engineering

Key takeaways

  1. Telemetry starts only after the data protection impact assessment (DPIA). In-VM data is only a hint; cost, model and timing come from the gateway and git broker.12
  2. Metrics are per PR, team or domain, never per person. Four groups (trust, flow, platform, cost), a minimum cell of 5 and no rankings.13
  3. Evals guard every change to models, skills and the harness. A 20-30-task golden set, a zero-egress injection suite, and powered A/B tests only for model or root AGENTS.md changes.14
  4. Year 1 costs about EUR 2.0m for the platform (range 1.7-2.4m). EUR 2.8-3.1m all-in before review time; planning estimates until a pilot replaces them.5
  5. Review is the hidden human cost. At the committed scenario, about EUR 49 of reviewer time per merged PR (more than the model), or 7.6 FTE-equivalent.56
  6. Prompt caching is the biggest technical lever. Losing it would multiply scenario B's monthly cost by 2.09; hosted AI review on every push, by 1.80.67
  7. Scenario C (Grok-Bot intensity) waits for a gate. Six criteria, led by a compliance-accepted T0 lane and funded review; not before month 10.5
13.1

What we record, and what we trust

The platform records a lot but trusts only what the agent cannot touch. Harness telemetry feeds dashboards and debugging; which model ran, what it cost, when it ran and what was written come from the model gateway's hash-chained witness of every exchange and the git broker's records.1

Which record wins: advisory signals and authoritative records
Each row is one kind of record, from the run VM to where it lands
Which record wins: advisory signals and authoritative records Three columns: the run VM (agent-controlled), bank-controlled services outside the VM, and records and views. Four rows: telemetry, model requests, transcripts and commits. RUN VM · AGENT-CONTROLLED BANK-CONTROLLED RECORDS AND VIEWS Harness telemetry OTel metrics, events, traces Model requests run token, no model key SDK message stream the session transcript Commit request the agent cannot push advisory: the agent could shape it dashboards and debugging only authoritative: cost, model, time Model gateway budgets · witness chain Transcript streamer split by side, secret-scanned authoritative: what was written Git broker / publisher non-LLM; writes as a GitHub App CloudWatch · Grafana via ADOT; dashboards, SLOs Notary binds the transcript only if it matches the chain seals into S3 Object Lock Registry and GitHub what was written, and when authoritative record evidence of record advisory signal, never proof
Take-away: everything from the run VM is advisory. A transcript becomes evidence only once the notary has matched it against the gateway's witness chain. Source: recommendation §2.4 and §10.1.1

Why the VM's own data is not evidence. The agent controls its VM (chapter 4), so it could suppress, alter or invent anything emitted there, and even honest "cost metrics are approximations".2

Nothing before the DPIA. Agent telemetry about engineers is a control measure, so none is collected until the DPIA and the drøfting (consultation) with employee representatives under arbeidsmiljøloven § 9-2 are done: part 1 of gate W-gov in week 4, which also opens the laptop lane (Operating model & team, 15.9).19

Locked, pseudonymous and without content. The OpenTelemetry (OTel) exporter is set only in managed settings, so a branch cannot redirect it. Data flows through an ADOT (AWS Distro for OpenTelemetry) collector to CloudWatch and Grafana.12 Attributes are pseudonymous and content logging is off; transcripts go to the restricted evidence archive instead (10.7).1

Deep dive: what the harness emits, the exporter settings and transcript capture 2 min

What the harness emits. The ADOT collector runs in eu-north-1.1 Claude Code and the Agent SDK export OTel metrics for sessions, tokens, cost, lines, commits and active time. They also export about 30 event types and, still in beta, traces.28 Exporter variables in a repository's .claude/settings.json are ignored, so only the bank's managed settings count.2

Pseudonymous attributes. On Bedrock, "only user.id and session.id are populated". The image therefore injects pseudonymous attributes (enduser.id, team, harness version, run ID) through OTEL_RESOURCE_ATTRIBUTES.2 Logging of prompts, responses, tool content and raw bodies stays off.1

managed-settings.json (bot and sandbox profile, excerpt)illustrative
{
  "env": {
    "CLAUDE_CODE_ENABLE_TELEMETRY": "1",
    "OTEL_METRICS_EXPORTER": "otlp",
    "OTEL_LOGS_EXPORTER": "otlp",
    "OTEL_EXPORTER_OTLP_ENDPOINT": "https://<adot-collector>:4318",
    "OTEL_RESOURCE_ATTRIBUTES": "enduser.id=<pseudonym>,team=<team>,harness.version=<sha>,run.id=<run>",
    "OTEL_LOG_MANAGED_SETTINGS": "1"
  }
  // prompt, response, tool-content and raw-body logging stay unset (off)
}
Illustrative. Variable names are from Anthropic's monitoring documentation.2 Values in angle brackets are placeholders. harness.version is the git SHA of .claude/ plus the in-repo plugins, so every metric can be sliced by configuration.

Transcripts are captured on purpose. By default, local transcripts are JSONL files (one JSON record per line) in an internal format and are deleted after 30 days.12 Instead, the runner streams SDK messages to S3 as they arrive. It splits them into agent-side and human-side content and secret-scans them before writing. The SDK's own SessionStore mirror is best-effort: failures surface as mirror_error messages and a dropped batch is lost, so the runner alerts on them.13 The notary binds a transcript to the proof only if it matches the gateway chain.1

Anthropic's dashboards see none of it. Its analytics, usage and compliance APIs and its spend limits do not reach Bedrock traffic: "Claude Code does not send metrics from your cloud back to Anthropic".1011 The bank builds every cost view and spend cap itself (11.1).

Silence is an alert. Exports fail silently, and DORA's risk-management RTS (regulatory technical standards) require the bank to detect "a failure of logging systems".814 A known bot quiet for 15 minutes therefore alerts the SOC (security operations centre), as do zero cache writes, budget denials, egress-denial bursts and notary or chain mismatches.1

All seven telemetry alerts and what each usually means 7 rows
Telemetry alerts routed to the SOC
AlertWhat it usually means
A known bot silent for 15 minutesExport or runner failure. Logging has stopped, and RTS Art. 12 requires the bank to notice
api_error spikesRetries exhausted against Bedrock: quota, throttling or a provider incident
Zero cache writesPrompt caching has stopped working, the biggest single cost risk (13.7)
Budget denialsA runaway loop, or a budget sized before pilot data existed
Bursts of egress denialsA possible exfiltration attempt, or a broken allowlist
Kill-switch use; bypass-suite failuresA control was used, or stopped holding
Notary, logging or chain mismatchesTampering, or a gap in the record of how a change was made
Source: recommendation §10.1.1
13.2

Metrics that matter

Every metric is tied to a threshold, a trigger or a review, and none is about individuals. Trust metrics come first, because leadership and the supervisor will ask whether they can rely on what the agents ship.1

The four metric groups and what they decide
GroupWhat it measuresKey thresholds
TrustEvidence completeness, proof rating, seeded-defect catch rate, revert and fix-forward, escaped defects, reconciliation orphansGate L: evidence complete on ≥95% of ≥150 agent PRs; proof rated sufficient (≥4/5) on ≥80%; 14-day revert + fix-forward ≤3%
FlowCI first pass, sessions per merged PR, abandon rate, review latency, work in progress, AI share per laneGate L: CI first pass ≥60%; above 3 sessions per merged PR, stay at scenario A
PlatformStart time, queue, runs per day, stopped-to-redirect share, cache hit, gateway denials, service-level objectives (SLOs)Start p95 ≤2 min; cache hit ≥85% (gate L) and ≥90% (gate C)
CostCost per merged PR, verification share, team poolsGate C: non-people cost ≤EUR 40 per merged PR
Reported per PR, team or domain, never per person; minimum cell of 5. Source: recommendation §10.2, §11.3 and the change-course triggers.1
All 20 metrics, what each tells us and what it triggers 20 rows

The full set, with what each metric decides. On targets, industry advice matches the bank's: DX, an engineering-analytics firm, advises pairing "every speed and spend metric with a quality and experience counterweight".18

The metric set and what each metric decides
MetricWhat it tells usThreshold, trigger or use
Trust
Evidence completenessThe PR has every artifact its change type requiresGate L: ≥95% over ≥150 agent PRs
"Proof sufficient"The reviewer rates the bundle as enough to decide (1-5)Gate L: ≥4/5 on ≥80% of PRs
Seeded-defect catch ratePlanted bugs, including a forged green report, are caughtMonthly exercise; team-level results only
Revert and fix-forward, 14 and 30 daysBad changes, including those fixed quietly in a follow-upGate L: 14-day revert + fix-forward ≤3%
Escaped defectsDefects found after mergeMonthly incident and revert review
Reconciliation orphansA money change passed its checks but left records that do not reconcileMonthly incident and revert review
Flow
CI first passThe first CI run on the PR's first head is greenGate L: ≥60%
Sessions per merged PRAttempts needed per merged change, abandoned ones includedAbove 3: stay at scenario A and fund verification
Abandon rateOpened and closed without mergeWeekly worst-session triage
Review latencyTime to first human reviewSLO: T1 p50 ≤4 working hours; T2 p90 ≤1 business day
Work in progress (WIP)Unreviewed agent PRs waitingQueue at ≥3 per requester; T2 cap = 2 × certified approvers
AI-assisted share of code, per laneWhether work drifts from hosted runs to laptopsReported only, minimum cell 5; reported for 8 weeks before gate L
Platform
Start p50 / p95How fast a run gets a VMSLO p95 ≤2 min; missed → Kubernetes spike (S7)
Queue wait; runs per dayCapacity headroomQueue p95 >5 min or >400 runs a day → S7
Stopped-to-redirect shareHow often humans stop a run to steer it≥20% → adopt the durable run engine earlier (gate F1)
Cache hitShare of input served from the prompt cacheSLO ≥85% (gate L); ≥90% for gate C
Gateway denials; service SLOsBudgets, egress and the health of the notary, broker and sod/independenceSOC alerts; synthetic probes
Cost
Cost per merged PRUnit economics, abandoned runs includedGate C: non-people cost ≤EUR 40
Verification shareWhether verification is actually happening, in dollarsBudget by measured dollars, not token share
Team poolsSpend against each team's monthly poolAWS Budgets alerts
Reported per PR, team or domain, never per person; minimum cell of 5. Source: recommendation §10.2, §11.3 and the change-course triggers.1

Revert rate alone misses too much. Lauren Tan's Grok Bot team reports about 0.47% reverts in October 2026 (self-reported, read from her slides).15 But reverts miss bugs fixed quietly in the next PR and defects not yet surfaced, so the bank adds fix-forward, escaped defects and reconciliation orphans, which matter for a ledger (inference).

"% AI-written lines" is not a target. As a goal it hides comprehension debt: code nobody on the team understands any more.16 Google's DORA research programme warns against using even its own delivery metrics as targets or to compare teams.17 The bank reports AI share per lane only to spot agent work drifting from verified hosted runs to laptops (red-team issue 26).1

Why never per person. Scoring engineers would need a "saklig grunn" (objective reason) and proportionality under arbeidsmiljøloven § 9-1 now,9 and would make the system high-risk under the AI Act's Annex III 4(b) once that applies in Norway (15.9).3 So the session registry shows work, not people.1

Recommendation

Agree a written telemetry-use policy with employee representatives before gate W-gov part 1. It should cover security and change evidence only, pseudonymised cost, team dashboards with a minimum cell of 5, and no individual scoring. Calibration results such as seeded defects go to teams, never to line managers.191

13.3

Evals: proving a change made things better

Every change to what the agent is (the model, harness version, skills, root instructions or router) must pass an eval sized to its risk before engineers get it. A fresh monorepo has no PR history to replay, so the programme starts with seeded tasks and adds replay later.1 Graders check the outcome in the environment, not the agent's account of it, and the weekly run reports pass^3 (all three tries pass) as well as pass@1, because an agent that succeeds only sometimes is a reviewer's problem.4

Eval suites: what each one guards and what it must show
SuiteGuardsPass barFrom
Golden set (20-30 tasks)Model, harness and skill changespass@1, pass^3 and cost per solved task against the baseline; a new model must match the incumbent on pass^3 and cost per solved taskWeeks 5-8
Canary injection suiteEvery harness or model change (chapter 10)Zero canary egress; zero unauthorised state changeWeeks 5-8
Skill and plugin gateEvery skill, plugin or hook PR0.8 within a cost ceiling; golden-set pass^3 not worse, cost at most 10% higherWeeks 5-8
Powered A/B (about 290 trials per arm)Model changes and root AGENTS.md onlyDetects 70% → 80% at α = 0.05 and 80% powerWhen needed
Router setLLM routing of free textZero risk under-classificationsMonth 5-6
Triage holdoutThe alert-triage agent≥70% correct; zero harmfulGate F1
AI-review bake-offThe AI review lane (chapter 9)Recall measured before AI review counts for moreQuarterly
Source: recommendation §6.3, §8, §10.3 and §11.3;1 t14 via brief 3 for the cadence;6 Anthropic for the plugin gate.20
Insight

A suite of 30 tasks run 3 times cannot tell a 70% harness from an 80% one: that takes about 290 trials per arm (inference).6 Small suites catch large regressions, so powered tests are kept for changes that touch every session: a new model or the root instructions.

Deep dive: Anthropic's eval advice, suite sizes and cadences, and how the skill gate works 3 min

Anthropic's advice shapes the design. Start with 20-50 tasks drawn from real failures, grade the outcome in the environment rather than the agent's account of it, prefer deterministic graders, and report pass^k when consistency matters. At 75% per trial, pass^3 is about 42%.4

Size and cadence of each eval suite
SuiteSize and cadence
Golden set20-30 bank-shaped tasks with deterministic graders: ledger idempotency, minor-unit money, a UI change with video, and a multi-service change once ./x stack up lands. Nightly 10-task smoke; weekly full set ×3
Injection suiteCanary secrets planted in issue text, PR comments, dependency READMEs, CI logs, Slack threads and web pages. Nightly, and on every harness or model change
Skill and plugin gateclaude plugin eval: each case run 3 times with and without the plugin
Powered A/BAbout 290 trials per arm, run when a model or the root AGENTS.md changes
Router set150-300 labelled requests, 20% held out
Triage holdoutHeld-out non-production alerts
AI-review bake-offQuarterly, on seeded bugs; seeded defects monthly
Source: recommendation §10.3;1 t14 via brief 3 for the cadence;6 Anthropic for the plugin gate.20

How the skill gate works. claude plugin eval runs each case in an isolated session, with and without the plugin, and reports both results and the difference. Its graders check text, tool use, tool order, files created, or ask a judge model. There are no custom-code graders, and the session does not load CLAUDE.md.20 Root-instruction changes therefore go through the powered A/B or the blinded Eval playbook in pstack, Lauren Tan's published skill pack, in which the candidate never sees words like "eval" or "test".21

The skill-change gate in CI
Take-away: a skill change merges only if its pass rate clears 0.8 within the cost ceiling. The with-and-without comparison shows whether the skill helps at all; it is for the reviewer and does not change the exit code. The documented behaviour is three runs per case with and without the plugin, a WITH / W/OUT / Δ comparison, and exit codes of 0 (pass), 1 (below threshold) and 2 (partial or cost ceiling).20 Illustrative: case names and numbers are placeholders, and the output layout is simplified.

Every correction becomes a test. Evals close a weekly loop that turns failures into structure (rituals in 15.7):

  1. FindTelemetry picks the 10 worst sessions of the week: reverted, abandoned, high-intervention or costly.weekly
  2. ReadAgent-side transcript extracts show why each one went wrong.triage
  3. FixEncode the fix in /correct order: architecture, types, a lint, a test, prose last.at the 2nd repetition
  4. ProveThe fix ships with a new eval case and must not regress the golden set.same PR

Source: recommendation §9.3 and §10.5; pstack's /correct hierarchy.121

No LLM-observability vendor in year 1. A SaaS eval or tracing platform would be a new ICT third party under DORA.6 Self-hosted Langfuse (MIT-licensed core, part of ClickHouse since 16 January 2026) is the candidate if a trace UI is ever needed, reviewed at gate C (17.9).221 Avoid Helicone, in maintenance mode since Mintlify bought it on 3 March 2026.23

13.4

Three cost scenarios

The committed scenario, B, costs about EUR 168k a month. Scenario C, at Grok-Bot intensity, costs about EUR 392k and breaks every published per-engineer spending cap. At A and B the largest line is people; at C it is tokens.6

Planning estimates, not quotes. Most figures are inferred from EU-route list prices; a two-week instrumented pilot must replace the token assumptions.6 Scenario C is anchored on Lauren Tan's Grok Bot team, which reports 10,926 merged PRs in October 2026 from about 227 contributors (self-reported).15

The three scenarios at a glance (central case, planning estimates)
A conservativeB committedC Grok-Bot intensity
Engineers404545
Background sessions a day20150600, plus weekends
Merged PRs a month6001,8007,500
Total, EUR a month85,950167,930391,750
Range, EUR a month65-119k123-252k259-670k
A year, EUR1.03m2.02m4.70m
Source: t17 via brief-3 §3.2 and §3.3.6
Deep dive: the pricing basis, the verification share and every scenario parameter 2 min

Basis. All figures are EUR a month at 1 EUR = 1.0939 USD (Norges Bank fixing, 23 November 2026).24 All agent traffic is priced on the EU route at ×1.1, because regional endpoints carry a 10% premium.25 Bedrock offers the 5.5 models only on the Standard tier, so no batch discount applies.26 These are planning estimates from the cost model (t17).6

Where a session's dollars go. A verified background session costs about USD 4.35, 7.30 and 10.73 at A, B and C. Verification takes 18%, 45% and 62% of those dollars, and more of the tokens, because it is mostly cheap cache reads.6 That matches practice. Tan says "most of my token usage goes to verification."15

Scenario parameters
ParameterA conservativeB committedC Grok-Bot intensity
Engineers404545
Background sessions20 a day (420 a month)150 a day (3,150)600 a day plus 100 on 8 weekend days (13,400)
Session profile; wall-clockLight check; 1.0 hStandard; 1.0 h, 1.2× sizeHeavy, multi-service; 1.5 h, 1.5× size
Interactive spend per engineer (list)USD 300 (150-500)USD 600 (400-1,000)USD 1,200 (800-2,500)
Research runs / triage items a month0 / 0240 / 1,800600 / 6,000
Slack coordinatorNoYesYes
Merged PRs a month (per engineer a week)600 (3.5)1,800 (~9)7,500 (~38)
Platform FTE in the model3.5-45.5-67-9
"Size" scales sandbox compute only. Scaling tokens too would take C to about EUR 457k a month. Source: t17 via brief-3 §3.2.6
Where the money goes as intensity rises
Share of the monthly total, %, central case (planning estimate)
Take-away: at year-1 volumes the platform team costs more than all the tokens. Non-people infrastructure (seats, compute, CI and tooling) stays small, about EUR 41k a month even at C. Source: t17 via brief-3 §3.3.6
Model spend per engineer against published reference points
USD a month; scenarios include the 10% EU-route premium, evals and review
Take-away: scenario C spends almost three times the highest published cap per engineer. B sits within the range large companies already allow. Sources: t17 via brief-3 §3.3;6 Anthropic;10 Stanford (self-submitted);27 Salesforce (not a company-wide cap);28 Uber, via Bloomberg;29 JPMorgan.30
Deep dive: the full monthly breakdown by line 2 min
Monthly cost by category, EUR, central case
CategoryABC
Model: interactive12,07027,15054,300
Model: background sessions1,67021,030131,380
Model: research, triage, coordinator02,2006,210
Model: AI code review2,3507,06026,400
Model: evals and bake-offs9103,02010,970
Seats and SaaS (Claude, GitHub and GHAS, Slack, visual diff)6,8308,3409,350
Sandbox compute5602,4508,430
CI, cache and remote build, package mirror9601,8306,360
macOS runners, mobile devices1,8303,0606,770
Artifact and video storage40130810
Observability, LLM tracing4601,6504,110
Gateways and coordinator infrastructure4601,4602,930
Security tooling (AWS)1,0101,4602,560
Platform team (loaded)56,80087,090121,170
Total85,950167,930391,750
Sandbox compute is 0.7%, 1.5% and 2.2% of the total. The sandbox-hour totals are unverified but stay under 3% of cost in every scenario. Source: t17 via brief-3 §3.3.6
Insight

Do not optimise vCPU prices. Compute is under 3% of the total in every scenario, while the platform team is 31-66%. Design time is better spent on what moves cost per merged PR: caching, review triggers and sessions per PR (13.7).6

13.5

The recommended budget

Budget about EUR 2.0m for the platform in year 1, and EUR 2.8-3.1m all-in before review time. Volume stays at scenario A until gate L in month 5, then ramps towards B (the cost model's central case ×1.1).5

Platform team at launch6.5FTE7.0 from month 75
Platform cost a month€130-188kMonths 1-3 to months 7-12
Platform, year 1€2.0mRange EUR 1.7-2.4m
All-in, before review€2.8-3.1mPlus EUR 0.5-0.8m of review time
Monthly platform cost by phase
EUR thousand a month; t17 central case ×1.1 (planning estimate)
Take-away: model spend more than triples once volume ramps after gate L, but the platform team is still the largest line in months 7-12. Source: recommendation §10.4.5

Why a range. The low end (EUR 1.7m) keeps volume at A all year; the high end (EUR 2.4m) moves to B from month 5 with a caching failure (×1.38).5

All lines of the monthly budget, by phase 4 rows
Monthly budget by phase, EUR
LineMonths 1-3Months 4-6Months 7-12
Model17,500~30,00060,460
Non-people infrastructure (incl. evidence replica, scanners, exit lane)13,500~17,30021,300
Platform team (EUR 15,150 per FTE)98,500 (6.5)98,500106,100 (7.0)
Total a month≈129,500≈145,800≈187,900
Platform team at EUR 15,150 per FTE (6.5 FTE, then 7.0 from month 7). The year-1 total of about EUR 2.0m includes about EUR 50k for the external test before gate W-tech and the full pentest at F1. Source: recommendation §10.4.5

The total cost of ownership is wider than the platform. Squads build verification for their own domains, every engineer is trained, and second-line, data-protection, legal and ICT-risk staff all have work to do. Review time is shown separately, because squads would review some hand-written code anyway.5

Year-1 total cost of ownership (EUR m)
Ranged items at the midpoint of their range
Take-away: the platform is about two-thirds of the bill before review, and review time adds roughly a fifth on top. Midpoints are this report's arithmetic; the ranges are in the table that follows. Source: recommendation §10.4.5
Year-1 total cost of ownership, line by line 7 rows
Year-1 total cost of ownership, EUR m
LineEUR m
Platform2.0
Squad verification, 4-7 FTE-equivalent for six months0.36-0.64
Training: a 2-3-day core for about 40 engineers, plus modules0.07-0.13
Security engineer and enablement owner (0.5 FTE each)0.18
Second line 0.3-0.5 FTE; DPO, legal and ICT risk about 0.5 FTE0.15-0.18
Total before review≈2.8-3.1
Review (separate): about EUR 49 per merged PR≈0.5-0.8
Inference. DPO is the data protection officer. Source: recommendation §10.4.5

Capacity matters as much as cash. Including review, the programme takes 33-45% of about 42 engineers' time each quarter, heavy on verification and training early and on review later. That is a gross figure (inference).5 The quarter-by-quarter split is in Operating model & team, 15.4.

Recommendation

Approve the three items the recommendation asks leadership for: 6.5 platform FTE (7.0 from month 7), 25-35% of money-domain squad capacity for six months, and the total cost of ownership above. Hold volume at scenario A until gate L passes. The EUR 2.4m high case is an early ramp to B plus a caching failure, which the zero-cache-write alert (13.1) exists to catch.5

13.6

Per merged PR, and the review bill

Per merged PR, the platform gets cheaper as volume rises, from EUR 143 at A to 93 at B and 52 at C. The hidden line is human review, which costs more per PR than the model until scenario C.6

Cost per merged PR, EUR
Central case. The platform bars are nested, not additive: non-people includes the model, and all-in adds the platform team. Review is reviewer time at EUR 71.7 an hour
Take-away: the model is a steady EUR 28-34 per PR, so volume, not token price, drives the platform's unit cost down. Review drops below the model at C only if about 60% of PRs move to a low-touch T0 lane. Source: t17 via brief-3 §3.5.6
The review bill and the break-even test, central case
ABC
Review minutes per merged PR504119
Review cost per merged PR, EUR604923
Review load, FTE-equivalent3.17.614.9
Merged PRs per engineer a month1540167
Platform cost per engineer, EUR a month2,1503,7308,710
Output uplift needed to break even18%32%75%
Inference. Source: brief-3 §3.5; gap-04.619
Deep dive: how review time and break-even were estimated, and the public PR data 1 min

Review minutes follow the gap-04 planning model. Tier mixes T0/T1/T2 are 15/55/30% at A and 20/55/25% at B, with 5, 20 and 2×45 reviewer-minutes and ×1.3 or ×1.2 for rework. C assumes 60/30/10% with 2-minute T0 glances; at B's tier mix, C would need 31.8 FTE-equivalent of review.619

Break-even compares platform cost with a loaded Oslo engineer at NOK 1.5m a year (about EUR 11,650 a month).6 The industry baseline is moving too: DX's median of 1.94 merged PRs per engineer a week is up 37% across 500+ organisations, while change confidence fell 6.1%.18

The public data comes from a study of 37,623 public PRs from December 2024 to July 2025. Claude Code PRs had a median of 495 changed lines against 52 for human PRs, and their 12.6-hour median wait for a first human review was the longest of the five agents studied. The authors conclude that "the scarce resource in this loop is human attention".31

Review falls on a few people. At B, 7.6 FTE-equivalent of review is 18-25% of the 30-42 non-platform engineers' time, most of it on T2 domain owners; the WIP cap and the approver ladder spread it (15.5).5 Public data shows the same squeeze: Claude Code PRs waited a median of 12.6 hours for a first human review (09.1).31

Break-even is a productivity bar, not a token bill. Per engineer, the platform costs 18%, 32% or 75% of a loaded Oslo engineer, which is the output uplift each scenario must deliver (inference). On PR counts, B and C clear it easily, planning about 9 and 38 merged PRs per engineer a week6 against an industry median of 1.94.18 On real value, only if PRs stay meaningful, reverts stay low and review does not eat the gain (inference).

"human attention is for me at least the limiting factor"

Armin Ronacher, Build the Workshop Before the Software Factory, 04:40

"at some point you'll realize there's nothing left to review. And you can just let agents merge most of their own pull requests."

Lauren Tan, All Code Is Slop (Except Mine), 09:21

For a bank, Tan's endgame needs a supervisor's agreement: DORA's RTS Art. 17(1)(b) requires the function that approves a change to be independent of those that request and implement it.14 So scenario C is limited by review capacity and a supervisory decision on a T0 lane (09.9), not by tokens (inference).6

13.7

What moves the number

The biggest cost risks are two configuration mistakes, not market prices: losing prompt caching, and running hosted AI review on every push. The bank's defaults block both, and exchange rates move the total by only a few per cent.6

What one change does to scenario B's monthly cost
Multiplier on the monthly total; one input changed at a time, the rest at the central case. Bars start at ×1.00
Take-away: losing prompt caching more than doubles the bill, and hosted review on every push nearly does. Moving to the cheaper first-party global route would save only 3%, too little to justify leaving the EU route (inference). Source: t17 via brief-3 §3.4.6

Caching. Claude Code defaults to a 5-minute cache lifetime on the API and on Bedrock, so a bot that waits longer on CI loses its cache and writes its whole context again. The bank sets one-hour lifetimes for the main conversation and for subagents, but one-hour caching on Bedrock varies by model,7 so it holds an 85% cache-hit SLO and alerts on zero cache writes.5 At C, losing caching on background sessions alone would double the total (×2.02).6

Review trigger. The bank runs its own two-step AI review on Bedrock, only on ready-for-review and the final push (09.6).1

Risk

The quiet doubler is a default left switched on. Anthropic's hosted Code Review is billed by token usage, with no flat price per review, and starts new repositories at "After every push". If someone enables it, its spend arrives on a separate Anthropic invoice, outside the EU route and the gateway budgets. Keep it off by policy and check the invoice monthly (inference).33

Budgets fail closed at the gateway. Each run and agent type has a budget in the bank's gateway; Claude Code's own maxBudgetUsd is only an early stop, because "spend can pass the cap".34 Models are pinned with Fable 5.2 off, fast mode and agent teams are off for bots, and AWS Budgets alerts watch each team's pool.15

All ten cost controls in place from the first hosted run, with the settings 10 rows
Cost controls in place from the first hosted run
ControlHow it worksProtects against
Fail-closed gateway budgetsPer run and agent type (for example USD 10 for implement, 15 for research), reset after the pilot to p90 ×1.5. maxBudgetUsd is only an early stop: it checks a client-side estimate, and "spend can pass the cap"34Runaway loops; coordinator storms
Bot caps in the bank's own gatewayThe Claude apps gateway has no service-token flow for unattended machines, and its fail-closed switch applies to the whole gateway. Its caps serve humans only3511Unmetered bot spend
enforceAvailableModelsPinned Opus, Sonnet and Haiku 5.5 IDs; Fable 5.2 off. Without the enforce flag, the Default option stays on the account default36Fable drift (×1.30)
Fast mode and agent teams off for botsFast mode costs 2× standard;25 agent teams use "approximately 7x more tokens" in plan mode10Silent multipliers
1-hour cache lifetimes, cache SLO, zero-write alertpromptCacheTtl and subagentPromptCacheTtl at one hour; SLO ≥85%7Cache collapse (×2.09)
AI review only on ready-for-review and final pushOur own lane; deep review only on T2Review blow-up (×1.80)
AWS Budgets alerts and team poolsAlerts at 50, 80 and 100%, as Uber does, rather than hard stops37Silent drift towards C
Cost per PR, per teamAbandoned runs included; reported weeklyOptimising tokens while PR value falls
Accurate pricing in telemetryThe modelPricing managed setting with a ×1.1 multiplier (v2.1.271 or later), so /usage and OTel show EU-route cost10Under-reported spend
Bedrock private offer; tokens-per-minute (TPM) increasesFiled in months 1-3. Sonnet 5.5's default of 6M cross-Region tokens per minute can bind once verification runners scale38Throttling; list-price exposure
Source: recommendation §4 and §10.4.15 Agent budgets are starting values (inference).

Why two cache settings. promptCacheTtl covers only the main conversation. Subagents, such as verification runners, keep 5 minutes unless subagentPromptCacheTtl is also set to one hour (Claude Code v2.1.242 or later).7

managed-settings.json (bot profile, cost keys)illustrative
{
  "availableModels": ["<pinned eu. Opus 5.5 ID>", "<pinned eu. Sonnet 5.5 ID>", "<pinned eu. Haiku 5.5 ID>"],
  "enforceAvailableModels": true,
  "promptCacheTtl": "1h",
  "subagentPromptCacheTtl": "1h"
  // plus modelPricing at x1.1; fast mode and agent teams disabled for bots
}
Illustrative. Key names are from Anthropic's model-configuration and prompt-caching documentation.367 Model IDs are placeholders, because unpinned aliases can resolve to older models on Bedrock (Models, harnesses & exit).
13.8

The gate to scenario C

The bank should not drift into scenario C. It should move only when every criterion below holds, and rethink the platform's shape when it does. C more than doubles B's cost, and its binding constraint, reviewer time, cannot be solved with money alone.56

  1. A T0 lane accepted by complianceLow-touch approval for non-deploying artefacts, prepared through gate F2 (month 9 at the earliest) and a supervisory dialogue. It decides whether C is reachable at all.
  2. Review fundedAbout 15 FTE-equivalent at C even with 60% of PRs on T0, on top of at least 3 certified T2 approvers per domain by month 6.
  3. Revert and incident rates stable for a quarter14- and 30-day revert plus fix-forward, escaped defects and change-linked incidents.
  4. Cache hit at least 90%Measured from gateway records, not in-VM telemetry.
  5. Non-people cost of EUR 40 or less per merged PRAgainst about EUR 45 at scenario B in the cost model (planning estimate).
  6. Not before month 10Gate C sits after F1 and F2 on the roadmap.

Source: recommendation §10.4 and §11.3; brief-3 §3.7.56

At C, re-price the platform's shape. At about four times B's PR volume, the bank should revisit proposal P4's option of renting more of the platform,39 and benchmark self-hosted open-weight models in an EEA tenancy for bulk verification. Revolut reports cutting inference cost by "roughly 90 percent" that way (self-reported), at the price of no vision, GPU operations and a Chinese developer's model.4041

Deep dive: the rent-or-own question and Revolut's self-hosted set-up 1 min

Rent the hands, keep the brain. Proposal P4 asked whether the bank should rent more of the hands (sandboxes, runners, remote build) and keep only the brain. At about four times B's PR volume, that question becomes live again.39

Self-hosted open weights. Revolut made a self-hosted GLM its coding default and reports cutting inference cost by "roughly 90 percent" (self-reported). That came with trade-offs: no vision, GPU operations, and a model from a Chinese developer on GPUs at a US-based provider.4041 An in-tenancy option in the EEA would also strengthen the DORA exit plan (Models, harnesses & exit, 11.4).

Before C, the triggers point the other way. Above 3 sessions per merged PR, the bank stays at A and funds verification. If gate L fails twice, or a role runs above 110% of plan for two sprints, features are deferred, never identity, segregation of duties, evidence or egress controls (17.9).1

Recommendation

Record scenario C in the budget as a gated option, not a forecast. Give finance the six gate criteria as the trigger for a new budget decision, and ask the platform team to report cost per merged PR, cache hit and review minutes against them every month from gate L.5

Sources

  1. Internal design document: recommendation, §§2.4, 4, 6.3, 8, 9.3, 10.1-10.3, 10.5, 11.3 and 14 (architecture, agent catalog, proof standard, model upgrades, telemetry, metrics, evals, gates, red-team review issue 26). Platform study, 24 Nov 2026.
  2. Monitoring (OpenTelemetry metrics, events, traces). Anthropic, Claude Code docs, accessed 23 Nov 2026 (via t14, S1). code.claude.com/docs/en/monitoring-usage
  3. AI Act Annex III (points 4 and 5(b)), rendering of Regulation (EU) 2024/1689. artificialintelligenceact.eu, accessed 23 Nov 2026 (via t11, S12). artificialintelligenceact.eu/annex/3
  4. Demystifying evals for AI agents. Anthropic Engineering, 9 Jan 2026 (via t14, S48). anthropic.com/engineering/demystifying-evals-for-ai-agents
  5. Internal design document: recommendation, §10.4 (budget, total cost of ownership and capacity) and §§1.2-1.4. Platform study, 24 Nov 2026.
  6. Internal design brief 3: cost model (t17), §§3.1-3.7 (basis, scenarios, results, sensitivity, per merged PR, controls), and observability and evals (t14), §6; planning estimates. Platform study, 24 Nov 2026.
  7. Prompt caching (Claude Code: TTL buckets, promptCacheTtl, subagentPromptCacheTtl, Bedrock caveat). Anthropic, Claude Code docs, read 24 Nov 2026 (via t17, S40). code.claude.com/docs/en/prompt-caching
  8. Agent SDK: Observability with OpenTelemetry. Anthropic, Claude Code docs, c. 9 Nov 2026 (via t14, S8). code.claude.com/docs/en/agent-sdk/observability
  9. Arbeidsmiljøloven (LOV-2005-06-17-62), §§ 4-2, 9-1 and 9-2. Lovdata, consolidated text accessed 23 Nov 2026 (via gap-04, S8). lovdata.no/dokument/NL/lov/2005-06-17-62
  10. Manage costs effectively (Claude Code). Anthropic, Claude Code docs, read 24 Nov 2026 (via t14, S2; t17, S2). code.claude.com/docs/en/costs
  11. Internal research reconciliation, c03 (EU-only Claude routes and Anthropic-side visibility) and c09 (Claude apps gateway authentication and failure mode). Platform study, 24 Nov 2026.
  12. Manage sessions (transcript location, format and retention). Anthropic, Claude Code docs, accessed 23 Nov 2026 (via t14, S10). code.claude.com/docs/en/sessions
  13. Agent SDK: Persist sessions to external storage (SessionStore). Anthropic, Claude Code docs, accessed 23 Nov 2026 (via t14, S9). code.claude.com/docs/en/agent-sdk/session-storage
  14. Commission Delegated Regulation (EU) 2024/1774 (RTS on the ICT risk-management framework), Arts. 12 (logging) and 17 (ICT change management). EUR-Lex, adopted 13 Mar 2024, OJ 25 Jun 2024, in force (via gap-04, S2; t14, S54). eur-lex.europa.eu/legal-content/EN/TXT/HTML
  15. All Code Is Slop (Except Mine). Lauren Tan, talk (slides and transcript). AI Engineer, YouTube, delivered 11 Nov 2026, uploaded 14 Nov 2026 (via video-tan-talk, S1). youtube.com/watch?v=O_zcc6Xl12g
  16. Comprehension Debt: the hidden cost of AI generated code. Addy Osmani, 14 Mar 2026 (via t15, S53). addyosmani.com/blog/comprehension-debt
  17. DORA's software delivery performance metrics. DORA (Google Cloud), updated 5 Jan 2026 (via t14, S42). dora.dev/guides/dora-metrics
  18. Q2 2026 State of AI Impact in Engineering report. DX, 22 Jul 2026 (via t14, S45). getdx.com/news/dx-releases-q2-2026-state-of-ai-impact-in-…
  19. Internal research note gap-04: operating model and training (review-capacity planning model, telemetry-use policy). Platform study, 24 Nov 2026.
  20. Test plugins with evals (claude plugin eval). Anthropic, Claude Code docs, accessed 23 Nov 2026 (via t14, S14). code.claude.com/docs/en/plugin-evals
  21. pstack poteto-mode Eval and Hillclimb playbooks; /correct skill. Lauren Tan / Cursor, cursor/plugins, main branch accessed 23 Nov 2026 (via t14, S55). github.com/cursor/plugins/tree/main/harness/pstack/claude…
  22. Langfuse joins ClickHouse; Langfuse pricing. Langfuse, 16 Jan 2026; pricing accessed 23 Nov 2026 (via t14, S26 and S28). langfuse.com/blog/joining-clickhouse langfuse.com/pricing
  23. Mintlify acquires Helicone to redefine AI knowledge infrastructure. Mintlify, 3 Mar 2026 (via t14, S59). mintlify.com/blog/mintlify-acquires-helicone
  24. Exchange rates EXR, USD/NOK and EUR/NOK, observation 23 Nov 2026. Norges Bank (via t17, S5). data.norges-bank.no/api/data/EXR/B.USD+EUR.NOK.SP
  25. Pricing (models, caching, data residency, fast mode). Anthropic, Claude Platform docs, read 24 Nov 2026 (via t17, S1). platform.claude.com/docs/en/about-claude/pricing
  26. Claude Opus 5.5 model card (service tiers: Standard only; eu. geo profile). AWS, Amazon Bedrock User Guide, read 24 Nov 2026 (via t17, S44). docs.aws.amazon.com/bedrock/latest/userguide/model-card-a…
  27. AI Spend Index (median USD 178, mean USD 1,183 per developer a month; self-submitted). Stanford University, Department of Computer Science, undated, read 24 Nov 2026 (via t17, S10). aispendindex.stanford.edu
  28. Salesforce sets AI budgets after employees spent "thousands of dollars per month on tokens," memo says; and MLQ.ai summary of the memo. Business Insider and MLQ.ai, 17 Nov 2026 (via t17, S12 and S32). businessinsider.com/salesforce-sets-monthly-ai-token-budg… mlq.ai/news/salesforce-caps-employees-ai-spending-after-s…
  29. How much should you spend on AI per engineer? (Uber USD 1,500 cap, via Bloomberg). Quesma, 23 Nov 2026 (via t17, S11). quesma.com/blog/how-much-to-spend-on-ai-per-engineer
  30. JPMorgan rolls out Claude changes: $2,000 limits and extra security. Business Insider, 17 Sep 2026 (via t17, S33). businessinsider.com/jpmorgan-claude-spending-limit-securi…
  31. Not All Agents Are Equal: Code Quality and Post-Merge Maintenance Across Five Autonomous Coding Agents in the Wild (arXiv 2609.17598; data Dec 2024 to Jul 2025). arXiv, 12 Sep 2026 (via t14, S46). arxiv.org/html/2609.17598v1
  32. Build the Workshop Before the Software Factory. Armin Ronacher, talk. AI Engineer, YouTube, recorded 12 Nov 2026, uploaded 22 Nov 2026 (via video-ronacher-talk, S2). youtube.com/watch?v=JNexz3Tbiu8
  33. Code Review costs and usage; Set up Code Review. Anthropic, Claude Code docs, read 24 Nov 2026 (via t17, S38; t14, S25). code.claude.com/docs/en/code-review-costs code.claude.com/docs/en/code-review-setup
  34. CLI reference (--max-budget-usd). Anthropic, Claude Code docs, read 24 Nov 2026 (via t17, S42). code.claude.com/docs/en/cli-reference
  35. Claude apps gateway; Claude apps gateway spend limits. Anthropic, Claude Code docs, accessed 23-24 Nov 2026 (via t14, S12; t17, S41). code.claude.com/docs/en/claude-apps-gateway code.claude.com/docs/en/claude-apps-gateway-spend-limits
  36. Model configuration (availableModels, enforceAvailableModels, effort defaults). Anthropic, Claude Code docs, accessed 23 Nov 2026 (via t14, S18). code.claude.com/docs/en/model-config
  37. Running a Software Factory Efficiently at Uber Scale. Uber Engineering, 27 Aug 2026 (via t15, S12). uber.com/us/en/blog/efficient-software-factory
  38. Quotas for the bedrock-runtime endpoint; Amazon Bedrock endpoints and quotas (default cross-Region TPM). AWS, retrieved 23 Nov 2026 (via aws3, S31). docs.aws.amazon.com/bedrock/latest/userguide/quotas-runti… docs.aws.amazon.com/general/latest/gr/bedrock.html
  39. Internal design proposal P4: rent the sandbox, own the brain. Platform study, 24 Nov 2026.
  40. Revolut slashes AI coding costs 10x by cutting out Claude and going self-hosted. The Register, 3 Nov 2026 (via t15, S33). theregister.com/ai-and-ml/2026/11/03/british-fintech-revo…
  41. Shipping like a startup, regulated like a bank (talk page). D. Abitbol, AI Engineer NYC, 13 Oct 2026 (via t15, S34). ai.engineer/nyc/2026/talks/revolut