wicked-brain 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-brain",
3
- "version": "0.17.0",
3
+ "version": "0.17.2",
4
4
  "type": "module",
5
5
  "description": "Digital brain as skills for AI coding CLIs — no vector DB, no embeddings, no infrastructure",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-brain-server",
3
- "version": "0.17.0",
3
+ "version": "0.17.2",
4
4
  "type": "module",
5
5
  "description": "SQLite FTS5 search server for wicked-brain digital knowledge bases",
6
6
  "keywords": [
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:agent
2
+ name: wicked-brain-agent
3
3
  description: |
4
4
  This skill should be used when the user says "list brain agents",
5
5
  "dispatch the consolidation agent", "run brain context assembly",
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:batch
2
+ name: wicked-brain-batch
3
3
  description: |
4
4
  Pattern for batch operations that would otherwise fill context with repetitive
5
5
  tool calls. Detects the available runtime (Node, Python, shell), writes a
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:compile
2
+ name: wicked-brain-compile
3
3
  description: |
4
4
  Synthesize wiki articles from brain chunks. Dispatches a compile subagent
5
5
  that identifies concept clusters in chunks and writes structured wiki
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:configure
2
+ name: wicked-brain-configure
3
3
  description: |
4
4
  This skill should be used when the user says "configure brain CLI",
5
5
  "update CLAUDE.md from brain", "write brain orientation", or
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:confirm
2
+ name: wicked-brain-confirm
3
3
  description: |
4
4
  Confirm or contradict a brain link, adjusting its confidence score.
5
5
  Increases confidence when a link is confirmed by evidence, decreases it
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:dlq
2
+ name: wicked-brain-dlq
3
3
  description: |
4
4
  Inspect, replay, or drop dead-lettered events from wicked-brain's bus
5
5
  subscriber. The auto-memorize subscriber consumes `wicked.fact.extracted`
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:enhance
2
+ name: wicked-brain-enhance
3
3
  description: |
4
4
  Fill gaps in brain knowledge. Dispatches an enhance subagent that identifies
5
5
  thin areas and writes inferred chunks to expand coverage.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:forget
2
+ name: wicked-brain-forget
3
3
  description: |
4
4
  Archive or delete a memory (or any indexed document) by id or path.
5
5
  Removes the document from the FTS index and renames the file with an
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:graph
2
+ name: wicked-brain-graph
3
3
  description: |
4
4
  Code-relationship graph queries — blast radius, callers, and lineage — backed
5
5
  by a codegraph static graph the brain owns. Answers "what breaks if I change X",
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:ingest
2
+ name: wicked-brain-ingest
3
3
  description: |
4
4
  Ingest source files into the brain as structured chunks. Handles text files
5
5
  (md, txt, csv, html) deterministically and binary files (pdf, docx, pptx,
@@ -134,11 +134,17 @@ from the path you are already taking:
134
134
  - `llm-vision` — the BINARY path above (content extracted by the model viewing
135
135
  the document/image).
136
136
 
137
- Use one of the controlled values: `deterministic-parse`, `llm-vision`,
138
- `llm-synthesis` (model-generated/inferred content), or `manual` (hand-authored).
139
- The value is plain frontmatter — it is stored and returned verbatim by the
140
- server with no schema migration. If omitted, downstream lint treats the chunk
141
- as `method: unknown`; prefer to set it explicitly.
137
+ Use one of the shared controlled values (the same vocabulary across
138
+ `wicked-brain:ingest`, `wicked-brain:memory`, and `wicked-brain:lint`):
139
+ `deterministic-parse`, `llm-vision`, `llm-synthesis`, `session-capture`,
140
+ `manual`, `unknown`. For ingested chunks you will almost always use
141
+ `deterministic-parse` (text) or `llm-vision` (binary); `llm-synthesis` covers
142
+ model-generated/inferred content and `manual` covers hand-authored content.
143
+ `session-capture` applies to memories (see `wicked-brain:memory`), and `unknown`
144
+ is the lint-applied fallback for content written before this field existed. The
145
+ value is plain frontmatter — it is stored and returned verbatim by the server
146
+ with no schema migration. If omitted, downstream lint stamps the chunk as
147
+ `method: unknown`; prefer to set it explicitly.
142
148
 
143
149
  ## Tag Expansion
144
150
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:init
2
+ name: wicked-brain-init
3
3
  description: |
4
4
  Initialize a new digital brain. Creates the directory structure, brain.json,
5
5
  and config. Auto-triggered on first use of any brain skill when no config exists.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:lint
2
+ name: wicked-brain-lint
3
3
  description: |
4
4
  Check brain health and fix issues. Dispatches a lint subagent that runs
5
5
  deterministic checks (broken links, orphans, stale entries) and semantic
@@ -82,15 +82,18 @@ For each wiki article with source_hashes in frontmatter:
82
82
  ### Missing frontmatter
83
83
  Check each chunk has required frontmatter fields (source, chunk_id, confidence, indexed_at).
84
84
 
85
- Also check the **provenance** field `method` (how the chunk/memory was obtained:
86
- `deterministic-parse`, `llm-vision`, `llm-synthesis`, `manual`, or
87
- `session-capture` for memories). `method` is **optional** it was added after
88
- some content was written, so a chunk/memory without it is still valid. When it
89
- is missing, auto-fix by stamping `method: unknown` and report the fix as `info`
90
- severity, type `missing_field` (do NOT raise it to a warning/error — that would
91
- invalidate pre-existing content). Surfacing `method: unknown` lets a reviewer
92
- distinguish facts with known provenance from those whose origin was never
93
- recorded.
85
+ Also check the **provenance** field `method` (how the chunk/memory was
86
+ obtained). The shared controlled vocabulary — the same set documented by
87
+ `wicked-brain:ingest` and `wicked-brain:memory` — is: `deterministic-parse`,
88
+ `llm-vision`, `llm-synthesis`, `session-capture`, `manual`, `unknown`. In
89
+ practice `deterministic-parse`/`llm-vision` come from ingested chunks,
90
+ `session-capture` from memories, and `llm-synthesis`/`manual` from either.
91
+ `method` is **optional** — it was added after some content was written, so a
92
+ chunk/memory without it is still valid. When it is missing, auto-fix by
93
+ stamping `method: unknown` and report the fix as `info` severity, type
94
+ `missing_field` (do NOT raise it to a warning/error — that would invalidate
95
+ pre-existing content). Surfacing `method: unknown` lets a reviewer distinguish
96
+ facts with known provenance from those whose origin was never recorded.
94
97
 
95
98
  Lightweight provenance check (the "no source ⇒ assumption" rule): if a chunk has
96
99
  no `source`/`source_path` and its `method` is not one of the inferred kinds
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:lsp
2
+ name: wicked-brain-lsp
3
3
  description: |
4
4
  Universal code intelligence via LSP. Queries language servers for definitions,
5
5
  references, symbols, call hierarchies, hover info, and diagnostics. Auto-installs
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:memory
2
+ name: wicked-brain-memory
3
3
  description: |
4
4
  Store and recall experiential learnings (decisions, patterns, preferences,
5
5
  gotchas, discoveries) in the brain's memory system.
@@ -129,9 +129,17 @@ chunks. Set it from how the memory came to be:
129
129
  - `manual` — explicitly stated by the user ("we decided X", interview-style).
130
130
  - `llm-synthesis` — inferred/derived by the agent rather than directly observed.
131
131
 
132
+ These three are the values you will use for memories. They are drawn from the
133
+ shared controlled vocabulary used across `wicked-brain:ingest`,
134
+ `wicked-brain:memory`, and `wicked-brain:lint`: `deterministic-parse`,
135
+ `llm-vision`, `llm-synthesis`, `session-capture`, `manual`, `unknown`. The
136
+ remaining values (`deterministic-parse`, `llm-vision`) describe ingested
137
+ chunks rather than memories, and `unknown` is the lint-applied fallback for
138
+ content written before this field existed.
139
+
132
140
  Default to `session-capture` when unsure. The value is plain frontmatter,
133
141
  stored and returned verbatim by the server (no schema migration). If omitted,
134
- lint treats the memory as `method: unknown` — prefer to set it explicitly.
142
+ lint stamps the memory as `method: unknown` — prefer to set it explicitly.
135
143
 
136
144
  #### Tier definitions
137
145
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:migrate
2
+ name: wicked-brain-migrate
3
3
  description: |
4
4
  Migrate a flat brain at ~/.wicked-brain/ into the per-project layout at
5
5
  ~/.wicked-brain/projects/{name}/. Safe to run on already-migrated brains
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:query
2
+ name: wicked-brain-query
3
3
  description: |
4
4
  Answer questions by searching and synthesizing brain content. Dispatches a
5
5
  query subagent that searches, reads, follows links, and produces a cited answer.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:read
2
+ name: wicked-brain-read
3
3
  description: |
4
4
  Read a chunk or wiki article from the brain with progressive loading.
5
5
  Depth 0: frontmatter + stats. Depth 1: + summary + headings. Depth 2: full content.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:retag
2
+ name: wicked-brain-retag
3
3
  description: |
4
4
  Backfill synonym-expanded tags on chunks and memories that have fewer than
5
5
  5 tags. Run periodically or as part of consolidation.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:review
2
+ name: wicked-brain-review
3
3
  description: |
4
4
  Browse stored memories with filters on type, tier, and recency. Read-only —
5
5
  use wicked-brain:forget to archive or wicked-brain:agent dispatch consolidate
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:search
2
+ name: wicked-brain-search
3
3
  description: |
4
4
  Search the digital brain for relevant content. A single CLI call for the
5
5
  common single-brain case; fans out to linked brains only when they exist.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:server
2
+ name: wicked-brain-server
3
3
  description: |
4
4
  Manages the wicked-brain background server. Most callers should use
5
5
  `wicked-brain-call` directly — it auto-starts the server. This skill is
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:status
2
+ name: wicked-brain-status
3
3
  description: |
4
4
  Show brain health, stats, and orientation with progressive loading.
5
5
  Depth 0: summary. Depth 1: + topic distribution. Depth 2: full orientation.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:synonyms
2
+ name: wicked-brain-synonyms
3
3
  description: |
4
4
  Manage the brain's synonym map for search expansion. Add, remove, or review
5
5
  synonym mappings. Can also auto-suggest synonyms from search miss data and
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:ui
2
+ name: wicked-brain-ui
3
3
  description: |
4
4
  Open the read-only brain viewer (Material-styled search + wiki browser) in
5
5
  the default web browser. Use when the user says "open the brain viewer",
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wicked-brain:update
2
+ name: wicked-brain-update
3
3
  description: |
4
4
  Check for and install wicked-brain updates. Compares installed version against
5
5
  npm registry, updates skills across all detected CLIs, and updates the server.