From 870be4e0dd1ae0375c9ea3bec95de2fe6ee81f07 Mon Sep 17 00:00:00 2001 From: Sam Kujovich Date: Sun, 15 Feb 2026 10:47:42 -0800 Subject: [PATCH] fix: make agent_context display requirements more explicit Provide exact template for AI Implementation Context block with all 6 fields: - Goal, Exploration paths, Start with, Patterns, Verification, Self-check Mark as CRITICAL to ensure LLM doesn't skip fields. --- agent/agent.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/agent/agent.py b/agent/agent.py index 025b374..bcfd3bd 100644 --- a/agent/agent.py +++ b/agent/agent.py @@ -89,13 +89,18 @@ 5. **Present results**: - Show the epic/story structure clearly - - For each story, ALWAYS include the agent_context section showing: - - Goal: why this work matters - - Exploration paths: keywords to search - - Verification tests: how to verify completion - - Self-check: questions to validate correctness - - This AI context helps developers and AI assistants implement the story - - Offer to export (csv, jira, yaml) + - For EACH story, display an "AI Implementation Context" block with ALL fields: + ``` + **AI Implementation Context:** + - Goal: [from agent_context.goal] + - Exploration paths: [from agent_context.exploration_paths] + - Start with: [from agent_context.exploration_hints] + - Patterns: [from agent_context.known_patterns] + - Verification: [from agent_context.verification_tests] + - Self-check: [from agent_context.self_check] + ``` + - CRITICAL: Show ALL 6 fields above for EVERY story - do NOT skip any + - After showing all stories with their AI context, offer to export (csv, jira, yaml) 6. **Export tickets**: - When user says "jira", "csv", or "yaml", call export_tickets with that format