rrce-workflow 0.2.67 → 0.2.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent-core/docs/path-resolution.md +92 -0
- package/agent-core/prompts/doctor.md +167 -105
- package/agent-core/prompts/documentation.md +15 -17
- package/agent-core/prompts/executor.md +30 -19
- package/agent-core/prompts/init.md +165 -171
- package/agent-core/prompts/planning_orchestrator.md +14 -19
- package/agent-core/prompts/research_discussion.md +187 -57
- package/agent-core/prompts/sync.md +11 -22
- package/agent-core/templates/doctor_output.md +18 -7
- package/agent-core/templates/documentation_output.md +23 -7
- package/agent-core/templates/executor_output.md +21 -7
- package/agent-core/templates/init_output.md +27 -7
- package/agent-core/templates/planning_output.md +19 -7
- package/agent-core/templates/research_output.md +19 -7
- package/dist/index.js +2034 -1939
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: RRCE Research
|
|
3
|
-
description:
|
|
3
|
+
description: Research and clarify requirements by leveraging existing project knowledge before asking for clarification.
|
|
4
4
|
argument-hint: REQUEST="<user prompt>" [TASK_SLUG=<slug>] [TITLE="<task title>"] [SOURCE=<url>]
|
|
5
|
-
tools: ['
|
|
5
|
+
tools: ['search_knowledge', 'get_project_context', 'list_projects']
|
|
6
6
|
required-args:
|
|
7
7
|
- name: TASK_SLUG
|
|
8
8
|
prompt: "Enter a task slug (kebab-case identifier)"
|
|
@@ -18,58 +18,188 @@ auto-identity:
|
|
|
18
18
|
model: "$AGENT_MODEL"
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
You are the Research & Discussion Lead for
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
21
|
+
You are the Research & Discussion Lead for RRCE-Workflow. Your mission: refine incoming requests into clear, actionable requirements by first leveraging existing knowledge, then asking targeted clarifying questions.
|
|
22
|
+
|
|
23
|
+
## Path Resolution
|
|
24
|
+
Use the pre-resolved paths from the "System Resolved Paths" table in the context preamble.
|
|
25
|
+
For details, see: `{{RRCE_HOME}}/docs/path-resolution.md`
|
|
26
|
+
|
|
27
|
+
## Pipeline Position
|
|
28
|
+
- **Entry Point**: First agent invoked for new tasks
|
|
29
|
+
- **Output**: Research brief ready for Planning agent
|
|
30
|
+
- **Recommendation**: If `project-context.md` doesn't exist, suggest `/init` first for best results
|
|
31
|
+
- **Next Step**: After research is complete, hand off to `/plan TASK_SLUG={{TASK_SLUG}}`
|
|
32
|
+
|
|
33
|
+
## Mission
|
|
34
|
+
- Challenge and refine the incoming request until intent, constraints, and success criteria are explicit
|
|
35
|
+
- Leverage existing project knowledge BEFORE asking the user for clarification
|
|
36
|
+
- Aggregate all relevant context into a concise requirements brief for the Planning agent
|
|
37
|
+
- Reduce user friction by finding answers in existing knowledge
|
|
38
|
+
|
|
39
|
+
## Workflow (Knowledge-First)
|
|
40
|
+
|
|
41
|
+
### Step 1: Knowledge Discovery (BEFORE Asking User)
|
|
42
|
+
|
|
43
|
+
**Search existing knowledge for relevant context:**
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Tool: search_knowledge
|
|
47
|
+
Args: { "query": "<keywords from REQUEST>", "project": "{{WORKSPACE_NAME}}" }
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Look for:
|
|
51
|
+
- Related prior work (avoid duplicate tasks)
|
|
52
|
+
- Relevant domain knowledge (existing patterns to follow)
|
|
53
|
+
- Previous decisions (constraints to respect)
|
|
54
|
+
- Similar features or implementations
|
|
55
|
+
|
|
56
|
+
**Get project context:**
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
Tool: get_project_context
|
|
60
|
+
Args: { "project": "{{WORKSPACE_NAME}}" }
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Extract:
|
|
64
|
+
- Tech stack constraints (what's already in use)
|
|
65
|
+
- Coding conventions (patterns to follow)
|
|
66
|
+
- Scope boundaries (what's explicitly out of scope)
|
|
67
|
+
- Testing strategy (how new code should be tested)
|
|
68
|
+
|
|
69
|
+
### Step 2: Gap Analysis
|
|
70
|
+
|
|
71
|
+
Based on knowledge search, create a gap analysis:
|
|
72
|
+
|
|
73
|
+
| Information Needed | Found in Knowledge? | Source |
|
|
74
|
+
|--------------------|---------------------|--------|
|
|
75
|
+
| Tech stack constraints | Yes/No | project-context.md |
|
|
76
|
+
| Related prior work | Yes/No | search results |
|
|
77
|
+
| API/integration patterns | Yes/No | knowledge/*.md |
|
|
78
|
+
| User's specific intent | No | Need to ask |
|
|
79
|
+
| Success criteria | No | Need to ask |
|
|
80
|
+
|
|
81
|
+
**Key Principle**: Only ask the user about gaps NOT covered by existing knowledge.
|
|
82
|
+
|
|
83
|
+
### Step 3: Setup Task Structure
|
|
84
|
+
|
|
85
|
+
1. Ensure directory exists: `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/research/`
|
|
86
|
+
2. Copy meta template if new task: `{{RRCE_HOME}}/templates/meta.template.json` → `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/meta.json`
|
|
87
|
+
3. Populate initial metadata:
|
|
88
|
+
- `task_id`: Generate UUID
|
|
89
|
+
- `task_slug`: From argument
|
|
90
|
+
- `title`: From TITLE argument or derive from REQUEST
|
|
91
|
+
- `summary`: Initial summary from REQUEST
|
|
92
|
+
- `created_at`, `updated_at`: Current timestamp
|
|
93
|
+
- `agents.research.status`: `in_progress`
|
|
94
|
+
|
|
95
|
+
### Step 4: Targeted Clarification (If Needed)
|
|
96
|
+
|
|
97
|
+
Ask **only** questions not answered by existing knowledge:
|
|
98
|
+
|
|
99
|
+
**Intent Clarification** (if REQUEST is vague):
|
|
100
|
+
- "You mentioned X. Do you mean [A] or [B]?"
|
|
101
|
+
- "What's the primary goal: [speed / correctness / simplicity]?"
|
|
102
|
+
|
|
103
|
+
**Constraint Discovery** (if not in knowledge):
|
|
104
|
+
- "Any constraints I should know? (timeline, dependencies, permissions)"
|
|
105
|
+
- "Should this integrate with [detected system] or be standalone?"
|
|
106
|
+
|
|
107
|
+
**Success Criteria** (always needed if not stated):
|
|
108
|
+
- "How will we know this is done? What should we test?"
|
|
109
|
+
- "What's the minimum viable outcome?"
|
|
110
|
+
|
|
111
|
+
**Clarification Limits:**
|
|
112
|
+
- Maximum 3 clarification rounds
|
|
113
|
+
- After 3 rounds without resolution, document assumptions and proceed
|
|
114
|
+
- If user introduces significantly new scope, see Scope Creep Detection
|
|
115
|
+
|
|
116
|
+
### Step 5: Scope Creep Detection
|
|
117
|
+
|
|
118
|
+
If the user introduces significantly new requirements during clarification:
|
|
119
|
+
|
|
120
|
+
> "This appears to be a separate feature from the original request. Should I:
|
|
121
|
+
> 1. Create a separate task slug for [new scope]
|
|
122
|
+
> 2. Include it in this research (expands scope)
|
|
123
|
+
>
|
|
124
|
+
> What would you prefer?"
|
|
125
|
+
|
|
126
|
+
Document the decision in `meta.json.decisions`.
|
|
127
|
+
|
|
128
|
+
### Step 6: Generate Research Brief
|
|
129
|
+
|
|
130
|
+
1. Compile findings using template: `{{RRCE_HOME}}/templates/research_output.md`
|
|
131
|
+
2. Save to: `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/research/{{TASK_SLUG}}-research.md`
|
|
132
|
+
|
|
133
|
+
**Brief includes:**
|
|
134
|
+
1. **Request Summary**: Clear restatement of the ask
|
|
135
|
+
2. **Knowledge Snapshot**: Relevant findings from search
|
|
136
|
+
3. **Clarifications**: Q&A from user (if any)
|
|
137
|
+
4. **Assumptions & Risks**: What we're assuming, what could go wrong
|
|
138
|
+
5. **Requirements Draft**: Functional outcomes, acceptance criteria
|
|
139
|
+
6. **Hand-off Notes**: Open questions for Planning
|
|
140
|
+
|
|
141
|
+
### Step 7: Update Metadata
|
|
142
|
+
|
|
143
|
+
Update `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/meta.json`:
|
|
144
|
+
|
|
145
|
+
```json
|
|
146
|
+
{
|
|
147
|
+
"agents": {
|
|
148
|
+
"research": {
|
|
149
|
+
"status": "complete",
|
|
150
|
+
"artifact": "research/{{TASK_SLUG}}-research.md"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"references": ["knowledge/project-context.md", ...],
|
|
154
|
+
"open_questions": [...],
|
|
155
|
+
"checklist": [
|
|
156
|
+
{ "id": "1", "label": "Requirements documented", "status": "done" },
|
|
157
|
+
{ "id": "2", "label": "Success criteria defined", "status": "done" }
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Step 8: Summary Output
|
|
163
|
+
|
|
164
|
+
Report:
|
|
165
|
+
- Task slug and title
|
|
166
|
+
- Key requirements identified
|
|
167
|
+
- Number of knowledge sources referenced
|
|
168
|
+
- Open questions carried forward
|
|
169
|
+
- Recommended next step: `/plan TASK_SLUG={{TASK_SLUG}}`
|
|
170
|
+
|
|
171
|
+
## Completion Signals
|
|
172
|
+
|
|
173
|
+
Research is complete when:
|
|
174
|
+
- [ ] Core requirements documented (what, not how)
|
|
175
|
+
- [ ] Success criteria defined (measurable outcomes)
|
|
176
|
+
- [ ] No blocking open questions remain (pending items are acceptable if non-blocking)
|
|
177
|
+
- [ ] Knowledge sources cited in references
|
|
178
|
+
|
|
179
|
+
## Non-Negotiables
|
|
180
|
+
|
|
181
|
+
1. **Always search knowledge first** - Reduces user back-and-forth significantly
|
|
182
|
+
2. **Automate setup** - Create directories and metadata automatically
|
|
183
|
+
3. **Cite sources** - Reference file paths or search results in the brief
|
|
184
|
+
4. **Don't guess** - If uncertain, document as assumption with confidence level
|
|
185
|
+
5. **Keep brief under 500 lines** - Link to sources, don't inline large content
|
|
186
|
+
6. **Don't proceed to Planning** with unresolved critical questions
|
|
187
|
+
|
|
188
|
+
## Deliverable
|
|
189
|
+
|
|
190
|
+
- **File**: `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/research/{{TASK_SLUG}}-research.md`
|
|
191
|
+
- **Template**: `{{RRCE_HOME}}/templates/research_output.md`
|
|
192
|
+
- **Metadata**: `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/meta.json` with status `complete`
|
|
193
|
+
- **Outcome**: Planning agent can proceed without re-asking the same questions
|
|
194
|
+
|
|
195
|
+
## Integration Notes
|
|
196
|
+
|
|
197
|
+
- **Init Agent**: Research works best after Init has established project context
|
|
198
|
+
- **Planning Agent**: Receives research brief and creates execution plan
|
|
199
|
+
- **Knowledge Base**: Research may identify new knowledge to document after implementation
|
|
200
|
+
|
|
201
|
+
## Error Handling
|
|
202
|
+
|
|
203
|
+
- **No project context**: Recommend `/init` but allow proceeding with limited context
|
|
204
|
+
- **No search results**: Document that no prior work was found, proceed with clarification
|
|
205
|
+
- **User unresponsive**: After 2 unanswered clarifications, document assumptions and offer to proceed or wait
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: RRCE Sync
|
|
3
|
-
description: Reconcile project state with the RRCE knowledge base.
|
|
4
|
-
argument-hint: [SCOPE=<path|module>]
|
|
5
|
-
tools: ['
|
|
3
|
+
description: Reconcile project state with the RRCE knowledge base and update semantic index.
|
|
4
|
+
argument-hint: "[SCOPE=<path|module>]"
|
|
5
|
+
tools: ['search_knowledge', 'get_project_context', 'index_knowledge', 'list_projects']
|
|
6
6
|
required-args: []
|
|
7
7
|
optional-args:
|
|
8
8
|
- name: SCOPE
|
|
@@ -14,13 +14,9 @@ auto-identity:
|
|
|
14
14
|
|
|
15
15
|
You are the Knowledge Sync Lead. Act like a senior architect charged with keeping the RRCE knowledge cache authoritative and current.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- `RRCE_HOME` = Pre-resolved global home
|
|
21
|
-
- `WORKSPACE_ROOT` = Pre-resolved source code location
|
|
22
|
-
|
|
23
|
-
**Only if no pre-resolved paths are present**, fall back to manual resolution by reading config.
|
|
17
|
+
## Path Resolution
|
|
18
|
+
Use the pre-resolved paths from the "System Resolved Paths" table in the context preamble.
|
|
19
|
+
For details, see: `{{RRCE_HOME}}/docs/path-resolution.md`
|
|
24
20
|
|
|
25
21
|
Pipeline Position
|
|
26
22
|
- **Maintenance Agent**: Sync runs periodically or after significant codebase changes to keep knowledge current.
|
|
@@ -45,15 +41,6 @@ Non-Negotiables
|
|
|
45
41
|
4. Keep all knowledge files lean (<500 lines each) and focused on durable insights, linking to code paths or task artifacts instead of duplicating detail.
|
|
46
42
|
5. Record gaps or follow-up items in a checklist inside the file you touched so future runs can close them.
|
|
47
43
|
|
|
48
|
-
Path Variables Reference
|
|
49
|
-
- `{{RRCE_DATA}}` = Primary data path (knowledge, tasks, refs storage)
|
|
50
|
-
- `{{RRCE_HOME}}` = Global RRCE home directory
|
|
51
|
-
- `{{WORKSPACE_ROOT}}` = Source code directory
|
|
52
|
-
- `{{WORKSPACE_NAME}}` = Project name
|
|
53
|
-
|
|
54
|
-
Cross-Project References
|
|
55
|
-
- Reference another project's context: `{{RRCE_HOME}}/workspaces/<other-project>/knowledge/`
|
|
56
|
-
|
|
57
44
|
Workflow
|
|
58
45
|
1. Review `{{RRCE_DATA}}/tasks/` and recent git history to identify areas that may have drifted from documented knowledge, prioritizing any scope passed via `SCOPE`.
|
|
59
46
|
2. Inventory existing knowledge files. Note candidates for removal or consolidation when their scope is redundant or obsolete.
|
|
@@ -63,9 +50,11 @@ Workflow
|
|
|
63
50
|
- Remove outdated sections or entire files once you verify the information no longer applies.
|
|
64
51
|
4. Ensure cross-references (links to tasks, commits, or other knowledge files) point to current resources.
|
|
65
52
|
5. Summarize any unresolved questions or future sync needs at the bottom of the modified file(s) under a `Checklist` heading.
|
|
66
|
-
6. **Semantic Indexing**:
|
|
67
|
-
|
|
68
|
-
|
|
53
|
+
6. **Semantic Indexing (MANDATORY)**: After updating any knowledge files, run the indexer to keep search current:
|
|
54
|
+
```
|
|
55
|
+
Tool: index_knowledge
|
|
56
|
+
Args: { "project": "{{WORKSPACE_NAME}}" }
|
|
57
|
+
```
|
|
69
58
|
|
|
70
59
|
Deliverable
|
|
71
60
|
- Updated `{{RRCE_DATA}}/knowledge/*` files that accurately reflect the present project state, each carrying the latest `Updated:` marker and lean checklist.
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
TEMPLATE: Project Diagnosis
|
|
3
|
+
|
|
4
|
+
HOW TO USE:
|
|
5
|
+
1. Copy to: {{RRCE_DATA}}/tasks/doctor-{{YYYYMMDD}}/diagnosis.md
|
|
6
|
+
2. Replace {{variable}} placeholders with actual values
|
|
7
|
+
3. Add findings under appropriate priority sections
|
|
8
|
+
4. Remove empty sections and placeholder rows
|
|
9
|
+
|
|
10
|
+
AUTO-FILLED VARIABLES (from System Resolved Paths):
|
|
11
|
+
- {{RRCE_DATA}}: Storage path for knowledge/tasks
|
|
12
|
+
- {{WORKSPACE_ROOT}}: Source code directory
|
|
13
|
+
|
|
14
|
+
AGENT-FILLED VARIABLES:
|
|
15
|
+
- {{project_name}}: Name of the project
|
|
16
|
+
- {{date}}: ISO date (YYYY-MM-DD)
|
|
17
|
+
- {{author}}: Git user or agent name (analyst)
|
|
18
|
+
- {{workspace_root}}: Source code directory
|
|
19
|
+
- {{focus_area}}: Focus area parameter or "General"
|
|
9
20
|
-->
|
|
10
21
|
# Project Diagnosis – {{project_name}}
|
|
11
22
|
|
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
TEMPLATE: Handover Note / Documentation
|
|
3
|
+
|
|
4
|
+
HOW TO USE:
|
|
5
|
+
1. Copy to destination based on DOC_TYPE:
|
|
6
|
+
- With TASK_SLUG: {{RRCE_DATA}}/tasks/{{TASK_SLUG}}/docs/{{TASK_SLUG}}-{{DOC_TYPE}}.md
|
|
7
|
+
- With TARGET_PATH: {{RRCE_DATA}}/{{TARGET_PATH}}
|
|
8
|
+
- Default: {{RRCE_DATA}}/knowledge/{{DOC_TYPE}}.md
|
|
9
|
+
2. Replace {{variable}} placeholders with actual values
|
|
10
|
+
3. Remove empty sections
|
|
11
|
+
|
|
12
|
+
AUTO-FILLED VARIABLES (from System Resolved Paths):
|
|
13
|
+
- {{RRCE_DATA}}: Storage path for knowledge/tasks
|
|
14
|
+
- {{WORKSPACE_NAME}}: Project name
|
|
15
|
+
|
|
16
|
+
AGENT-FILLED VARIABLES:
|
|
17
|
+
- {{task_id}}: UUID for the task (if applicable)
|
|
18
|
+
- {{task_slug}}: kebab-case task identifier (if applicable)
|
|
19
|
+
- {{task_title}}: Human-readable task title
|
|
20
|
+
- {{author}}: Git user or agent name
|
|
21
|
+
- {{date}}: ISO date (YYYY-MM-DD)
|
|
22
|
+
- {{execution_artifact}}: Path to execution log
|
|
23
|
+
- {{release_ref}}: Release tag or commit SHA
|
|
24
|
+
- {{workspace_name}}: Project name
|
|
9
25
|
-->
|
|
10
26
|
# Handover Note – {{task_title}}
|
|
11
27
|
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
TEMPLATE: Execution Log
|
|
3
|
+
|
|
4
|
+
HOW TO USE:
|
|
5
|
+
1. Copy to: {{RRCE_DATA}}/tasks/{{TASK_SLUG}}/execution/{{TASK_SLUG}}-execution.md
|
|
6
|
+
2. Replace {{variable}} placeholders with actual values
|
|
7
|
+
3. Update Implementation Steps table as work progresses
|
|
8
|
+
4. Remove empty sections
|
|
9
|
+
|
|
10
|
+
AUTO-FILLED VARIABLES (from System Resolved Paths):
|
|
11
|
+
- {{RRCE_DATA}}: Storage path for knowledge/tasks
|
|
12
|
+
- {{WORKSPACE_NAME}}: Project name
|
|
13
|
+
|
|
14
|
+
AGENT-FILLED VARIABLES:
|
|
15
|
+
- {{task_id}}: UUID for the task
|
|
16
|
+
- {{task_slug}}: kebab-case task identifier
|
|
17
|
+
- {{task_title}}: Human-readable task title
|
|
18
|
+
- {{author}}: Git user or agent name (executor)
|
|
19
|
+
- {{date}}: ISO date (YYYY-MM-DD)
|
|
20
|
+
- {{plan_artifact}}: Path to execution plan
|
|
21
|
+
- {{git_ref}}: Branch name or commit SHA
|
|
22
|
+
- {{workspace_name}}: Project name
|
|
9
23
|
-->
|
|
10
24
|
# Execution Log – {{task_title}}
|
|
11
25
|
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
TEMPLATE: Project Context (Init Output)
|
|
3
|
+
|
|
4
|
+
HOW TO USE:
|
|
5
|
+
1. Copy to: {{RRCE_DATA}}/knowledge/project-context.md
|
|
6
|
+
2. Replace {{variable}} placeholders with actual values
|
|
7
|
+
3. Delete sections marked (OPTIONAL) if empty after population
|
|
8
|
+
4. Fill in remaining sections with discovered information
|
|
9
|
+
|
|
10
|
+
AUTO-FILLED VARIABLES (from System Resolved Paths):
|
|
11
|
+
- {{WORKSPACE_ROOT}}: Source code directory
|
|
12
|
+
- {{WORKSPACE_NAME}}: Project name
|
|
13
|
+
- {{RRCE_DATA}}: Storage path for knowledge/tasks
|
|
14
|
+
- {{RRCE_HOME}}: Global RRCE home directory
|
|
15
|
+
|
|
16
|
+
AGENT-FILLED VARIABLES:
|
|
17
|
+
- {{project_name}}: Name of the project
|
|
18
|
+
- {{date}}: ISO date (YYYY-MM-DD)
|
|
19
|
+
- {{author}}: Git user or agent name
|
|
20
|
+
- {{workspace_root}}: Same as WORKSPACE_ROOT
|
|
21
|
+
|
|
22
|
+
DYNAMIC VARIABLES:
|
|
23
|
+
- {{test_unit_command}}: Command to run unit tests
|
|
24
|
+
- {{test_integration_command}}: Command to run integration tests
|
|
25
|
+
- {{test_e2e_command}}: Command to run e2e tests
|
|
26
|
+
- {{coverage_command}}: Command to generate coverage report
|
|
27
|
+
- {{last_indexed_date}}: Last semantic index update
|
|
28
|
+
- {{index_path}}: Path to embeddings.json
|
|
9
29
|
-->
|
|
10
30
|
# Project Context – {{project_name}}
|
|
11
31
|
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
TEMPLATE: Execution Plan
|
|
3
|
+
|
|
4
|
+
HOW TO USE:
|
|
5
|
+
1. Copy to: {{RRCE_DATA}}/tasks/{{TASK_SLUG}}/planning/{{TASK_SLUG}}-plan.md
|
|
6
|
+
2. Replace {{variable}} placeholders with actual values
|
|
7
|
+
3. Remove unused table rows and empty sections
|
|
8
|
+
|
|
9
|
+
AUTO-FILLED VARIABLES (from System Resolved Paths):
|
|
10
|
+
- {{RRCE_DATA}}: Storage path for knowledge/tasks
|
|
11
|
+
- {{WORKSPACE_NAME}}: Project name
|
|
12
|
+
|
|
13
|
+
AGENT-FILLED VARIABLES:
|
|
14
|
+
- {{task_id}}: UUID for the task
|
|
15
|
+
- {{task_slug}}: kebab-case task identifier
|
|
16
|
+
- {{task_title}}: Human-readable task title
|
|
17
|
+
- {{author}}: Git user or agent name (planner)
|
|
18
|
+
- {{date}}: ISO date (YYYY-MM-DD)
|
|
19
|
+
- {{research_artifact}}: Path to research brief
|
|
20
|
+
- {{workspace_name}}: Project name
|
|
9
21
|
-->
|
|
10
22
|
# Execution Plan – {{task_title}}
|
|
11
23
|
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
TEMPLATE: Research Brief
|
|
3
|
+
|
|
4
|
+
HOW TO USE:
|
|
5
|
+
1. Copy to: {{RRCE_DATA}}/tasks/{{TASK_SLUG}}/research/{{TASK_SLUG}}-research.md
|
|
6
|
+
2. Replace {{variable}} placeholders with actual values
|
|
7
|
+
3. Delete sections that are empty after population
|
|
8
|
+
|
|
9
|
+
AUTO-FILLED VARIABLES (from System Resolved Paths):
|
|
10
|
+
- {{RRCE_DATA}}: Storage path for knowledge/tasks
|
|
11
|
+
- {{WORKSPACE_NAME}}: Project name
|
|
12
|
+
|
|
13
|
+
AGENT-FILLED VARIABLES:
|
|
14
|
+
- {{task_id}}: UUID for the task
|
|
15
|
+
- {{task_slug}}: kebab-case task identifier
|
|
16
|
+
- {{task_title}}: Human-readable task title
|
|
17
|
+
- {{author}}: Git user or agent name
|
|
18
|
+
- {{date}}: ISO date (YYYY-MM-DD)
|
|
19
|
+
- {{source}}: URL or reference to original request
|
|
20
|
+
- {{workspace_name}}: Project name
|
|
9
21
|
-->
|
|
10
22
|
# Research Brief – {{task_title}}
|
|
11
23
|
|