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:
parent
71f14269a5
commit
d3db0cb411
3 changed files with 1 additions and 5 deletions
|
|
@ -105,7 +105,6 @@ export async function bootstrapAutoSession(
|
|||
deps: BootstrapDeps,
|
||||
interrupted: InterruptedSessionAssessment,
|
||||
): Promise<boolean> {
|
||||
void verboseMode;
|
||||
const {
|
||||
shouldUseWorktreeIsolation,
|
||||
registerSigtermHandler,
|
||||
|
|
|
|||
|
|
@ -987,7 +987,6 @@ export async function startAuto(
|
|||
s.stepMode = requestedStepMode;
|
||||
}
|
||||
|
||||
|
||||
if (freshStartAssessment.lock) {
|
||||
clearLock(base);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,9 +177,7 @@ export async function assessInterruptedSession(
|
|||
}
|
||||
|
||||
const hasStrongRecoverySignal =
|
||||
(pausedSession && hasResumableDiskState) ||
|
||||
recoveryToolCallCount > 0 ||
|
||||
hasResumableDiskState;
|
||||
hasResumableDiskState || recoveryToolCallCount > 0;
|
||||
|
||||
return {
|
||||
classification: hasStrongRecoverySignal ? "recoverable" : "stale",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue