📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-06-13 16:02:05 +00:00
parent fc2462186d
commit b4618ee9e9
203 changed files with 11452 additions and 629 deletions
+3 -2
View File
@@ -2,7 +2,7 @@ import { readFileSync } from "node:fs";
import path from "node:path";
/** Canonical list of valid mode names — import from here to avoid drift. */
export const VALID_MODES = ["review", "audit", "debt", "test", "health"];
export const VALID_MODES = ["review", "audit", "debt", "test", "health", "sweep"];
/**
* Assemble the system prompt for a given brooks-lint mode.
@@ -25,7 +25,7 @@ export function assembleSystemPrompt(mode, skillsDir) {
// Add risk definitions based on mode
if (mode === "test") {
sections.push(read(path.join(sharedDir, "test-decay-risks.md")));
} else if (mode === "health") {
} else if (mode === "health" || mode === "sweep") {
sections.push(read(path.join(sharedDir, "decay-risks.md")));
sections.push(read(path.join(sharedDir, "test-decay-risks.md")));
} else {
@@ -39,6 +39,7 @@ export function assembleSystemPrompt(mode, skillsDir) {
debt: ["brooks-debt", "debt-guide.md"],
test: ["brooks-test", "test-guide.md"],
health: ["brooks-health", "health-guide.md"],
sweep: ["brooks-sweep", "sweep-guide.md"],
};
const [modeDir, guideFile] = guideMap[mode] ?? (() => { throw new Error(`Unknown mode: ${mode}`); })();