context reads THE-FUCKED-UP-LIST from repo root
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# THE LIST — A Commandments
|
# THE FUCKED UP LIST — A Commandments
|
||||||
|
|
||||||
Thou shalt not:
|
Thou shalt not:
|
||||||
|
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ export async function assemble(input: {
|
|||||||
const law = await readFile(join(import.meta.dir, "session", "prompt", "neuron.txt"), "utf8").catch(() => "")
|
const law = await readFile(join(import.meta.dir, "session", "prompt", "neuron.txt"), "utf8").catch(() => "")
|
||||||
if (law) blocks.push({ source: "base-prompt", text: law })
|
if (law) blocks.push({ source: "base-prompt", text: law })
|
||||||
|
|
||||||
// THE 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, "session", "prompt", "THE-LIST.md"), "utf8").catch(() => "")
|
const theList = await readFile(join(import.meta.dir, "../../../THE-FUCKED-UP-LIST.md"), "utf8").catch(() => "")
|
||||||
if (theList) blocks.push({ source: "base-prompt", origin: "THE-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(() => "")
|
||||||
if (rules) blocks.push({ source: "base-prompt", origin: "THE-RULES.md", text: rules })
|
if (rules) blocks.push({ source: "base-prompt", origin: "THE-RULES.md", text: rules })
|
||||||
|
|||||||
Reference in New Issue
Block a user