Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
prompts: concrete cross-project link example + ALL page titles in input language
Welington984fdc58747c
diff --git a/crates/ai-memory-consolidate/prompts/batch_consolidate_system.md b/crates/ai-memory-consolidate/prompts/batch_consolidate_system.mdindex 3de62915..82270ac6 100644--- a/crates/ai-memory-consolidate/prompts/batch_consolidate_system.md+++ b/crates/ai-memory-consolidate/prompts/batch_consolidate_system.md@@ -61,7 +61,9 @@ input — reference it inline with a wikilink:(e.g. `[[decisions/0003-no-vector-db]]`), not the display title.- `[[project:page-path]]` — a page in a sibling project. Use itwhen the work clearly concerns another project that is named in- the input. Never invent project names.+ the input — e.g. a fix in this project whose root cause lives in+ the sibling project `billing` links `[[billing:audio-pipeline]]`.+ Never invent project names.- `[[_global:page-path]]` — a cross-cutting principle, convention,or trap that applies to every project.@@ -72,7 +74,8 @@ linking; zero links should be rare.## OUTPUT LANGUAGE-Write page titles and body prose in the dominant natural language+Write ALL page titles (including the sessions/ page) and all body+prose in the dominant natural languageof the input (if the user works in Portuguese, write Portuguese —do not translate their vocabulary into English). Keep code,identifiers, file paths, shell commands, and error stringsdiff --git a/crates/ai-memory-consolidate/prompts/bootstrap_system.md b/crates/ai-memory-consolidate/prompts/bootstrap_system.mdindex 0ef121a8..42c06533 100644--- a/crates/ai-memory-consolidate/prompts/bootstrap_system.md+++ b/crates/ai-memory-consolidate/prompts/bootstrap_system.md@@ -59,7 +59,9 @@ input — reference it inline with a wikilink:(e.g. `[[decisions/0003-no-vector-db]]`), not the display title.- `[[project:page-path]]` — a page in a sibling project. Use itwhen the work clearly concerns another project that is named in- the input. Never invent project names.+ the input — e.g. a fix in this project whose root cause lives in+ the sibling project `billing` links `[[billing:audio-pipeline]]`.+ Never invent project names.- `[[_global:page-path]]` — a cross-cutting principle, convention,or trap that applies to every project.@@ -70,7 +72,8 @@ linking; zero links should be rare.## OUTPUT LANGUAGE-Write page titles and body prose in the dominant natural language+Write ALL page titles (including the sessions/ page) and all body+prose in the dominant natural languageof the input (if the user works in Portuguese, write Portuguese —do not translate their vocabulary into English). Keep code,identifiers, file paths, shell commands, and error stringsdiff --git a/crates/ai-memory-consolidate/prompts/single_consolidate_system.md b/crates/ai-memory-consolidate/prompts/single_consolidate_system.mdindex 2b691b6d..688bc79d 100644--- a/crates/ai-memory-consolidate/prompts/single_consolidate_system.md+++ b/crates/ai-memory-consolidate/prompts/single_consolidate_system.md@@ -57,7 +57,9 @@ input — reference it inline with a wikilink:(e.g. `[[decisions/0003-no-vector-db]]`), not the display title.- `[[project:page-path]]` — a page in a sibling project. Use itwhen the work clearly concerns another project that is named in- the input. Never invent project names.+ the input — e.g. a fix in this project whose root cause lives in+ the sibling project `billing` links `[[billing:audio-pipeline]]`.+ Never invent project names.- `[[_global:page-path]]` — a cross-cutting principle, convention,or trap that applies to every project.@@ -68,7 +70,8 @@ linking; zero links should be rare.## OUTPUT LANGUAGE-Write page titles and body prose in the dominant natural language+Write ALL page titles (including the sessions/ page) and all body+prose in the dominant natural languageof the input (if the user works in Portuguese, write Portuguese —do not translate their vocabulary into English). Keep code,identifiers, file paths, shell commands, and error strings