Build decision index from workspace files.
Extracts decisions and patterns from workspace files, building a searchable index with relationships and optional semantic embeddings for context-aware development.
/plugin marketplace add enzokro/crinzo-plugins/plugin install lattice@crinzo-pluginsBuild decision index from workspace files. Extracts full structure.
ls workspace/*.md 2>/dev/null || echo "No workspace"
source ~/.config/ftl/paths.sh 2>/dev/null; python3 "$LATTICE_LIB/context_graph.py" mine
| Field | Source |
|---|---|
| Path | Path: line in Anchor section |
| Delta | Delta: line in Anchor section |
| Traces | ## Thinking Traces section |
| Delivered | ## Delivered section |
| Tags | #pattern/, #constraint/, #decision/, etc. |
| Relationship | Source |
|---|---|
decision → parent | _from-NNN suffix |
pattern → decisions | Inverse of tags |
file → decisions | Parsed from Delta |
Indexed 12 decisions, 8 patterns from workspace
Embedded 12 decisions
[001] initial-setup (complete)
[002] auth-refactor (complete)
[003] session-handling (complete)
...
If sentence-transformers is not installed:
(Embeddings disabled - install sentence-transformers)
.lattice/
├── index.json # Decision records + pattern index
├── edges.json # Derived relationships
├── signals.json # Outcome tracking
└── vectors/ # Semantic embeddings (v2)
├── decisions.npz # Decision vectors
└── meta.json # Embedding metadata