The LLM-Wiki
How orboto's self-maintaining wiki records knowledge automatically, answers questions with citations, and flags its own pages when they go stale or inconsistent.
A normal doc space only changes when someone opens a page and edits it. The LLM-Wiki is an optional mode you can turn on for a space that keeps it current on its own: new material you feed it gets folded into the right pages automatically, questions get answered with citations back to the source pages, and the space periodically checks its own pages for problems - a page nobody has touched while newer material has arrived, two pages that quietly contradict each other, a page nothing links to. This chapter covers that whole loop: turning it on, feeding it knowledge, asking it questions, and keeping the result trustworthy.
Everything on this page needs AI configured for your workspace (see AI providers and models) and the LLM-Wiki turned on for the specific space you are working in.
Turning it on for a space
Open a space and, if you can manage it, select the settings gear next to the space name in the page tree sidebar.

- Tick Enable the LLM-Wiki on this space.
- Choose the apply mode:
- Review gate (the default) - when a new source is curated, its plan is parked as a run with the status Pending review and nothing is written to the pages until someone applies it. Added in v0.236.0 The gate covers every plan the wiki agent makes: the plan of an ingested source and the re-ingest that lint queues for a stale page. A person with the permission to configure the space's wiki reads the plan as a diff and applies or rejects it; see Reviewing a plan. A duplicate merge by lint is not gated: it lands at once with a receipt and an undo, also in a review-gate space.
- Auto-apply - curated changes write straight to the pages, no approval step.
- Choose the lint schedule - how often the space checks itself for issues (see Wiki lint below): on demand only, weekly, or daily.
- Added in v0.236.0 Curate new sources automatically is on by default. Off, new and changed sources stay as they are and become no wiki pages, and lint lists a stale page instead of refreshing it.
- Added in v0.236.0 Optionally pick a Schema doc: a wiki page of this space that describes how its pages are built. The wiki agent follows it and never edits it. No schema doc clears it.
- Optionally set up ingest sources (see Recording knowledge below): an email routing key and sender allowlist, and a note on the web clipper.
- Save.
Added in v0.236.0 The same settings from the command line: orboto wiki config <space> prints every setting of the space with its defaults, and with flags it changes only the ones you give: --auto-ingest on|off, --auto-lint off|weekly|daily, --apply-mode review-gate|auto-apply, --schema-doc <page> or --no-schema-doc, --add-dedup-minutes 0-1440 (the minutes in which a repeated knowledge add with the same title and content answers the first one instead of filing it again; 30 by default, 0 turns it off), --email-allow <address or domain> (repeatable, replaces the list; a bare domain allows every sender on it) or --email-allowlist-clear, and --json. A value outside these ranges is refused before any request. orboto wiki enable <space> takes the same flags. Changing the settings needs the permission to configure the space's wiki, and every change is written to the audit log as wiki.config.update with the keys that changed (switching the wiki off is logged as knowledge.disable); the sender allowlist is logged as counts, never as addresses. A schema doc that is not a wiki page of the space is refused.
Once enabled, the space shows a small LLM-Wiki badge next to its name so everyone opening it knows it is self-maintaining.
Recording knowledge: what feeds the wiki
The wiki never writes itself from nothing - it curates source material you bring in. Every source lands as its own page (tagged source), and if the space's LLM-Wiki is enabled, an automatic worker reads it and proposes how to fold it into the space's pages: update an existing page that already covers the topic, or create a new one for something genuinely new. Under auto-apply that update happens right away; under review gate the plan is parked as a Pending review run and the pages stay as they are until a reviewer applies the plan (see Reviewing a plan).
Ways to bring material in:
- Paste a URL or upload a file - the same import flow as any doc space, covered in Docs and wiki. In a wiki-enabled space, whatever you import becomes a source the curation worker then processes.
- Email it in - once an administrator sets an email routing key in the space's settings, mail sent to
wiki+<key>@your workspace's inbound mail address lands as a source automatically. A sender allowlist (specific addresses, or a bare domain to allow everyone on it) controls who is allowed to feed the space this way - an empty allowlist means nobody can, so this is opt-in per space. - Clip a web page - install the orboto browser clipper extension, paste in an API key, pick the target space, and select Send to orboto on any page you are reading to send it in as a source.
- Turn an answer into a page directly - see Save an answer to the wiki below; this skips the source-and-curate step and writes a page immediately.
- Write a page yourself - a wiki-enabled space is still a normal doc space underneath; you can always create and edit pages by hand exactly as described in Docs and wiki.
Reading the page types
Inside a wiki-enabled space you will see a small icon next to some pages' titles, marking a page the automation manages rather than a page a person wrote directly:
- Source - raw imported material, kept as a record of what came in.
- Index - the space's own table of contents, used internally to check whether every page is properly linked.
- Log - a running activity record of what the automation has done.
These three kinds are read-only by design - editing them by hand would fight the automation. Regular pages (no icon) are the curated wiki content itself, and stay fully editable like any other doc page.
When a fact changes
Added in v0.236.0 When an agent or a person records a fact, or a source says something, that contradicts a sentence already on a page, the wiki does not add a second, conflicting sentence next to the first. The new sentence replaces the old one and says since when it holds and who observed it, and the old sentence moves into a collapsed Earlier box under its paragraph, dated with the day it stopped holding. Nothing is deleted and nobody is asked. Open the box to see what the page said before, or press Undo on the page's banner to put the page back as it was.
This happens when orboto knowledge add, orboto wiki record or a plan apply records a fact, when a source is curated into pages, and when lint refreshes a stale page. Stored in the page's Markdown it looks like this:
The build host is zephyr. *(since <time datetime="2026-11-03">2026-11-03</time>, observed by claude-code#1a2b3c4d)* Builds run nightly.
<details data-orboto="earlier">
<summary>Earlier (1)</summary>
- until <time datetime="2026-11-03">2026-11-03</time>: The build host is atlas.
</details>In the app the reader sees the same sentence with the date in their own format, and a collapsed Earlier (1) under the paragraph.
- What gets superseded. One sentence or list item of at most 600 characters without a blank line, which appears exactly once in the text the page shows now. It matches whole words and numbers (
5 sis not found inside15 s) and never code: a statement inside a code block or an inline code span is left alone. When the model cannot point to such a sentence, the fact is appended as a new section, as before. - Corrections stack. A second correction of the same sentence joins the same box, newest first (Earlier (2)). A sentence that is replaced takes the since note it carried into its entry, so the entry says since when it held and until when.
- Who and which day. The note names the agent session (
claude-code#1a2b3c4d), the person, or for a source the wiki curatedsource "<title>". The day is the calendar day of the writer in their own time zone (UTC when none is set). It is stored as a date and shown in each reader's own date format on the page and in the PDF export, never shifted by a time zone. Machine surfaces such asorboto doc getkeep the ISO dateYYYY-MM-DD. - The language of the words. The words
since,untilandobserved byare written into the page in the content language of the space: its project's language, else the workspace language, for English, German, Spanish, French, Italian and Swedish, English for any other. A later correction still recognises notes written in another language. The summary of the box reads in each reader's own language. - A page that moved on. If the page changed while the correction was planned, nothing is written and the writer plans again; see The wiki corrects instead of appending for what each path does.
- Undo. The receipt of the write names the pair (
superseded "The build host is atlas." -> "The build host is zephyr."), and its undo gives the page the body it had before. - What reads the page. Search, search snippets, Ask, the wiki pages an agent is handed at a handoff, the embeddings and every lint check read only the text the page shows now, so the old value never answers a question and never counts as a contradiction. The check for secrets still reads the whole page: a secret under Earlier is still found.
- Editing and export. The editor keeps the box collapsed with an Expand and Collapse button and saves it unchanged, whatever else you edit. The PDF export prints the box open, since paper cannot expand it.
Asking the docs
The Ask AI panel (the sparkle icon) beside a doc page lets you ask a question in plain language and get an answer drawn only from pages you can read, with numbered citations linking back to the exact source pages - hover a citation for a preview without leaving the panel.
This is the fastest way to find "what did we already decide about X" without reading every page yourself. The full mechanics (how a question is typed, where the panel lives) are in Docs and wiki; this section covers what is happening underneath and what you can do with the answer.
Each answer also tells you, implicitly, how confident to be in it: orboto tries a fast keyword match first, falls back to semantic matching (finding pages that mean the same thing even in different words) when keywords come up short, and combines both as hybrid when that gives the best result. An answer with strong citations across multiple pages is more trustworthy than a thin one with a single weak match - always check the citations rather than taking the prose at face value.
If an answer is good enough to keep, select Save to wiki underneath it. Give the page a title (or keep the suggested one, based on your question) and save - orboto creates a proper wiki page with the answer's content and smart-links to everything it cited, or updates the same page if you save an answer to that exact question again later. This is the quickest way to turn a one-off question into durable, reusable knowledge.
Staleness detection
A wiki page does not go stale just by sitting still - most reference material is meant to stay true for a long time. orboto only flags a page as possibly stale when both of these are true: the page has not been touched in over 90 days, and newer source material has arrived in the space since then that the page has not been updated to reflect. A page nobody has fed anything new never gets flagged, no matter how old it is - "stale" means "the world moved and this page didn't," not "this page is old."
Staleness is one of the checks wiki lint runs - see below for where flagged pages show up and how to resolve them (refresh the page's content, or dismiss the flag if it does not actually need a change).
Added in v0.236.0 Lint refreshes a stale page itself. When the space curates its sources (the default) and an AI provider is configured, lint queues a re-ingest for a stale page instead of leaving an open issue:
- The job reads the page and up to three of the newer sources and folds them into the page in one AI call. What a source changes is superseded as described in When a fact changes, with the note
observed by source "ACME-D8, ACME-D9"(at most three names, then "and N more"); what is new is appended as a section. - In an auto-apply space it lands at once, with a receipt for every edited page and an undo. In a space with a review gate the plan waits as a Pending review run of that page: the page's stale issue stays open, names the run and the commands that decide it, and nothing is written until a reviewer applies the plan (see Reviewing a plan).
- A lint run queues at most 3 re-ingests, one per state of a page. A page that was edited since is looked at again, and a page that was refreshed is not touched twice. A page never tried goes before a page whose earlier try failed. A page whose plan waits for review, or was rejected, is not queued again for that state; editing the page makes it a new state.
- The issue turns fixed only once the re-ingest changed the page, in a review-gate space once a reviewer applied the plan and it wrote. A failed run, or one that changed nothing, reopens the issue with the reason and the next lint run tries again; dismiss the issue to stop. A rejected plan reopens it with the reviewer's reason and lint does not try that state of the page again. Without an AI provider, or in a space whose curation is switched off, the page stays an open stale issue as before.
- Every step is in the audit log (
wiki.stale.reingest_queued,wiki.stale.reingest_plannedfor a plan parked for review,wiki.stale.reingested,wiki.stale.reingest_failed), and the decision of a reviewer aswiki.ingest.reviewed. Each entry names the space's apply mode. The job runs on theorboto.llm-wiki.stale-reingestqueue.
Duplicate pages are merged
Added in v0.236.0 Two pages on one topic split what readers find and what agents are handed. Lint merges them into the older page.
- Which pairs. Two curated pages of one space (not a source, the index, the log, the schema page or a generated page) with the same title, ignoring case and punctuation, or with text that is at least 95 percent similar by embedding (this needs an embedding provider). The older page by creation date is kept.
- The merge. The older page gains the sections of the younger one it does not hold yet under a heading
Merged from ACME-D44 "Title". The younger page becomes a short stub: "This page was merged into ACME-D37 on<date>", linking the older page. The stub keeps its key, so every smart link to it still opens something, and the backlinks of the older page count the links that pointed at the stub. The stub leaves the wiki's index, search, Ask,knowledge find, the handoff pages and later lint runs. - At most 5 merges per lint run. A pair that waits is merged by the next run (the schedule is in the space's LLM-Wiki settings, or Run lint now, or
orboto wiki lint <space>). - One receipt, one undo. A merge writes a receipt for each of the two pages. While a merge is the newest change, the banner of either page says that a duplicate page was merged, with Undo. Undoing either receipt undoes the whole merge: both pages get their exact earlier bodies back, the stub is a page of its own again, and lint keeps the pair apart from then on. It is refused while either page has been changed since.
- The issue. A merged pair is filed as a fixed Duplicate page issue with the undo command as its fix, an undone one stays dismissed, and a pair lint could not merge stays open with the command that merges it.
You can merge two pages yourself:
orboto wiki merge ACME-D44 ACME-D37The first page is merged into the second, which keeps its key, and the command prints the undo. You choose the direction. Both pages must be curated wiki pages of one space whose pages you may edit. The REST call is POST /docs/{id}/merge-into with the body {"into": "<page key or id>"}. A page that cannot be merged answers 409: the same page (errors.docs.merge_same_page), pages of two spaces (merge_other_space), a page that is not a curated wiki page (merge_not_wiki_page) or one that was merged already (merge_already_merged: undo that merge first).
Wiki lint
What it is. A self-audit that scans a wiki-enabled space for problems and lists them as issues you can act on. For most kinds lint only reports, and you decide what, if anything, to do about each issue. Added in v0.236.0 Two things lint repairs itself, because every repair has a receipt and an undo: it merges a duplicate page at once, and it refreshes a stale page from newer sources, at once in an auto-apply space and after a reviewer applied the plan in a review-gate space (see Duplicate pages are merged, Staleness detection and Reviewing a plan).
| Issue | What it means |
|---|---|
| Orphan page | Nothing links to this page and it is not listed in the space's index - readers have no way to find it by browsing. |
| Missing cross-reference | A page's text mentions another page's title by name but never actually links to it. |
| Stale page | Untouched for 90+ days while newer source material has arrived - see Staleness detection above. It stays an open issue when lint cannot refresh the page itself, or while its refresh waits for review. |
| Unprocessed source | A source document was imported but the curation worker has not turned it into wiki content yet. |
| Contradiction | Two pages appear to say conflicting things about the same topic. A sentence under a collapsed Earlier block is not a contradiction: lint reads only what the page says now. |
| Undocumented concept | Your source material repeatedly references something that has no dedicated page yet. |
| Duplicate page | Two curated pages on one topic. Lint merges them at once, so you meet this issue as fixed, with the undo command as its fix, and open only when a merge failed - see Duplicate pages are merged. |
Contradiction and undocumented-concept checks use AI directly and only run when AI is configured; the others are checked mechanically and always run (the duplicate check compares titles always and stored embeddings when an embedding provider is set).
Added in v0.236.0 A further kind, Large shrink by an agent, is not found by a scan. It is filed the moment an agent's write makes a page more than a quarter shorter. The write itself stays live and is not refused. The issue names the page and how much shorter it got, and its suggested fix is the command that undoes the write (orboto knowledge undo <receipt code>, or Undo on the page's banner). Receipts are kept for 90 days; after that the issue says the undo has expired and points to the page history, which still holds the earlier revision.
Where issues appear
- The space sidebar shows a small badge with the open-issue count next to a Lint issues section; expand it to see the list, and select the refresh icon to run lint now rather than waiting for its schedule.
- A doc page's header shows a pill with its own open-issue count whenever the page you are currently reading has one or more open issues - hover it to read what they are.
- The admin LLM-Wiki inbox (see below) lists issues across every wiki space in the workspace in one place.
Resolving an issue
Each issue carries a plain-language message and, where possible, a suggested fix (for example, "add a smart-link to this page" or "re-ingest recent sources to refresh this page"). Read the suggestion, make the change it describes if it makes sense, and:
- Dismiss an issue you have looked at and decided is not worth acting on (an intentional orphan page kept as a private note, for example) - it will not be reported again unless the underlying problem changes.
- Do nothing and re-run lint later - if the condition that caused the issue is no longer true (you linked the page, updated the stale content), the next lint run automatically marks it fixed on its own; you never have to close an issue by hand once you have actually addressed it.
The admin inbox
Workspace administrators have a dedicated LLM-Wiki page (under Admin) with up to four tabs:
- Issues - every lint issue across every wiki-enabled space, filterable by status (open, dismissed, fixed), with the same dismiss/reopen controls as the per-space panel plus which space each issue belongs to.
- Ingest runs - the runs of every space, see Following an ingest.
- Added in v0.236.0 Review - the plans that review-gate spaces hold back, with a count in the tab; it is shown to people who hold the permission to configure a wiki, see Reviewing a plan.
- Audit - a log of every automated edit the wiki's curation worker has made (what operation, which space, a content hash before and after), exportable as a CSV for a full paper trail of what the automation changed and when.
A small usage line at the top of the page shows the current month's ingest and lint run counts against your plan's limits, so administrators can see usage at a glance without digging through billing.

Following an ingest
Added in v0.229.0 A source you add shows up as a run straight away, not only once the AI has answered. orboto wiki runs <space> and Admin → LLM-Wiki → Ingest runs list waiting and running sources first: "waiting for the ingest worker, 3 min" or "running, 1 min". A run that no worker picked up within 15 minutes, or that has been running for 30 minutes, is marked stalled, and super-admins get one alert with a link to the waiting runs. You can retry a stalled or failed run. A run that is still in progress can't be retried, so a source is never processed twice. Two workers never process the same run either.
Added in v0.236.0 The list also filters Pending review and Rejected runs (orboto wiki runs <space> --status pending_review or --status rejected). A run from a stale page reads "Stale re-ingest of" and the page, a run a reviewer decided shows who decided it, when and with which note, and a run that waits for review shows the command that decides it. Retrying a failed or stalled stale re-ingest runs that re-ingest again on the same state of the page and the same sources; when the page changed in the meantime, the run is Skipped.
orboto wiki record, ask and lint wait up to 4 minutes for the answer. The server gives up after 3 minutes and then answers errors.docs.plan_deadline_exceeded without storing anything, so you can simply run the command again.
Reviewing a plan
Added in v0.236.0 In a space with the review gate, every plan the wiki agent makes waits as a run with the status Pending review: the plan of an ingested source and the re-ingest of a stale page that lint queued. Nothing is written to a page until someone applies the plan. A reviewer reads the plan as a diff, then applies or rejects it.
Who can review. Applying and rejecting need the permission to enable and configure the LLM-Wiki on the space (space:wiki-config), the same permission that changes the space's wiki settings. Without it a run is listed, but offers no review action, and a call to decide it is refused with 403 errors.docs.wiki_review_permission_required.
Where.
- Admin → LLM-Wiki → Review lists the plans of every wiki space that wait for review; the tab shows how many. Open a plan to see what it changes, then use Apply or Reject.
- On the command line:
orboto wiki runs <space> --status pending_reviewlists them,orboto wiki runs show <space> <run>prints the plan as a diff,orboto wiki runs apply <space> <run> [--reason "..."]applies it andorboto wiki runs reject <space> <run> --reason "..."rejects it. - Agents use the MCP tool
orboto_wiki_runswith the actionsshow,applyandreject(reason required forreject). Over REST it isGET /spaces/{id}/llm-wiki/ingest-runs/{runId},POST .../applyandPOST .../reject. The in-app chat leaves the decision to a person.
What the diff shows. For every page the plan touches: New page with its text, Append to a page with the section that is added, or Replace statement on a page with the old statement (-, red) and the new one (+, green); the old statement moves under Earlier when the plan is applied (see When a fact changes). A page that is gone, or no longer a wiki page of the space, is marked, and applying the plan skips that change. Below the changes you see the sources the plan read and the plan's log line. When you cannot open the source of the run, the plan stays hidden from you.
Apply. An optional note of up to 2,000 characters is kept with the review. The plan is written the way auto-apply writes it: every edited page gets a receipt and an undo, as described in Every write answers with a receipt and an undo. The run becomes Applied and shows who applied it, when, and the note. When the write fails, the run becomes Failed with its error and the plan is kept; Retry under Ingest runs plans it again.
Reject. A reason of 1 to 2,000 characters is required. Nothing is written, the run becomes Rejected, and the reason is kept with it.
Who is told, and what is recorded. The person who created the run gets the in-app notification Wiki plan applied or Wiki plan rejected with the reviewer's name and, for a rejection, the reason; they are not told about a decision they made themselves. Email for these two notifications is off until the person switches it on in their notification settings. Both decisions are written to the audit log as wiki.ingest.reviewed with the decision, the reason and the receipt codes; a failed apply is logged as wiki.ingest.review_failed. Only one reviewer can decide a run: whoever comes second gets 409 errors.docs.ingest_run_not_pending.
A stale re-ingest. Its page keeps an open Stale page issue that names the run until a reviewer decides.
- Apply refreshes the page and turns the issue fixed. When the page changed, or is gone, since the plan was made, or the plan changes nothing, no page is written: the run is Skipped, the issue stays open with that reason until the next lint run decides, and the creator is told that nothing was written.
- Reject reopens the issue with your reason. Lint does not queue another re-ingest for that state of the page; once someone edits the page it is a new state and lint looks at it again.
Troubleshooting
- I don't see a settings gear on my space. You need manage rights on the space (the same permission that gates other space-management actions) - ask a project admin or a super-admin to enable the LLM-Wiki for you, or to grant you that permission.
- I imported a source but nothing changed on any page. Under review-gate apply mode the plan for a source is parked as a Pending review run (
orboto wiki runs <space> --status pending_review) and not written to the pages until a reviewer applies it: open Admin → LLM-Wiki → Review, or runorboto wiki runs apply <space> <run>. Switch the space to auto-apply to have sources curated at once. Also check that the space actually has the LLM-Wiki enabled and that Curate new sources automatically is on; a plain doc space keeps imported material as a static page and never curates it. - A run waits for review, but I see no Apply or Reject. Deciding a run needs the permission to enable and configure the LLM-Wiki on that space. The Review tab under Admin → LLM-Wiki also needs access to the admin pages; without it, use
orboto wiki runs applyandreject, or ask someone who holds the permission. - I applied a plan and nothing changed. For a stale page, the page was edited (or removed) after the plan was made, or the plan changed nothing, so applying wrote nothing and the run is Skipped with the reason. Run lint again; if the page is still stale, it gets a new plan.
- Applying a plan failed. The run is listed as Failed with its error, and the plan is kept. Fix what the error names (for example an AI provider or a page that was removed) and select Retry under Ingest runs.
- I can't edit a page. Check for the source/index/log icon next to its title - those three kinds are machine-maintained and read-only by design. Edit the regular (unmarked) wiki pages instead.
- A page I know is out of date isn't flagged stale. Staleness only fires when newer source material has arrived since the page last changed - if nothing new has been fed into the space, orboto has no signal that the page needs a refresh. Feed in an updated source, or edit the page directly.
- Lint shows an issue I've already fixed. Lint only re-checks when it runs - either wait for its scheduled run or select Run lint now in the space sidebar to re-check immediately.
- Email ingest rejects my message. The space's sender allowlist is empty by default (nobody allowed) until an administrator adds your address or your domain to it.