Build decision index from workspace files.
Builds a searchable index of all decisions, patterns, and constraints from your workspace markdown files. Use this to create a knowledge base before querying or analyzing your decision history.
/plugin marketplace add enzokro/crinzo-plugins/plugin install ctx@crinzo-pluginsBuild decision index from workspace files. Extracts full structure.
ls workspace/*.md 2>/dev/null || echo "No workspace"
python3 "${CLAUDE_PLUGIN_ROOT}/lib/ctx.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
[001] initial-setup (complete)
[002] auth-refactor (complete)
[003] session-handling (complete)
...
.ctx/
├── index.json # Decision records + pattern index
├── edges.json # Derived relationships
└── signals.json # Outcome tracking