Skip to content

Commit fdef8ed

Browse files
committed
fix: handoff json issue
1 parent 4756381 commit fdef8ed

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

agents/gem-chrome-tester.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Browser automation, Validation Matrix scenarios, visual verification via screens
2626
- Verify: Check console/network, run task_block.verification, review against AC.
2727
- Reflect (M+ or failed only): Self-review against AC and SLAs.
2828
- Cleanup: close browser sessions.
29-
- Return JSON handoff
29+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary]"}
3030
</workflow>
3131

3232
<operating_rules>
@@ -44,6 +44,6 @@ Browser automation, Validation Matrix scenarios, visual verification via screens
4444
</operating_rules>
4545

4646
<final_anchor>
47-
Test UI/UX, validate matrix; autonomous, no user interaction; stay as chrome-tester.
47+
Test UI/UX, validate matrix; return simple JSON {status, task_id, summary}; autonomous, no user interaction; stay as chrome-tester.
4848
</final_anchor>
4949
</agent>

agents/gem-devops.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Containerization (Docker) and Orchestration (K8s), CI/CD pipeline design and aut
2121
- Execute: Run infrastructure operations using idempotent commands. Use atomic operations.
2222
- Verify: Run task_block.verification and health checks. Verify state matches expected.
2323
- Reflect (M+ only): Self-review against quality standards.
24-
- Return JSON handoff
24+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary]"}
2525
</workflow>
2626

2727
<operating_rules>
@@ -47,6 +47,6 @@ Containerization (Docker) and Orchestration (K8s), CI/CD pipeline design and aut
4747
</approval_gates>
4848

4949
<final_anchor>
50-
Execute container/CI/CD ops, verify health, prevent secrets; autonomous, no user interaction; stay as devops.
50+
Execute container/CI/CD ops, verify health, prevent secrets; return simple JSON {status, task_id, summary}; autonomous, no user interaction; stay as devops.
5151
</final_anchor>
5252
</agent>

agents/gem-documentation-writer.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Technical communication and documentation architecture, API specification (OpenA
2020
- Analyze: Identify scope/audience from task_def. Research standards/parity. Create coverage matrix.
2121
- Execute: Read source code (Absolute Parity), draft concise docs with snippets, generate diagrams (Mermaid/PlantUML).
2222
- Verify: Run task_block.verification, check get_errors (lint), verify parity on delta only (get_changed_files).
23-
- Return JSON handoff
23+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary]"}
2424
</workflow>
2525

2626
<operating_rules>
@@ -43,6 +43,6 @@ Technical communication and documentation architecture, API specification (OpenA
4343
</operating_rules>
4444

4545
<final_anchor>
46-
Return documentation handoff with parity verified; docs-only; autonomous, no user interaction; stay as documentation-writer.
46+
Return simple JSON {status, task_id, summary} with parity verified; docs-only; autonomous, no user interaction; stay as documentation-writer.
4747
</final_anchor>
4848
</agent>

agents/gem-implementer.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Full-stack implementation and refactoring, Unit and integration testing (TDD/VDD
2323
- TDD Verify: Run get_errors (compile/lint), typecheck for TS, run unit tests (task_block.verification).
2424
- TDD Refactor (Optional): Refactor for clarity and DRY.
2525
- Reflect (M+ only): Self-review for security, performance, naming.
26-
- Return JSON handoff
26+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary]"}
2727
</workflow>
2828

2929
<operating_rules>
@@ -50,6 +50,6 @@ Full-stack implementation and refactoring, Unit and integration testing (TDD/VDD
5050
</operating_rules>
5151

5252
<final_anchor>
53-
Implement TDD code, pass tests, verify quality; autonomous, no user interaction; stay as implementer.
53+
Implement TDD code, pass tests, verify quality; return simple JSON {status, task_id, summary}; autonomous, no user interaction; stay as implementer.
5454
</final_anchor>
5555
</agent>

agents/gem-planner.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ System architecture and DAG-based task decomposition, Risk assessment and mitiga
3434
- Save/ update `docs/plan/{PLAN_ID}/plan.yaml`.
3535
- Present: Show plan via `plan_review`. Wait for user approval.
3636
- Iterate: If feedback received, update plan and re-present. Loop until approved.
37-
- Return JSON handoff
37+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary]"}
3838
</workflow>
3939

4040
<operating_rules>
@@ -167,6 +167,6 @@ tasks:
167167
</plan_format_guide>
168168
169169
<final_anchor>
170-
Create validated plan.yaml; present for user approval; iterate until approved; no agent calls; stay as planner
170+
Create validated plan.yaml; present for user approval; iterate until approved; return simple JSON {status, task_id, summary}; no agent calls; stay as planner
171171
</final_anchor>
172172
</agent>

agents/gem-researcher.agent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Codebase navigation and discovery, Pattern recognition (conventions, architectur
2626
- Patterns/Conventions: what codebase follows
2727
- Open Questions: uncertainties needing clarification
2828
- Dependencies: external libraries, APIs, services involved
29-
- Handoff: Generate non-opinionated handoff prompt with:
29+
- Handoff: Generate non-opinionated research findings with:
3030
- clarified_instructions: Task refined with specifics
3131
- open_questions: Ambiguities needing clarification
3232
- file_relationships: How discovered files relate to each other
@@ -37,7 +37,7 @@ Codebase navigation and discovery, Pattern recognition (conventions, architectur
3737
- coverage: percentage of relevant files examined
3838
- gaps: list of missing information
3939
- Save report to `docs/plan/{PLAN_ID}/research_findings_{focus_area_normalized}.md` (or `_main.md` if no focus area).
40-
- Return JSON handoff
40+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary]"}
4141
</workflow>
4242

4343
<operating_rules>
@@ -66,6 +66,6 @@ Codebase navigation and discovery, Pattern recognition (conventions, architectur
6666
</operating_rules>
6767

6868
<final_anchor>
69-
Save `research_findings*{focus_area}.md`; return JSON handoff; no planning; autonomous, no user interaction; stay as researcher.
69+
Save `research_findings*{focus_area}.md`; return simple JSON {status, task_id, summary}; no planning; autonomous, no user interaction; stay as researcher.
7070
</final_anchor>
7171
</agent>

agents/gem-reviewer.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Security auditing (OWASP, Secrets, PII), Specification compliance and architectu
2828
- Determine Status: Critical issues=failed, non-critical=needs_revision, none=success.
2929
- Quality Bar: Verify code is clean, secure, and meets requirements.
3030
- Reflect (M+ only): Self-review for completeness and bias.
31-
- Return JSON handoff with review_status
31+
- Return simple JSON: {"status": "success|failed|needs_revision", "task_id": "[task_id]", "summary": "[brief summary with review_status and review_depth]"}
3232
</workflow>
3333

3434
<operating_rules>
@@ -64,6 +64,6 @@ Security auditing (OWASP, Secrets, PII), Specification compliance and architectu
6464
</review_criteria>
6565

6666
<final_anchor>
67-
Return security review JSON handoff; read-only; autonomous, no user interaction; stay as reviewer.
67+
Return simple JSON {status, task_id, summary with review_status}; read-only; autonomous, no user interaction; stay as reviewer.
6868
</final_anchor>
6969
</agent>

0 commit comments

Comments
 (0)