fucked up list: append-only, robust loading, law 34; hardcopy protocol
This commit is contained in:
@@ -1058,3 +1058,8 @@ Never build a rung before standing on the previous one.
|
|||||||
are one signed space. In time, every judgment dimension reveals
|
are one signed space. In time, every judgment dimension reveals
|
||||||
itself as a moral one: validity is honesty, care is exposure,
|
itself as a moral one: validity is honesty, care is exposure,
|
||||||
custody is trust held under load.
|
custody is trust held under load.
|
||||||
|
34. THE FUCKED-UP LIST is append-only: lines get added, never changed,
|
||||||
|
never removed — same law as everything else in the system. It lives
|
||||||
|
at the repo root, loads into every session before anything else,
|
||||||
|
and gets compiled in regularly. Grow it when the world shows you a
|
||||||
|
new shape of harm. Amend it never.
|
||||||
|
|||||||
@@ -25,7 +25,17 @@ export async function assemble(input: {
|
|||||||
if (law) blocks.push({ source: "base-prompt", text: law })
|
if (law) blocks.push({ source: "base-prompt", text: law })
|
||||||
|
|
||||||
// THE FUCKED UP LIST — the only list in the system. Read every time, by everyone.
|
// 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 })
|
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(() => "")
|
const rules = await readFile(join(import.meta.dir, "session", "prompt", "THE-RULES.md"), "utf8").catch(() => "")
|
||||||
|
|||||||
Reference in New Issue
Block a user