fix: add install record for provenance tracking

post-install.sh now writes plugins.installs with source:"path" so
OpenClaw recognizes the plugin origin. Eliminates both the allow-list
and provenance warnings on fresh install. Script is now fully
idempotent — always refreshes allow/installs/entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 13:59:26 +10:00
co-authored by Claude Opus 4.6
parent 7d7e0e7bdb
commit 86d820af81
2 changed files with 13 additions and 18 deletions
+3 -2
View File
@@ -60,8 +60,9 @@ bash scripts/post-install.sh
The installer will:
1. Copy the plugin to `~/.openclaw/extensions/memory-continuity/`
2. Add the plugin entry to `~/.openclaw/openclaw.json`
3. Add `memory-continuity` to `plugins.allow` (trust list — eliminates provenance warnings)
4. Restart the gateway
3. Add `memory-continuity` to `plugins.allow` (trust list)
4. Add install record to `plugins.installs` (provenance tracking)
5. Restart the gateway
No npm install, no API keys, no external database.