mempalace/website/guide
Igor Lins e Silva 868b4c9b39 fix(hooks): portable mtime in macOS hook throttles; doc cleanup
Address review feedback surfaced on the 3.4.1 release promotion (#1810).

Bug fix — `date -r FILE` is GNU-only. On BSD/macOS `date -r` expects
epoch seconds, not a path, so the staleness/throttle checks in the new
Cursor and Antigravity hooks silently failed on macOS: the state GC
swept on every fire and the pending-save guard was skipped. Replace
with a portable `os.path.getmtime` one-liner via the already-resolved
$MEMPAL_PYTHON_BIN (cursor/lib, antigravity/lib, antigravity save hook).
This restores the "bash 3.2.57 / macOS default" compatibility the
Antigravity changelog claims.

Docs:
- Correct the MCP tool count to 33 (was 19/29/31 in 21 places across
  plugin manifests, READMEs, and website docs — all drifted from the
  TOOLS dict / mcp-tools.md reference, which both have 33).
- Fix broken CHANGELOG link to the Cursor skill (skills/, not
  .cursor-plugin/skills/).
- Fix one-too-many `../` in skills/mempalace/SKILL.md's cursor-hooks
  link (resolved above the repo root).
- Add the required `mcpServers` wrapper to the mcp.json example in
  .cursor-plugin/README.md so copy-paste yields a valid Cursor config.

Left intentionally unchanged: the os.dup2 fd-1 redirect in
mcp_server.py is deliberate (#225 keeps JSON-RPC off fd 1).
2026-06-14 19:54:16 -03:00
..
antigravity.md fix(antigravity): resolve interpreter from console-script shebang 2026-05-31 10:41:09 +10:00
claude-code-retention.md docs: add Claude Code retention setup checklist 2026-05-08 13:05:34 -07:00
claude-code.md fix(hooks): portable mtime in macOS hook throttles; doc cleanup 2026-06-14 19:54:16 -03:00
configuration.md fix(backups): add max_backups retention to bound backup disk usage 2026-06-05 14:52:06 -04:00
cursor-hooks.md feat: add mempalace-recall skill and optional Cursor recall rule 2026-06-10 15:40:35 +10:00
gemini-cli.md docs(install): recommend uv as the package manager 2026-05-08 01:38:00 -03:00
getting-started.md docs: make Codex MCP setup discoverable 2026-05-10 17:06:36 +04:00
hooks.md docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
local-models.md docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
mcp-integration.md fix(hooks): portable mtime in macOS hook throttles; doc cleanup 2026-06-14 19:54:16 -03:00
mining.md docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
openclaw.md fix(hooks): portable mtime in macOS hook throttles; doc cleanup 2026-06-14 19:54:16 -03:00
searching.md docs(website): align mempalaceofficial.com with honest benchmarks 2026-04-14 21:37:45 -03:00