{
  "generatedAt": "2026-11-24T15:10:23.060Z",
  "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.1,
      "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": 1.6,
      "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.1,
      "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,
      "p95": 0.1,
      "max": 0.1,
      "ops": 4,
      "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.1,
      "max": 2.5,
      "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": 3.1,
      "max": 4.3,
      "ops": 1,
      "notes": "mean 0.6ms; 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.3,
      "p95": 0.3,
      "max": 2,
      "notes": "mean 0.3ms"
    },
    {
      "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.6,
      "p95": 1,
      "max": 3.4,
      "notes": "mean 0.8ms"
    },
    {
      "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": 1.3,
      "p95": 2.2,
      "max": 4.4,
      "notes": "mean 1.5ms"
    },
    {
      "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": 3.4,
      "max": 3.4,
      "ops": 0,
      "notes": "fs ops/turn 0 (p50), mean 0.2ms"
    },
    {
      "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": 2.6,
      "max": 2.6,
      "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": 3.4,
      "p95": 3.4,
      "max": 3.4,
      "ops": 24,
      "notes": "fs ops for one task mutation: 24 (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": 651,
      "n": 1,
      "notes": "2602 chars, ~651 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": 598,
      "n": 1,
      "notes": "2392 chars, ~598 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.1,
      "p95": 2.9,
      "max": 2.9,
      "notes": "mean 0.5ms; 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": 4.8,
      "max": 4.8,
      "notes": "mean 0.8ms; 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.1,
      "p95": 19.7,
      "max": 19.7,
      "notes": "mean 3.3ms; 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": 10.7,
      "p95": 10.7,
      "max": 10.7,
      "notes": "fail-fast in 10.7ms; 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.5,
      "p95": 4.9,
      "max": 4.9,
      "notes": "cold=1.3ms warm=4.9ms; P1-6 seeds the auditor session warm"
    },
    {
      "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": 2.5,
      "p95": 5.5,
      "max": 5.5,
      "ops": 44,
      "notes": "fs ops/case ~44; mean 3ms"
    },
    {
      "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.1,
      "p95": 0.7,
      "max": 0.7,
      "ops": 0,
      "notes": "fs ops/case ~0; mean 0.3ms"
    },
    {
      "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": 1,
      "p95": 1.8,
      "max": 1.8,
      "ops": 22,
      "notes": "fs ops/case ~22; mean 1.2ms"
    },
    {
      "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.9,
      "p95": 1.6,
      "max": 1.6,
      "ops": 22,
      "notes": "fs ops/case ~22; mean 1.1ms"
    },
    {
      "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": 1,
      "p95": 1.5,
      "max": 1.5,
      "ops": 22,
      "notes": "fs ops/case ~22; mean 1.1ms"
    },
    {
      "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": 1.3,
      "p95": 1.8,
      "max": 1.8,
      "ops": 24,
      "notes": "fs ops/case ~24; mean 1.4ms"
    },
    {
      "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.1,
      "max": 0.1,
      "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.1,
      "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.1,
      "p95": 0.3,
      "max": 0.9,
      "notes": "mean 0.1ms"
    },
    {
      "id": "B7.render.widgetComponent",
      "label": "GoalWidgetComponent.render (mock TUI)",
      "modules": "widgets/goal-widget",
      "fixture": "1 goal, 20 tasks",
      "n": 100,
      "p50": 0.1,
      "p95": 0.3,
      "max": 0.4,
      "notes": "mean 0.1ms"
    },
    {
      "id": "B7.render.escapeDialog",
      "label": "escape dialog render",
      "modules": "widgets/goal-escape-dialog",
      "fixture": "objective text",
      "n": 100,
      "p50": 0,
      "p95": 0.1,
      "max": 0.2,
      "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.1,
      "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": 1.4,
      "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.2,
      "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.1,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.notifications.running",
      "label": "buildGoalRunningNotification",
      "modules": "widgets/goal-notifications",
      "fixture": "1 config",
      "n": 2000,
      "p50": 0,
      "p95": 0,
      "max": 0.1,
      "notes": "mean 0ms"
    },
    {
      "id": "B7.ledger.reconstruct",
      "label": "reconstructGoalLedger (500 events)",
      "modules": "goal-ledger",
      "fixture": "500 events",
      "n": 50,
      "p50": 0.1,
      "p95": 0.2,
      "max": 0.3,
      "notes": "mean 0.1ms"
    },
    {
      "id": "B7.ledger.latestEvents",
      "label": "latestEventsForGoal (500 events)",
      "modules": "goal-ledger",
      "fixture": "500 events",
      "n": 500,
      "p50": 0,
      "p95": 0,
      "max": 0.2,
      "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.2,
      "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.5,
      "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.1,
      "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.2,
      "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.6,
      "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.2,
      "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.2,
      "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.2,
      "max": 0.5,
      "notes": "mean 0.1ms"
    },
    {
      "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.1,
      "p95": 0.2,
      "max": 1,
      "notes": "mean 0.1ms"
    },
    {
      "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.1,
      "p95": 0.1,
      "max": 0.3,
      "notes": "mean 0.1ms"
    },
    {
      "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.1,
      "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.1,
      "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.1,
      "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.1,
      "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.1,
      "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.2,
      "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.1,
      "p95": 0.2,
      "max": 1.4,
      "notes": "mean 0.1ms"
    },
    {
      "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.1,
      "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"
    },
    {
      "id": "B11.session.turn.early",
      "label": "goal turn, first 20 turns",
      "modules": "all hooks",
      "fixture": "3 requests per turn",
      "n": 20,
      "p50": 4.73,
      "p95": 4.73,
      "max": 9.65,
      "ops": 44,
      "notes": "fs ops/turn 44"
    },
    {
      "id": "B11.session.turn.late",
      "label": "goal turn, last 20 of 240 turns",
      "modules": "all hooks",
      "fixture": "1920 messages, 2844 KiB history",
      "n": 20,
      "p50": 32.37,
      "p95": 32.37,
      "max": 42.91,
      "ops": 44,
      "notes": "fs ops/turn 44; growth x6.84"
    },
    {
      "id": "B11.session.hook.slowest",
      "label": "slowest hook in the last turn (context_with_system)",
      "modules": "goal-events",
      "fixture": "1920 messages",
      "n": 1,
      "p50": 27.14,
      "p95": 27.14,
      "max": 27.14,
      "ops": null,
      "notes": "before_agent_start 0.18; agent_start 0.01; turn_start 0.02; context_with_system 27.14; tool_call 0.03; tool_execution_end 0.07; turn_end 1.96; agent_end 1.57"
    }
  ]
}
