forked from jason/echo
1.2 KiB
1.2 KiB
description, allowed-tools
| description | allowed-tools |
|---|---|
| Run the ECHO vault-health linter and summarize any invariant violations | Bash(python3 *vault_lint.py*), Bash(python *vault_lint.py*), Bash(ls /sessions/*), Bash(dirname *) |
Run the bundled, read-only vault linter and report findings. Pass the conversation's current date (ECHO_TODAY) so stale/aging math uses the same clock the agent writes with:
SDIR="${CLAUDE_PLUGIN_ROOT}/skills/echo-memory/scripts"
[ -d "$SDIR" ] || SDIR=$(dirname "$(ls /sessions/*/mnt/.remote-plugins/*/skills/echo-memory/scripts/vault_lint.py 2>/dev/null | head -1)") # CoWork sandbox fallback
ECHO_TODAY=<currentDate> python3 "$SDIR/vault_lint.py"
# Windows: use `python` or `py -3` if `python3` is not on PATH.
Exit codes: 0 clean · 1 violations (printed, grouped by check) · 2 vault unreachable · 3 vault not bootstrapped (run bootstrap.py).
Summarize the violations grouped by category and propose fixes, but do not auto-fix without the operator's go-ahead. If this is the first substantive session of a calendar month, offer to write the findings to _agent/health/YYYY-MM-vault-health.md (per the skill's Vault Health section).