Synthesis context.
Current meta.json.
Optional_architect?: stringArchitect system prompt used this turn. Defaults from config.
Optional_architectTokens?: numberToken count from last architect subprocess call.
Optional_architectTokensAvg?: numberExponential moving average of architect token usage (decay 0.3).
Optional_archived?: booleanPresent and true on archive snapshots. Distinguishes live vs. archived metas.
Optional_archivedAt?: stringTimestamp when this snapshot was archived. ISO 8601.
Optional_builder?: stringTask brief generated by the architect. Cached and reused across cycles; regenerated only when triggered.
Optional_builderTokens?: numberToken count from last builder subprocess call.
Optional_builderTokensAvg?: numberExponential moving average of builder token usage (decay 0.3).
Optional_content?: stringNarrative synthesis output. Rendered by watcher for embedding.
Optional_critic?: stringCritic system prompt used this turn. Defaults from config.
Optional_criticTokens?: numberToken count from last critic subprocess call.
Optional_criticTokensAvg?: numberExponential moving average of critic token usage (decay 0.3).
Optional_crossRefs?: string[]Explicit cross-references to other meta owner paths. Referenced metas' _content is included as architect/builder context.
Optional_depth?: numberScheduling priority. Higher = updates more often. Negative allowed; normalized to min 0 at scheduling time.
Optional_emphasis?: numberEmphasis multiplier for depth weighting in scheduling. Default 1. Higher values increase this meta's scheduling priority relative to its depth. Set to 0.5 to halve the depth effect, 2 to double it, 0 to ignore depth entirely for this meta.
Optional_error?: { code: string; message: string; step: "architect" | "builder" | "critic" }Structured error from last cycle. Present when a step failed. Cleared on successful cycle.
Error classification code.
Human-readable error message.
Which step failed: 'architect', 'builder', or 'critic'.
Optional_feedback?: stringCritic evaluation of the last synthesis.
Optional_generatedAt?: stringTimestamp of last synthesis. ISO 8601.
Optional_id?: stringStable identity. Auto-generated on first synthesis if not provided.
Optional_state?: unknownOpaque state carried across synthesis cycles for progressive work. Set by the builder, passed back as context on next cycle.
Optional_steer?: stringHuman-provided steering prompt. Optional.
Optional_structureHash?: stringHash of sorted file listing in scope. Detects directory structure changes that trigger an architect re-run.
Optional_synthesisCount?: numberCycles since last architect run. Reset to 0 when architect runs. Used with architectEvery to trigger periodic re-prompting.
Synthesis config.
Run architect every N cycles (per meta).
Architect subprocess timeout in seconds.
Builder subprocess timeout in seconds.
Critic subprocess timeout in seconds.
OptionaldefaultArchitect?: stringResolved architect system prompt text. Falls back to built-in default.
OptionaldefaultCritic?: stringResolved critic system prompt text. Falls back to built-in default.
Exponent for depth weighting in staleness formula.
OptionalgatewayApiKey?: stringOptional API key for gateway authentication.
OpenClaw gateway base URL for subprocess spawning.
Maximum archive snapshots to retain per meta.
Maximum lines of context to include in subprocess prompts.
Watcher metadata properties applied to archive snapshots.
Watcher metadata properties applied to live .meta/meta.json files.
Skip unchanged candidates, bump _generatedAt.
Thinking level for spawned synthesis sessions.
Watcher service base URL.
The builder task prompt string.
Build the builder task prompt.