What problem does it solve?
Capture a source (URL or file path) or promote a sub-agent draft into the harness wiki. For URL/path ingest: WebFetch or reads the source, writes an immutable snapshot to wiki/raw/<yyyy-mm-dd>-<slug>.md, then writes or updates the corresponding wiki/<slug>.md entity page following the schema and body-merge rules in context/rules/wiki.md. For draft promotion: resolves the most-recent draft from memory/*/wiki-drafts/<slug>.md (by ISO date in parent dir name, not mtime), checks staleness, then promotes to wiki/<slug>.md. Write operations are orchestrator-only; sub-agents propose drafts to memory/<today>/wiki-drafts/<slug>.md and the orchestrator promotes via --from-draft. Always logs to memory/<today>/log.md per the Memory Improvement Protocol.
TRIGGER when: asked to ingest a URL or file into the wiki, "add to wiki", "capture this page", "snapshot this source", or promoting a sub-agent draft via --from-draft.
Core Features & Use Cases
- Ingest a URL or file: create immutable raw snapshot in wiki/raw with date and slug.
- Promote a draft from memory into a tracked wiki entry via memory/wiki-drafts as the source of truth.
- Enforce the orchestration pattern: slug derivation, raw snapshot storage, wiki entry update, and daily activity logging.
- Draft-promotion workflow: promote most-recent memory/<YYYY-MM-DD>/wiki-drafts/<slug>.md to wiki/<slug>.md via --from-draft, respecting staleness gates.
Quick Start
Ingest a URL or file path into the wiki with an optional --slug, and use --from-draft to promote a draft when needed.