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
The Story Bible is SwarmCraft’s home for creative intent: the canonical narrative plan, constraints, and reference material that guide drafting and revision.
It is designed to be:
The Story Bible is distinct from:
Recommended per-project location:
projects/<project_id>/data/story_bible/Single-project setups MAY use:
data/story_bible/The Story Bible is project-scoped. Each project has its own Bible and must not share it implicitly.
SwarmCraft treats the Story Bible as the canonical source for:
These may be stored in Markdown or JSON, depending on preference and tooling.
The scaffold is part of the Story Bible because it is creative intent, not runtime state:
Templates: templates/<template_id>.json
Defines threads (Plot, Character Development, etc.), cadence expectations, and default parts/chapter.
Outline: outline.json
Defines chapters → parts mapping, per-part thread beats, and per-part “contract”.
Scaffold entry point:
Example:
projects/<project_id>/data/story_bible/
├── README.md
├── outline.json
├── templates/
│ ├── children.picturebook.json
│ ├── novel.default.json
│ └── screenplay.default.json
├── characters/
│ ├── king_klown.md
│ └── ...
├── locations/
│ ├── cosmic_council_hall.md
│ └── ...
├── lore/
│ ├── world_rules.md
│ └── ...
├── constraints/
│ ├── hard_rules.md
│ └── style_guide.md
└── glossaries/
└── terms.md
This is a recommendation, not a constraint—projects may reorganize, but the engine must be able to find outline.json and the selected templates/<template_id>.json.
See: Central Matrix
See: RAG Memory System
SwarmCraft never dumps the whole Story Bible into the LLM.
Instead, the orchestrator hydrates prompts by selecting only:
This reduces repetition, keeps cost stable, and prevents “prompt sprawl.”
See: Orchestration Slice-by-Slice Prompt Hydration
The Story Bible supports three editing modes:
Wizard-generated scaffold A guided LLM workflow creates the first template selection + outline draft.
Grid editing (human-friendly) Outline beats are displayed as a grid (threads × parts), with optional CSV round-trip.
Direct file edits Writers can edit Markdown/JSON files directly, then SCAN reconciles changes.
Grid + CSV:
The scanner/orchestrator SHOULD validate:
part_id