Commit ed2fba3
committed
fix(cli): pin resolveWorktrees=true for claude-code installs
The hindsight-memory plugin gained a `resolveWorktrees` flag in
hindsight#1520 — when true, the `project` field used in dynamic bank
derivation is the main repo basename instead of the cwd basename, so
all git worktrees of a repo share a single SDA bank instead of
fragmenting memory across one bank per worktree.
The plugin already defaults the flag to `true`, but pin it explicitly
in the SDA-written config so a future plugin default flip can't
silently re-fragment an SDA user's memory. Matches the pattern of
how SDA already pins `dynamicBankId`, `dynamicBankGranularity`, and
`enableKnowledgeTools`.
Test mirror updated + a regression test covering both fresh and
explicit-false-overridden cases.1 parent df0f73b commit ed2fba3
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1096 | 1101 | | |
1097 | 1102 | | |
1098 | 1103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
836 | 839 | | |
837 | 840 | | |
838 | 841 | | |
| |||
873 | 876 | | |
874 | 877 | | |
875 | 878 | | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
876 | 891 | | |
0 commit comments