fix(gsd): address review feedback from trek-e

- Remove redundant `void verboseMode` suppression (parameter is used at line 364)
- Simplify hasStrongRecoverySignal: `hasResumableDiskState || recoveryToolCallCount > 0`
  (the previous expression had a redundant third disjunct)
- Remove extra blank line in auto.ts between stepMode assignment and lock-clear block
This commit is contained in:
Derek Pearson 2026-03-21 20:48:12 -04:00
parent 71f14269a5
commit d3db0cb411
3 changed files with 1 additions and 5 deletions

View file

@ -105,7 +105,6 @@ export async function bootstrapAutoSession(
deps: BootstrapDeps,
interrupted: InterruptedSessionAssessment,
): Promise<boolean> {
void verboseMode;
const {
shouldUseWorktreeIsolation,
registerSigtermHandler,

View file

@ -987,7 +987,6 @@ export async function startAuto(
s.stepMode = requestedStepMode;
}
if (freshStartAssessment.lock) {
clearLock(base);
}

View file

@ -177,9 +177,7 @@ export async function assessInterruptedSession(
}
const hasStrongRecoverySignal =
(pausedSession && hasResumableDiskState) ||
recoveryToolCallCount > 0 ||
hasResumableDiskState;
hasResumableDiskState || recoveryToolCallCount > 0;
return {
classification: hasStrongRecoverySignal ? "recoverable" : "stale",