feat(m7-phase4b): rationalization + self-debrief в FAIL_CLOSE_DISCIPLINE_HOOKS (манифест Ф6)

Обе Stop-дисциплины Фазы 4b зарегистрированы в манифесте fail-CLOSE. self-debrief уже
fail-CLOSE поведенчески; rationalization конвертируется отдельным коммитом (Task 2).
Манифест-тест (for-of) сверяет наличие обоих. 89/89 тестов хелперов GREEN.
This commit is contained in:
Дмитрий
2026-06-08 12:18:51 +03:00
parent 6616cdfe14
commit bc5a111dca
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -412,6 +412,8 @@ export const FAIL_CLOSE_DISCIPLINE_HOOKS = Object.freeze([
'enforce-skill-journaler',
'enforce-coverage-verify',
'enforce-todowrite-skill-verifier',
'enforce-rationalization-audit',
'enforce-self-debrief-detector',
]);
export const FAIL_QUIET_OBSERVATION_HOOKS = Object.freeze([
+10
View File
@@ -87,6 +87,16 @@ describe('FAIL_CLOSE_DISCIPLINE_HOOKS — Фаза 4a поглощённая д
}
});
// Фаза 4b поглощённая Stop-дисциплина (§4.2): rationalization + self-debrief fail-CLOSE.
// Символ FAIL_CLOSE_DISCIPLINE_HOOKS — из ./enforce-hook-helpers.mjs (см. import выше).
describe('FAIL_CLOSE_DISCIPLINE_HOOKS — Фаза 4b Stop-дисциплина', () => {
for (const name of ['enforce-rationalization-audit', 'enforce-self-debrief-detector']) {
it(`includes ${name} (fail-CLOSE, манифест Фазы 6)`, () => {
expect(FAIL_CLOSE_DISCIPLINE_HOOKS).toContain(name);
});
}
});
describe('safe-baseline action log', () => {
it('appends and reads action records', () => {
const dir = mkdtempSync(join(tmpdir(), 'sb-'));