Architectural Lineage (Credits):
SwarmCraft is an architectural fork and deep rewrite of the multi-agent swarm engine created by Mojomast in mojomast/swarmussy.
SwarmCraft’s deterministic “Architect-style” layering is also derived from the meta-structure of Abstract Wiki Architect (AWA).
Full details: Credits & Lineage
POWERED BY GROK
SwarmCraft uses Retrieval Augmented Generation (RAG) as an explicit long-term memory layer to maintain continuity across large stories.
RAG is not the Story Bible (intent).
RAG is not the Matrix (runtime state).
RAG is evidence: previously written text and relevant notes that can be retrieved and injected into the current Part’s prompt.
1) Why RAG Exists
LLMs have limited context windows. Without memory, long projects drift:
character traits change
facts get contradicted
timeline breaks
names/places mutate
RAG solves this by:
indexing written prose and notes as searchable chunks
retrieving only the top relevant snippets for the active Part
injecting them as bounded “evidence” during drafting and review
2) What RAG Stores
Recommended indexed sources:
Part manuscripts (data/manuscripts/*.md)
Editor notes (optional)
stable reference notes (optional, if you want them searchable)
RAG SHOULD store per-chunk metadata:
project_id
part_id (if applicable)
chapter_id (if applicable)
source_path
timestamp
optional tags (character names, location IDs)
RAG MUST NOT be treated as canonical intent. If RAG conflicts with Story Bible, Story Bible wins.