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
SwarmCraft avoids “prompt sprawl” by hydrating prompts with only the active slice of the story.
Slice-by-slice prompt hydration means:
This is the core mechanism that prevents scaffold repetition from becoming prose repetition.
Hydration assembles a prompt from four categories:
Part slice (required)
Local continuity (required, minimal)
Global references (optional, clipped)
Memory retrieval (optional, bounded)
Related sources:
The orchestrator MUST obey these constraints:
Hydration MUST be for exactly one part_id at a time.
Hydration MUST:
If RAG is enabled:
If outline.parts[part_id].locks.manuscript == true:
Matrix locking semantics: Central Matrix
SwarmCraft prompts are assembled in stable sections so they are debuggable and repeatable.
Recommended high-level sections:
This is the structured payload the orchestrator can assemble before rendering a text prompt:
{
"target": {
"chapter_id": "CH01",
"part_id": "P001",
"action": "DRAFT"
},
"contract": {
"goal": "...",
"obstacle": "...",
"turn": "...",
"outcome": "..."
},
"beats": {
"Plot": "...",
"Character Development": "...",
"Conflict": "...",
"Themes": "...",
"World-Building": "...",
"Emotion": "...",
"Symbolism and Imagery": "...",
"Structure": "...",
"Relationships": "..."
},
"continuity": {
"previous_part_outcome": "N/A (first part)",
"chapter_summary": "Global crisis exposes systemic failure.",
"must_preserve": [
"POV: third limited",
"Tense: past",
"Tone: clear, cinematic"
]
},
"references": {
"characters": [
{"id": "king_klown", "snippet": "Core traits, current arc state..."}
],
"locations": [],
"lore": []
},
"rag_evidence": [
{"source": "P000.md", "snippet": "Earlier mention of ..."},
{"source": "king_klown.md", "snippet": "Established constraint ..."}
],
"output": {
"format": "markdown",
"length_target_words": 900,
"must_hit_contract": true
}
}
The persona sees a rendered version of this payload, not the entire project.
Scaffold repetition is acceptable because it is planning data. Prose repetition is not.
Hydration prevents repetition by ensuring:
Editor prompts should be even narrower:
Include:
Exclude:
Review outputs SHOULD be structured:
REVIEW_READY or REVISION_NEEDED)Cadence rules come from the template and influence both PLAN and REVIEW:
Template cadence: Schema Templates