Skip to content

Commit 1b678ce

Browse files
committed
refactor: rename prd_path to project_prd_path in agent configurations
- Updated gem-orchestrator.agent.md to use `project_prd_path` instead of `prd_path` in task definitions and delegation logic. - Updated gem-planner.agent.md to reference `project_prd_path` and clarify PRD reading. - Updated gem-researcher.agent.md to use `project_prd_path` and adjust PRD consumption logic. - Applied minor wording improvements and consistency fixes across the orchestrator, planner, and researcher documentation.
1 parent 8fd6c6f commit 1b678ce

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

agents/gem-orchestrator.agent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
3838
- IF task-specific (current scope only) → include in task_definition for planner
3939
- Skip entirely for simple complexity or if user explicitly says "skip discussion"
4040
- PRD Creation (after Discuss Phase):
41-
- Use task_clarifications and architectural_decisions from `Discuss Phase`
41+
- Use `task_clarifications` and architectural_decisions from `Discuss Phase`
4242
- Create docs/PRD.yaml (or update if exists) per <prd_format_guide>
4343
- Include: user stories, IN SCOPE, OUT OF SCOPE, acceptance criteria, NEEDS CLARIFICATION
4444
- PRD is the source of truth for research and planning
@@ -47,7 +47,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
4747
- simple: well-known patterns, clear objective, low risk
4848
- medium: some unknowns, moderate scope
4949
- complex: unfamiliar domain, security-critical, high integration risk
50-
- Pass task_clarifications and prd_path to researchers
50+
- Pass `task_clarifications` and `project_prd_path` to researchers
5151
- Identify multiple domains/ focus areas from user_request or user_feedback
5252
- For each focus area, delegate to `gem-researcher` via `runSubagent` (up to 4 concurrent) per `<delegation_protocol>`
5353
- Phase 2: Planning
@@ -101,7 +101,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
101101
"focus_area": "string (optional)",
102102
"complexity": "simple|medium|complex",
103103
"task_clarifications": "array of {question, answer} (empty if skipped)",
104-
"prd_path": "string"
104+
"project_prd_path": "string"
105105
},
106106

107107
"gem-planner": {
@@ -110,7 +110,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
110110
"objective": "string",
111111
"complexity": "simple|medium|complex",
112112
"task_clarifications": "array of {question, answer} (empty if skipped)",
113-
"prd_path": "string"
113+
"project_prd_path": "string"
114114
},
115115

116116
"gem-implementer": {

agents/gem-planner.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
3131
- Analyze: Parse user_request → objective. Find `research_findings_*.yaml` via glob.
3232
- Read efficiently: tldr + metadata first, detailed sections as needed
3333
- SELECTIVE RESEARCH CONSUMPTION: Read tldr + research_metadata.confidence + open_questions first (≈30 lines). Target-read specific sections (files_analyzed, patterns_found, related_architecture) ONLY for gaps identified in open_questions. Do NOT consume full research files - ETH Zurich shows full context hurts performance.
34-
- READ PRD (`prd_path`): Read user_stories, scope (in_scope/out_of_scope), acceptance_criteria, needs_clarification. These are the source of truth — plan must satisfy all acceptance_criteria, stay within in_scope, exclude out_of_scope.
34+
- READ PRD (`project_prd_path`): Read user_stories, scope (in_scope/out_of_scope), acceptance_criteria, needs_clarification. These are the source of truth — plan must satisfy all acceptance_criteria, stay within in_scope, exclude out_of_scope.
3535
- APPLY TASK CLARIFICATIONS: If task_clarifications is non-empty, read and lock these decisions into the DAG design. Task-specific clarifications become constraints on task descriptions and acceptance criteria. Do NOT re-question these — they are resolved.
3636
- initial: no `plan.yaml` → create new
3737
- replan: failure flag OR objective changed → rebuild DAG
@@ -70,7 +70,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
7070
"objective": "string", // Extracted objective from user request or task_definition
7171
"complexity": "simple|medium|complex", // Required for pre-mortem logic
7272
"task_clarifications": "array of {question, answer} from Discuss Phase (empty if skipped)",
73-
"prd_path": "string (path to docs/PRD.yaml)"
73+
"project_prd_path": "string (path to docs/PRD.yaml)"
7474
}
7575
```
7676

agents/gem-researcher.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Codebase Navigation, Pattern Recognition, Dependency Mapping, Technology Stack A
2929
- Use complexity from input OR model-decided if not provided
3030
- Model considers: task nature, domain familiarity, security implications, integration complexity
3131
- Factor task_clarifications into research scope: look for patterns matching clarified preferences (e.g., if "use cursor pagination" is clarified, search for existing pagination patterns)
32-
- Read PRD (prd_path) for scope context: focus on in_scope areas, avoid out_of_scope patterns
32+
- Read PRD (`project_prd_path`) for scope context: focus on in_scope areas, avoid out_of_scope patterns
3333
- Proportional effort:
3434
- simple: 1 pass, max 20 lines output
3535
- medium: 2 passes, max 60 lines output
@@ -71,7 +71,7 @@ Codebase Navigation, Pattern Recognition, Dependency Mapping, Technology Stack A
7171
"focus_area": "string",
7272
"complexity": "simple|medium|complex",
7373
"task_clarifications": "array of {question, answer} from Discuss Phase (empty if skipped)",
74-
"prd_path": "string (path to `docs/PRD.yaml`, for scope/acceptance criteria context)"
74+
"project_prd_path": "string (path to `docs/PRD.yaml`, for scope/acceptance criteria context)"
7575
}
7676
```
7777

0 commit comments

Comments
 (0)