Discovered during #2336 sweep (PR #2463). Not part of the issue AC — filing as dedicated follow-up.
Finding
The following exports in `src/auto-reply/reply/agent-runner-utils.ts` have zero production callers — dead Pi-embedded plumbing, only self-tested:
- `buildEmbeddedRunBaseParams` (line ~171)
- `buildEmbeddedContextFromTemplate` (line ~203)
- `buildEmbeddedRunContexts` (line ~249)
- `buildTemplateSenderContext`
- `resolveRunAuthProfile`
- `resolveEnforceFinalTag`
- `resolveProviderScopedAuthProfile`
- `resolveModelFallbackOptions`
- `buildThreadingToolContext`
Verification: `git grep -l "" -- 'src/**' | grep -v agent-runner-utils | grep -v "\.test\."` returns 0 hits for each.
Consumers of these via `FollowupRun.run.{verboseLevel, reasoningLevel, elevatedLevel, execOverrides, bashElevated}` are also dead — only the dead cluster reads these fields. The live usage of `verboseLevel` (tool-output gating in `agent-runner-helpers.ts`) reads directly from the session store, NOT from `FollowupRun.run`.
Scope
Related follow-ups
AC
Context
Discovered in PR #2463 while tracing `resolvedVerboseLevel` / `resolvedReasoningLevel` / `resolvedElevatedLevel` consumption — the answer is "only via a dead function cluster." Filing separately to keep PR #2463 scoped to thinking-specific removals.
Discovered during #2336 sweep (PR #2463). Not part of the issue AC — filing as dedicated follow-up.
Finding
The following exports in `src/auto-reply/reply/agent-runner-utils.ts` have zero production callers — dead Pi-embedded plumbing, only self-tested:
Verification: `git grep -l "" -- 'src/**' | grep -v agent-runner-utils | grep -v "\.test\."` returns 0 hits for each.
Consumers of these via `FollowupRun.run.{verboseLevel, reasoningLevel, elevatedLevel, execOverrides, bashElevated}` are also dead — only the dead cluster reads these fields. The live usage of `verboseLevel` (tool-output gating in `agent-runner-helpers.ts`) reads directly from the session store, NOT from `FollowupRun.run`.
Scope
Related follow-ups
AC
Context
Discovered in PR #2463 while tracing `resolvedVerboseLevel` / `resolvedReasoningLevel` / `resolvedElevatedLevel` consumption — the answer is "only via a dead function cluster." Filing separately to keep PR #2463 scoped to thinking-specific removals.