index
Create or refresh the repo-local .scplus state. Writes project config, context snapshot, and file identifiers into a durable sqlite database for code analysis.
Instructions
Create or refresh the .scplus project state for this repo. Builds the repo-local scplus layout, writes project config plus a context-tree snapshot into the durable sqlite substrate at .scplus/state/index.sqlite, persists stage state, indexing status, embedding caches, restore points, and file/identifier indexes there, and in full mode also persists chunk and code-structure artifacts with explicit contract metadata and no JSON mirrors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Indexing mode. Defaults to full and persists derived chunk and code-structure artifacts. |