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
Templates define the shape and pacing rules of the Story Scaffold.
A template file lives at:
data/story_bible/templates/<template_id>.jsonIt defines:
Story scaffold overview: Story Scaffold
Templates MUST support:
Templates SHOULD:
outline.json){
"template_id": "novel.default",
"name": "Novel (Default)",
"version": 1,
"threads": [
"Plot",
"Character Development",
"Conflict",
"Themes",
"World-Building",
"Emotion",
"Symbolism and Imagery",
"Structure",
"Relationships"
],
"parts_per_chapter": {
"default": 3,
"min": 1,
"max": 6
},
"cadence": {
"per_part_required_threads": ["Plot", "Conflict"],
"per_chapter_required_threads": ["Character Development", "Themes"],
"soft_threads": ["Symbolism and Imagery", "World-Building"],
"min_non_empty_cells_per_part": 3
},
"prompting": {
"target_reading_level": "adult",
"tone": ["clear", "cinematic"],
"pov": "third_limited",
"tense": "past",
"hard_constraints_refs": [
"constraints/hard_rules.md",
"constraints/style_guide.md"
]
}
}
Notes:
threads defines the grid rows.parts_per_chapter defines defaults and bounds; users can override within bounds.cadence defines what the planner/editor should enforce.prompting provides reusable style constraints (optional).template_id (required)Stable identifier used by the project config and Story Bible.
threads (required)Ordered list of thread names.
parts_per_chapter (required)Defines allowed splitting:
default: recommended parts/chapter for this formatmin, max: permitted bounds for user overridecadence (recommended)Cadence is enforcement guidance for PLAN/REVIEW.
Recommended keys:
per_part_required_threads: must be non-empty in every part (unless explicitly waived)per_chapter_required_threads: must appear at least once per chapter (rollup check)soft_threads: encouraged but optionalmin_non_empty_cells_per_part: guard against under-specified partsCadence is a rule set for scaffold completeness; it does not guarantee prose quality.
prompting (optional)Reusable prompt constraints and references:
If present, prompt hydration can include these in every Part slice.
children.picturebook.jsonTypical guidance:
parts_per_chapter.default = 1novel.default.jsonTypical guidance:
default = 3 parts/chapterscreenplay.default.jsonTypical guidance:
A validator SHOULD enforce:
threads is non-empty and has unique stringsparts_per_chapter.min <= default <= maxthreadsRelated: