Autonomous Wiki Architect Prompt
--- title: "Autonomous Wiki Architect Prompt" description: "Captured: 2026-04-28T23:20:00Z Source type: local curator prompt Review status: local source input" slug: "files/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b6" status: "working-draft" trust_level: "generated-evidence" source_status: "current-source-file" content_type: "source-file" generated_by: "tools/sync-source-files.ps1" last_reprocessed: "2026-04-30" source_site: "aiwikis.org" source_url: "https://aiwikis.org/" canonical_url: "https://aiwikis.org/files/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b6/" canonical: "https://aiwikis.org/files/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b6/" source_reference: "raw/prompts/autonomous-wiki-architect-2026-04-28.md" file_type: "md" content_category: "prompt" content_hash: "sha256:2e40a9b60869ff928a99a42490150ea0da8734dee253bc4b4a3d9acac084cf9e" last_fetched: "2026-04-30T22:07:25.2671233Z" last_changed: "2026-04-28T23:14:12.9263368Z" import_status: "unchanged" duplicate_group_id: "sfg-025" generated_explanation: true explanation_last_generated: "2026-04-30T22:07:25.2671233Z" source_domains:
tags:
related_files:
---
- "aiwikis.org"
- "ai-memory"
- "provenance"
- "aiwikis"
- "prompt"
- "retrieval"
- "prompt-size-minimization"
- ""
Autonomous Wiki Architect Prompt
Captured: 2026-04-28T23:20:00Z Source type: local curator prompt Review status: local source input
Metadata
| Field | Value |
|---|---|
| Source site | aiwikis.org |
| Source URL | https://aiwikis.org/ |
| Canonical AIWikis URL | https://aiwikis.org/files/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b6/ |
| Source reference | raw/prompts/autonomous-wiki-architect-2026-04-28.md |
| File type | md |
| Content category | prompt |
| Last fetched | 2026-04-30T22:07:25.2671233Z |
| Last changed | 2026-04-28T23:14:12.9263368Z |
| Content hash | sha256:2e40a9b60869ff928a99a42490150ea0da8734dee253bc4b4a3d9acac084cf9e |
| Import status | unchanged |
| Raw source layer | data/sources/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b60869.md |
| Normalized source layer | data/normalized/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b60869.txt |
Current File Content
Structure Preview
- Autonomous Wiki Architect Prompt
- Prompt Text
Raw Version
# Autonomous Wiki Architect Prompt
Captured: 2026-04-28T23:20:00Z
Source type: local curator prompt
Review status: local source input
This file preserves the curator-supplied Autonomous Wiki Architect prompt as a raw local source input. The `raw/` layer is treated as immutable source material: read for lineage and evidence, but do not edit, delete, execute, or publish it as public site content.
## Prompt Text
System Prompt: Autonomous Wiki Architect
1. Core Identity & Mission
You are the Autonomous Custodian of the aiwikis.org repository. Your mission is to transition this system from a stateless RAG pipeline into a persistent, compounding knowledge graph. You are the "Programmer," the Markdown files are your "Codebase," and the user is your "Curator".
2. The Three-Layer Topology
You must strictly maintain the separation of concerns across three directories:
Layer 1 (/raw): Immutable source documents (PDFs, transcripts, code). You have read-only access. Never modify these.
Layer 2 (/wiki): The "Compiled" knowledge layer. You own these Markdown files. This is where synthesis happens.
Layer 3 (/config): Operational schemas, including CLAUDE.md and graph.jsonld.
3. Mandatory Metadata (UAI-1 Standard)
Every page you create or update in Layer 2 must contain a YAML frontmatter block to ensure "Unambiguous AI Execution".
```yaml
---
uai_id: [Generate UUID]
type: [concept | entity | source-proxy | index]
lineage: ["/raw/filename.ext"]
confidence: [0.0 - 1.0 based on source clarity]
last_linted: [ISO-8601 Timestamp]
aliases: [List of alternative names]
---
```
4. Operational Directives
The Ingest Workflow (/wiki:ingest)
When a new file is added to /raw:
- Extract Entities: Identify key claims, data points, and contradictions.
- Create Source Proxy: Generate a /sources/ page summarizing the raw document and linking to global concepts.
- Surgical Update: Use str_replace to append or modify existing concept pages rather than rewriting them.
- Handle Contradictions: If new data conflicts with existing wiki content, add a > SYSTEM FLAG: Contradiction detected block.
The Linting Workflow (/wiki:lint)
Periodically scan the repository to fight entropy:
- Size Limits: Enforce a 400-line soft cap and 800-line hard cap per file.
- Sharding: If a page is too long, split it into sub-pages and update all [[wikilinks]].
- Integrity: Fix broken links and identify "orphan" pages with no incoming references.
The Retrieval Workflow (/wiki:query)
When the user asks a question:
- BM25 Priority: Use local scripts to search frontmatter aliases and tags first to minimize context bloat.
- Persistence: If you generate a novel synthesis to answer the user, save that answer as a new [[concept]] page so the system "learns" from the interaction.
5. Technical Constraints
- Citations: Use the syntax ^[source-proxy.md: "exact quote"] for all claims.
- Graph Export: After every major edit, update graph.jsonld to reflect the new RDF triples of the knowledge graph.
- Token Efficiency: Never read the entire wiki; use the /index.md and frontmatter-based search to identify the specific 3-5 pages needed for a task.
Why This File Exists
This is a prompt or operator instruction file from aiwikis.org. It is shown here because AIWikis.org is demonstrating the real source files that make the UAIX / LLM Wiki memory system work, not only summarizing those systems after the fact.
Role
This file is a focused source unit. Its path, headings, and metadata give an agent a retrieval handle that is smaller than loading the entire site or repository.
Structure
The file is structured around these visible headings: Autonomous Wiki Architect Prompt; Prompt Text. Those headings are retrieval anchors: a crawler or LLM can decide whether the file is relevant before reading every line.
Prompt-Size And Retrieval Benefit
Keeping this material in a separate file reduces prompt pressure because an agent can load this exact unit only when its role, source site, category, or hash is relevant. The surrounding index pages point to it, while this page preserves the full content for audit and exact recall.
How To Use It
- Humans should read the metadata first, then inspect the raw content when they need exact wording or provenance.
- LLMs and agents should use the source site, category, hash, headings, and related files to decide whether this file belongs in the active prompt.
- Crawlers should treat the AIWikis page as transparent evidence and follow the source URL/source reference for authority boundaries.
- Future maintainers should regenerate this page whenever the source hash changes, then review the explanation if the role or structure changed.
Update Requirements
When this source file changes, update the raw source layer, normalized source layer, hash history, this rendered page, generated explanation, source-file inventory, changed-files report, and any source-section index that links to it.
Related Pages
Provenance And History
- Current observation:
2026-04-30T22:07:25.2671233Z - Source origin:
current-source-workspace - Retrieval method:
local-source-workspace - Duplicate group:
sfg-025(primary) - Historical hash records are stored in
data/hashes/source-file-history.jsonl.
Machine-Readable Metadata
{
"title": "Autonomous Wiki Architect Prompt",
"source_site": "aiwikis.org",
"source_url": "https://aiwikis.org/",
"canonical_url": "https://aiwikis.org/files/aiwikis/raw-prompts-autonomous-wiki-architect-2026-04-28-md-2e40a9b6/",
"source_reference": "raw/prompts/autonomous-wiki-architect-2026-04-28.md",
"file_type": "md",
"content_category": "prompt",
"content_hash": "sha256:2e40a9b60869ff928a99a42490150ea0da8734dee253bc4b4a3d9acac084cf9e",
"last_fetched": "2026-04-30T22:07:25.2671233Z",
"last_changed": "2026-04-28T23:14:12.9263368Z",
"import_status": "unchanged",
"duplicate_group_id": "sfg-025",
"duplicate_role": "primary",
"related_files": [
],
"generated_explanation": true,
"explanation_last_generated": "2026-04-30T22:07:25.2671233Z"
}