factor instructions out of code into default files
Instructions and starter identity are now files in defaults/ that get installed to data_dir by `poc-memory init`. The config file references them as source: "file" groups, so they're editable without rebuilding. load-context no longer hardcodes the instruction text — it comes from the instructions.md file in data_dir, which is just another context group. New user setup path: cargo install --path . poc-memory init # edit ~/.config/poc-memory/config.jsonl # start a Claude session Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
This commit is contained in:
parent
8bb3a554cf
commit
9bca1f94e3
4 changed files with 80 additions and 22 deletions
|
|
@ -13,7 +13,12 @@
|
|||
|
||||
// Context groups loaded at session start, in order.
|
||||
// source types: "store" (default), "file" (from data_dir), "journal"
|
||||
//
|
||||
// "instructions" is loaded first — tells the AI how to use the memory system.
|
||||
// "identity" comes next — who the AI is.
|
||||
// "journal" and "orientation" go last — most recent context.
|
||||
|
||||
{"group": "identity", "keys": ["identity.md"]}
|
||||
{"group": "journal", "source": "journal"}
|
||||
{"group": "orientation", "keys": ["where-am-i.md"], "source": "file"}
|
||||
{"group": "instructions", "keys": ["instructions.md"], "source": "file"}
|
||||
{"group": "identity", "keys": ["identity.md"]}
|
||||
{"group": "journal", "source": "journal"}
|
||||
{"group": "orientation", "keys": ["where-am-i.md"], "source": "file"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue