mantis-structural-index - Build a Structural Code Index
Builds a content-addressed semantic-unit index from source code to provide structural cross-reference data for code research.
Tags
Updated: 2026-11-28Capabilities
Typical Inputs
What this skill does
- Build semantic-unit indexes
- Select partition backends
- Extract symbols and calls
- Find symbol callers
- Find function boundaries
- Reuse cached units
Inputs
- Source files under CODE_ROOT
- SNAPSHOT_ID
- Snapshot root
- State root
- Existing index manifest
- Cached semantic units
- Native index attachments
Outputs
- Structural index manifest
- SQLite catalog
- Content-addressed unit files
- Partitioned serving data
- Native index attachments
- Compatibility JSONL export
- Builder helper script
- Query helper script
- Caller query results
- Function-boundary query results
Requirements
- Readable source files under CODE_ROOT
- Read access to source and state files
- Write access to state-relative workspace paths
