Case studies

Feature work, session after session

Chains of feature tasks on two open-source codebases. Each session is a fresh agent building on the last one's code, graded by hidden tests.

Claude Opus 5.5 · 64 paired sessions · TypeScript and PHP
21%
less agent time
Outline, against AGENTS.md
30%
less agent time
BookStack, against no context
24%
lower model cost
Outline. 12% on BookStack
44%
less code read
Outline, 1.48M against 2.64M characters
Savings per session pair
Agent time saved
OutlineTypeScript
20.6%
BookStackPHP
29.6%
Model cost saved
OutlineTypeScript
23.6%
BookStackPHP
12.5%
010%20%30%40%
A pair is the same task at the same point in a chain, with and without DocuSOR. Dots are the average saving. Bars are 95% confidence intervals.

Setup

Codebases
Outline (TypeScript, Postgres) and BookStack (PHP, Laravel, MySQL)
Tasks
API endpoints, models, migrations and permission rules. 11 per Outline chain, 10 per BookStack chain
Sessions
A fresh agent per task, starting from the previous agent's push. 4 Outline chains and 2 BookStack chains per arm
Compared with
Outline: an AGENTS.md its agents keep current. BookStack: no context system
Grading
Hidden tests written before any run. A session had to pass every check before the next one started. Failures went back to the same agent, and that rework is counted

Results

Per session pairOutlineBookStack
Session pairs4420
Agent time saved20.6%29.6%
Sessions where DocuSOR was faster31 of 4418 of 20
Model cost saved23.6%12.5%
Sessions where DocuSOR was cheaper35 of 4415 of 20
Code read while exploring44% less13% less
Time saved, writing context included17.9%24.4%

Correctness

No session moved on until it passed every check, so both arms finished every session 100% correct. The difference is how often that took a second try.

OutlineBookStack
AGENTS.mdDocuSORNo contextDocuSOR
Correct on the first try42 of 4439 of 4420 of 2020 of 20
Review rounds2501
Correct before the next session44 of 4444 of 4420 of 2020 of 20

Limits

  • Writing context takes time: 1,493s for DocuSOR against 795s for AGENTS.md on Outline. The last results row counts it.
  • No correctness gain. The advantage is time and cost.
  • Sessions were one to three minutes each, all on one model.
  • We built the tasks, the graders and the harness.

Time is active agent time, rework included. Cost is billed model tokens at list price, $4 in and $20 out per million.

See this on your own codebase.