@@ -101,7 +101,7 @@ Create a config file at `~/.config/opencode/graphiti.jsonc`:
101101 // Graphiti MCP server endpoint
102102 " endpoint" : " http://localhost:8000/mcp" ,
103103
104- // Prefix for project group IDs (e.g. "opencode_my -project")
104+ // Prefix for project group IDs (e.g. "opencode-my -project")
105105 " groupIdPrefix" : " opencode" ,
106106
107107 // Number of user messages between memory re-injections (0 = disabled)
@@ -118,8 +118,12 @@ values.
118118
119119On the first user message in a session, the plugin searches Graphiti for facts
120120and entities relevant to the message content. Results are split into project and
121- user scopes (70% / 30% budget split), formatted, and prepended to the
122- conversation as a synthetic context block.
121+ user scopes (70% / 30% budget split), formatted in XML-style ` <memory> ` blocks
122+ with explicit de-emphasis instructions, and injected into the conversation.
123+
124+ Memory is injected via ` output.message.system ` (system-level instruction) when
125+ available, which prevents memory from influencing session titles. If the system
126+ field is unavailable, the plugin falls back to prepending synthetic parts.
123127
124128The injection budget is calculated dynamically: 5% of the model's context limit
125129(resolved from the provider list) multiplied by 4 characters per token.
@@ -167,21 +171,10 @@ Each project gets a unique `group_id` derived from its directory name (e.g.
167171underscores (colons are not allowed). This ensures memories from different
168172projects stay isolated.
169173
170- ## Development
171-
172- ``` bash
173- # Format
174- deno fmt
175-
176- # Lint
177- deno lint
174+ ## Contributing
178175
179- # Type check
180- deno check src/index.ts
181-
182- # Build
183- deno task build
184- ```
176+ See [ CONTRIBUTING.md] ( CONTRIBUTING.md ) for development setup and release
177+ process.
185178
186179## License
187180
0 commit comments