# Exceptions to this app's budgets. Empty is the goal.
#
# Defaults: 5,000 source and 8,000 test lines per directory; 10s per
# test package; 150ms to first byte per GET screen; 500ms cold boot.
# A record exists only where something cannot meet them, and every
# record says why. docs/site/testing.md has the full grammar.
#
#   size  <dir>             <source>|-  <test>|-  <reason>
#   time  <dir>             <duration>            <reason>
#   perf  <METHOD> <path>   <duration>|skip       <reason>
#   boot                    <duration>            <reason>
size internal/equipo/team 9396 - Coordinator period accounting, fenced delivery and ordered schema upgrades beside the shared core; measured 9396/6647 source/test lines.
perf GET /* skip Unknown private paths render 404; this fallback contains no screens.
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.

size internal/equipo 24892 - Preview, retry, merges, kept work, check-db, notifications, places, GitHub routes, installer, abilities, lookups, Mac waits, slice F codes, D1, probe details, Design's copy, /api/team; measured 24892.
size internal/wire 9755 - Protocols 31 to 35 (facts, diffs, evidence, CI units, files, places), abilities, 36 lookups, 37 Mac Engineering, 38 Design, unproven and probe detail codes; measured 9755.
size internal/equipotest - 12693 GitHub connect value search, lifecycle and sweep-log contracts; Task 21 migration fixtures, Rastrillo asset contract, renderer archive link; measured 0/12693 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
time internal/runner 330s Plan 3 CI repair measured 292.120s for the full package (controller CI 472.184s).

perf GET /api/team skip Alta's JSON readiness probe, not a screen; 404 without Oficina ID.
perf GET /api/runner/v2/artifacts/{assignment}/{artifact} skip Authenticated runner artifact download, not a browser GET screen. Runner long-poll and blob downloads use POST and are outside the screen inventory.
size internal/runner 10150 9675 Injection defences, current authority, provenance guards, installer enrolment, Mac slice F tool endpoint; measured 10150/9675.
time internal/runner/provider/claude 45s Task 5 measured 32.430s for fake CLI sessions and fsynced account, policy, capture and refresh checks; 45s gives 38 percent headroom on the shared runner.
time internal/runner/provider/codex 35s Plan 3 CI repair measured 24.464s for the full package (controller CI 27.908s).
time internal/runner/provider/pi 60s The real pinned Pi in bubblewrap against a fake TensorX: probes P1 to P5 (a hundred RPC turns), the hostile repository, and the pinned tree checked whole (about 160 MB); measured 22s locally.
time internal/runner/provider/opencode 90s The real pinned OpenCode in bubblewrap against a fake Go: probes, the hostile repository per source, termination, resume; the 260 MB binary hashed per launch. Measured 40s.
size internal/runner/provider 5841 - Fable follow-up gates, preview isolation, provenance guards, subscription family map, Mac slice F darwin MCP config, Design's step policy; measured 5841 source lines.

time internal/plan3test 300s Initial cap for combined browser and runner acceptance; measure at both usable stops.

size internal/plan3test - 12056 Preview, paused work, Assistant, merge authority, check-db, Assistant files, places, Mac fixes, GitHub App and abilities inventory, direct-card contracts, Mac and Design copy; 12056.

time internal/runner/forge 20s Plan 3 CI repair measured 10.527s for the full package (controller CI 10.407s).
time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full package (controller CI 10.709s);

perf GET /releases/* skip Verified runner release file downloads, not browser GET screens.
perf GET /install.sh skip Mac runners: the one-line bootstrap a terminal pipes to sh, not a browser screen.
time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s;
size internal/runner/thin 36245 35005 Protocols 31-35, merge credential, publication guards, kept work, scans, 36 lookups; Mac pin, Engineering, asks, F probes, D1, P2, held reports; 38 Design step, renderer; 36245/35005.
time internal/thintest 240s Thin contract and page tests, the Assistant's and the models' included, share one harness. Measured 202s on a shared 16 CPU box (2026-11-13); CI runs two lanes.
time internal/runner/mac 45s Real processes killed and proven gone: groups, sessions, the runner-user sweep, turns, restarts; probes end to end. Measured 29.3s locally.
time internal/runner/thin 45s Thin v1 slice 4 review: real git repositories for the merge and squash checks, a stalled fetch, and a 16 MiB candidate streamed through the review diff and the checks pack (about 5s).
time internal/headless 780s End-to-end scenarios in two environments (attachments, relays, restarts, empty repos) run serially; 780s covers loaded CI.
perf GET /api/v1/turns/{id} skip Thin v1 person API: bearer-only JSON for devices, not a browser screen.
perf GET /api/v1/events skip Thin v1 person event stream (Server-Sent Events), long-lived by design; not a screen.
perf GET /api/runner/stream skip Thin v1 runner WebSocket, bearer-only and long-lived; not a browser screen.
perf GET /api/v1/messages skip Thin v1 person API: bearer-only JSON for devices; the browser reads it through /conversation.
perf GET /api/v1/snapshot skip Thin v1 person API: bearer-only JSON for devices; the browser reads it through /conversation.
perf GET /api/v1/projects skip Thin v1 person API: bearer-only JSON for devices; the browser reads projects through /conversation.
perf GET /api/v1/notebook skip Thin v1 person API: bearer-only JSON for devices; the browser reads the notebook through /conversation/notebook.
perf GET /api/v1/thinking skip Thin v1 person API: bearer-only JSON for devices; the browser reads thinking words on /settings/thinking.
perf GET /api/v1/tasks skip Thin v1 person API: bearer-only JSON for devices; the browser reads tasks through /tasks.
perf GET /api/v1/tasks/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads a task through /tasks/{id}.
perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen.
perf GET /api/v1/assistant/abilities skip Assistant person API: bearer-only JSON for Base's Settings line, not a browser screen.
size internal/equipo/chat 45203 18815 File facts/diffs, previews, merges, unfinished work, CI, receipts, Assistant files, places, abilities, lookups, go-aheads, Mac work, D1, Design specialists, grants, captures; 45203/18815.
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
perf GET /api/v1/housekeeping skip Housekeeping slice 1 person API: bearer-only JSON for devices; the browser reads it through /housekeeping.
perf GET /api/v1/housekeeping/actions skip Housekeeping slice 1 person API: bearer-only JSON for devices; the browser reads actions on /housekeeping.
perf GET /api/v1/attachments/{id} skip Composer attachments: bearer-only bytes of one upload for devices; a file, not a screen.
perf GET /api/v1/attachments/{id}/preview skip Composer attachments: bearer-only image thumbnail for devices; a file, not a screen.
perf GET /conversation/attachments/{id} skip Composer attachments: the bytes of one upload, shown inside the conversation; a file, not a screen.
perf GET /conversation/attachments/{id}/preview skip Composer attachments: an image thumbnail inside the conversation; a file, not a screen.
perf GET /api/v1/tasks/{id}/files/{file} skip Research kept images: bearer-only bytes of one image for devices; a file, not a screen.
perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one image, shown on the task page; a file, not a screen.
perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section.
time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally).
size internal/headless - 13400 Grant scenarios (#48); sign-in email at 1280 and 390; Assistant files; restart wait; live site waits; card answer; scenario 7; Mac M9, mixed versions; 13400.
size internal/thintest - 42850 Protocol 31 contracts, 35 diffs, stuck tasks, merges, retries, unfinished work, previews, places, abilities, lookups, go-aheads, Mac Engineering, conns, D1, held reports, Design end to end; 42850.

perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
perf GET /api/v1/advice skip Thin v1 person API: bearer-only JSON for devices; the browser reads advice through /usage and /conversation.
perf GET /native/preview/exchange skip Rejects GET with 404; only a same-origin, body-only POST can consume a preview pass.

# GET /api/v1/cards/{id} retains the measured legacy screen path. Its c_ device
# branch uses an indexed primary-key lookup, one current-member/device check,
# and the same bounded cardView as the snapshot; no list scan or new route.
perf GET /api/v1/tasks/{id}/changes/diff skip Device-only bounded display patch JSON: indexed step/attempt lookup, 64 KiB patch and 128 KiB response, no Git or network work at read time; not an HTML screen.
size internal/hostedctl 5313 8516 Hosted controller core plus its lifecycle simulation; split planned for slice 1b; measured 5313/8516 source/test lines after the Task 17 pre-flight review rounds (R36, R38 ref checks).
