lumina-wiki 0.8.0 → 0.9.0
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/CHANGELOG.md +33 -1
- package/README.md +96 -143
- package/README.vi.md +41 -87
- package/README.zh.md +102 -148
- package/package.json +1 -1
- package/src/installer/commands.js +1 -0
- package/src/scripts/lint.mjs +29 -0
- package/src/scripts/schemas.mjs +5 -2
- package/src/scripts/wiki.mjs +173 -9
- package/src/skills/core/ingest/SKILL.md +31 -333
- package/src/skills/core/ingest/references/step-01-draft.md +167 -0
- package/src/skills/core/ingest/references/step-02-lint.md +56 -0
- package/src/skills/core/ingest/references/step-03-verify.md +95 -0
- package/src/skills/core/ingest/references/step-04-finalize.md +69 -0
- package/src/skills/core/verify/SKILL.md +366 -0
- package/src/skills/core/verify/references/reviewers.md +160 -0
- package/src/skills/core/verify/references/triage.md +87 -0
- package/src/templates/README.md +7 -6
- package/src/tools/fetch_pdf.py +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.9.0] - 2026-05-05
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `/lumi-verify` — new core skill that cross-checks wiki notes against the raw sources they cite. Runs three independent reviewers (Blind structural, Grounding raw↔wiki, External web confirmation) over a single source entry or the whole wiki. Findings are written back to entry frontmatter (`verify_status`, `findings:`) and to a timestamped run report in `_lumina/_state/`. Advisory only — never edits body text. Works retroactively on any existing entry. Degrades cleanly on Bash-only runtimes (Codex, Gemini, Cursor) by writing per-reviewer prompt files and HALTing for user paste-back.
|
|
13
|
+
- `/lumi-ingest` rewritten as a **multi-step workflow** with four human-in-the-loop checkpoints — write the draft, check structure, cross-check claims, save. Each checkpoint pauses for review before the next phase begins. Cross-session resume: the skill reads `ingest_status` from the entry's frontmatter on entry and routes directly to the interrupted step, so a session restart never loses progress.
|
|
14
|
+
- Schema: `ingest_status` field (optional enum: `drafted|linted|verified|finalized`) on `sources` — coarse gate-level checkpoint state for cross-session resume. Written by `/lumi-ingest` at each gate; read on entry to route back to the interrupted step.
|
|
15
|
+
- Schema: `verify_status` field (optional enum: `passed|findings_pending|drift_detected|skipped|not_applicable`) on `sources` — written by `/lumi-verify` (and by `/lumi-ingest` step 3 which reuses the verify pipeline).
|
|
16
|
+
- Schema: `findings` field (optional array) on `sources` — structured finding records with fields `id`, `reviewer`, `class`, `claim`, `evidence`, `action`. Shape validated by `verify-frontmatter`; malformed items fail lint.
|
|
17
|
+
- Step files `src/skills/core/ingest/references/step-0{1-4}-*.md` — each gate lives in its own file loaded on demand; main `SKILL.md` is a thin router (≤80 lines) that reads `ingest_status` and loads the right step file.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- `/lumi-ingest` description updated across all READMEs and user guides (EN, VI, ZH) to reflect the four-checkpoint workflow in plain language.
|
|
22
|
+
- `ROADMAP.md`: v0.9 section marked shipping-complete; "deferred to v0.10" placeholder removed.
|
|
23
|
+
- Skills table count updated to 15 (was 14) in installer and README badges to reflect the new `/lumi-verify` addition.
|
|
24
|
+
|
|
25
|
+
### Migration
|
|
26
|
+
|
|
27
|
+
- Existing source pages without `ingest_status` or `verify_status`: no action required. Both fields are optional; lint stays green.
|
|
28
|
+
- Entries currently mid-ingest (session interrupted before v0.9): treated as legacy on next `/lumi-ingest` call — offered lint+verify-only pass or full re-ingest.
|
|
29
|
+
- Custom tooling reading `schemas.mjs`: three new fields added (`ingest_status`, `verify_status`, `findings`). All additive; no removals or renames.
|
|
30
|
+
|
|
31
|
+
## [0.8.1] - 2026-05-03
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
- L02 now warns when a source page still carries the legacy `url:` (string) frontmatter field that was renamed to `urls:` (array) in v0.8. Without this, upgrades from v0.7 → v0.8 produced a clean lint result and the post-upgrade installer banner stayed silent — even though the wiki needed `/lumi-migrate-legacy` to convert the field. The legacy field is ignored at runtime, not invalid; the warning is purely a migration nudge.
|
|
35
|
+
|
|
8
36
|
## [0.8.0] - 2026-05-03
|
|
9
37
|
|
|
10
38
|
### Added
|
|
@@ -161,7 +189,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
161
189
|
|
|
162
190
|
---
|
|
163
191
|
|
|
164
|
-
[Unreleased]: https://github.com/tronghieu/lumina-wiki/compare/v0.
|
|
192
|
+
[Unreleased]: https://github.com/tronghieu/lumina-wiki/compare/v0.9.0...HEAD
|
|
193
|
+
[0.9.0]: https://github.com/tronghieu/lumina-wiki/compare/v0.8.1...v0.9.0
|
|
194
|
+
[0.8.1]: https://github.com/tronghieu/lumina-wiki/compare/v0.8.0...v0.8.1
|
|
195
|
+
[0.8.0]: https://github.com/tronghieu/lumina-wiki/compare/v0.7.0...v0.8.0
|
|
196
|
+
[0.7.0]: https://github.com/tronghieu/lumina-wiki/compare/v0.6.0...v0.7.0
|
|
165
197
|
[0.6.0]: https://github.com/tronghieu/lumina-wiki/compare/v0.5.0...v0.6.0
|
|
166
198
|
[0.5.0]: https://github.com/tronghieu/lumina-wiki/compare/v0.4.0...v0.5.0
|
|
167
199
|
[0.4.0]: https://github.com/tronghieu/lumina-wiki/compare/v0.3.0...v0.4.0
|
package/README.md
CHANGED
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
> **Where Knowledge Starts to Glow.**
|
|
8
8
|
>
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
Lumina-Wiki is a ready-to-use implementation of the **[LLM-Wiki vision](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f)** articulated by **Andrej Karpathy, founding member of OpenAI and former Director of AI at Tesla.**
|
|
9
|
+
> Turn AI into your personal knowledge assistant and second brain.
|
|
12
10
|
|
|
13
11
|
<p align="center">
|
|
14
12
|
<img alt="License" src="https://img.shields.io/badge/License-MIT-blue.svg"/>
|
|
@@ -23,14 +21,30 @@ Lumina-Wiki is a ready-to-use implementation of the **[LLM-Wiki vision](https://
|
|
|
23
21
|
</p>
|
|
24
22
|
|
|
25
23
|
<p align="center">
|
|
26
|
-
English • <a href="README.vi.md" lang="vi">Tiếng Việt</a> • <a href="README.zh.md" lang="zh">简体中文</a>
|
|
24
|
+
English • <a href="README.vi.md" lang="vi">Tiếng Việt</a> • <a href="README.zh.md" lang="zh-Hans">简体中文</a>
|
|
27
25
|
</p>
|
|
28
26
|
|
|
27
|
+
<p align="center">
|
|
28
|
+
<a href="docs/user-guide/en.md">User Guide</a>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
## Menu
|
|
32
|
+
|
|
33
|
+
- [Getting Started & Install](#2-getting-started)
|
|
34
|
+
- [User Guide](docs/user-guide/en.md)
|
|
35
|
+
- [The Core Workflow](#1-the-core-workflow)
|
|
36
|
+
- [Your First Commands](#3-your-first-commands-core-skills)
|
|
37
|
+
- [Workspace Directory Guide](#4-workspace-directory-guide)
|
|
38
|
+
- [Available Skills](#5-available-skills-v01)
|
|
39
|
+
- [What's Coming Next](#6-whats-coming-next)
|
|
40
|
+
- [Contributing & License](#7-contributing--license)
|
|
41
|
+
- [Other Languages](#8-other-languages)
|
|
42
|
+
|
|
29
43
|
---
|
|
30
44
|
|
|
31
45
|
## 1. The Core Workflow
|
|
32
46
|
|
|
33
|
-
Lumina-Wiki
|
|
47
|
+
Lumina-Wiki works from one simple principle: keep your raw materials separate from the AI's structured knowledge.
|
|
34
48
|
|
|
35
49
|
```text
|
|
36
50
|
+-------------------------+ /lumi-ingest +---------------------------+
|
|
@@ -42,222 +56,161 @@ Lumina-Wiki operates on a simple principle: separate your raw materials from the
|
|
|
42
56
|
+-------------------------+ +---------------------------+
|
|
43
57
|
```
|
|
44
58
|
|
|
45
|
-
1. **You Provide:** Place your documents (PDFs, notes)
|
|
46
|
-
2. **The Agent Builds:** Use commands in your AI chat
|
|
47
|
-
3. **You Query:** Ask questions
|
|
59
|
+
1. **You Provide:** Place your documents (PDFs, notes) in the `raw/` directory.
|
|
60
|
+
2. **The Agent Builds:** Use commands in your AI chat, such as `/lumi-ingest`, to make the agent read from `raw/` and build a structured, interlinked wiki in `wiki/`.
|
|
61
|
+
3. **You Query:** Ask questions with `/lumi-ask` against the agent's "brain" in `wiki/` for faster, more context-aware answers.
|
|
48
62
|
|
|
49
63
|
## 2. Getting Started
|
|
50
64
|
|
|
51
65
|
### **Step 1: Install**
|
|
66
|
+
|
|
52
67
|
Install the wiki workspace into your current project with one command:
|
|
53
68
|
|
|
69
|
+
Before running this command, your machine needs **Node.js**. If you do not have it yet, download and install the recommended version from the official site: [nodejs.org/en/download](https://nodejs.org/en/download).
|
|
70
|
+
|
|
54
71
|
```bash
|
|
55
72
|
npx lumina-wiki install
|
|
56
73
|
```
|
|
57
|
-
> **Note for Windows Users:** For the best experience, it is recommended to [enable Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) to allow the installer to use symlinks correctly. If Developer Mode is off, the installer will fall back to copying skill files, which is functional but less ideal for updates.
|
|
58
74
|
|
|
59
|
-
|
|
75
|
+
> **Note for Windows users:** For the best experience, enable [Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) so the installer can use symlinks correctly. If Developer Mode is off, the installer falls back to copying skill files; everything still works, but updates are less ideal.
|
|
76
|
+
|
|
77
|
+
The installer will guide you through a quick setup, including optional **Packs** such as `research` and `reading`.
|
|
60
78
|
|
|
61
79
|
### **Step 2 (Optional): Configure the Research Pack**
|
|
62
|
-
|
|
80
|
+
|
|
81
|
+
If you installed the `research` pack, some skills can use API keys for better online search. In your AI chat, run:
|
|
63
82
|
|
|
64
83
|
> **You:**
|
|
65
84
|
> `/lumi-research-setup`
|
|
66
85
|
|
|
67
|
-
The agent will
|
|
86
|
+
The agent will help you check the research tools and save keys to a local `.env` file when needed.
|
|
68
87
|
|
|
69
88
|
### **Step 3 (Upgrades): Migrate Legacy Wiki Entries**
|
|
70
89
|
|
|
71
|
-
If you
|
|
90
|
+
If you reinstall Lumina-Wiki on a project that already has a `wiki/` from an earlier version, just run `npx lumina-wiki install` again. The installer updates scripts, schemas, and skills; **your content in `wiki/`, `raw/`, and `log.md` is not modified**.
|
|
72
91
|
|
|
73
|
-
|
|
74
|
-
npx lumina-wiki install
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
The installer detects the version bump and updates scripts, schemas, and skills atomically. **Your wiki content (`wiki/`, `raw/`, `log.md`) is never modified by the installer.** When the installer finds frontmatter fields added by newer versions but missing on older entries, it prints a `[warn]` banner with the count and the next step.
|
|
78
|
-
|
|
79
|
-
You then have two ways to backfill:
|
|
92
|
+
If the installer warns that older entries are missing newer frontmatter fields, you have two ways to backfill them:
|
|
80
93
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
> **You:**
|
|
84
|
-
> `/lumi-migrate-legacy`
|
|
85
|
-
|
|
86
|
-
The skill reads `_lumina/CHANGELOG.md` to learn which fields each version added, runs `lint --json` to find affected entries, and infers per-entry values (e.g. `provenance: replayable | partial | missing`, `confidence: high | medium | low | unverified`) from `raw/` snapshots, citation edges, and entry metadata. Idempotent — safe to run multiple times.
|
|
87
|
-
|
|
88
|
-
**Option B — Quick deterministic backfill:** From your terminal:
|
|
94
|
+
- **Recommended:** open your AI chat and run `/lumi-migrate-legacy`.
|
|
95
|
+
- **Faster:** run this terminal command:
|
|
89
96
|
|
|
90
97
|
```bash
|
|
91
98
|
node _lumina/scripts/wiki.mjs migrate --add-defaults
|
|
92
99
|
```
|
|
93
100
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
You can combine: run Option B first for a clean lint, then Option A when you want higher-quality values. Both write atomically and leave a trail in `wiki/log.md`.
|
|
97
|
-
|
|
98
|
-
For the full list of schema changes per version, see [`CHANGELOG.md`](CHANGELOG.md) or the local copy at `_lumina/CHANGELOG.md` after install.
|
|
101
|
+
See [`CHANGELOG.md`](CHANGELOG.md) or the local `_lumina/CHANGELOG.md` after install for version-by-version schema changes.
|
|
99
102
|
|
|
100
103
|
## 3. Your First Commands (Core Skills)
|
|
101
104
|
|
|
102
|
-
Interact with your wiki using these commands in your AI chat interface
|
|
105
|
+
Interact with your wiki using these commands in your AI chat interface, such as Gemini CLI, Claude, or Codex.
|
|
103
106
|
|
|
104
|
-
**Phase 1:
|
|
105
|
-
- `/lumi-init`:
|
|
106
|
-
- `/lumi-ingest [path/to/file]`:
|
|
107
|
+
**Phase 1: Ingest and Build Knowledge**
|
|
108
|
+
- `/lumi-init`: Scan the `raw/` directory and perform the first wiki build.
|
|
109
|
+
- `/lumi-ingest [path/to/file]`: Process a new document into the knowledge base, pausing at four checkpoints (write the draft, check structure, cross-check claims, save) for review.
|
|
107
110
|
|
|
108
|
-
**Phase 2: Query
|
|
109
|
-
- `/lumi-ask [your question]`:
|
|
110
|
-
- `/lumi-edit [path/to/wiki/page]`:
|
|
111
|
-
- `/lumi-check`:
|
|
111
|
+
**Phase 2: Query and Maintain**
|
|
112
|
+
- `/lumi-ask [your question]`: Ask a question against the full knowledge base in `wiki/`.
|
|
113
|
+
- `/lumi-edit [path/to/wiki/page]`: Request a change or correction to a specific wiki page.
|
|
114
|
+
- `/lumi-check`: Check the whole wiki for errors, such as broken links or orphan pages.
|
|
112
115
|
|
|
113
|
-
*Additional skills may be available if you installed optional packs
|
|
116
|
+
*Additional skills may be available if you installed optional packs such as `research` or `reading`.*
|
|
114
117
|
|
|
115
118
|
---
|
|
116
119
|
|
|
117
|
-
## 4.
|
|
118
|
-
|
|
119
|
-
Lumina creates a workspace with a clear purpose for each directory.
|
|
120
|
+
## 4. Workspace Directory Guide
|
|
120
121
|
|
|
121
|
-
|
|
122
|
+
Lumina creates a workspace where each folder has a clear purpose.
|
|
122
123
|
|
|
123
124
|
| Path | Purpose | Managed By |
|
|
124
125
|
| :--- | :--- | :--- |
|
|
125
|
-
| **`raw/`** | **Your
|
|
126
|
-
| `raw/sources/` | Place your primary documents
|
|
126
|
+
| **`raw/`** | **Your immutable input library.** The agent **only reads** from here. | **You** |
|
|
127
|
+
| `raw/sources/` | Place your primary documents, such as PDFs and articles, here. | You |
|
|
127
128
|
| `raw/notes/` | Your personal, unstructured notes and ideas. | You |
|
|
128
129
|
| `raw/assets/` | Images or other assets for your notes. | You |
|
|
129
|
-
| `raw/discovered
|
|
130
|
-
| **`wiki/`** | **The
|
|
130
|
+
| `raw/discovered/` | *(Research Pack)* Papers found by `/lumi-research-discover` are saved here. | Agent |
|
|
131
|
+
| **`wiki/`** | **The agent's brain.** The agent **writes** structured knowledge here. | **Agent** |
|
|
131
132
|
| `wiki/sources/` | AI-generated summaries for each document in `raw/sources`. | Agent |
|
|
132
|
-
| `wiki/concepts/` | Core ideas and definitions
|
|
133
|
-
| `wiki/people/` | Profiles of authors, researchers,
|
|
134
|
-
| `wiki/outputs/` | Detailed answers from `/lumi-ask`
|
|
133
|
+
| `wiki/concepts/` | Core ideas and definitions extracted into individual pages. | Agent |
|
|
134
|
+
| `wiki/people/` | Profiles of authors, researchers, and other people. | Agent |
|
|
135
|
+
| `wiki/outputs/` | Detailed answers from `/lumi-ask` saved for reference. | Agent |
|
|
135
136
|
| `wiki/index.md` | The main table of contents for your wiki. | Agent |
|
|
136
|
-
| `...` | *(Other entity folders
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
### **System Folders (Managed by Lumina)**
|
|
140
|
-
|
|
141
|
-
| Path | Purpose | Managed By |
|
|
142
|
-
| :--- | :--- | :--- |
|
|
143
|
-
| **`_lumina/`** | The core engine, scripts, and configuration for the wiki. | **System** |
|
|
144
|
-
| **`.agents/`** | Contains all the `skills` that the agent can use. | **System** |
|
|
145
|
-
| `...` | *(Other dotfiles like `.claude/`, `.gitignore`)* | **System** |
|
|
146
|
-
|
|
147
|
-
**Note:** You generally do not need to modify the System Folders.
|
|
148
|
-
|
|
149
|
-
### **Browsing Your Wiki with Obsidian (Optional)**
|
|
150
|
-
|
|
151
|
-
[Obsidian](https://obsidian.md) is the recommended visual companion for Lumina-Wiki. Because the wiki uses native Obsidian `[[wikilinks]]`, you get a full graph view, backlinks panel, and property queries out of the box.
|
|
137
|
+
| `...` | *(Other entity folders such as `foundations/` and `characters/` appear with packs.)* | Agent |
|
|
138
|
+
| **`_lumina/`** | Lumina-managed engine, scripts, and configuration. | **System** |
|
|
139
|
+
| **`.agents/`** | Skills the agent can use. | **System** |
|
|
152
140
|
|
|
153
|
-
|
|
141
|
+
You usually work with `raw/` and read results in `wiki/`; you do not need to edit system folders.
|
|
154
142
|
|
|
155
|
-
**
|
|
143
|
+
### **Browse Your Wiki with Obsidian (Optional)**
|
|
156
144
|
|
|
157
|
-
|
|
158
|
-
2. **Settings → Files & links → Excluded files** — add:
|
|
159
|
-
- `_lumina/`, `.claude/`, `.cursor/`, `.agents/`, `.git/`, `wiki/graph/`
|
|
160
|
-
- Agent entry-point stubs: `CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `QWEN.md` — they only redirect to `README.md` and would otherwise add empty nodes to the graph view. Keep `README.md` itself visible: it is the canonical schema reference.
|
|
161
|
-
3. **Settings → Files & links**:
|
|
162
|
-
- Use `[[Wikilinks]]`: **on**
|
|
163
|
-
- New link format: **Shortest path when possible**
|
|
164
|
-
- Default attachment location: `In the folder specified below` → `raw/assets/`
|
|
165
|
-
4. **Core plugins to enable:** Graph view, Backlinks, Outgoing links, Tags, Properties, Outline.
|
|
166
|
-
5. *(Optional)* Community plugin **Dataview** — lets you query pages by frontmatter fields like `type`, `importance`, `confidence`, and `date_added`.
|
|
145
|
+
[Obsidian](https://obsidian.md) is a local Markdown note-taking app that helps you browse linked notes. Because Lumina-Wiki also creates Markdown files, you can open the **project root folder** in Obsidian to read and browse your wiki more easily. See the [user guide](docs/user-guide/en.md#using-obsidian-to-read-the-wiki) for details.
|
|
167
146
|
|
|
168
|
-
|
|
147
|
+
### **Local Search with qmd (Advanced, Optional)**
|
|
169
148
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
As your wiki grows, you may want faster full-text search than `index.md` plus `grep` can offer. We recommend [qmd](https://github.com/tobi/qmd) — a local, on-device search engine for markdown files with hybrid BM25/vector search and LLM re-ranking. It pairs nicely with Lumina-Wiki and your AI agent.
|
|
173
|
-
|
|
174
|
-
**How to wire it into your agent:**
|
|
175
|
-
|
|
176
|
-
1. Install qmd following the instructions in its repo, then index the project root so it sees both `wiki/` and `raw/`.
|
|
177
|
-
2. **CLI route** — your agent can call `qmd <query>` via `Bash`. Just mention in your prompts that the command is available.
|
|
178
|
-
3. **MCP route (handy for Claude Code, Codex, Cursor)** — register qmd's MCP server in your IDE's MCP config. The agent picks it up as a native tool and can call it from `/lumi-ask` or any follow-up.
|
|
179
|
-
4. Re-index after `/lumi-ingest` (manually or via a hook) so new pages become searchable.
|
|
180
|
-
|
|
181
|
-
qmd sits alongside `index.md` and the wiki graph — a fast retrieval layer that feeds your agent better candidates before it reads pages in full.
|
|
182
|
-
|
|
183
|
-
**Bonus — tobi's official qmd skill.** tobi also publishes a dedicated skill that teaches your agent how to use qmd effectively (when to pick `lex` vs `vec` vs `hyde`, how to write `intent` to disambiguate, lex syntax for phrases and exclusions). If your IDE supports the skill format, you can install it with:
|
|
149
|
+
As your wiki grows, you can use [qmd](https://github.com/tobi/qmd) for faster local Markdown search. If your IDE supports the skill format, install the official qmd skill with:
|
|
184
150
|
|
|
185
151
|
```bash
|
|
186
152
|
npx skills add https://github.com/tobi/qmd --skill qmd
|
|
187
153
|
```
|
|
188
154
|
|
|
189
|
-
We recommend reading [the skill page on skills.sh](https://skills.sh/tobi/qmd/qmd) first to see exactly what it adds.
|
|
190
|
-
|
|
191
155
|
---
|
|
192
156
|
|
|
193
|
-
## 5. Available Skills
|
|
194
|
-
|
|
195
|
-
### Skills (User Commands)
|
|
157
|
+
## 5. Available Skills (v0.1)
|
|
196
158
|
|
|
197
|
-
These are the commands you can use
|
|
159
|
+
These are the commands you can use when chatting with your AI agent.
|
|
198
160
|
|
|
199
161
|
| Pack | Skill | Purpose |
|
|
200
162
|
| :--- | :--- | :--- |
|
|
201
|
-
| **Core** | `/lumi-init` |
|
|
202
|
-
| | `/lumi-ingest` |
|
|
203
|
-
| | `/lumi-ask` |
|
|
204
|
-
| | `/lumi-edit` |
|
|
205
|
-
| | `/lumi-check` |
|
|
206
|
-
| | `/lumi-reset` | Safely
|
|
207
|
-
|
|
|
208
|
-
| | `/lumi-research-
|
|
209
|
-
| | `/lumi-research-
|
|
210
|
-
| | `/lumi-research-
|
|
211
|
-
|
|
|
212
|
-
| | `/lumi-reading-
|
|
213
|
-
| | `/lumi-reading-
|
|
214
|
-
| | `/lumi-reading-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
These are the scripts that the agent's skills use to perform actions.
|
|
219
|
-
|
|
220
|
-
| Location | Tool | Role |
|
|
221
|
-
| :--- | :--- | :--- |
|
|
222
|
-
| **`_lumina/scripts/`** | `wiki.mjs` | **The Core Engine.** Handles all write/edit/link operations in `wiki/`. |
|
|
223
|
-
| | `lint.mjs` | Linter used by `/lumi-check` to find errors. |
|
|
224
|
-
| | `reset.mjs` | The script for safely deleting content. |
|
|
225
|
-
| | `schemas.mjs` | The single source of truth for all wiki structures and rules. |
|
|
226
|
-
| **`_lumina/tools/`** | `discover.py` | *(Research Pack)* Powers the `/lumi-research-discover` skill. |
|
|
227
|
-
| | `fetch_*.py` | *(Research Pack)* A set of tools to fetch data from APIs like ArXiv, Wikipedia, etc. |
|
|
163
|
+
| **Core** | `/lumi-init` | Initialize the wiki from all files in `raw/`. |
|
|
164
|
+
| | `/lumi-ingest` | Read a document and write a wiki page. Pauses at four checkpoints — write the draft, check structure, cross-check claims, save — so you can review before each step commits. Resumable across sessions. |
|
|
165
|
+
| | `/lumi-ask` | Ask a question against the full knowledge base. |
|
|
166
|
+
| | `/lumi-edit` | Request a manual edit to a wiki page. |
|
|
167
|
+
| | `/lumi-check` | Check the wiki for errors, such as broken links. |
|
|
168
|
+
| | `/lumi-reset` | Safely reset parts of the wiki. |
|
|
169
|
+
| | `/lumi-verify` | Check that wiki notes match the sources they cite. Reports anything suspicious for your review; never edits notes for you. |
|
|
170
|
+
| **Research** | `/lumi-research-discover` | Discover and rank relevant research papers. |
|
|
171
|
+
| | `/lumi-research-survey` | Create a survey or summary from existing knowledge. |
|
|
172
|
+
| | `/lumi-research-prefill` | Seed foundational concepts to avoid duplicates. |
|
|
173
|
+
| | `/lumi-research-setup` | Help configure API keys for research tools. |
|
|
174
|
+
| **Reading** | `/lumi-reading-chapter-ingest` | Ingest a book chapter by chapter. |
|
|
175
|
+
| | `/lumi-reading-character-track` | Track characters and their relationships in a story. |
|
|
176
|
+
| | `/lumi-reading-theme-map` | Identify and map themes in a narrative. |
|
|
177
|
+
| | `/lumi-reading-plot-recap` | Provide a progressive plot recap. |
|
|
178
|
+
|
|
179
|
+
The scripts behind these skills live in `_lumina/scripts/` and `_lumina/tools/`; you usually do not need to call them directly.
|
|
228
180
|
|
|
229
181
|
---
|
|
230
182
|
|
|
231
183
|
## 6. What's Coming Next
|
|
232
184
|
|
|
233
|
-
The current release is **v0.2** (preview). The full plan
|
|
185
|
+
The current release is **v0.2** (preview). The full plan is in [`ROADMAP.md`](./ROADMAP.md). Headline items:
|
|
234
186
|
|
|
235
|
-
**v1.0.0
|
|
236
|
-
- **Daily search
|
|
237
|
-
- New `/lumi-daily` skill to triage
|
|
238
|
-
- Stability lock for the v0.1 surface
|
|
239
|
-
- Cross-platform CI matrix
|
|
187
|
+
**v1.0.0 - First Stable**
|
|
188
|
+
- **Daily search and fetch** - watchlist queries (`_lumina/config/watchlist.yml`) run on a schedule; new arXiv / Semantic Scholar papers land automatically in `raw/discovered/<date>/`.
|
|
189
|
+
- New `/lumi-daily` skill to triage newly collected papers.
|
|
190
|
+
- Stability lock for the v0.1 surface: CLI flags, exit codes, and schema field names.
|
|
191
|
+
- Cross-platform CI matrix: macOS, Linux, and Windows on Node 20 and 22.
|
|
240
192
|
|
|
241
|
-
**v2.0.0
|
|
242
|
-
- **New paper sources:** OpenAlex, Unpaywall, CORE (Priority 1)
|
|
243
|
-
- **Paper ranking:** new `/lumi-rank` skill
|
|
193
|
+
**v2.0.0 - Research Pack Source Expansion**
|
|
194
|
+
- **New paper sources:** OpenAlex, Unpaywall, CORE (Priority 1) -> OpenReview, Hugging Face Papers, Papers With Code (Priority 2) -> Crossref, DOAJ, research lab RSS feeds (Priority 3).
|
|
195
|
+
- **Paper ranking:** new `/lumi-rank` skill adding influential-citation count, field-normalized citation rank, Scite support/contrast signals, and Altmetric attention to a `ranking:` frontmatter block.
|
|
244
196
|
|
|
245
|
-
**Want to
|
|
197
|
+
**Want to contribute?** Pick any unchecked item in `ROADMAP.md`, open an issue to claim it, then send a PR. Source fetchers follow the same pattern in `src/tools/` (CLI + JSON, no async, exit codes `0/2/3`), so they are a good first contribution. See the local development steps below.
|
|
246
198
|
|
|
247
199
|
---
|
|
248
200
|
|
|
249
201
|
## 7. Contributing & License
|
|
250
202
|
|
|
251
|
-
###
|
|
203
|
+
### Local Development (for contributors)
|
|
204
|
+
|
|
205
|
+
If you want to contribute to the `lumina-wiki` installer:
|
|
252
206
|
|
|
253
|
-
If you want to contribute to the `lumina-wiki` installer itself:
|
|
254
207
|
```bash
|
|
255
|
-
# 1. Clone
|
|
208
|
+
# 1. Clone and install dependencies
|
|
256
209
|
git clone https://github.com/tronghieu/lumina-wiki.git
|
|
257
210
|
cd lumina-wiki
|
|
258
211
|
npm ci
|
|
259
212
|
|
|
260
|
-
# 2. Run
|
|
213
|
+
# 2. Run tests
|
|
261
214
|
npm run test:all
|
|
262
215
|
```
|
|
263
216
|
|