From 0593b289e5e75036e57707fd0db4e3192969545a Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 1 Mar 2026 14:21:21 -0500 Subject: [PATCH] fix(mock): correct sprint ticket format and add keyword detection - description/status/assigned_to fields now match parse_json_tickets expectations - Sprint planning branch also detects 'generate the implementation tickets' Co-Authored-By: Claude Sonnet 4.6 --- tests/mock_gemini_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/mock_gemini_cli.py b/tests/mock_gemini_cli.py index 8545766..8646e59 100644 --- a/tests/mock_gemini_cli.py +++ b/tests/mock_gemini_cli.py @@ -42,10 +42,10 @@ def main() -> None: }), flush=True) return - elif 'PATH: Sprint Planning' in prompt: + elif 'PATH: Sprint Planning' in prompt or 'generate the implementation tickets' in prompt: mock_response = [ - {"id": "mock-ticket-1", "type": "Ticket", "goal": "Mock Ticket 1", "target_file": "file1.py", "depends_on": [], "context_requirements": "req 1"}, - {"id": "mock-ticket-2", "type": "Ticket", "goal": "Mock Ticket 2", "target_file": "file2.py", "depends_on": ["mock-ticket-1"], "context_requirements": "req 2"} + {"id": "mock-ticket-1", "description": "Mock Ticket 1", "status": "todo", "assigned_to": "worker", "depends_on": []}, + {"id": "mock-ticket-2", "description": "Mock Ticket 2", "status": "todo", "assigned_to": "worker", "depends_on": ["mock-ticket-1"]} ] print(json.dumps({ "type": "message",