You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hindsight-integrations/claude-code/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,6 +227,10 @@ Auto-recall runs on every user prompt. It queries Hindsight for relevant memorie
227
227
|`recallContextTurns`|`HINDSIGHT_RECALL_CONTEXT_TURNS`|`1`| How many prior conversation turns to include when composing the recall query. `1` = only the latest user message; higher values give more context but may dilute the query. |
228
228
|`recallMaxQueryChars`|`HINDSIGHT_RECALL_MAX_QUERY_CHARS`|`800`| Maximum character length of the query sent to Hindsight. Longer queries are truncated. |
229
229
|`recallRoles`| — |`["user", "assistant"]`| Which message roles to include when building the recall query from prior turns. |
230
+
|`recallTags`|`HINDSIGHT_RECALL_TAGS`|`[]`| Optional tags to pass to the recall API, such as `["memory_type:rule"]`. The env var accepts JSON or a comma-separated list. |
231
+
|`recallTagsMatch`|`HINDSIGHT_RECALL_TAGS_MATCH`|`"any"`| Tag matching mode used with `recallTags` or `recallTagGroups`: `"any"`, `"all"`, `"any_strict"`, or `"all_strict"`. |
232
+
|`recallTagGroups`|`HINDSIGHT_RECALL_TAG_GROUPS`|`null`| Optional compound tag filter passed through to the recall API. The env var must be JSON. |
233
+
|`recallAdditionalBankFilters`|`HINDSIGHT_RECALL_ADDITIONAL_BANK_FILTERS`|`{}`| Optional per-bank tag filter overrides for banks listed in `recallAdditionalBanks`, keyed by bank ID. Each value may set `recallTags`, `recallTagsMatch`, and `recallTagGroups`. The env var must be JSON. |
230
234
|`recallPromptPreamble`| — | built-in string | Text placed above the recalled memories in the injected context block. Customize this to change how Claude interprets the memories. |
Copy file name to clipboardExpand all lines: hindsight-integrations/claude-code/settings.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@
12
12
"recallContextTurns": 1,
13
13
"recallMaxQueryChars": 800,
14
14
"recallRoles": ["user", "assistant"],
15
+
"recallTags": [],
16
+
"recallTagsMatch": "any",
17
+
"recallTagGroups": null,
18
+
"recallAdditionalBankFilters": {},
15
19
"recallPromptPreamble": "Relevant memories from past conversations (prioritize recent when conflicting). Only use memories that are directly useful to continue this conversation; ignore the rest:",
0 commit comments