You're offline — showing cached data

Rebuild vault.db index (per-machine local build)

vault-index
2026-06-13 07:18:26 SAST
← Back to Tasks

OVERRIDES runtime profile: uses direct_shell because this task is a deterministic git pull plus local index/embed rebuild and does not invoke Claude/Codex or any LLM API.

Phase E.7 (2026-05-02): Per-machine local build. SecondBrain markdown is the canonical source (git-synced). Each machine builds its own vault.db locally from the same MD files. Luci runs this task at 03:00 UTC nightly. Mac runs an equivalent LaunchAgent on its own schedule. Schema is pinned via PRAGMA user_version=3 and SCHEMA_VERSION=3 in index.py; mismatched DBs abort with explicit error. No cross-machine writes — each machine owns its own local DB file (gitignored at Vault/vault.db).

Pulls latest MD before rebuild so this run sees the freshest sources.

Daily at 03:000 3 * * *
Yes
shell
600s
Yes
in 20h (2026-06-14 03:00)

Task Definition

tasks/vault-index.md
shell
set
No
No
flock -n /tmp/vault-index.lock bash -c 'cd /home/lucienne/workspace/PKA && git pull --ff-only --quiet && python3 index.py --rebuild && python3 scripts/embed_memories.py --max-rss-mb 2000' || echo vault-index: another rebuild already in progress, skipping

Edit Schedule

Result:
8
Runs (7d)
8
Completed
0
Failed
0
Timeout
100%
Success (7d)
11s
Avg Duration
infrastructure vault index e7

Run History (8)

StartedFinishedStatusDurationOutputLog
4h ago 4h ago completed 11s
vault-index: another rebuild already in progress, skipping
View log
1d ago 1d ago completed 17s
vault-index: another rebuild already in progress, skipping
View log
2d ago 2d ago completed 11s
vault-index: another rebuild already in progress, skipping
View log
3d ago 3d ago completed 16s
vault-index: another rebuild already in progress, skipping
View log
4d ago 4d ago completed 0s
vault-index: another rebuild already in progress, skipping
View log
5d ago 5d ago completed 7s
862 files need (re)embedding across scopes: ['Vault/memory/', 'SecondBrain/', '~/.claude/vault/'] 20/862 rss=49MB 4 ...
View log
6d ago 6d ago completed 7s
862 files need (re)embedding across scopes: ['Vault/memory/', 'SecondBrain/', '~/.claude/vault/'] 20/862 rss=49MB 4 ...
View log
7d ago 7d ago completed 17s
862 files need (re)embedding across scopes: ['Vault/memory/', 'SecondBrain/', '~/.claude/vault/'] 20/862 rss=49MB 4 ...
View log

Comments (0)

No comments yet — add instructions for Luci
Help