Options in this group use the same names as Mini-A help. Unset means the entry point leaves the value unspecified; the description explains conditional behavior. Explicit CLI arguments override agent-file settings and mode defaults.

Start with the related guide for a worked example.

All options are listed below. Filtering requires JavaScript.

Ingestion and absorption

absorbmaxpages

Type
number
Default

100

Available in
Console, Absorption job

Maximum selected absorption pages.

Source definition

absorbmaxtokens

Type
number
Default

100000

Available in
Console, Absorption job

Aggregate absorption model input token estimate limit.

Source definition

absorboutput

Type
string
Default

unset

Available in
Console, Absorption job

External absorption plan directory (required for read-only planning).

Source definition

ingestallowemptyprune

Type
boolean
Default

false

Available in
Console, Agent job, Ingestion job

Allow pruning a confirmed empty source folder.

Source definition

ingestchunkchars

Type
number
Default

24000

Available in
Console, Ingestion job

Maximum characters per distillation chunk during ingest.

Source definition

ingestconcurrency

Type
number
Default

4

Available in
Console, Ingestion job

Number of parallel source distillations during ingest.

Source definition

ingestdryrun

Type
boolean
Default

false

Available in
Console, Ingestion job

Report what would be ingested without writing.

Source definition

ingestexclude

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Ingestion job

Comma-separated path fragments to exclude when ingesting.

Source definition

ingestforce

Type
boolean
Default

false

Available in
Console, Ingestion job

Re-ingest sources the ledger reports as unchanged.

Source definition

ingestinclude

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Ingestion job

Comma-separated path fragments to include when ingesting.

Source definition

ingestindependent

Type
boolean
Default

false

Available in
Console, Agent job, Ingestion job

Allow a disjoint ingestion while preserving pending recovery journals.

Source definition

ingestlayout

Type
string
Default

“source”

Available in
Console, Agent job, Ingestion job

New-page layout: flat or source folders.

Source definition

ingestledger

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Ingestion job

Override the ingest ledger file path.

Source definition

ingestmaxfilekb

Type
number
Default

512

Available in
Console, Ingestion job

Skip ingest sources larger than this many KB.

Source definition

ingestmode

Type
string
Default

auto

Available in
Console, Agent job, Ingestion job

Ingestion mode: auto (default; deterministic normalization first), normalize, distill (legacy model distillation), or raw.

Source definition

ingestprune

Type
boolean
Default

false

Available in
Console, Agent job, Ingestion job

Remove verified missing sources within this ingestion scope.

Source definition

ingestsection

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Ingestion job

Wiki section ingested pages are written into.

Source definition

ingestsource

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Ingestion job

Folder, git repository or page URL to ingest into the wiki.

Source definition

ingestsourceid

Type
string
Default

unset

Available in
Console, Agent job, Ingestion job

Stable logical ingestion origin identity.

Source definition

ingesttype

Type
string
Default

auto

Available in
Console, Ingestion job

Ingest source type: markdown, repo or url (auto-detected when unset).

Source definition

maxstagebytes

Type
number
Default

268435456

Available in
Ingestion job

Maximum bytes for one Office extraction stage (default: 268435456)

Source definition

officeparts

Type
string
Default

auto

Available in
Ingestion job

Office extraction policy (auto, always, or off)

Source definition

Memory stores and retention

acceptanceoptimization

Type
boolean
Default

true; active only when the relevant acceptance path has a trusted contract

Available in
Console, Agent job, Web startup

Skip semantic acceptance review when a required deterministic check fails.

Source definition · Runtime default

acceptancereview

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Review final answers before acceptance.

Source definition · Runtime default

memoryartifactttldays

Type
number
Default

7

Available in
Console, Agent job, Web startup

Expiry window for normalized tool and network observations. Expired entries are excluded from search and prompt injection, then removed during maintenance.

Source definition · Runtime default

memorybudget

Type
number
Default

1500

Available in
Console, Agent job, Web startup

Token budget for the relevant-mode injection block; entries are added by score until either this or memoryrelevantcap is hit, and each value is truncated to 300 characters.

Source definition · Runtime default

memorycandidatedays

Type
number
Default

30

Available in
Console, Agent job, Web startup

Expiry window for an unconfirmed candidate promoted to global storage (see “Durable Knowledge” below) before a second session confirms it.

Source definition · Runtime default

memorych

Type
string
Default

runtime writes to the global store so they survive reloads

Available in
Console, Agent job, Web startup

JSSLON definition for an OpenAF channel used to persist and reload global working memory across runs. Supports any channel type (e.g. file, remote, mvs, simple). Example: memorych="{type:'file',options:{file:'/tmp/memory.json'}}". When combined with memoryscope=both, Mini-A now defaults runtime writes to the global store so they survive reloads; use memoryScope: "session" for ephemeral per-session entries. When omitted, memory is in-process only and not persisted between runs.

Source definition · Runtime default

memorycompactevery

Type
number
Default

8

Available in
Console, Agent job, Web startup

Trigger compaction every N memory mutations.

Source definition · Runtime default

memorydedup

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Deduplicate near-identical, unexpired entries during append. Restoring a saved memory snapshot preserves distinct record IDs, keys, and scopes even when their text is identical.

Source definition · Runtime default

memoryindexttldays

Type
number
Default

1

Available in
Console, Agent job, Web startup

Shorter expiry window for list, search, and index snapshots.

Source definition · Runtime default

memoryinject

Type
string
Default

under usememory=true

Available in
Console, Agent job, Web startup

Controls how working memory reaches the model. summary injects only section entry counts (e.g. {facts:12,decisions:3}); the model must call memory_search to see anything. relevant (the default under usememory=true) adds a one-time, token-budgeted block of goal-relevant durable knowledge injected into the system rules at run start, ranked by score across sections rather than a fixed per-section slice — see “Durable Knowledge” below. full embeds every compact entry in every step prompt; memory_search remains available in all three modes.

Source definition · Runtime default

memoryman

Type
boolean
Default

false

Available in
Console

Launch the interactive working-memory manager TUI (mini-a-memoryman.js) instead of the normal console. Designed for operators using usememory=true with memorych/memorysessionch.

Source definition

memorymaxentries

Type
number
Default

500

Available in
Console, Agent job, Web startup

Global cap across all sections; compaction preserves decisions/evidence preferentially.

Source definition · Runtime default

memorymaxpersection

Type
number
Default

80

Available in
Console, Agent job, Web startup

Max entries retained per memory section before compaction.

Source definition · Runtime default

memorymd

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Store global memory as path-keyed markdown strings in memorych (one .md record per entry)

Source definition · Runtime default

memorypersistevery

Type
number
Default

1

Available in
Console, Agent job, Web startup

Persist the memory store to its channel every Nth mutation instead of after every single append/upsert. 1 (the default) preserves the original synchronous-every-write behavior; a higher value trades a small durability window (flushed unconditionally at run end, promotion, an explicit memory_write, or /clear) for fewer full-channel rewrites on long runs.

Source definition · Runtime default

memorypromote

Type
string
Default

""

Available in
Console, Agent job, Web startup

Comma-separated list of memory sections to auto-promote from the session store to the global store at session end. Uses a refresh-or-append strategy: near-duplicate global entries have their confirmedAt and confirmCount updated rather than duplicated; entirely new entries are appended. memoryuser=true sets this to facts,decisions,summaries. Set to "" to disable promotion.

Source definition · Runtime default

memoryreflect

Type
boolean
Default

true when usememory=true

Available in
Console, Agent job, Web startup

After a successful run that used at least memoryreflectmin tool calls, makes one extra LLM call that extracts 0-5 durable memories (typed the same as memory_write) from the run — the primary source of durable knowledge in practice, since the model rarely calls memory_write unprompted. Never runs on a missing-final-answer, error, or shutdown exit.

Source definition · Runtime default

memoryreflectmin

Type
number
Default

2

Available in
Console, Agent job, Web startup

Minimum total tool/shell calls a run must have made before it qualifies for reflection.

Source definition · Runtime default

memoryreflectmode

Type
string
Default

background

Available in
Console, Agent job, Web startup

Schedule eligible post-run memory reflection in the background, or use sync to finish reflection before the run returns. Synchronous reflection can delay completion. Only background and sync are accepted.

Source definition · Runtime default

memoryreflectmodel

Type
string
Default

Unset.

Available in
Console, Agent job, Web startup

SLON/JSON model config for the reflection pass, so it can use a cheaper model than the main run. Falls back to OAF_REFLECT_MODEL, then the low-cost model (modellc/OAF_LC_MODEL) if configured, then the main model.

Source definition · Runtime default

memoryrelevantcap

Type
number
Default

8

Available in
Console, Agent job, Web startup

Maximum number of durable entries in the relevant-mode injection block.

Source definition · Runtime default

memoryscope

Type
string
Default

both

Available in
Console, Agent job, Web startup

Select memory lookup scope: session, global, or both (session first, global fallback).

Source definition · Runtime default

memorysearchbudget

Type
number
Default

1200

Available in
Console, Agent job, Web startup

Token budget for a single memory_search action’s results; matches beyond the budget are reported as omitted rather than dropped silently, with a hint to narrow the query or fetch one full entry with {"id":"..."}.

Source definition · Runtime default

memorysessionch

Type
string
Default

writes under memoryscope=both go to the session store

Available in
Console, Agent job, Web startup

JSSLON definition for an OpenAF channel used to persist and reload session-scoped working memory. When both memorych and memorysessionch are set, default writes under memoryscope=both go to the session store; knowledge is promoted to global automatically at session end via memorypromote. Same format as memorych.

Source definition · Runtime default

memorysessionheader

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Request header name used to derive a web memory session id.

Source definition

memorysessionid

Type
string
Default

conversation when provided, otherwise the current runtime id

Available in
Console, Agent job, Web startup

Session id for ephemeral memory isolation. Defaults to conversation when provided, otherwise the current runtime id.

Source definition · Runtime default

memorysessionmaxdays

Type
number
Default

14

Available in
Console, Agent job, Web startup

Session namespaces under memorysessionch older than this (and not the current session) are garbage-collected once per process on _initWorkingMemory.

Source definition · Runtime default

memorystaledays

Type
number
Default

0

Available in
Console, Agent job, Web startup

Number of days after which a global memory entry that has not been re-confirmed by any session is marked stale=true. The sweep runs automatically after each auto-promotion pass. Stale entries are not deleted immediately — they are evicted by compaction when a section overflows memorymaxpersection, giving recently confirmed entries priority. Set to 0 to disable staleness tracking. memoryuser=true sets this to 30.

Source definition · Runtime default

memoryuser

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Convenience shorthand that activates usememory, pre-configures memorych and memorysessionch as file-backed channels under ~/.openaf-mini-a/, and sets memorypromote=facts,decisions,summaries + memorystaledays=30. Only sets channels not already explicitly defined. The directory is auto-created if absent.

Source definition · Runtime default

memoryusersession

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Convenience shorthand that activates usememory, defaults memoryscope=session, and pre-configures memorysessionch as a file-backed channel under ~/.openaf-mini-a/. Only sets the session channel when it is not already explicitly defined. The directory is auto-created if absent.

Source definition · Runtime default

memorywritemax

Type
number
Default

20

Available in
Console, Agent job, Web startup

Maximum memory_write calls allowed per run

Source definition · Runtime default

proxyargrepair

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Repair unambiguous read-only proxy operation aliases.

Source definition · Runtime default

usememory

Type
boolean
Default

false

Available in
Console, Agent job, Web startup, Worker startup

Enable Mini-A structured working memory during execution. Memory schema sections are: facts, evidence, openQuestions, hypotheses, decisions, artifacts, risks, and summaries.

Source definition · Runtime default

usememorywrite

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Let the model record durable typed memory via the memory_write action (preference, environment, procedure, pitfall, reference)

Source definition · Runtime default

Dream consolidation

dream

Type
boolean
Default

false

Available in
Console, Agent job

Run a dream (sleep) pass — LLM-powered memory and/or wiki consolidation — instead of the console.

Source definition

dreammaxsteps

Type
number
Default

40

Available in
Console, Agent job

Total model step budget for wiki auto/reorg.

Source definition

dreammemorymode

Type
string
Default

apply

Available in
Console, Agent job

Memory dream mode: plan or apply.

Source definition

dreammode

Type
string
Default

unset

Available in
Console, Agent job

Dream mode selector for dream=true: memory, wiki, or both (default auto: memory when memory is configured, otherwise wiki).

Source definition

dreamreport

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job

Optional file path to write dream JSON report output.

Source definition

dreamwiki

Type
boolean
Default

false

Available in
Console, Agent job

Force wiki dream when dream=true and memory is also configured.

Source definition

dreamwikiapproval

Type
string
Default

ask

Available in
Console, Agent job

Wiki reorg approval mode: auto, ask, or never.

Source definition

dreamwikidryrun

Type
boolean
Default

false

Available in
Console, Agent job

Propose wiki changes without writing (opt-out of apply).

Source definition

dreamwikiinstructions

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job

Additional guidance appended to the wiki reorg objective.

Source definition

dreamwikilintresultlimit

Type
number
Default

25

Available in
Console

Maximum lint issues returned per dream-agent request (default 25).

Source definition

dreamwikillm

Type
boolean
Default

true

Available in
Console, Agent job

Allow semantic wiki auto repairs, using configured decide for bounded link choices and the main model for remaining proposals.

Source definition

dreamwikimaxaffected

Type
number
Default

100 (preview only)

Available in
Console, Agent job

Maximum affected pages in wiki dream plan/dry-run dirty-set previews (default 100).

Source definition

dreamwikimaxdepth

Type
number
Default

3

Available in
Console

Maximum folder depth considered during wiki reorg planning.

Source definition

dreamwikiminpages

Type
number
Default

ignored

Available in
Console

Legacy compatibility option; the current dream runner ignores it and finalizes indexes regardless of page count.

Source definition

dreamwikimode

Type
string
Default

apply (the wikiDream lifecycle utility defaults to reorg)

Available in
Console, Agent job

Wiki dream mode: auto, plan, apply (default), reorg, repair, reindex, rebuild, graph, or indexes.

Source definition

dreamwikiorganize

Type
string
Default

“none”

Available in
Console, Agent job

Explicit reorg organization: none or topics.

Source definition

dreamwikireorg

Type
boolean
Default

false

Available in
Console, Agent job

Allow structural wiki reorg operations.

Source definition

dryrun

Type
boolean
Default

false

Available in
Console

Preview dream consolidation without applying changes (default false); also accepts dreamwikidryrun for wiki dreams.

Source definition

maxauditrecords

Type
number
Default

200

Available in
Console

Maximum audit records included in a memory dream prompt (default 200).

Source definition

Wiki storage and access

s3artifactbundle

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Use one <wikis3artifactprefix>/mini-a-wiki-index.zip artifact bundle instead of individual S3 objects.

Source definition

usewiki

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Enable the persistent Markdown wiki knowledge base.

Source definition

wikiaccess

Type
string
Default

ro

Available in
Console, Agent job, Web startup, Ingestion job, Absorption job

Wiki access mode, ro or rw.

Source definition

wikiaccesskey

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

S3 access key for s3/s3fs; Elasticsearch username for es.

Source definition

wikiartifactrefreshsecs

Type
number
Default

0

Available in
Console, Agent job, Web startup

For HTTP bundles and S3 bundles (s3artifactbundle=true), probe bundle metadata at most once per interval between wiki requests. A changed ETag/last-modified value downloads and atomically replaces the local cache, then reopens Lucene/graph state. 0 retains startup-only hydration. Individual S3 artifact trees are intentionally not refreshed because a partial update could mix Lucene generations.

Source definition

wikibackend

Type
string
Default

fs

Available in
Console, Agent job, Web startup

Wiki backend, one of fs, s3, s3fs, es (Elasticsearch/OpenSearch), or read-only http (https is accepted as an alias).

Source definition

wikibucket

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

S3 bucket for wikibackend=s3 or wikibackend=s3fs.

Source definition

wikidream

Type
boolean
Default

false

Available in
Console

Console shortcut: run wiki Dream maintenance.

Source definition

wikihttpindexurl

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

Optional URL for the HTTP wiki mini-a-wiki-index.zip bundle.

Source definition

wikihttptimeout

Type
number
Default

30000

Available in
Console, Agent job, Web startup

HTTP wiki request timeout in milliseconds.

Source definition

wikihydrate

Type
boolean
Default

false

Available in
Console

Console shortcut: create/update a wiki from source=<folder> using utils/wikiHydrate.yaml.

Source definition

wikiignorecertcheck

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Disable TLS certificate checks for the S3 endpoint.

Source definition

wikiindexdir

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

Override the local index/cache directory used for non-filesystem wiki indexes.

Source definition

wikiman

Type
boolean
Default

false

Available in
Console

Start the guided wiki operations manager.

Source definition

wikimounts

Type
SLON/JSON
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

Read-only wiki mounts. Array of {name, backend, root|bucket|prefix|url|accessKey|secret|region}. An fs root may be a local directory or a local .zip/.okt archive; archives expose their entry root and are always read-only. Each mount’s pages appear under @<name>/path.md in search, read, browse, and tree. Example: wikimounts="[{name: 'reference', backend: 'fs', root: '/shared/reference.okt'}]".

Source definition

wikimountshint

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Opt-in. Adds one line listing the mounted wikis (@name, label, and description; a mount without a configured description falls back to its index.md front-matter description) to the wiki section of the agent-mode system prompt (chatbot mode has no wiki prompt section, so it is unaffected), so the model can tell which topics the wikis cover before it calls context. The same flag on mcps/mcp-wiki.yaml and mcps/mcp-wiki-ops.yaml appends the line to the context (and, on mcp-wiki.yaml, search) tool descriptions. It costs prompt tokens and is a snapshot: the agent reads it when the prompt is built, and the MCP server when it renders tools/list. mcp-wiki-safe.yaml and wikirestrict=true never emit it.

Source definition

wikimountshintmax

Type
number
Default

12

Available in
Console, Agent job, Web startup

Maximum mounts listed by wikimountshint; the rest are summarized as (+N more; call context()). Each description is truncated to 120 characters.

Source definition

wikiprefix

Type
string
Default

“wiki/”

Available in
Console, Agent job, Web startup

S3 key prefix for s3/s3fs; Elasticsearch index name for es (defaults to mini_a_wiki).

Source definition

wikiquery

Type
boolean
Default

false

Available in
Console

Console shortcut: query an existing wiki.

Source definition

wikiregion

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

S3 region for s3/s3fs.

Source definition

wikiroot

Type
string
Default

.

Available in
Console, Agent job, Web startup, Ingestion job, Absorption job

Filesystem directory or local .zip/.okt archive for wikibackend=fs. Archive roots are always read-only, even with wikiaccess=rw. When usewikigraph=true, an archive may provide its existing .mini-a-wiki-graph/graph.json for read-only graph commands and search hints; Mini-A never rebuilds or writes it.

Source definition

wikis3artifactprefix

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

For an s3 wiki, download a separately published artifact tree into wikiindexdir at startup. Place Lucene files below .mini-a-wiki-lucene/; mcp-wiki can also consume .mini-a-wiki-graph/graph.json when usewikigraph=true. The MCP servers remain read-only and never publish artifacts back to S3.

Source definition

wikisecret

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

S3 secret key for s3/s3fs; Elasticsearch password for es.

Source definition

wikiurl

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

S3-compatible endpoint URL for s3/s3fs; Elasticsearch/OpenSearch base URL for es (this is the CLI-facing equivalent of the internal esurl).

Source definition

wikiuseversion1

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Use S3 path-style/signature-v1 compatibility for s3/s3fs.

Source definition

Wiki graph

usewikigraph

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Enable wiki knowledge-graph layer and graph action. Also enabled automatically when wikigraphfalkorhost is set.

Source definition

wikigraphautoreconcile

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Reconcile graph connections right after single page writes on local wikis up to wikigraphautoreconcilemaxpages pages (lexical, model-free settings only; others wait for the next graph build).

Source definition

wikigraphautoreconcilemaxpages

Type
number
Default

200

Available in
Console, Agent job, Web startup

Largest wiki (in pages) for which wikigraphautoreconcile runs after each write.

Source definition

wikigraphautosave

Type
string
Default

always

Available in
Console, Agent job, Web startup

Graph autosave policy: always, debounced, or off.

Source definition

wikigraphcommunity

Type
string
Default

louvain

Available in
Console, Agent job, Web startup

Graph community detection algorithm.

Source definition

wikigraphcross

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Join this wiki’s graph with mounted wikis’ graphs at query time (explicit @-links, shared tags/aliases/concepts). Requires wikigraphmounts.

Source definition

wikigraphcrosscap

Type
number
Default

5

Available in
Console, Agent job, Web startup

Maximum cross-wiki entries appended per query.

Source definition

wikigraphcrossdepth

Type
number
Default

1

Available in
Console, Agent job, Web startup

Cross-wiki traversal depth: 1 resolves explicit links, 2 also pulls the target’s in-mount related pages.

Source definition

wikigraphcrossjoin

Type
string
Default

link,tag,alias,concept

Available in
Console, Agent job, Web startup

CSV of enabled cross-wiki join kinds: link, tag, alias, concept.

Source definition

wikigraphcrossmaxdf

Type
number
Default

0.25

Available in
Console, Agent job, Web startup

Skip a shared tag/alias/concept join key present on more than this fraction of a mount’s docs.

Source definition

wikigraphcrossminkeylen

Type
number
Default

3

Available in
Console, Agent job, Web startup

Minimum length for a shared join key to be used for cross-wiki matching.

Source definition

wikigraphembeddingmaxcalls

Type
number
Default

8

Available in
Console, Agent job, Web startup

Maximum graph embedding cache misses per invocation (default 8)

Source definition

wikigraphembeddingmaxcomparisons

Type
number
Default

10000

Available in
Console, Agent job, Web startup

Maximum vector comparisons per invocation (default 10000)

Source definition

wikigraphfalkorgraph

Type
string
Default

mini_a_wiki

Available in
Console, Agent job, Web startup

FalkorDB graph name.

Source definition

wikigraphfalkorhost

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

FalkorDB host for graph-backed wiki state/query. When set, Mini-A uses FalkorDB instead of the local wiki graph cache.

Source definition

wikigraphfalkorpass

Type
string
Default

unset

Available in
Console, Agent job, Web startup

FalkorDB password for wiki graph.

Source definition

wikigraphfalkorport

Type
number
Default

6379

Available in
Console, Agent job, Web startup

TCP port of the external FalkorDB server used for wiki graph queries.

Source definition

wikigraphfalkoruser

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

FalkorDB username for wiki graph.

Source definition

wikigraphhintcap

Type
number
Default

5

Available in
Console, Agent job, Web startup

Maximum related-page hints from graph per search.

Source definition

wikigraphmounts

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Add graph-related hints from attached wikis when their cached graph.json is available.

Source definition

wikigraphproximity

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Re-rank graph-discovered Retrieval V2 hits by personalized PageRank proximity to the query’s lexical seeds (bounded by the graph edge budget).

Source definition

wikigraphreconcile

Type
string
Default

lexical

Available in
Console, Agent job, Web startup
off lexical hybrid; relationship reconciliation, default lexical (deterministic, no provider calls)
Source definition

wikigraphreconcilellm

Type
string
Default

off

Available in
Console, Agent job, Web startup
off auto; optional grounded pair validation, default off
Source definition

wikigraphreconcilemaxcalls

Type
number
Default

8

Available in
Console, Agent job, Web startup

Maximum relationship validation calls per invocation (default 8; 0 disables calls)

Source definition

wikigraphreconcilemaxcandidates

Type
number
Default

16

Available in
Console, Agent job, Web startup

Maximum discovery candidates per page (default 16)

Source definition

wikigraphreconcilemaxdf

Type
number
Default

0.2

Available in
Console, Agent job, Web startup

Maximum shared-feature document frequency fraction (default 0.2)

Source definition

wikigraphreconcilemaxedges

Type
number
Default

16

Available in
Console, Agent job, Web startup

Maximum added concept memberships per page (default 16)

Source definition

wikigraphreconcilemaxminutes

Type
number
Default

1

Available in
Console, Agent job, Web startup

Maximum reconciliation minutes per invocation (default 1)

Source definition

wikigraphreconcilemaxpages

Type
number
Default

100

Available in
Console, Agent job, Web startup

Maximum indexing or reconciliation pages per invocation (default 100)

Source definition

wikigraphreconcilemaxtokens

Type
number
Default

16000

Available in
Console, Agent job, Web startup

Maximum estimated relationship validation tokens (default 16000)

Source definition

wikigraphsavedebouncems

Type
number
Default

5000

Available in
Console, Agent job, Web startup

Debounce interval when wikigraphautosave=debounced.

Source definition

wikigraphsearchhints

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Add graph-related page hints to wiki search.

Source definition

wikigraphsemantic

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Enable semantic extraction during graph op=build. Inside a dream pass (dream=true), dreamwikimode=apply/plan default this to true whenever usewikigraph=true instead of leaving it opt-in — pass wikigraphsemantic=false explicitly to keep those two modes structural-only. See Wiki dream internals.

Source definition

wikimountgraphttlms

Type
number
Default

60000

Available in
Console, Agent job, Web startup

TTL for cached attached-wiki graph loads.

Source definition

Wiki model budgets

wikiingestbudget

Type
number
Default

wikillmbudget

Available in
Console, Agent job, Web startup, Ingestion job

Estimated input-plus-output token budget per ingestion operation; nonnegative values override wikillmbudget (0 defers model work).

Source definition

wikiingestmaxcalls

Type
number
Default

32

Available in
Console, Agent job, Web startup, Ingestion job

Maximum distillation model calls per source, including failed attempts and synthesis; 0 disables split recovery after the first call.

Source definition

wikillmbudget

Type
number
Default

-1 (unlimited)

Available in
Console, Agent job, Web startup, Ingestion job

Fallback estimated input-plus-output token budget per ingestion operation; -1/unset is unlimited. A nonnegative wikiingestbudget overrides it; this is not an aggregate cap across operations.

Source definition

wikimaxprompttokens

Type
number
Default

0

Available in
Console, Agent job, Web startup, Ingestion job

Zero/unset tries the complete source, then splits on a context-limit error; positive values defer prompts exceeding that estimated input cap.

Source definition

Wiki retrieval and maintenance

wikilexical

Type
SLON/JSON
Default

{ language: "english" }

Available in
Console, Agent job, Web startup

Lucene lexical configuration. It defaults to { language: "english" }; choose another supported Lucene language and add explicit synonym rules (for example { language: "portuguese", synonyms: [["carro", "automovel"]] }). To keep a larger dictionary outside command-line configuration, set synonymsFile (for example { synonymsFile: "synonyms.txt" }); relative paths resolve from a filesystem wiki root, while other backends require an absolute path. The file may be a SLON/JSON array of rules or plain text with one comma-separated rule per line; blank lines and lines beginning with # are ignored. File rules are added to any inline synonyms. shingles, ngrams, queryExpansion, and pseudoRelevanceFeedback are disabled unless explicitly enabled. The matching configuration is recorded in .mini-a-wiki-lucene/mini-a-lexical.json; run writable /wiki reindex after changing it. Read-only or hydrated legacy indexes continue ordinary Lucene retrieval and log one publisher-reindex warning.

Source definition

wikilintresultlimit

Type
number
Default

0

Available in
Console, Agent job, Web startup

Default maximum lint issues returned to an agent (0 returns all; dream reorg defaults to 25).

Source definition

wikilintstaleddays

Type
number
Default

90

Available in
Console, Agent job, Web startup

Age threshold used by wiki lint stale-page checks.

Source definition

wikimetacache

Type
boolean
Default

true

Available in
Console, Agent job, Web startup

Enable the sharded metadata cache used by wiki search/list/read helpers.

Source definition

wikiretrievalconfig

Type
SLON/JSON
Default

"auto": read-only V2 readers adopt the published generation’s language/analyzer, accent folding, shingles and character n-gram settings, including sizes

Available in
Console, Agent job, Web startup, Ingestion job

V2 passage, cache, artifact and query budgets. readPolicy defaults to "auto": read-only V2 readers adopt the published generation’s language/analyzer, accent folding, shingles and character n-gram settings, including sizes. This overrides differing startup index settings independently for each wiki mount. Synonyms, query expansion, relevance feedback and resource budgets remain reader-controlled. Use wikiretrievalconfig='(readPolicy: strict)' to require the published index to match configured analysis. Writable wikis always use configured build settings and still require explicit reindexing to change their contract. Mounts inherit the parent’s retrieval configuration unless a mount supplies its own wikiretrievalconfig object.

Source definition

wikiretrievalv2

Type
boolean
Default

unset

Available in
Console, Agent job, Web startup, Ingestion job

Prefer V2 passage retrieval (default true); unpublished wikis use legacy retrieval with a warning until explicitly reindexed; false forces legacy.

Source definition

wikisourcefield

Type
string
Default

sourceUrl

Available in
Console, Agent job, Web startup

Result field name the rendered citation URL is written to.

Source definition

wikisourceinline

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Also append the rendered URL into search results’ description/summary text ([sourceUrl: <url>]), for models that attend to prose more reliably than to a sibling JSON key.

Source definition

wikisourceurl

Type
Handlebars string
Default

and neither form percent-encodes on its own

Available in
Console, Agent job, Web startup

Renders a page’s canonical citation URL (a published docs site, a GitHub blob URL, etc.) onto search/read/open/grep/related results, e.g. wikisourceurl="https://docs.example.com/{{$encodePath pathNoExt}}". Available variables: path, pathNoExt, encodedPath, backend, root, bucket, prefix, url, mount, section, anchor, title. mini-a registers ow.template.addOpenAFHelpers() and ow.template.addConditionalHelpers() for this template, plus $encodeURI/$encodeURIComponent/$encodePath URL-encoding helpers — prefer {{$encodePath ...}} over triple-brace escaping, since Handlebars HTML-escapes {{x}} by default and neither form percent-encodes on its own. A wikimounts entry may set its own wikisourceurl, so a mounted page cites its own wiki rather than the parent’s URL space; a mount without one carries no citation URL for its pages. Off by default; never applied when mcp-wiki-safe.yaml restriction is active (it would leak the real page path that server exists to hide), and mcp-wiki-safe.yaml does not accept this argument at all. See docs/WIKI.md’s “Citation URLs” section.

Source definition

wikitarget

Type
string
Default

unset

Available in
Console

Initial read-only mount selected by wikiman (otherwise the primary).

Source definition

wikitelemetry

Type
boolean
Default

unset

Available in
Console, Agent job, Web startup, Ingestion job

Record local aggregate wiki retrieval telemetry (off by default); writable managers persist it, read-only managers keep it in memory.

Source definition

Configuration recipes

10b. Working Memory

Enable a structured, scoped working memory subsystem that the agent maintains automatically across tool calls, runs, and sessions. Working memory prevents context window bloat while preserving key learnings, decisions, and evidence.

Option definitions: usememory, memoryuser, memoryusersession, memoryscope, memorych, memorysessionch, memorysessionid, memorymaxpersection, memorymaxentries, memorycompactevery, memorydedup, memoryartifactttldays, memoryindexttldays, memorypromote, memorystaledays, memoryinject, memoryrelevantcap, usememorywrite, memorywritemax, memorymd, memorysessionheader, memoryreflect, memoryreflectmode, memoryreflectmodel.

Memory Classification (Taxonomy)

Mini-A exposes one structured working-memory system. The common memory types are implemented by combining that system with different scopes and persistence settings:

Memory type What it means in Mini-A Main parameters
Working memory The live structured store the agent reads and writes during a run usememory, memoryinject, memorymaxpersection, memorymaxentries, memorycompactevery, memorydedup
Episodic memory Session-scoped state for a specific conversation or run memorysessionid, memoryscope=session|both, memorysessionch
Semantic memory Durable knowledge the agent can reuse across runs memorych, memorymd=true for Markdown records, memoryscope=global|both, memorypromote, memorystaledays, usememorywrite
Procedural memory Instructions and workflow rules that tell Mini-A how to behave agent, mode, skills, AGENTS.md, prompts (not a dedicated memory store)

memoryuser=true is the convenience preset for both global and session working memory. memoryusersession=true is the session-only version.

Memory Sections

Memory is categorized into 8 independent, typed sections that the agent manages automatically:

  • facts: Confirmed facts and truths discovered or verified during the run.
  • evidence: Direct observations, statistics, and tool outputs worth remembering.
  • decisions: Architecture or workflow choices made along with their rationale.
  • risks: Tool failures, sub-agent issues, validation warnings, or blockers.
  • openQuestions: Pending questions, gaps in specifications, or follow-up items.
  • hypotheses: Unconfirmed assumptions or candidate approaches being explored.
  • artifacts: Excerpts of generated configs, code blocks, or structured outputs.
  • summaries: Higher-level narrative overviews of completed milestones or phases.

Convenience Presets

To avoid configuring channels manually, use one of the two convenience presets:

  1. memoryuser=true: Ideal for persistent local development. Automatically stores memory databases under ~/.openaf-mini-a/memory-global.json and ~/.openaf-mini-a/memory-session.json. At the end of a session, facts, decisions, and summaries are promoted to global memory, and any entry not verified in 30 days is swept.
  2. memoryusersession=true: Ideal for isolated, session-scoped runs where you still want local persistent history on the disk (saved under ~/.openaf-mini-a/memory-session.json), but no information should leak into the shared global namespace.

Durable Memory and Context Injection

memory_write records intentional, typed knowledge rather than ordinary runtime observations. Its required kind is one of preference, environment, procedure, pitfall, or reference; optional key, tags, and ttlDays keep entries stable, searchable, and expiring when appropriate. Writes begin in session scope. Model-authored records only promote to global storage after the same keyed record is independently confirmed in two runs, which prevents a single untrusted tool response from becoming a durable fact.

With memory enabled, memoryinject=relevant is the default: Mini-A injects up to memoryrelevantcap non-stale, goal-relevant durable records once at run start, while runtime bookkeeping stays out of the prompt. Use summary for counts plus on-demand memory_search, or full to embed all compact entries on every step.

For a reviewable global store, set memorymd=true on a global channel:

mini-a goal="remember validated project conventions" usememory=true \
  memorymd=true \
  memorych="(name: mini_a_global, type: file, options: (file: './agent-memory.json'))" \
  memorysessionch="(name: mini_a_session, type: file, options: (file: '/tmp/mini-a-session.json'))"

The channel contains path-keyed Markdown records, including a generated MEMORY.md index and one record per entry under section paths. Entry bodies can be hand-edited; malformed front matter is skipped with a warning. Normal compaction also removes evicted records, so raise the memory limits if this store is expected to retain more than the defaults.

Configuration Examples

# Inside an agent file frontmatter (my-agent.agent.md)
mini-a:
  usememory: true
  memoryuser: true
  memoryinject: summary
# Running with separate session/global file channels and a custom session namespace
mini-a goal="audit security modules" \
  usememory=true \
  memorych="(name: sec_global, type: file, options: (file: '/var/data/global-sec.json'))" \
  memorysessionch="(name: sec_session, type: file, options: (file: '/var/data/session-sec.json'))" \
  memorysessionid="audit-q2-2026"

10c. Wiki Knowledge Base

A persistent, shared Markdown wiki that agents read from and write to across sessions. Any agent pointing at the same wikiroot (or wikibucket) sees the same pages.

New to wikis? Follow Features → Quickstart: hydrate, sleep and query a wiki to build and query one in three commands.

Option definitions: wikihydrate, wikidream, wikiquery, wikiman, wikitarget, usewiki, wikiaccess, wikibackend, wikiroot, wikibucket, wikiprefix, wikiurl, wikiaccesskey, wikisecret, wikiregion, wikiuseversion1, wikiignorecertcheck, wikiindexdir, wikis3artifactprefix, s3artifactbundle, wikihttpindexurl, wikihttptimeout, wikiartifactrefreshsecs, wikilexical, wikimetacache, wikilintstaleddays, wikimounts, wikiretrievalv2, wikiretrievalconfig, wikitelemetry.

When a new empty wiki is opened with wikiaccess=rw, Mini-A bootstraps three starter pages: AGENTS.md (ingestion workflow and rules), index.md (entrypoint/catalog), and log.md (append-only journal of every write, delete, and move). AGENTS.md and log.md are protected and cannot be deleted.

Start each wiki session with wiki op="context" for a compact overview (page count, sections, mounts, recent log entries), then use search before reading any page.

Wiki operations available to the agent: context, list, tree, browse, read, search, retrieve, backlinks, lint, write, move, init, reindex, mounts, attach, detach. retrieve returns a bounded, cited evidence packet; see Features → Wiki retrieval v2. Operations that require wikiaccess=rw: write, move, init, reindex. Console commands: /wiki context, /wiki list [prefix], /wiki tree [prefix], /wiki browse [prefix], /wiki read <page.md>, /wiki search <query>, /wiki backlinks <page.md>, /wiki lint, /wiki reindex, /wiki mounts, /wiki attach <name> [backend=fs] [root=path], /wiki detach <name>. Use /stats wiki to see per-operation counters for the current session.

Archive roots and mounts require index.md and pages at the archive entry root. They can be searched and browsed but are never writable; if usewikigraph=true, Mini-A can consume an existing embedded .mini-a-wiki-graph/graph.json for read-only graph hints without rebuilding it.

Static HTTP wikis are read-only. They fetch pages from wikiurl; listing, search, and graph hints use a published mini-a-wiki-index.zip containing Lucene state and, optionally, .mini-a-wiki-graph/graph.json. Set wikiartifactrefreshsecs for long-lived instances that must notice a newly published bundle. After changing wikilexical, run /wiki reindex on a writable publisher; read-only consumers retain ordinary Lucene retrieval and warn when their index contract does not match.

When nonempty wikimounts are configured without a nonblank wikiroot, the default filesystem primary becomes an in-memory read-only catalog. Set wikiroot=. explicitly to keep persistent primary storage in the current directory. The catalog has no primary serving index or graph and rejects maintenance/writes even with wikiaccess=rw.

Wiki ingestion

mini-a-ingest.yaml turns a documentation folder, local/remote git repository, or web page into wiki pages. Discovery, filtering, chunking, change detection, writing, and finalization are deterministic; distillation and image descriptions use the model.

ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=/tmp/wiki
ojob mini-a-ingest.yaml ingestsource=https://github.com/OpenAF/mini-a wikiroot=/tmp/wiki ingestdryrun=true

The interactive equivalent (with usewiki=true wikiaccess=rw) is /ingest <source> [section] [dryrun] [force]. Sources larger than ingestmaxfilekb (default 512) are skipped rather than truncated; large accepted sources are split at headings (ingestchunkchars, default 24000). Pages include source, source_ref, source_hash, and ingested provenance front matter, and unchanged sources are skipped unless ingestforce=true.

Repeated ingestion is a non-destructive upsert. By default (ingestprune=false) a source that disappears is reported and its page is preserved. A versioned manifest (.mini-a-wiki-state/manifest.json under the index root) is the authority for what has been applied; the old ledger is read only for conservative migration, with a copy kept at .mini-a-wiki-ingest/pre-migration.json. A journal records prepared operations so an interrupted run can be re-run safely.

# Preview, reconcile, then (only for a confirmed-empty folder) authorize an empty prune
ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=./wiki ingestmode=normalize ingestprune=true ingestdryrun=true
ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=./wiki ingestmode=normalize ingestprune=true
ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=./wiki ingestmode=normalize ingestprune=true ingestallowemptyprune=true

Option definitions: ingestsource, ingesttype, ingestsection, ingestsourceid, ingestmode, ingestlayout, ingestinclude, ingestexclude, ingestchunkchars, ingestmaxfilekb, ingestconcurrency, ingestdryrun, ingestindependent, ingestforce, ingestprune, ingestallowemptyprune, wikiaccess, ingestledger.

Discovery errors, changed filters or size limits, local edits, failed writes, and budget deferrals block prune. Excluded, oversized, empty, or unreadable files that are still present are preserved. Pages that were edited by hand, and legacy pages whose ownership cannot be proven, produce conflicts and are never silently overwritten: review and restore the last managed version, or preserve the edited page separately and remove the managed destination with the wiki tools before retrying. Never delete the manifest to bypass ownership protection, and do not run other wiki writers while an ingest runs (ingestion writers on the same local wiki are serialized, but ordinary wiki tools do not take the ingestion lock, and remote backends offer no distributed coordination).

Results report status (complete, noop, planned, partial, blocked, failed), ok, sync_complete, missing sources, blocked prune, conflicts, deferrals, and recovery state. Wrappers exit nonzero when requested work is unsuccessful, and a dry run never claims applied synchronization.

Ingestion model limits

These settings bound distillation estimates (prompt overhead plus estimated output). They don’t cap vision extraction or other model activity in a session, and each budget is local to one ingestion run.

Option definitions: wikimaxprompttokens, wikiingestmaxcalls, wikillmbudget, wikiingestbudget, wikidreambudget, dreamwikimaxaffected.

# Automatic recovery (default), a hard cap, or recovery disabled
ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=./wiki ingestmode=distill
ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=./wiki ingestmode=distill wikimaxprompttokens=12000
ojob mini-a-ingest.yaml ingestsource=./docs wikiroot=./wiki ingestmode=distill wikiingestmaxcalls=0

If recovery can’t finish, ingestion defers the source and keeps its previous page. Successful transformations are checkpointed under .mini-a-wiki-ingest/transforms/, so an interrupted run can reuse them. Results expose verification and progress (pages_committed, manifest_committed, local_serving_verified, bundle_exported), and failures include a diagnostic with stage, code, retryability and next action. A serving-verification-failed: invalid-backlink-postings error carries the first mismatch in verification.details.

Ingestion formats and recovery

For folder layout, rewritten links and interrupted wiki moves, see source folders and topic organization. If a configured serving-bundle export fails after ingestion, the run reports failure and retains its journal. Resume or repeat ingestion to retry export without rewriting committed pages.

Folders and repositories accept Markdown, text, HTML, Office documents (DOCX/DOC, XLSX/XLS, PPTX/PPT), RTF, PDF, PNG and JPEG. Passive structured formats supported by the installed oafp, such as JSON, YAML, CSV and NDJSON, are normalized into fenced JSON pages. NDJSON/NDSLON preserve every record; executable and service-query inputs are excluded. Office, RTF and PDF extraction uses Tika; scanned PDFs need OCR, which is disabled. Images use modelvisual / OAF_VISUAL_MODEL, falling back to a vision-capable main model. Empty or truncated extraction fails the source without publishing a partial page. The CLI ingestion job defaults to 512 KiB per original file (ingestmaxfilekb). For Word, Excel and PowerPoint, officeparts=auto can write an index and searchable source parts. Set always to request parts for a small file or off for ordinary extraction. maxstagebytes bounds staged output (256 MiB by default). Wiki Studio has separate per-format upload limits.

Use /ingest or /ingest recovery to inspect pending journals, source/section information, affected pages and exact resume commands:

/ingest recovery resume <id>
/ingest recovery discard <id>
/ingest "/path/New Docs" "New Section" independent

Resume replays saved work and finalizes indexes without repeating source distillation. Discard requires typing discard <id> and archives the journal; it does not undo applied pages or mark unfinished work synchronized. Independent ingestion preserves pending journals and refuses changes to their reserved pages. Read-only sessions can inspect recovery; resume/discard require write access and are blocked in dry-run. Do not delete journals manually. V2 finalization normally publishes incrementally; an incompatible parser or lexical contract triggers a rebuild from current Markdown, while other publication failures keep recovery pending.

Wiki absorption

Absorption combines selected knowledge from multiple local filesystem wikis through a saved, reviewable plan. See Wiki Absorption for specification examples, apply/resume, conflicts and ownership.

Option definitions: absorbop, absorbspec, absorbplan, absorboutput, wikiaccess, absorbmaxpages, absorbmaxtokens.

Wiki retrieval v2

After 32 incremental generations, the next update rebuilds the serving base automatically (updateWork.automaticCompaction=true), including ingestion finalization. That update pays the full rebuild cost. Failed publication staging and incomplete abandoned staging are cleaned up; complete older generations can still require offline compaction. Read-only readers never reclaim storage.

wikiretrievalv2=true (the default) switches search, retrieve, and assembleContext to the shared passage engine described under Features → Wiki retrieval v2. Build its serving generation explicitly with dreamwikimode=reindex, /wiki reindex, the mcp-wiki-ops reindex tool, or MiniAWikiManager.reindex(). Readers use the same flag and never build on their own.

wikiretrievalconfig key Default Bound
readPolicy auto Read-only readers adopt published index analysis; strict requires configured analysis to match. Writable builds always use configured settings
passageChars 1400 64–16000 UTF-16 units; soft structural target
cacheBytes 8388608 Shared payload cache; at most 268435456 bytes per manager
maxArtifactBytes / maxArtifactFiles 268435456 / 100000 Expanded generation caps (at most 2147483647 bytes / 1000000 files)
maxMillis 15000 Request deadline, at most 120000 ms
linkImmutableFiles true Reuse immutable index files through hard links; false forces copies
sharedBlockStore false Opt-in local immutable block store
telemetryFlushQueries / telemetryRetentionDays 16 / 30 Aggregate flush batch (at most 1000) and retention (at most 365 days)
telemetrySampleQueries false Opt in to at most 64 zero-result query samples of at most 256 characters each
bundlePath - Trusted local ZIP destination for streaming export after publication

Read-only readPolicy=auto adopts each generation’s language/analyzer, accent folding, shingles and character n-gram settings, including sizes. Synonyms, query expansion, relevance feedback and resource budgets remain reader-controlled. Mounts inherit the retrieval configuration unless they supply their own wikiretrievalconfig object. Integrity, parser/format and Lucene compatibility checks still apply; auto adoption does not repair an unsupported generation. context().retrieval.analysis reports the policy, generation, effective settings and differing fields. Strict mismatches return incompatible-generation.

Search without a wiki selector includes the primary and all mounts. V2 sources share one request budget and global ranking; mixed V1/V2 selections keep their source engines and merge results before the display limit. Trusted search accepts maxQueries, maxCandidates, maxInspected, maxMillis, and maxBytes. Check source coverage and warnings before treating an empty or partial result as absence. See Features → Wiki retrieval.

Published analysis and source reads

Read-only V2 readers default to wikiretrievalconfig='(readPolicy: auto)': each mount adopts its published generation’s index analysis settings. Synonyms, query expansion, relevance feedback and budgets stay reader-controlled. readPolicy: strict requires a match and reports incompatible-generation with differing fields. Writable builds still use configured settings and need explicit reindexing to change the contract.

wiki op="context" exposes retrieval.analysis; search/retrieve source diagnostics include policy, generation, source (generation or configured), effective settings and differingFields. Tight output budgets can report analysisOmitted: "output-budget"; use context for the full analysis. Native agent search supplies at most five compact candidates in a 4,000-character envelope, preserving partial-coverage warnings. Partial coverage cannot establish absence.

Control pages (AGENTS.md, index.md, log.md, including section-local copies) stay excluded from passage search. Explicit open/navigate/read/grep uses bounded source reads with section/range selection, mount routing and revision-checked continuations. Ordinary content pages still need valid V2 serving bindings; corrupt artifacts remain errors. page-metadata-binding-failure reports the page and differing outline/metadata/title/description field names without exposing values; use an explicit writable reindex.

Wiki Knowledge Graph

An optional knowledge-graph layer built on top of the wiki’s pages. When enabled, wiki search transparently appends related-page hints, and the graph can be queried directly via the /graph console command or mcp-wiki-ops’s graph_build/graph_falkor tools.

Option definitions: usewikigraph, wikigraphsemantic, wikigraphcommunity, wikigraphsearchhints, wikigraphmounts, wikigraphhintcap, wikimountgraphttlms, wikigraphcross, wikigraphcrossjoin, wikigraphcrosscap, wikigraphcrossdepth, wikigraphcrossmaxdf, wikigraphcrossminkeylen, wikigraphautosave, wikigraphsavedebouncems, wikigraphfalkorhost, wikigraphfalkorport, wikigraphfalkorgraph, wikigraphfalkoruser, wikigraphfalkorpass.

The local graph cache (when FalkorDB is not configured) lives under .mini-a-wiki-graph/ inside the wiki root and, like the protected pages, is excluded from search indexing and listings — along with AGENTS.md, index.md, and log.md.

Console command: /graph [build|query|neighbors|path|communities|surprise|export|stats|cross]. /graph cross <path> shows cross-wiki links for one page. Cross-wiki traversal is read-only and query-time only: no graphs are merged or written back. /stats wiki includes wiki graph operation counters when the graph is enabled.

MCP deployment, storage, and search behavior

Publish mcp-wiki to clients that only need discovery and retrieval: it is always read-only and exposes context, search, read, open, navigate, grep, related, browse, list, tree, and backlinks. When mounts are configured, call context() once to discover them, then pass the optional wiki selector to route a call: omitted or "*" searches the primary wiki plus every mount, "primary" selects the main wiki, a mount name selects that source, and ["a","b"] selects a subset (unknown, duplicate, ambiguous, or conflicting selectors are rejected). Deploy mcp-wiki-ops separately for trusted maintenance: it provides context, lint, edit, maintain, reindex, graph_build, and graph_falkor; it defaults to writable mode, and wikiopsreadwrite=false disables mutations. For untrusted clients, use mcp-wiki-safe: it exposes only bounded search and single-use excerpt read operations using opaque references, and none of the mount topology. Behind several replicas, set wikiid (for example wikiid=engineering) on every replica of one wiki so a shared wikirestrictrefch channel namespaces their references and cooldowns; if omitted, Mini-A derives a deterministic auto-... ID from the backend identity.

For s3 backends, the bucket and prefix contain the source Markdown pages. A local Lucene index may accelerate unscoped literal search, but it is not stored in S3 and is only built or refreshed by writable wiki operations such as reindex. A read-only server consumes an existing local index without taking its writer lock, otherwise it scans Markdown objects and creates nothing. Regex and path-scoped searches scan by design. wikiindexdir controls the non-filesystem local index/cache root; wikis3artifactprefix can hydrate a separately published Lucene/graph artifact tree into that directory at startup.

The es backend stores wiki pages in Elasticsearch/OpenSearch, but it is not a native OpenSearch query interface: wiki search still follows the local-Lucene-or-page-scan path. Use mcp-es-search for native cluster queries. s3fs copies S3 pages into wikiroot on writable startup and then uses the filesystem backend; it is not bidirectional S3 synchronization.

The optional graph enriches normal wiki search with related-page hints. It is maintained independently of Lucene and of the S3/OpenSearch page store: use local graph state where appropriate, or configure FalkorDB (wikigraphfalkorhost) for shared graph-backed state. The maintenance MCP’s graph_build and graph_falkor operations are the appropriate remote management surface.


10c-1. Dreams (Sleep Pass)

To dream a local wiki with backups and compaction handled for you, use mini-a wikidream=true wikiroot=... (see Wiki lifecycle jobs). It is separate from the memory-oriented dream=true.

For explicit topic organization, set dreamwikimode=reorg dreamwikireorg=true dreamwikiapproval=auto dreamwikiorganize=topics. This remains a separately authorized model-driven operation; ingestion does not launch it automatically.

An LLM-powered off-line consolidation pass over persistent memory and/or the wiki. Run after a session to merge duplicates, surface insights, and produce a lint-clean wiki.

Option definitions: dream, dreammode, dryrun, dreamwikimode, dreammemorymode, dreamwikidryrun, dreamwikiapproval, dreamwikireorg, dreamreport, maxauditrecords, dreammaxsteps, dreamwikillm, dreamwikiinstructions.

The memorych, memorysessionch, memorysessionid, auditch, usewiki, and model parameters are shared with the memory and wiki subsystems. See the Advanced — Dreams page for full documentation and examples.

auto is on-demand local-directory maintenance with explicit wikiaccess=rw authorization, backups and journal reconciliation. Dry-run performs inspection only; see automatic maintenance limits and recovery.

repair, reindex, graph, and indexes are isolated maintenance operations: deterministic lint repair, search-index rebuild, graph-only rebuild (requires usewikigraph=true), and unconditional index.md regeneration respectively. They avoid the broader apply/reorganization flow.

dreamwikimode=plan is always model-free: it never creates or calls a model, even when semantic extraction would default on for apply. Its proposal reports the request separately (semanticRequested, semanticExecuted: false, semanticOmissionReason: "model-free-dry-run") and includes only a structural graph preview. For retrieval v2, dreamwikimode=reindex is the supported unattended way to build the serving generation.