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
{{ message }}
Repository navigation
Commit 2efba85
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ To configure detected agent assets without replacing an externally managed binar
162
162
codebase-memory-cli install --skip-binary
163
163
```
164
164
165
-
Use `install --plan` to inspect asset writes and `install-hooks --plan` to inspect hook writes before applying either surface. `--clients=<list>` is supported independently by both commands.
165
+
Use `install --plan` to inspect asset writes and `install-hooks --plan` to inspect hook writes before applying either surface. `--clients=<list>` is supported independently by both commands.`install --no-hooks` removes CLI-owned hooks and stores the opt-out (`config get install_hooks`); later `install`, `update`, and `install-hooks` honour it until `install --hooks` clears it.
Copy file name to clipboardExpand all lines: docs/CONFIGURATION.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
@@ -81,6 +81,7 @@ codebase-memory-cli config set watcher_enabled false
81
81
codebase-memory-cli config set ignore_worktrees true
82
82
codebase-memory-cli config set doc_candidates false
83
83
codebase-memory-cli config reset doc_candidates
84
+
codebase-memory-cli config get install_hooks
84
85
```
85
86
86
87
`doc_candidates` is `auto` by default: unset, the index mode decides. A single
@@ -103,6 +104,9 @@ Current keys:
103
104
|`index_max_source_mb`|`off`| Optional maximum accepted source size in MiB in one discovery run. |
104
105
|`index_max_rss_mb`|`off`| Optional maximum charged memory in MiB for the complete contained index-worker process tree (`64..1048576`). On macOS this is phys_footprint, not resident size. |
105
106
|`index_max_duration_seconds`|`off`| Optional maximum wall-clock duration in seconds for the whole index request, including crash/hang recovery (`1..86400`). Like `index_max_rss_mb`, it stops a worker only before it starts to publish the new index; see [INDEX_RESOURCE_LIMITS.md](INDEX_RESOURCE_LIMITS.md). |
107
+
|`install_hooks`|`true`| Whether CLI-owned client hooks may be installed. `install --no-hooks` removes CLI-owned hooks and persists `false`; `install --hooks` restores `true`. |
108
+
109
+
While `install_hooks` is `false`, `install`, `update`, and `install-hooks` leave CLI-owned hooks off (`install` and `update` re-remove them); user-owned hook entries are never touched. `install --hooks` only clears the opt-out; run `install-hooks` afterwards to add hooks. Skills and instructions are unaffected.
106
110
107
111
> **`watcher_enabled` vs `auto_watch`.**`watcher_enabled` controls whether the
108
112
> retained watcher subsystem starts at all. `auto_watch` is narrower: it controls
0 commit comments