Skip to content

Index Rebuild

Incrementally (re)build the consolidated index (work_buddy/index/) into its separate db. Flag-gated — a no-op while index.enabled is false; when enabled it refreshes the named partition (e.g. 'knowledge'), or all partitions when none is given (one-shot full rebuilds only — recurring freshness uses one per-partition job each, e.g. index-knowledge-refresh). Pass a partition for the per-partition sidecar jobs (it self-skips while any index build is running — the partitions share one single-writer db, so builds serialize on a db-wide writer gate); omit it only for a deliberate dashboard/manual full rebuild.

MCP name: index_rebuild

Category: context

Parameters

Name Type Required Description
force bool No Rebuild from scratch (default False = incremental, content-hash diff)
partition str No Partition to (re)build (e.g. 'knowledge'); omit to build all partitions