{
  "generatedAt": "2026-10-24T09:43:12.958Z",
  "bench": "pi-goal-x extension",
  "agentFree": true,
  "rows": [
    {
      "id": "B1.settings.present",
      "label": "settings load (file present)",
      "modules": "goal-settings",
      "fixture": "1 settings file",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B1.settings.present.lat25",
      "label": "settings load (file present, +25ms/op)",
      "modules": "goal-settings",
      "fixture": "1 settings file",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "latency": "25ms/op",
      "notes": "mean 0ms"
    },
    {
      "id": "B1.settings.missing",
      "label": "settings load (file missing)",
      "modules": "goal-settings",
      "fixture": "no file",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B1.pool.1g",
      "label": "pool scan (1 goal)",
      "modules": "storage/goal-files",
      "fixture": "1 active goal files",
      "n": 30,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B1.pool.1g.lat25",
      "label": "pool scan (1 goal, +25ms/op)",
      "modules": "storage/goal-files",
      "fixture": "1 active goal files",
      "n": 10,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "latency": "25ms/op",
      "notes": "mean 0ms"
    },
    {
      "id": "B1.pool.10g",
      "label": "pool scan (10 goals)",
      "modules": "storage/goal-files",
      "fixture": "10 active goal files",
      "n": 30,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B1.pool.10g.lat25",
      "label": "pool scan (10 goals, +25ms/op)",
      "modules": "storage/goal-files",
      "fixture": "10 active goal files",
      "n": 10,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "latency": "25ms/op",
      "notes": "mean 0ms"
    },
    {
      "id": "B1.pool.50g",
      "label": "pool scan (50 goals)",
      "modules": "storage/goal-files",
      "fixture": "50 active goal files",
      "n": 30,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B1.pool.50g.lat25",
      "label": "pool scan (50 goals, +25ms/op)",
      "modules": "storage/goal-files",
      "fixture": "50 active goal files",
      "n": 10,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "latency": "25ms/op",
      "notes": "mean 0ms"
    },
    {
      "id": "B1.ledger.1k",
      "label": "ledger full parse (1k events)",
      "modules": "goal-ledger",
      "fixture": "1000 ledger events",
      "n": 20,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B1.ledger.1k.lat25",
      "label": "ledger full parse (1k, +25ms/op)",
      "modules": "goal-ledger",
      "fixture": "1000 ledger events",
      "n": 5,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "ops": 0,
      "latency": "25ms/op",
      "notes": "mean 0ms"
    },
    {
      "id": "B1.lock.uncontended",
      "label": "lock acquire+release (uncontended)",
      "modules": "storage/goal-lock",
      "fixture": "fresh lock dir",
      "n": 50,
      "p50": 0.1,
      "p95": 0.3,
      "max": 0.5,
      "ops": 3,
      "notes": "mean 0.1ms"
    },
    {
      "id": "B1.append.single",
      "label": "ledger append (single event)",
      "modules": "goal-ledger",
      "fixture": "1k-event ledger file",
      "n": 50,
      "p50": 0,
      "p95": 0,
      "max": 1,
      "ops": 1,
      "notes": "mean 0.1ms"
    },
    {
      "id": "B1.append.x4",
      "label": "ledger append x4 (batched, one write)",
      "modules": "goal-ledger",
      "fixture": "1k-event ledger file",
      "n": 20,
      "p50": 0,
      "p95": 1,
      "max": 1.8,
      "ops": 1,
      "notes": "mean 0.2ms; one appendFileSync for 4 events (was 4×5 ops)"
    },
    {
      "id": "B3.parse.1000",
      "label": "ledger full parse (1000 events)",
      "modules": "goal-ledger",
      "fixture": "1000 events",
      "n": 10,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B3.reconstruct.1000",
      "label": "ledger reconstruction (1000 events)",
      "modules": "goal-ledger",
      "fixture": "1000 in-memory events",
      "n": 30,
      "p50": 0.1,
      "p95": 0.1,
      "max": 0.1,
      "notes": "mean 0.1ms"
    },
    {
      "id": "B3.parse.5000",
      "label": "ledger full parse (5000 events)",
      "modules": "goal-ledger",
      "fixture": "5000 events",
      "n": 10,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B3.reconstruct.5000",
      "label": "ledger reconstruction (5000 events)",
      "modules": "goal-ledger",
      "fixture": "5000 in-memory events",
      "n": 30,
      "p50": 0.3,
      "p95": 0.6,
      "max": 0.7,
      "notes": "mean 0.3ms"
    },
    {
      "id": "B3.parse.10000",
      "label": "ledger full parse (10000 events)",
      "modules": "goal-ledger",
      "fixture": "10000 events",
      "n": 10,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B3.reconstruct.10000",
      "label": "ledger reconstruction (10000 events)",
      "modules": "goal-ledger",
      "fixture": "10000 in-memory events",
      "n": 30,
      "p50": 0.7,
      "p95": 1,
      "max": 1.6,
      "notes": "mean 0.7ms"
    },
    {
      "id": "B2.readturn.1g",
      "label": "per-turn read pipeline (1 goal, 1k ledger)",
      "modules": "goal-settings + storage/goal-files + goal-ledger + prompts/goal-prompts",
      "fixture": "1 goals, 1000 events",
      "n": 20,
      "p50": 0,
      "p95": 1.3,
      "max": 1.3,
      "ops": 0,
      "notes": "fs ops/turn 0 (p50), mean 0.1ms"
    },
    {
      "id": "B2.readturn.10g",
      "label": "per-turn read pipeline (10 goals, 1k ledger)",
      "modules": "goal-settings + storage/goal-files + goal-ledger + prompts/goal-prompts",
      "fixture": "10 goals, 1000 events",
      "n": 20,
      "p50": 0,
      "p95": 1.9,
      "max": 1.9,
      "ops": 0,
      "notes": "fs ops/turn 0 (p50), mean 0.1ms"
    },
    {
      "id": "B2.mutationturn.task",
      "label": "per-turn mutation (one update_goal_task)",
      "modules": "goal-task-tools + goal-service + storage/goal-files + goal-ledger + storage/goal-lock",
      "fixture": "1 goal, 1 task",
      "n": 1,
      "p50": 2.3,
      "p95": 2.3,
      "max": 2.3,
      "ops": 19,
      "notes": "fs ops for one task mutation: 19 (P1-3 batches to one lock+write+append)"
    },
    {
      "id": "B4.taskListBlock.10t",
      "label": "taskListBlock (10-task tree)",
      "modules": "prompts/goal-prompts",
      "fixture": "10 tasks (half complete, contracts+evidence)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 171,
      "n": 1,
      "notes": "683 chars, ~171 tokens; est prefill ~0.17s @ 1000t/s (estimate, not live)"
    },
    {
      "id": "B4.continuationPrompt.10t",
      "label": "continuationPrompt (10-task tree)",
      "modules": "prompts/goal-prompts",
      "fixture": "10 tasks (half complete, contracts+evidence)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 19,
      "n": 1,
      "notes": "73 chars, ~19 tokens; est prefill ~0.02s @ 1000t/s (estimate, not live)"
    },
    {
      "id": "B4.goalPrompt.10t",
      "label": "goalPrompt (10-task tree)",
      "modules": "prompts/goal-prompts",
      "fixture": "10 tasks (half complete, contracts+evidence)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 652,
      "n": 1,
      "notes": "2608 chars, ~652 tokens; est prefill ~0.65s @ 1000t/s (estimate, not live)"
    },
    {
      "id": "B4.taskListBlock.50t",
      "label": "taskListBlock (50-task tree)",
      "modules": "prompts/goal-prompts",
      "fixture": "50 tasks (half complete, contracts+evidence)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 119,
      "n": 1,
      "notes": "473 chars, ~119 tokens; est prefill ~0.12s @ 1000t/s (estimate, not live)"
    },
    {
      "id": "B4.continuationPrompt.50t",
      "label": "continuationPrompt (50-task tree)",
      "modules": "prompts/goal-prompts",
      "fixture": "50 tasks (half complete, contracts+evidence)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 19,
      "n": 1,
      "notes": "73 chars, ~19 tokens; est prefill ~0.02s @ 1000t/s (estimate, not live)"
    },
    {
      "id": "B4.goalPrompt.50t",
      "label": "goalPrompt (50-task tree)",
      "modules": "prompts/goal-prompts",
      "fixture": "50 tasks (half complete, contracts+evidence)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 600,
      "n": 1,
      "notes": "2398 chars, ~600 tokens; est prefill ~0.6s @ 1000t/s (estimate, not live)"
    },
    {
      "id": "B5.startup.1g",
      "label": "session startup loadState (1 goal, parallel reads)",
      "ops": 0,
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "1 open goals",
      "n": 6,
      "p50": 0,
      "p95": 0.6,
      "max": 0.6,
      "notes": "mean 0.1ms; P1-7 parallel + cached"
    },
    {
      "id": "B5.startup.1g.lat25",
      "label": "session startup loadState (1 goal, +25ms/op)",
      "ops": 0,
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "1 open goals",
      "n": 3,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "latency": "25ms/op",
      "notes": "P1-7 parallel reads amortise the per-op latency"
    },
    {
      "id": "B5.startup.10g",
      "label": "session startup loadState (10 goals, parallel reads)",
      "ops": 0,
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "10 open goals",
      "n": 6,
      "p50": 0,
      "p95": 0.9,
      "max": 0.9,
      "notes": "mean 0.2ms; P1-7 parallel + cached"
    },
    {
      "id": "B5.startup.10g.lat25",
      "label": "session startup loadState (10 goals, +25ms/op)",
      "ops": 0,
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "10 open goals",
      "n": 3,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "latency": "25ms/op",
      "notes": "P1-7 parallel reads amortise the per-op latency"
    },
    {
      "id": "B5.startup.50g",
      "label": "session startup loadState (50 goals, parallel reads)",
      "ops": 0,
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "50 open goals",
      "n": 6,
      "p50": 0,
      "p95": 2.3,
      "max": 2.3,
      "notes": "mean 0.4ms; P1-7 parallel + cached"
    },
    {
      "id": "B5.startup.50g.lat25",
      "label": "session startup loadState (50 goals, +25ms/op)",
      "ops": 0,
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "50 open goals",
      "n": 3,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "latency": "25ms/op",
      "notes": "P1-7 parallel reads amortise the per-op latency"
    },
    {
      "id": "B5.lock.contended",
      "label": "lock acquire under two-process contention (child holds 3s, DEFAULT bounds)",
      "modules": "storage/goal-lock",
      "fixture": "2 processes, 1 goal lock",
      "n": 1,
      "p50": 12.3,
      "p95": 12.3,
      "max": 12.3,
      "notes": "fail-fast in 12.3ms; P1-5 bounded window ≈200ms (was ~2.8s frozen)"
    },
    {
      "id": "B5.auditor.dispatch",
      "label": "update_goal(complete) dispatch to pre-audit gate (auditor stubbed)",
      "modules": "goal-core-tools + goal-completion + goal-state + goal-service + goal-ledger",
      "fixture": "1 active goal each, 5 fixtures",
      "n": 5,
      "p50": 1.4,
      "p95": 2.4,
      "max": 2.4,
      "notes": "cold=1.3ms warm=2.4ms; P1-6 seeds the auditor session warm"
    },
    {
      "id": "B1.pool.cold",
      "label": "cold sync pool read (50 goals, fresh process)",
      "modules": "storage/goal-files",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 0.4,
      "p95": 6.6,
      "max": 6.6,
      "ops": 2,
      "notes": "fresh-process cold read; wall samples 0.4/0.4/0.4/0.4/6.6ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.pool.cold.lat25",
      "label": "cold sync pool read (50 goals, +25ms/op)",
      "modules": "storage/goal-files",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 54.8,
      "p95": 63.6,
      "max": 63.6,
      "ops": 2,
      "latency": "25ms/op",
      "notes": "fresh-process cold read; wall samples 50.7/51.3/54.8/55/63.6ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.settings.cold",
      "label": "cold settings load (fresh process)",
      "modules": "goal-settings",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 1,
      "p95": 1.1,
      "max": 1.1,
      "ops": 2,
      "notes": "fresh-process cold read; wall samples 1/1/1/1.1/1.1ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.settings.cold.lat25",
      "label": "cold settings load (+25ms/op)",
      "modules": "goal-settings",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 62,
      "p95": 71,
      "max": 71,
      "ops": 2,
      "latency": "25ms/op",
      "notes": "fresh-process cold read; wall samples 53.2/61.5/62/64.4/71ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.ledger.cold",
      "label": "cold ledger read (1k events, fresh process)",
      "modules": "goal-ledger",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 1.5,
      "p95": 1.6,
      "max": 1.6,
      "ops": 1,
      "notes": "fresh-process cold read; wall samples 1.4/1.4/1.5/1.5/1.6ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.ledger.cold.lat25",
      "label": "cold ledger read (+25ms/op)",
      "modules": "goal-ledger",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 26.7,
      "p95": 33.6,
      "max": 33.6,
      "ops": 1,
      "latency": "25ms/op",
      "notes": "fresh-process cold read; wall samples 26.5/26.5/26.7/29.4/33.6ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B5.startup.cold",
      "label": "cold session startup loadState (50 goals, fresh process)",
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 2.4,
      "p95": 2.6,
      "max": 2.6,
      "ops": 4,
      "notes": "fresh-process cold read; wall samples 2.4/2.4/2.4/2.6/2.6ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B5.startup.cold.lat25",
      "label": "cold session startup loadState (50 goals, +25ms/op)",
      "modules": "goal-state + storage/goal-files + goal-settings",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 107,
      "p95": 121.5,
      "max": 121.5,
      "ops": 4,
      "latency": "25ms/op",
      "notes": "fresh-process cold read; wall samples 104.4/106.8/107/113.4/121.5ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.ledgerstate.cold",
      "label": "cold checkpoint-aware read, no checkpoint (full parse + write)",
      "modules": "goal-ledger",
      "fixture": "50 goals + settings + 1k-event ledger",
      "n": 5,
      "p50": 3,
      "p95": 5,
      "max": 5,
      "ops": 2,
      "notes": "fresh-process cold read; wall samples 2.7/2.9/3/3.1/5ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.ledgerstate.cp.hit",
      "label": "cold checkpoint-aware read, checkpoint covers the ledger",
      "modules": "goal-ledger",
      "fixture": "50 goals + settings + 1k-event ledger + checkpoint",
      "n": 5,
      "p50": 3.1,
      "p95": 6.4,
      "max": 6.4,
      "ops": 2,
      "notes": "fresh-process cold read; wall samples 2.9/2.9/3.1/3.4/6.4ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B1.ledgerstate.cp.tail",
      "label": "cold checkpoint-aware read, 50-event external tail",
      "modules": "goal-ledger",
      "fixture": "50 goals + settings + 1k-event ledger + checkpoint",
      "n": 5,
      "p50": 2.9,
      "p95": 3.2,
      "max": 3.2,
      "ops": 2,
      "notes": "fresh-process cold read; wall samples 2.7/2.8/2.9/3/3.2ms; ops = min over samples (deterministic per code state)"
    },
    {
      "id": "B7.tool.create_goal",
      "label": "create_goal handler",
      "modules": "goal-core-tools + goal-state + goal-service + goal-notifications",
      "fixture": "1 focused fixture",
      "n": 5,
      "p50": 1.4,
      "p95": 3.6,
      "max": 3.6,
      "ops": 35,
      "notes": "fs ops/case ~35; mean 1.9ms"
    },
    {
      "id": "B7.tool.get_goal",
      "label": "get_goal handler",
      "modules": "goal-core-tools + goal-state + goal-format + goal-pool",
      "fixture": "1 focused fixture",
      "n": 5,
      "p50": 0,
      "p95": 0.3,
      "max": 0.3,
      "ops": 0,
      "notes": "fs ops/case ~0; mean 0.1ms"
    },
    {
      "id": "B7.tool.update_goal.paused",
      "label": "update_goal(paused) handler",
      "modules": "goal-core-tools + goal-state + goal-service",
      "fixture": "1 focused fixture",
      "n": 5,
      "p50": 0.9,
      "p95": 0.9,
      "max": 0.9,
      "ops": 17,
      "notes": "fs ops/case ~17; mean 0.8ms"
    },
    {
      "id": "B7.tool.update_goal.blocked",
      "label": "update_goal(blocked) handler",
      "modules": "goal-core-tools + goal-service + goal-ledger",
      "fixture": "1 focused fixture",
      "n": 5,
      "p50": 0.8,
      "p95": 1,
      "max": 1,
      "ops": 17,
      "notes": "fs ops/case ~17; mean 0.8ms"
    },
    {
      "id": "B7.tool.set_goal_tasks.50",
      "label": "set_goal_tasks (50 tasks) handler",
      "modules": "goal-task-tools + goal-task-confirmation + goal-policy + goal-service",
      "fixture": "1 focused fixture",
      "n": 5,
      "p50": 0.9,
      "p95": 1,
      "max": 1,
      "ops": 17,
      "notes": "fs ops/case ~17; mean 0.9ms"
    },
    {
      "id": "B7.tool.update_goal_task",
      "label": "update_goal_task(complete) handler",
      "modules": "goal-task-tools + goal-service + storage/goal-lock + goal-ledger",
      "fixture": "1 goal, 20 tasks",
      "n": 5,
      "p50": 0.8,
      "p95": 0.9,
      "max": 0.9,
      "ops": 19,
      "notes": "fs ops/case ~19; mean 0.8ms"
    },
    {
      "id": "B7.evt.before_agent_start",
      "label": "before_agent_start event (1 goal, 1k ledger)",
      "modules": "goal-events + goal-state + goal-service + goal-ledger + prompts/goal-prompts",
      "fixture": "1 goal, 1000 events",
      "n": 5,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms; P1-1/2 cut the reads here"
    },
    {
      "id": "B7.render.confirmationTasks",
      "label": "renderConfirmationTasks (20 tasks)",
      "modules": "goal-task-confirmation",
      "fixture": "20-task tree",
      "n": 50,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.render.draftConfirmation",
      "label": "buildDraftConfirmationText",
      "modules": "goal-draft",
      "fixture": "1 goal, 20 tasks",
      "n": 50,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.render.questionnaireAnswers",
      "label": "formatQuestionnaireAnswers (3 Q&A)",
      "modules": "goal-questionnaire",
      "fixture": "3 answers",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.render.widgetLines",
      "label": "renderGoalWidgetLines (20 tasks)",
      "modules": "widgets/goal-widget",
      "fixture": "1 goal, 20 tasks",
      "n": 100,
      "p50": 0,
      "p95": 0.1,
      "max": 0.1,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.render.widgetComponent",
      "label": "GoalWidgetComponent.render (mock TUI)",
      "modules": "widgets/goal-widget",
      "fixture": "1 goal, 20 tasks",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0.1,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.render.taskOverlay",
      "label": "task-list overlay render (20 tasks)",
      "modules": "widgets/task-list-overlay",
      "fixture": "1 goal, 20 tasks",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0.1,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.render.escapeDialog",
      "label": "escape dialog render",
      "modules": "widgets/goal-escape-dialog",
      "fixture": "objective text",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.policy.taskSummary",
      "label": "buildTaskSummary (20 tasks)",
      "modules": "goal-policy",
      "fixture": "20-task tree",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.policy.validateTasks",
      "label": "validateTaskListProposal (50 flat tasks)",
      "modules": "goal-policy + goal-task-tools",
      "fixture": "50 flat tasks",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.policy.completionReport",
      "label": "buildCompletionReport",
      "modules": "goal-policy",
      "fixture": "1 goal, 20 tasks",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.pool.goalList",
      "label": "buildGoalListText (10 goals)",
      "modules": "goal-pool + goal-core + goal-format",
      "fixture": "10 open goals",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.pool.selectorLabel",
      "label": "goalSelectorLabel",
      "modules": "goal-pool + goal-core",
      "fixture": "1 goal",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.accounting.charge",
      "label": "GoalAccounting begin+charge+end",
      "modules": "goal-accounting",
      "fixture": "1 active goal",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.accounting.budget",
      "label": "budgetLine + budgetRemaining",
      "modules": "goal-accounting",
      "fixture": "goal with 100k budget",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.notifications.running",
      "label": "buildGoalRunningNotification",
      "modules": "widgets/goal-notifications",
      "fixture": "1 config",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.compaction.summary",
      "label": "buildCompactionSummary (500 events)",
      "modules": "goal-compaction + goal-ledger",
      "fixture": "1 goal, 500 events",
      "n": 50,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.compaction.goalSummary",
      "label": "buildGoalCompactSummary (500 events)",
      "modules": "goal-compaction",
      "fixture": "1 goal, 500 events",
      "n": 50,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.ledger.reconstruct",
      "label": "reconstructGoalLedger (500 events)",
      "modules": "goal-ledger",
      "fixture": "500 events",
      "n": 50,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.ledger.latestEvents",
      "label": "latestEventsForGoal (500 events)",
      "modules": "goal-ledger",
      "fixture": "500 events",
      "n": 500,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.contract.extract",
      "label": "extractVerificationContract",
      "modules": "goal-contract + goal-draft",
      "fixture": "objective text",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms; P1-11 dedups the goal-draft copy"
    },
    {
      "id": "B7.contract.promptSafe",
      "label": "promptSafeObjective",
      "modules": "goal-contract",
      "fixture": "objective text",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.record.normalize",
      "label": "normalizeGoalRecord",
      "modules": "goal-record",
      "fixture": "raw record",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.files.serialize",
      "label": "serializeGoalFile",
      "modules": "storage/goal-files + goal-core + goal-record",
      "fixture": "1 goal",
      "n": 1000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.files.parse",
      "label": "parseGoalFile",
      "modules": "storage/goal-files + goal-record",
      "fixture": "1 goal file",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms; P1-1 caches per-turn parse"
    },
    {
      "id": "B7.format.renderEvent",
      "label": "renderGoalEvent heading",
      "modules": "goal-format",
      "fixture": "task_complete event",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.format.goalDetails",
      "label": "goalDetails",
      "modules": "goal-format + goal-accounting",
      "fixture": "1 goal, 20 tasks",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0.2,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.runtime.stalePrompt",
      "label": "staleContinuationPrompt",
      "modules": "prompts/goal-prompts + goal-core",
      "fixture": "1 goal",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.runtime.unfocusedPrompt",
      "label": "unfocusedOpenGoalsPrompt",
      "modules": "prompts/goal-prompts",
      "fixture": "3 open goals",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.model.20t",
      "label": "deriveGoalDashboardModel (20 tasks, 12 events)",
      "modules": "widgets/goal-dashboard-model + goal-activity + goal-core",
      "fixture": "1 goal, 20 tasks, 12 events",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.model.50t",
      "label": "deriveGoalDashboardModel (50 tasks, 12 events)",
      "modules": "widgets/goal-dashboard-model + goal-activity + goal-core",
      "fixture": "1 goal, 50 tasks, 12 events",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.compact.20t",
      "label": "renderCompactDashboard (20 tasks)",
      "modules": "widgets/goal-dashboard-renderer",
      "fixture": "1 goal, 20 tasks",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0.4,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.expanded.20t",
      "label": "renderExpandedDashboard (20 tasks, 24 rows)",
      "modules": "widgets/goal-dashboard-renderer",
      "fixture": "1 goal, 20 tasks",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0.1,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.expanded.50t",
      "label": "renderExpandedDashboard (50 tasks, 24 rows)",
      "modules": "widgets/goal-dashboard-renderer",
      "fixture": "1 goal, 50 tasks",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.currentTask",
      "label": "renderCurrentTaskBlock (current task)",
      "modules": "widgets/goal-dashboard-renderer",
      "fixture": "1 goal, current task",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.activity",
      "label": "renderActivityBlock (8 items)",
      "modules": "widgets/goal-dashboard-renderer",
      "fixture": "8 activity items",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.unfocused",
      "label": "renderUnfocusedDashboard (3 open goals)",
      "modules": "widgets/goal-dashboard-renderer",
      "fixture": "3 open goals",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.auditor",
      "label": "deriveAuditorDashboardModel + renderAuditorDashboard (running)",
      "modules": "widgets/auditor-dashboard-model + widgets/goal-dashboard-renderer",
      "fixture": "running audit",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.auditCard",
      "label": "deriveAuditResultCard + renderAuditResultCard",
      "modules": "widgets/auditor-dashboard-model + widgets/goal-dashboard-renderer",
      "fixture": "disapproved verdict",
      "n": 200,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.anchoredScroll.50t",
      "label": "flatten + anchoredScrollOffset (50 tasks)",
      "modules": "widgets/goal-dashboard-model",
      "fixture": "50-task tree",
      "n": 500,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.viewport",
      "label": "deriveTaskListViewport (50 rows, 24 visible, offset 7)",
      "modules": "widgets/goal-dashboard-model",
      "fixture": "viewport math",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.statusText",
      "label": "buildGoalStatusText standard (20 tasks)",
      "modules": "goal-status + widgets/goal-dashboard-*",
      "fixture": "1 goal, 20 tasks, 12 events",
      "n": 100,
      "p50": 0,
      "p95": 0,
      "max": 0.2,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.deriveTasks",
      "label": "deriveTasksFromObjective (5 markers)",
      "modules": "goal-task-derive",
      "fixture": "objective with 5 checklist markers",
      "n": 500,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.dashboard.taskCount",
      "label": "countAllTasks (50 tasks)",
      "modules": "goal-task-count",
      "fixture": "50-task tree",
      "n": 500,
      "p50": 0,
      "p95": 0,
      "max": 0,
      "notes": "mean 0ms"
    },
    {
      "id": "B10.checkpoint.persisted.1",
      "label": "persisted checkpoint chars (1 turns)",
      "modules": "prompts/goal-prompts",
      "fixture": "1 unchanged continuation turns",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 68,
      "n": 1,
      "notes": "v2 marker is 68 chars; objective occurrences in persisted checkpoints must be 0"
    },
    {
      "id": "B10.checkpoint.persisted.10",
      "label": "persisted checkpoint chars (10 turns)",
      "modules": "prompts/goal-prompts",
      "fixture": "10 unchanged continuation turns",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 680,
      "n": 1,
      "notes": "v2 marker is 68 chars; objective occurrences in persisted checkpoints must be 0"
    },
    {
      "id": "B10.checkpoint.persisted.100",
      "label": "persisted checkpoint chars (100 turns)",
      "modules": "prompts/goal-prompts",
      "fixture": "100 unchanged continuation turns",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 6800,
      "n": 1,
      "notes": "v2 marker is 68 chars; objective occurrences in persisted checkpoints must be 0"
    },
    {
      "id": "B10.checkpoint.persisted.1000",
      "label": "persisted checkpoint chars (1000 turns)",
      "modules": "prompts/goal-prompts",
      "fixture": "1000 unchanged continuation turns",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 68000,
      "n": 1,
      "notes": "v2 marker is 68 chars; objective occurrences in persisted checkpoints must be 0"
    },
    {
      "id": "B10.checkpoint.provider-context.1000",
      "label": "unbounded provider-visible checkpoints (1000-turn fixture)",
      "modules": "extensions/goal-events",
      "fixture": "1001 checkpoints (1000 legacy + 1 v2), 50-task tree",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 0,
      "n": 1,
      "notes": "must be 0; all 1001 bounded triggers retain their history positions"
    },
    {
      "id": "B10.checkpoint.recovery.850",
      "label": "checkpoint chars after offline recovery (850-entry legacy fixture)",
      "modules": "scripts/recover-session-checkpoints.mjs",
      "fixture": "850 legacy checkpoints (~6400 chars each)",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 51850,
      "n": 1,
      "notes": "was ~5440000 chars; saved 7140000; must be <= 5% of legacy"
    },
    {
      "id": "B10.checkpoint.composed-request.50t",
      "label": "full goal blocks in composed request (50-task tree)",
      "modules": "prompts/goal-prompts + extensions/goal-events",
      "fixture": "system prompt with injected goal block + latest checkpoint marker",
      "p50": "-",
      "p95": "-",
      "max": "-",
      "ops": 1,
      "n": 1,
      "notes": "objective occurs 1x; both counts must be exactly 1"
    }
  ]
}
