feat: production hardening — V1 stabilization, error classification, perf, tools #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Combined production hardening with 4 logical commits covering PRs #19-#23:
Commit 1: V1 Stabilization (PR #19/#20)
Commit 2: Error Classification (PR #21)
isRecoverableError()for retry decision logic (network=recoverable, auth/quota/model=fatal)recoverablefield onParsedErrorinterfaceerrorTypeonExecutionResultCommit 3: Performance Instrumentation (PR #22)
RequestPerfclass with 5-phase timing: request:start, spawn, first-token, tool-call, request:doneCommit 4: Tool Expansion (PR #23)
mkdir,rm,stat(7 → 10 tools)rmhas safety: refuses non-empty directories withoutforce: truestatreturns JSON metadata (size, type, permissions, timestamps)Test plan