You're offline — showing cached data

Monthly memory hygiene audit

memory-audit-monthly
2026-06-13 06:10:48 SAST
← Back to Tasks

OVERRIDES runtime profile: uses direct_python (plain Python, no model) because the command chain never invokes the claude CLI or any LLM API — pure-infra task; scheduler provider env injection is a no-op (MC-4942 U12 sweep).

First of each month, 07:00 SAST. Read-only structural audit of Luci's auto-memory store (~/.claude/projects/-home-lucienne-workspace/memory/).

Detects: orphan files (not in MEMORY.md index), dead index links, dead wikilinks, invalid frontmatter types, stale snapshot memories (>90d).

memory_audit.py exits 0 when clean and non-zero (issue-category count) when it finds problems — the || branch fires a Telegram report only on findings. Clean runs are silent. The audit does NOT auto-fix; Luci triages the report (conservative-retirement rule — present, don't cut).

runtime_profile: claude_glm is nominal — the command is pure Python with no claude/API invocation, matching the sibling memory-backup task.

1st of month at 07:000 7 1 * *
Yes
shell
60s
No
in 18d (2026-07-01 07:00)

Task Definition

tasks/memory-audit-monthly.md
shell
set
No
No
python3 /home/lucienne/workspace/scripts/memory_audit.py > /tmp/memaudit.txt 2>&1 || python3 /home/lucienne/workspace/scripts/notify.py "Memory hygiene audit found issues — triage needed:" "$(cat /tmp/memaudit.txt)"

Edit Schedule

Result:
1
Runs (7d)
1
Completed
0
Failed
0
Timeout
100%
Success (7d)
0s
Avg Duration
memory maintenance

Run History (1)

StartedFinishedStatusDurationOutputLog
4d ago 4d ago completed 0s
Telegram send failed: HTTP Error 400: Bad Request Sent
View log

Comments (0)

No comments yet — add instructions for Luci
Help