Workspace Health
Invariant check: git, structure, soak rules, paths.
09:00 daily
Checks
26 invariants including: git clean, nested repo isolation, runtime state gitignored, LaunchAgent exit codes, cron log freshness, Telegram reachability.
Cost Dashboard
Daily quota usage across all LLM crons. Posts to Telegram.
22:00 daily
Why it matters
All 25+ agents share one Claude Max subscription. One quota blowout breaks all downstream agents until reset. Circuit breaker.
Log Alerter
Scans cron logs for FAIL signatures. Fires Telegram on first match.
every 15 min
Pattern
Reads _tools/scripts/.logs/*.log for lines containing FAIL. One alert per failure window. Stops noise on repeat failures.
Semantic Lint
LLM pass over workspace for drift, stale rules, broken refs.
1st Sun/month
Scope
Checks MEMORY.md shards, CLAUDE.md, rule files, skill definitions for internal contradictions and rot.
Skill Audit
Reviews Claude skill definitions for staleness.
Sun 08:00
Checks
47 skills in _context/skills/. Flags trigger conditions that no longer match real usage patterns.
Memory Drift
Weekly MEMORY.md re-bloat check.
Sun 21:00
Rule
MEMORY.md hard limit: 200 lines. Drift check catches entries that should graduate to topic shards per aging policy.
Weekly Actions
Sunday action doc: open commitments, new items, auto-closures from completion signals.
Sun 10:00 CEST
→ trace flow
Pipeline
Scans Obsidian Keystone/ (incl. Captures/ from Telegram). Detects completion signals. Auto-closes matched open items. Output: _work/actions/YYYY-MM-DD-week-actions.md
Open Loops
Monthly count of unresolved TODOs across topic shards.
1st of month
Source
Scans all _index_*.md files for TODOs and "open:" markers. Reports count per shard.
Scratch Retention
Per-folder sweep of _scratch/. Marks delivered files.
Sun 23:00
TTL rules
ideas/: 30d. playground/: 14d. dogfood/: 7d after report. granola/: 90d. Default DRY_RUN=1, must flip to actually delete.
Auto-Sync
Nightly backup commit across all workspace repos.
22:00 daily
Safety
mkdir mutex to prevent race with SessionEnd hook. EDEADLK guard added May 5. Gitignores: .state/, .locks/.
Zombie Scripts
Quarterly scan for cron scripts untouched 90+ days.
quarterly
Action
Reports scripts to decommission. Does not delete. Requires manual confirmation before removal.
Single quota pool: All agents share one Claude Max subscription. Cost dashboard at 22:00 is the circuit breaker. One blowout blocks all downstream until reset.