Files
crimson_leaf_publishing/templates/short_story.yml
David Baity 06faeb0c41 fix(short_story): remove requires block, infer genre/audience/style from task description
Templates spawned from genesis only receive a description, not pre-set
context variables. Removing requires: prevents step-0 failures when the
story brief is rich enough for Iris to infer genre/audience/prose style.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-12 01:58:29 -04:00

94 lines
3.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: short_story
description: "Write a complete short story — plan, draft, deepen, deliver."
debug: true
system: agent_prompt
agent_prompt:
- "= identity.md"
- "agent.rag.json"
sections:
- agent
- project
- history
- rag
- deliverables
- message
- rejection_feedback
- instructions
steps:
- type: think
hint: |
PASS 0 — STORY PLAN (do this before drafting)
GENRE: {genre_name} | AUDIENCE: {genre_audience}
PROSE STYLE: {prose_style}
(If any of the above are empty, infer genre, audience, and prose style from the task description and project goal.)
TARGET LENGTH: 3,00015,000 words (short story to novelette)
Before writing, plan the story:
TITLE: [Working title]
HOOK: [The first sentence or image that pulls the reader in]
PREMISE: [One sentence — the "what if" or core situation]
PROTAGONIST: [Name, age, voice, fatal flaw, want vs need]
ANTAGONIST / OBSTACLE: [What opposes the protagonist — person, force, or internal]
OPENING: [Where does the story begin? What is the first scene?]
MIDPOINT: [The moment everything changes]
CLIMAX: [The highest point of tension — how it comes to a head]
RESOLUTION: [How it ends — what has changed for the protagonist]
EMOTIONAL CORE: [What does this story make the reader FEEL?]
POINT OF VIEW: [1st / 3rd limited / 3rd omniscient]
TENSE: [Past / present]
Now write the complete first draft.
Follow the prose style guide. Stay in chosen POV throughout.
Show — don't tell. Use dialogue. Use sensory detail.
End with purpose: the final line should feel earned and resonant.
- type: think
model: power
hint: |
PASS 2 — DEEPEN & SHARPEN
Read your draft critically through an editor's eyes:
- Does the opening line hook the reader immediately?
- Is every scene earning its place in the story?
- Are there any "telling" passages that should be "showing"?
- Is the protagonist's want vs need clearly felt (not stated) by the end?
- Is the dialogue tight, voice-distinct, and advancing the story?
- Does the pacing serve the emotional arc? (Slow the key moments. Cut the connective tissue.)
- Is the final line earned and resonant — not a summary?
- Is the prose consistent with the style guide?
- Is the total length appropriate for the story being told?
Rewrite the COMPLETE final story incorporating all improvements.
Output ONLY the polished story starting with the title as # [Title].
No commentary, no "Pass 2" label, no preamble.
- type: document
filename: "{{task_name_slug}}"
- type: close
rag_update: true
adjudication:
enabled: true
pass_threshold: 82
deliverable_type: consumer
criteria:
narrative_arc:
weight: 30
description: "Story has a clear beginning, midpoint, and earned resolution"
prose_quality:
weight: 30
description: "Writing is vivid, specific, and polished throughout"
character:
weight: 25
description: "Protagonist has a distinct voice and undergoes real change"
opening_and_closing:
weight: 15
description: "First and last lines are memorable and purposeful"