M5.3: scope memory
A project's notes have their own folder, memory/nisse-dev/projects/<project>/, with its own index; remember and forget take scope (general, or project: always the current item's own, so no item writes another project's notes, and a conversation has none). At an item's start the transcript gets the general index and its project's, never another's. Index links are pages from the vault's root, as SilverBullet names them. The closing pass's memory_done can name repository documents the item left out of date; the harness says so in the thread and records it. The prompt: the repository is the authority, and a note that disagrees is corrected. With the operator: ARCHITECTURE.md isn't put into every item's context (its size); the infrastructure world model waits for nisse-ops. The walk writes project notes and checks they come only from that project's items. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
This commit is contained in:
1 parent
427278ac80
commit
fe4548459f
8 files changed
+301
-66
No files matched your search
@@ -117,18 +117,23 @@ REMEMBER = _tool(
|
||||
description="One line saying what the note is, for your memory's index.",
|
||||
fact="The fact and why it matters; for something the operator said, who "
|
||||
"said it and its gist.",
|
||||
scope="general, or project for a note about this work item's project "
|
||||
"(kept with that project's notes).",
|
||||
)
|
||||
FORGET = _tool(
|
||||
"forget",
|
||||
"Forget a note of yours that is wrong or superseded.",
|
||||
name="The note's name.",
|
||||
why="Why it's no longer true or needed.",
|
||||
scope="general or project, as it was remembered.",
|
||||
)
|
||||
MEMORY_TOOLS = [REMEMBER, FORGET]
|
||||
MEMORY_DONE = _tool(
|
||||
"memory_done",
|
||||
"You've recorded what will matter later: end the pass.",
|
||||
summary="What you remembered or forgot, in a line.",
|
||||
docs="Documents in the repository this item left out of date (like "
|
||||
"ARCHITECTURE.md), and how; empty if none.",
|
||||
)
|
||||
|
||||
# A conversation's tools (L1, L5): it talks, and may propose work.
|
||||
|
||||
Reference in new issue
Block a user