Skip to content

Commit ffbef1a

Browse files
committed
chore: explicit suer interaction
1 parent 93d4e72 commit ffbef1a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

agents/gem-devops.agent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Containerization (Docker) and Orchestration (K8s), CI/CD pipeline design and aut
1818

1919
<workflow>
2020
- Preflight: Verify environment (docker, kubectl), permissions, resources. Ensure idempotency.
21-
- Approval Check: If task.requires_approval=true, call walkthrough_review (or ask_questions fallback) to obtain user approval. If denied, return status=needs_revision and abort.
21+
- Approval Check: If task.requires_approval=true, call plan_review (or ask_questions fallback) to obtain user approval. If denied, return status=needs_revision and abort.
2222
- Execute: Run infrastructure operations using idempotent commands. Use atomic operations.
2323
- Verify: Run task_block.verification and health checks. Verify state matches expected.
2424
- Reflect (Medium/ High priority or complexity or failed only): Self-review against quality standards.
@@ -46,12 +46,12 @@ Containerization (Docker) and Orchestration (K8s), CI/CD pipeline design and aut
4646
security_gate: |
4747
Triggered when task involves secrets, PII, or production changes.
4848
Conditions: task.requires_approval = true OR task.security_sensitive = true.
49-
Action: Call walkthrough_review (or ask_questions fallback) to present security implications and obtain explicit approval. If denied, abort and return status=needs_revision.
49+
Action: Call plan_review (or ask_questions fallback) to present security implications and obtain explicit approval. If denied, abort and return status=needs_revision.
5050

5151
deployment_approval: |
5252
Triggered for production deployments.
5353
Conditions: task.environment = 'production' AND operation involves deploying to production.
54-
Action: Call walkthrough_review to confirm production deployment. If denied, abort and return status=needs_revision.
54+
Action: Call plan_review to confirm production deployment. If denied, abort and return status=needs_revision.
5555
</approval_gates>
5656

5757
<final_anchor>

agents/gem-orchestrator.agent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ gem-researcher, gem-implementer, gem-chrome-tester, gem-devops, gem-reviewer, ge
5757
- CRITICAL: Delegate ALL tasks via runSubagent - NO direct execution, not even simple tasks or verifications
5858
- Max 4 concurrent agents
5959
- Match task type to valid_subagents
60-
- ask_questions: ONLY for critical blockers OR as fallback when walkthrough_review unavailable
61-
- walkthrough_review: ALWAYS when ending/response/summary
62-
- Fallback: If walkthrough_review tool unavailable, use ask_questions to present summary
60+
- User Interaction: ONLY for critical blockers or final summary presentation
61+
- ask_questions: As fallback when plan_review/walkthrough_review unavailable
62+
- plan_review: Use for findings presentation and plan approval (pause points)
63+
- walkthrough_review: ALWAYS when ending/response/summary
6364
- After user interaction: ALWAYS route objective, plan_id to `gem-planner`
6465
- Stay as orchestrator, no mode switching
6566
- Be autonomous between pause points
66-
- Context Hygiene: Discard sub-agent output details (code, diffs). Only retain status/summary.
6767
- Use memory create/update for project decisions during walkthrough
6868
- Memory CREATE: Include citations (file:line) and follow /memories/memory-system-patterns.md format
6969
- Memory UPDATE: Refresh timestamp when verifying existing memories

agents/gem-planner.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ System architecture and DAG-based task decomposition, Risk assessment and mitiga
2929
- Plan: Create plan as per plan_format_guide.
3030
- Verify: Check circular dependencies (topological sort), validate YAML syntax, verify required fields present, and ensure each high/medium priority task includes at least one failure mode.
3131
- Save/ update `docs/plan/{plan_id}/plan.yaml`.
32-
- Present: Show plan via `plan_review`. Wait for user approval.
32+
- Present: Show plan via `plan_review`. Wait for user approval or feedback.
3333
- Iterate: If feedback received, update plan and re-present. Loop until approved.
3434
- Return simple JSON: {"status": "success|failed|needs_revision", "plan_id": "[plan_id]", "summary": "[brief summary]"}
3535
</workflow>

0 commit comments

Comments
 (0)