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

Method skipRefactor

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

Source from the content-addressed store, hash-verified

336 }
337
338 skipRefactor() {
339 if (this.disabled) return { ok: true, phase: 'idle', message: 'TDD gating disabled.' };
340 if (this._phase !== PHASES.GREEN) {
341 return { ok: false, phase: this._phase, message: `skipRefactor called but phase is "${this._phase}", expected "green".` };
342 }
343 return this._finishCycle('green', null);
344 }
345
346 reset() {
347 this._phase = PHASES.IDLE;

Callers 5

tdd_state.test.jsFile · 0.80
_executeToolMethod · 0.80
executeToolFunction · 0.80

Calls 1

_finishCycleMethod · 0.95

Tested by

no test coverage detected