executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
index-updates-and-servingMutate existing ColBERT indexes with IndexUpdater, persist index changes safely, coalesce updated artifacts, and expose a lightweight search API without import-time side effects.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to add passages to an existing ColBERT index, remove passage IDs, decide whether changes survive Searcher reloads, persist IndexUpdater changes to disk, coalesce multi-chunk index artifacts, or serve an existing index through a small JSON search API.
references/api-reference.md.references/index-update-workflows.md./api/search response shape, lazy Searcher creation, and k <= 100 behavior, read references/serving-api.md.references/troubleshooting.md.--help time, adapt scripts/index_update_template.py.scripts/serve_search_api.py.IndexUpdater(config, searcher, checkpoint=None), Searcher(...) reload behavior, index artifact mutation, persist_to_disk(), coalesced index directories, and lightweight HTTP serving.search_all, ranking save, and general search tuning in ../indexing-and-search/.../data-and-evaluation/.../modeling-and-tokenization/ and ../training-and-distillation/.Searcher(index=..., checkpoint=..., collection=..., config=..., index_root=...) and create IndexUpdater(config, searcher, checkpoint=...) when adding passages.remove([pid, ...]) for in-memory removal; use add([passage, ...]) for in-memory append; call persist_to_disk() only after backing up or writing to a disposable copy of the index.Searcher after persist_to_disk() to prove changes survived disk mutation; without persistence, changes affect only the current Searcher instance.scripts/serve_search_api.py with explicit --index-name and either --index-root or a compatible ColBERT config; do not create a Searcher at module import time.colbert-ai 0.2.22; import package: colbert.colbert, colbert.infra, colbert.data, colbert.modeling.checkpoint, utility, and baleen.Indexer(checkpoint, config=None, verbose=3), Searcher(index, checkpoint=None, collection=None, config=None, index_root=None, verbose=3), IndexUpdater(config, searcher, checkpoint=None), Collection(path=None, data=None), Queries(path=None, data=None), and Ranking(path=None, data=None, metrics=None, provenance=None).