MCPcopy
hub / github.com/Doorman11991/smallcode / reset

Method reset

src/session/tdd_state.js:346–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344 }
345
346 reset() {
347 this._phase = PHASES.IDLE;
348 this._targetTest = null;
349 this._redConfirmed = false;
350 this._startedAt = null;
351 this._requirements = [];
352 this._loopActive = false;
353 this._regressionClean = false;
354 this._save();
355 return { ok: true, phase: PHASES.IDLE, message: 'TDD state reset to idle.' };
356 }
357
358 // ─── Phase prompt injection ─────────────────────────────────────────────────
359

Callers

nothing calls this directly

Calls 1

_saveMethod · 0.95

Tested by

no test coverage detected