Skip to main content
Work Wiki turns work artifacts into queryable knowledge. It joins conversation, file activity, git history, saved diffs, research, plans, proofs, and published documents by time and file path, then adds project context and code-topic coverage from Monoflow. Documents Work Wiki 0.3.0, OpenCLIs build 2026-07-12-192629. Registry ownership: the canonical docs_url is this page, the public product homepage is https://monolex.ai, and Work Wiki pairs with Monoflow, Monogram, Monogit, Monomento, NIIA, and MonoLog. Repository ownership remains monolex/monolex; no public source URL is advertised while that repository is private.

Install and identify the contract

The installed short guide lists 16 primary commands. The 0.3.0 dispatcher also implements six advanced or compatibility commands—timeline, sessions, knowledge, reindex, all-projects, and convergence—for a total of 22 canonical feature commands. This page documents both surfaces.

Three work layers, nine source families

Time and file path are the practical join keys. The databases remain independently owned; Work Wiki opens them as evidence sources rather than pretending they form one foreign-key schema.

The Monoflow loop

Work Wiki and Monoflow are not a simple one-way stack:
  • Work Wiki is upstream when it records saved-diff evidence that Monoflow reads.
  • Work Wiki is downstream when its search and status call Monoflow’s code/git/document composition.
  • Work Wiki owns convergence, because code topics need to be compared with the per-project knowledge database.
  • NIIA consumes Work Wiki status, convergence, and knowledge signals through its integrated commands.

Normal workflow

For per-project Monomento-backed knowledge and code-topic coverage:

Complete 22-command CLI inventory

The inventory counts canonical feature commands. help and version are metadata; ap and conv are aliases, not additional commands.

Primary 16-command guide surface

Six advanced and compatibility commands

The dispatcher also accepts --help, -h, help, --version, -V, and version.

Knowledge database: all six subcommands

Per-project knowledge is stored at ~/.monolex/work-wiki/{project-slug}.db. When knowledge index receives no project, 0.3.0 uses monolex-006 as its compatibility default. Public automation should pass the intended project slug explicitly. artifacts and docs have different jobs: artifacts inventories a project’s files, while docs serves the reference embedded in the binary.

Five ways to enter the same work

session and sessions are different

  • session reads real PTY session records and can show one session ID.
  • sessions reconstructs work sessions from gaps between saved diffs. Its empty result means “no diff-save sessions,” not “no work happened.”

recent and timeline are different

  • recent is an action-layer feed across diff, watcher, git, and wiki for a recent hour window.
  • timeline supports a query, layer filter, longer window, and --all to include conversation evidence.
The default result can contain: The current implementation reserves roughly 60% of the requested limit for knowledge results and 40% for Monoflow results before merging, sorting, and truncating. --all then admits conversation rows; it does not promise that every layer will survive the final limit.

Status and writer health

work-wiki status --json includes ordinary layer metrics plus Monoflow topics, stale docs, broken chains, hub docs, document/code gaps, five layer-chaos components, overall score, quality delta, quality scenario, and per-layer ages. The diff lane has a separate liveness contract. status, recent, sessions, and patterns warn when the Monoguard writer is dead so old rows cannot masquerade as a healthy current feed. PTY instrumentation covers Monolex app PTY sessions. Work performed only in an external terminal can be absent from the PTY lane even when git, watcher, or document evidence exists.

File biography boundary

The installed guide calls work-wiki file a “6-DB file biography.” The 0.3.0 output currently renders these evidence families:
  • PTY activity and operations
  • watcher event counts and types
  • saved-diff count, additions, deletions, and first/last time
  • Monogit commits that touched the path through commit_symbols
  • Work Wiki markdown references to the basename
The profile label—read-only, hot, shrinking, active, tracked, or unknown—is a heuristic over those fields, not a correctness judgment.

Convergence: code topic to knowledge coverage

work-wiki convergence reads Monoflow topics and searches the resolved project knowledge DB across four phases: The labels are coverage bands: GAP for zero, WEAK below 50%, PART below full coverage, and FULL at 100%. Coverage does not prove that the documents are correct or current.

Read and write contract

The other inventory commands are query or diagnostic surfaces and open existing databases read-only where applicable. In Work Wiki 0.3.0, reindex prints a warning when a child process exits unsuccessfully but still completes its own loop. Automation must inspect the child-step output; a zero exit from the wrapper alone is not proof that every lower layer refreshed.

CLI and MCP boundary

Work Wiki 0.3.0 does not implement --mcp-schema; that argument exits non-zero as an unknown command. It is a CLI and Rust-library surface, while Monoflow provides the typed 24-command CLI-to-MCP schema. Use NIIA for the integrated knowledge commands, or call work-wiki directly when you need the full inventory above.

Continue through the stack

Inspect temporal composition

Follow topics, co-change, gaps, and the exact 24-command typed MCP boundary.

Prove the code edge

Move from a Work Wiki code hit to definitions, callers, coupling, and deep semantic evidence.

Recall and orchestrate

NIIA joins Work Wiki knowledge with sessions, terminals, remote machines, and guarded OS control.