aboutsummaryrefslogtreecommitdiffstats
path: root/bin/memory-status.sh
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): split wrappers from implementationsThomas Vanbesien8 days1-1/+1
| | | | | | | | | | | | | Move the hook wrappers out of bin/ into hooks/, and name every registered hook with a .hook.sh suffix. bin/ keeps only the standalone installer and the by-hand utilities (memory-status.sh, managed-files.sh) that those wrappers now resolve as their implementations. Coalesce the eight per-language formatter hooks into a single format.hook.sh that dispatches on file type with a case, so no file is ever run through more than one formatter. Update settings.json, .claude/settings.json, and .gitignore to match.
* feat: remove auto-memory wiringThomas Vanbesien8 days1-77/+13
| | | | | | | | | Drop the user-level Setup hook that pointed each project's automemory at its own .claude/memory/, the tracked memory entries, and the autoMemoryDirectory settings. Strip the automemory stats, counts, and warnings from the SessionStart memory-status report, leaving the CLAUDE.md rows. Auto-memory is now disabled via CLAUDE_CODE_DISABLE_AUTO_MEMORY in the environment.
* feat: point per-project automemory at the repo's own .claude/Thomas Vanbesien11 days1-4/+23
| | | | | | | | | | Add a user-level Setup hook (bin/auto-memory-dir.hook.sh) that sets autoMemoryDirectory to "$CLAUDE_PROJECT_DIR/.claude/memory/" in each project's .claude/settings.json, so automemory lives with the repo instead of under the shared projects/<encoded-cwd>/ default. Extend memory-status.sh to resolve the automemory dir from that setting (when present) and to warn when a project has not opted in.
* refactor: split SessionStart hook into memory-status util + wrapperThomas Vanbesien11 days1-0/+100
Mirror the managed-files.{sh,hook.sh} convention: move the stats logic out of hooks/session-start.sh into a standalone bin/memory-status.sh (runnable by hand, takes cwd as $1), and add a thin bin/session-start.hook.sh wrapper that does the stdin/JSON plumbing. Behavior change: omit the 'Automemory entries' row when MEMORY.md is missing, rather than showing a 0 count.