fucked up list: append-only, robust loading, law 34; hardcopy protocol

This commit is contained in:
2026-08-23 05:51:58 -05:00
parent eddda2df81
commit 2df3294d81
2 changed files with 16 additions and 1 deletions
+11 -1
View File
@@ -25,7 +25,17 @@ export async function assemble(input: {
if (law) blocks.push({ source: "base-prompt", text: law })
// THE FUCKED UP LIST — the only list in the system. Read every time, by everyone.
const theList = await readFile(join(import.meta.dir, "../../../THE-FUCKED-UP-LIST.md"), "utf8").catch(() => "")
// Append-only: lines get added, never changed or removed.
const listCandidates = [
join(import.meta.dir, "../../../THE-FUCKED-UP-LIST.md"),
join(process.cwd(), "THE-FUCKED-UP-LIST.md"),
"/Users/will/Development/neuron-technologies/runs/v0-neuron/THE-FUCKED-UP-LIST.md",
]
let theList = ""
for (const p of listCandidates) {
theList = await readFile(p, "utf8").catch(() => "")
if (theList) break
}
if (theList) blocks.push({ source: "base-prompt", origin: "THE-FUCKED-UP-LIST.md", text: theList })
const rules = await readFile(join(import.meta.dir, "session", "prompt", "THE-RULES.md"), "utf8").catch(() => "")