Skip to content

feat(installer): optional 6h memory consolidation cron + installer hardening#4

Open
mage0535 wants to merge 2 commits into
mainfrom
fix/issue-3-memory-consolidation-cron
Open

feat(installer): optional 6h memory consolidation cron + installer hardening#4
mage0535 wants to merge 2 commits into
mainfrom
fix/issue-3-memory-consolidation-cron

Conversation

@mage0535
Copy link
Copy Markdown
Owner

Summary

  • add optional Hermes cron (every 6h) for durable memory consolidation (issue Community Tips: Model-Switch Memory Consolidation + Periodic Cron Pattern #3 suggestion)
  • make cron setup idempotent by checking existing cron name before creating
  • support disabling this optional cron via ENABLE_MEMORY_CONSOLIDATION_CRON=0`n- fix installer/install.py skill source path from hardcoded /tmp/memory-repo/skills to repo-relative path
  • fix install_cli.sh to install CLI into stable user path and symlink from ~/.local/binn- remove eadlink -f dependency for skill/script discovery in install.shn

Why

Issue #3 proposes a belt-and-suspenders memory consolidation pattern (model-switch behavior + periodic cron). This PR implements the installer side safely as an optional post-install automation.

Notes

  • Python installer syntax validated via python -m py_compile installer/install.py.
  • Shell syntax lint via �ash -n was not runnable in this Windows environment (no bash binary in PATH).

Closes #3

- add optional Hermes cron (every 6h) for durable-memory consolidation
- make cron creation idempotent and disable-able via env var
- fix install.py skill source path to repo-relative path
- fix CLI install to stable path instead of /tmp symlink
- avoid readlink -f dependency in install.sh for better portability

Closes #3
- add optional 6h consolidation cron to scheduling docs
- document ENABLE_MEMORY_CONSOLIDATION_CRON toggle
- add v2.2.1 changelog entry in README and README_CN
- cross-reference issue #3 and PR #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Community Tips: Model-Switch Memory Consolidation + Periodic Cron Pattern

1 participant