Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
TypeScript
fix(test-harness): measure first response on first NDJSON line
t5cb8761d36e3
diff --git a/test/helpers/session-runner.ts b/test/helpers/session-runner.tsindex 88933d739..01eb0243d 100644--- a/test/helpers/session-runner.ts+++ b/test/helpers/session-runner.ts@@ -233,6 +233,11 @@ export async function runSkillTest(options: {if (!line.trim()) continue;collectedLines.push(line);+ // Track time to first NDJSON line (measures latency from spawn to first Claude response)+ if (firstResponseMs === 0) {+ firstResponseMs = Date.now() - startTime;+ }+// Real-time progress to stderr + persistent logstry {const event = JSON.parse(line);@@ -244,8 +249,7 @@ export async function runSkillTest(options: {liveToolCount++;const now = Date.now();const elapsed = Math.round((now - startTime) / 1000);- // Track timing telemetry- if (firstResponseMs === 0) firstResponseMs = now - startTime;+ // Track inter-turn latency (tool call to tool call)if (lastToolTime > 0) {const interTurn = now - lastToolTime;if (interTurn > maxInterTurnMs) maxInterTurnMs = interTurn;