Documentation Index
Fetch the complete documentation index at: https://docs.monolex.ai/llms.txt
Use this file to discover all available pages before exploring further.
Work-Wiki is the knowledge layer that sits above monoflow. It tracks what you’ve worked on, how your documentation converges with code, and provides the signals that niia uses for consciousness assessment.
Quick Start
# Full refresh (includes all lower layers)
work-wiki reindex
# Or step by step:
work-wiki knowledge index # Index research/wiki documents
work-wiki status # System overview
work-wiki convergence # Topic × documentation coverage
work-wiki search "query" # Search across all layers
Commands
Core
| Command | Description |
|---|
status | System overview — diffs, docs, PTY activity, funnel, layer chaos |
search <query> | Cross-layer search: knowledge_db + code + git |
reindex | Refresh self + all lower layers (monoflow → monogram/monogit/monomento) |
convergence | Topic × knowledge coverage (R→P→V→D per topic) |
all-projects | All active projects from OnIt database |
Knowledge DB
| Command | Description |
|---|
knowledge index | Index research/prepare/prove/docs into per-project DB |
knowledge search <query> | Search knowledge_db with category tags |
knowledge link <repo> | Link a code repo to a project |
knowledge resolve | Show current project resolution |
knowledge status | Index statistics |
Temporal
| Command | Description |
|---|
timeline | Recent events across all layers (diff + git + wiki) |
timeline --all | Include conversation layer (PTY logs) |
sessions | Work sessions reconstructed from save timestamps |
recent | Recent file saves |
Analysis
| Command | Description |
|---|
diff <file> | File save history with line-level changes |
context <project> | Project context snapshot |
impact <file> | File change impact |
patterns | Activity pattern analysis |
intent | Human intent topics from terminal names |
Status + MONOFLOW Section
work-wiki status shows traditional metrics plus monoflow layer chaos:
work-wiki status
DIFF 6601 saves, 686 files
WIKI 12058 md files
PTY_LOG 6129 activities
SUMMARY 3 entries
7d momentum: 126 docs modified
funnel: research:463 → prepare:116 → prove:87 → docs:444
convergence: 0.19 (prove/research)
MONOFLOW:
Topics: 25 Hubs: 15 Cross-lang bridges: 42
Stale docs: 234 Broken chains: 15
Chaos: css:0.35(Part) doc:0.27(Chaos) struct:0.49(Part)
rhythm:0.72(Managed) temporal:0.86(Simple) = 0.51(Managed)
The --json output includes all layer chaos values and quality delta — consumed by niia resonate.
Convergence (R→P→V→D)
Maps code topics to the knowledge funnel:
work-wiki convergence
[FULL] handle_request+default… [100%] ████████████████████
R:23 P:3 V:1 D:1 — all 4 phases covered
[PART] empty-folder+search-m… [75%] ███████████████░░░░░
R:21 P:2 V:2 D:0 — docs phase missing
[WEAK] handleOutputFrame+ren… [25%] █████░░░░░░░░░░░░░░░
R:20 P:0 V:0 D:0 — only research exists
Phases:
- R (research) — exploratory documents in
wip/research/
- P (prepare) — implementation plans in
wip/prepare/
- V (prove) — verification documents in
wip/prove/
- D (docs) — final documentation in
wiki/docs/
Knowledge DB
Per-project monomento-powered document search (550K+ entries):
work-wiki knowledge index # Index all project documents
work-wiki knowledge search "session" # Search with category tags
Categories are auto-detected from file paths:
[research] — wip/research/
[prepare] — wip/prepare/
[prove] — wip/prove/
[docs] — wiki/docs/
[onit] — wip/onit/
Cross-Layer Search
work-wiki search combines multiple sources:
work-wiki search "create_session"
[K] chapter-3-session-actor.md ← knowledge_db
[code] create_session (function, 6 callers) ← monogram
[git] b18a829 fix(app-monolex) ← monogit
[D] src-tauri/src/lib.rs +85/-15 ← diff saves
Slot reservation ensures all layers are represented: 60% knowledge_db, 40% code+git.
Reindex Cascade
work-wiki reindex refreshes self and all lower layers:
work-wiki reindex
[1/2] monoflow analyze --full (monogram → monomento → monogit → topics)
[2/2] work-wiki knowledge index (research/wiki knowledge_db)
For individual tool refresh, use the tool directly:
monogram reindex . — code symbols only
monogit index --symbols — git history only
monomento index . --project — code docs only
Per-Project Database
~/.monolex/work-wiki/{project-slug}.db
Project resolved via OnIt database or cwd-based hash. Multiple projects can coexist.
Stack Position
niia consciousness + orchestration
↕
work-wiki ← YOU ARE HERE (knowledge layer)
↕
monoflow temporal flow + cross-DB analysis
↕
monogram monogit monomento
Work-wiki adds intent, session context, and the knowledge funnel to monoflow’s code analysis. niia reads work-wiki’s signals for consciousness assessment.