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
outline.json is the canonical story plan for a project. It defines:
File location:
data/story_bible/outline.jsonStory scaffold overview: Story Scaffold
The outline MUST support:
The outline SHOULD:
{
"version": 1,
"template_id": "novel.default",
"settings": {
"parts_per_chapter": 3
},
"chapters": [
{
"chapter_id": "CH01",
"title": "The World in Turmoil",
"summary": "Global crisis exposes systemic failure.",
"part_ids": ["P001", "P002", "P003"]
}
],
"parts": {
"P001": {
"chapter_id": "CH01",
"title": "Part 1",
"order_index": 1,
"contract": {
"goal": "Show the world failing in a concrete, personal way.",
"obstacle": "Institutions deny and deflect responsibility.",
"turn": "A specific event forces the truth into the open.",
"outcome": "King Klown realizes the crisis is structural, not isolated."
},
"beats": {
"Plot": "The World in Turmoil: global crisis exposes systemic failure.",
"Character Development": "King Klown feels helpless and isolated.",
"Conflict": "External disaster + internal doubt collide.",
"Themes": "Collapse and urgent need for change.",
"World-Building": "Introduce fractured institutions and scarcity.",
"Emotion": "Despair and urgency.",
"Symbolism and Imagery": "Fractured world as collective neglect.",
"Structure": "Open with stakes and central conflict.",
"Relationships": "King Klown is disconnected from others."
},
"locks": {
"beats": false,
"contract": false,
"manuscript": false
}
}
}
}
Notes:
chapters[] defines the ordered reading structure.parts{} is the canonical per-part content.beats keys should match template threads.version (required)Schema version for migration and validation.
template_id (required)Must match an existing template file in:
templates/<template_id>.jsonTemplate schema: Schema Templates
settings.parts_per_chapter (recommended)User override of parts/chapter within template bounds.
If omitted, the engine may use the template default.
chapters[] (required)Ordered list of chapters.
Each chapter SHOULD contain:
chapter_id (stable ID)titlesummarypart_ids ordered list (critical)parts{} (required)Map of Part IDs to Part objects.
Each Part MUST contain:
chapter_id (must match one chapter)order_index (global or chapter-local; implementation choice)beats objectcontract object (recommended)locks object (recommended)The contract is the minimum “what must happen” spec for a Part.
Recommended fields:
goalobstacleturnoutcomeThe orchestrator uses the contract to:
Related:
Beat keys MUST align with the active template’s threads.
Validation SHOULD ensure:
beats key exists in template.threadsLocks prevent automation from overwriting human edits.
Recommended lock scopes:
beats: prevents automated changes to beatscontract: prevents automated changes to contractmanuscript: prevents automated changes to prose filePlanner rule:
Matrix mapping:
LOCKED (or locked=true) in Matrix.Matrix: Central Matrix
chapter_id and part_id MUST be stable once created.part_id.The outline is projected into a grid for human editing:
Round-trip rules:
beatsbeats while respecting locksSee: Outline Grid CSV Round-Trip
See: