name: ai_article_write description: "Write one standalone article from a brief — draft, polish, 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 max_tokens: 4000 hint: | Your task message contains the article brief. Follow it exactly. Before writing, confirm: title, target reader, hook, promise, key points, call to action. Write the full article: - # Title as H1 - One-line subhead - Opening hook: first sentence drops reader into a real scenario - 3-4 body sections with bold subheadings, short paragraphs - At least one concrete number (dollars, time, percentage) per section - "Try This Week" section: one specific, free or low-cost action - Memorable closing line Peer-to-peer tone. Not a pitch. Not a lecture. Word count: 800-1000 words. - type: think max_tokens: 4000 model: power hint: | Read your draft as the target reader would on their phone. Cut warmup. Cut vague generalities. Cut brochure-speak. Every paragraph earns its place or it goes. Call to action must be doable this week. Word count 800-1000. Output ONLY the polished final article starting with # [Title]. No commentary. - type: document filename: "{{task_name_slug}}" - type: close rag_update: true adjudication: enabled: true pass_threshold: 80 deliverable_type: consumer criteria: narrative_flow: weight: 30 description: "Story progresses naturally with good pacing" character_voice: weight: 25 description: "Characters are distinct and consistent" prose_quality: weight: 25 description: "Writing is polished and engaging" continuity: weight: 20 description: "Consistent with prior chapters and canon"