Start with a local wiki
Wiki Studio is a browser application for managing local Markdown wikis. You can edit pages, search, import text, build structural graphs and preview maintenance without a model. After signing in, expand Model availability to see which settings enable image descriptions, model-assisted processing and test conversations. Restart Studio after changing those settings.
Create a dedicated parent directory for wikis and a separate directory for Studio state. Run the job from your Mini-A installation, or use its absolute path:
mkdir -p /private/tmp/studio-demo/wikis
ojob /path/to/mini-a/mini-a-wiki-studio.yaml \
onport=8890 studiohome=/private/tmp/studio-demo/state \
studioallowroots='["/private/tmp/studio-demo/wikis"]'
Open http://127.0.0.1:8890. Studio prints a process-scoped access token at startup. A trusted STUDIO_TOKEN environment variable with at least 32 high-entropy characters gives a stable token. Keep it out of arguments and bookmarks. Use openbrowser=false to disable automatic browser opening. The browser keeps authentication in memory; reloading requires signing in again.
Studio serves one operator and binds to 127.0.0.1 by default. Each registered wiki needs its own local directory beneath an allowed root, outside Studio state and other registered wikis. Use the canonical path, such as /private/tmp on macOS.
In Docker, mount a parent folder at /data, pass studioallowroots='["/data"]' studiohost=0.0.0.0 openbrowser=false to the job and publish the port with -p 127.0.0.1:8890:8890. Open http://localhost:8890 on the host. If the published hostname, scheme or port differs, set studioorigin to the exact browser origin. A TLS proxy must preserve the Host header. Keep the plain HTTP listener private because the token grants administrative access.
Add a wiki and read its pages
- Choose Add Wiki and use Browse… to select an existing folder beneath an allowed root, or propose a new folder. Nothing is created until you add it; new wikis require read/write access.
- Open the wiki. Pages opens the last page you viewed in the session, or the root index when available. On desktop the Explorer stays beside the reader. On a phone, Back to pages restores the tree and your search.
- Choose Edit for raw Markdown. Saves check the revision; a conflict preserves your draft for comparison. Frontmatter comments and newline style survive saves. The preview is deliberately limited: HTML is text, images are not embedded, and it is not a full Markdown renderer.
- Open Page actions to move, rename or delete the current page. To repair a registration whose folder moved, use Change root on the initial wiki list. You can also unregister it there and keep the files on disk.
Under Pages → Advanced options, choose Index, Graph or Combined for one wiki or across registered wikis. Graph search needs an enabled graph and a built snapshot. Combined merges the two rankings. Check coverage warnings before interpreting an empty result. Graph and combined searches return up to 200 ranked pages per wiki, and all-wiki searches cover up to 20 wikis.
Import documents with a preview
Choose a source method, upload or download its content, prepare the revision, then Preview changes before Import into wiki. Webpage and YouTube methods have adjacent download actions. Local directory/Git-checkout intake requires explicit studiosourcedirs entries. Use public demo content first.
The source library retains revisions for later incremental updates. Ad-hoc import follows the same preview and import steps but discards the registration and staging after success; failed or abandoned sources stay available for recovery. Deleting a source registration leaves already imported pages in place. Changed options invalidate the preview, and model-backed previews do not guarantee identical later model output. Importing another wiki uses the existing absorption plan workflow.
Advanced options starts closed. Open it for file/chunk limits, concurrency, model call/token budgets and workflow-specific defaults. Save defaults for this wiki persists tuning, not credentials, approvals or source choices. Force reprocessing remains a per-run choice.
Import a large Office document
Upload Word, Excel or PowerPoint files up to 128 MiB per file by default. Other files, including PDF and RTF, default to 8 MiB each. The default batch limit is 256 MiB, and a ZIP upload has its own 20 MiB archive limit. Office, RTF and PDF extraction uses the Tika oPack on the Studio server. Scanned PDFs need a separate OCR step.
Leave Office extraction on auto to split Office files above 8 MiB, or files whose ordinary extraction reaches its text limit. Preview shows the proposed index and searchable child pages with their source locations. Choose always to get parts for a smaller file. Structured extraction needs JDK 17 or newer and Tika 4. A preview and its matching import reuse completed extraction.
Studio defaults to Normalize when there is no main model. If a mixed upload includes images that need a vision model, review the skipped files and choose Import eligible files. Studio keeps a partially imported ad-hoc source available to retry. Clear File size override (bytes) to inherit the server’s per-format limits. Operators can change the ceilings with studiomaxsourcebytes, studiomaxofficesourcebytes, studiomaxbatchbytes and studiomaxstagebytes. An explicit general per-file ceiling also applies to Office unless an Office-specific ceiling is set.
Import an MCP tool result
- Start Studio with a connection such as
mcp='(id:math,type:ojob,options:(job:mcps/mcp-math.yaml))', or enable a plugin that supplies one. Use a stable connection ID if you plan to refresh the source. - In Import → Add source, select MCP tool call, name the source and choose the connection and tool. Fill in required arguments and tick Include for each optional value to send. Call tool executes immediately, before the wiki preview. If a call times out, check the connected service before retrying.
- Keep the whole result or select fields. Selecting fields under a list keeps those fields for every item. Use this result stages the displayed Markdown. Preview changes and Import into wiki reuse that capture. A later library update restores the tool and field selection and asks for fresh arguments.
Build graphs and test retrieval
Open Graph from the Pages toolbar to inspect relationships or download offline HTML. A stored snapshot is labelled a knowledge graph; without one the exporter scans Markdown links. Snapshot presence alone does not establish freshness or semantic enrichment. Use graph builds to choose structural extraction, deterministic semantic extraction, or bounded model help.
Choose a document node in Pages → Graph and select Open page to read its evidence. Build or update graph reveals the build controls. For a graph-wide change, preview the upgrade and inspect meaningful connectivity before starting the resumable upgrade.
Overview → Open wiki test in new tab starts a separate Mini-A Web conversation with the selected wiki read-only. It requires OAF_MODEL. Enable Advanced view opts in to trusted console controls for that test.
Organize and recover safely
Mark pages or folders, then move or delete the selection after reviewing its preview. Recursive folder operations include attachments, nested and empty directories. Moves reject existing destinations and update links and ownership. Deletion requires an explicit confirmation and leaves incoming links for lint to report. See folder transactions.
Activity identifies queued/running work and provides cancellation, processing logs and results. Cancellation stops new work; model calls already in flight may finish. Snapshots, restore and pending recovery are under Maintenance. Restore rolls back the whole wiki, so review its snapshot and confirmation carefully. History/snapshot cleanup offers previews and protects recovery resources; it does not remove wiki pages.
If a writable console reports incompatible-generation after a Studio import, run /wiki context to inspect the differing fields. Studio and its workers inherit the published lexical settings unless you explicitly set OAF_MINI_A_WIKI_LEXICAL. To change the published settings, run /wiki reindex from a writable console configured for the intended analysis.
Keep studiohome and verified recovery snapshots until pending operations are resolved. Stop Studio and drain workers before upgrading, then restart and reopen the browser. Shared old/new workers can use incompatible locks. The pinned Studio manual includes migration details, HTTP API examples and limits.