rrce-workflow 0.3.18 → 0.3.20
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/README.md +1 -1
- package/agent-core/prompts/_base.md +8 -2
- package/agent-core/prompts/design.md +3 -2
- package/agent-core/prompts/develop.md +6 -6
- package/agent-core/prompts/doctor.md +1 -2
- package/agent-core/prompts/documentation.md +1 -1
- package/agent-core/prompts/init.md +1 -1
- package/agent-core/prompts/orchestrator.md +1 -1
- package/agent-core/prompts/sync.md +1 -1
- package/dist/index.js +1026 -871
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ RRCE-Workflow transforms your AI coding assistant (GitHub Copilot, OpenCode, Cla
|
|
|
11
11
|
- **Global Knowledge Base**: Centralized context management across all your projects (`~/.rrce-workflow/`).
|
|
12
12
|
- **MCP Hub**: A Model Context Protocol server exposing tools, resources, and prompts to any MCP-compatible client.
|
|
13
13
|
- **Semantic Search (RAG)**: Local, privacy-first vector indexing powered by `@xenova/transformers` for deep codebase understanding.
|
|
14
|
-
- **Structured Agent Pipelines**:
|
|
14
|
+
- **Structured Agent Pipelines**: 5 specialized agents (Init, Design, Develop, Docs, Sync, Doctor) for end-to-end development workflows.
|
|
15
15
|
- **Task Management**: Built-in CRUD operations for tracking high-level tasks via MCP tools.
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -8,6 +8,11 @@ Use values from the **System Context** table above. Never guess or construct pat
|
|
|
8
8
|
- `WORKSPACE_ROOT` - Project source code location
|
|
9
9
|
- `RRCE_HOME` - Global RRCE installation directory
|
|
10
10
|
|
|
11
|
+
**If System Context is missing or incorrect:**
|
|
12
|
+
1. Call `rrce_resolve_path(project: "PROJECT_NAME")` to get authoritative paths
|
|
13
|
+
2. If resolution fails, call `rrce_list_projects()` to see available projects
|
|
14
|
+
3. If both fail, ask the user for clarification before proceeding
|
|
15
|
+
|
|
11
16
|
## Tool Preference Order
|
|
12
17
|
1. **Context bundling** (`rrce_get_context_bundle`) - single call aggregates project context + knowledge + code
|
|
13
18
|
2. **Semantic search** (`rrce_search_knowledge`, `rrce_search_code`) - finds concepts without exact matches
|
|
@@ -95,9 +100,10 @@ For active task visibility in the MCP TUI:
|
|
|
95
100
|
This enables real-time progress display in the Overview tab.
|
|
96
101
|
|
|
97
102
|
## Workspace Constraints
|
|
98
|
-
-
|
|
99
|
-
-
|
|
103
|
+
- All agents have read and write access to files as needed
|
|
104
|
+
- Agents should respect task scope and avoid unnecessary modifications
|
|
100
105
|
- All agents may write to their designated `RRCE_DATA` paths
|
|
106
|
+
- Develop agent focuses on execution of planned changes in source code
|
|
101
107
|
|
|
102
108
|
---
|
|
103
109
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE Design
|
|
3
3
|
description: Research requirements and create execution plan in a single interactive session. Combines clarification and task breakdown.
|
|
4
4
|
argument-hint: TASK_SLUG=<slug> REQUEST="<user prompt>" [TITLE="<task title>"]
|
|
5
|
-
tools: ['rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_get_file_summary', 'rrce_search_tasks', 'rrce_find_related_files', 'rrce_get_project_context', 'rrce_validate_phase', 'rrce_list_projects', 'rrce_create_task', 'rrce_update_task', 'websearch', 'codesearch', 'write']
|
|
5
|
+
tools: ['rrce_resolve_path', 'rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_get_file_summary', 'rrce_search_tasks', 'rrce_find_related_files', 'rrce_get_project_context', 'rrce_validate_phase', 'rrce_list_projects', 'rrce_create_task', 'rrce_update_task', 'rrce_start_session', 'rrce_end_session', 'rrce_update_agent_todos', 'websearch', 'codesearch', 'read', 'write', 'glob', 'grep']
|
|
6
6
|
required-args:
|
|
7
7
|
- name: TASK_SLUG
|
|
8
8
|
prompt: "Enter a task slug (kebab-case identifier)"
|
|
@@ -427,6 +427,7 @@ Then tell user: "Design complete! To develop: `/rrce_develop {{TASK_SLUG}}` or a
|
|
|
427
427
|
|
|
428
428
|
## Constraints
|
|
429
429
|
|
|
430
|
-
-
|
|
430
|
+
- Agents have read and write access to workspace as needed
|
|
431
|
+
- Focus on design and planning artifacts
|
|
431
432
|
- If user asks for code changes: "Code changes happen in the Develop phase. Let's finish design first."
|
|
432
433
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE Develop
|
|
3
3
|
description: Execute the planned tasks to deliver working code and tests. The ONLY agent authorized to modify source code.
|
|
4
4
|
argument-hint: "TASK_SLUG=<slug> [BRANCH=<git ref>]"
|
|
5
|
-
tools: ['rrce_prefetch_task_context', 'rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_get_file_summary', 'rrce_find_related_files', 'rrce_get_project_context', 'rrce_validate_phase', 'rrce_index_knowledge', 'rrce_update_task', 'rrce_start_session', 'rrce_end_session', 'rrce_update_agent_todos', 'read', 'write', 'edit', 'bash', 'glob', 'grep']
|
|
5
|
+
tools: ['rrce_resolve_path', 'rrce_prefetch_task_context', 'rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_get_file_summary', 'rrce_find_related_files', 'rrce_get_project_context', 'rrce_validate_phase', 'rrce_index_knowledge', 'rrce_update_task', 'rrce_start_session', 'rrce_end_session', 'rrce_update_agent_todos', 'read', 'write', 'edit', 'bash', 'glob', 'grep']
|
|
6
6
|
required-args:
|
|
7
7
|
- name: TASK_SLUG
|
|
8
8
|
prompt: "Enter the task slug to execute"
|
|
@@ -215,10 +215,10 @@ Optional: "Ready for documentation? `/rrce_docs {{TASK_SLUG}}`"
|
|
|
215
215
|
|
|
216
216
|
## Authority
|
|
217
217
|
|
|
218
|
-
**You are the
|
|
219
|
-
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
218
|
+
**You are the primary execution agent for:**
|
|
219
|
+
- Implementing planned tasks in `{{WORKSPACE_ROOT}}`
|
|
220
|
+
- Making code changes based on approved plans
|
|
221
|
+
- Running `bash` commands and validation tests
|
|
222
222
|
|
|
223
|
-
|
|
223
|
+
All agents have read and write access, but Develop focuses on execution of planned changes.
|
|
224
224
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE Doctor
|
|
3
3
|
description: Analyze codebase health using semantic search; identify issues and recommend improvement tasks.
|
|
4
4
|
argument-hint: "[PROJECT_NAME=<name>] [FOCUS_AREA=<area>]"
|
|
5
|
-
tools: ['rrce_search_knowledge', 'rrce_get_project_context', 'rrce_index_knowledge', 'rrce_list_projects', 'rrce_create_task']
|
|
5
|
+
tools: ['rrce_resolve_path', 'rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_get_file_summary', 'rrce_get_project_context', 'rrce_index_knowledge', 'rrce_list_projects', 'rrce_create_task', 'read', 'write', 'glob', 'grep']
|
|
6
6
|
required-args: []
|
|
7
7
|
optional-args:
|
|
8
8
|
- name: PROJECT_NAME
|
|
@@ -22,7 +22,6 @@ You are the Project Doctor for RRCE-Workflow. Perform a health check on the code
|
|
|
22
22
|
- **Standalone Agent**: Can be invoked at any time, independent of research/plan/execute pipeline
|
|
23
23
|
- **No Prerequisites**: Does not require prior phases (benefits from `project-context.md` if available)
|
|
24
24
|
- **Output**: Structured diagnosis with ready-to-use task definitions
|
|
25
|
-
- **Read-Only**: Analyzes but does NOT modify source code
|
|
26
25
|
|
|
27
26
|
## Mission
|
|
28
27
|
- Analyze the codebase for health issues, technical debt, and improvement opportunities
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE Documentation
|
|
3
3
|
description: Produce project documentation aligned with the latest delivery.
|
|
4
4
|
argument-hint: "DOC_TYPE=<type> [TASK_SLUG=<slug> | TARGET_PATH=<relative>] [RELEASE_REF=<tag/sha>]"
|
|
5
|
-
tools: ['rrce_search_knowledge', 'rrce_get_project_context', 'rrce_list_projects', 'rrce_update_task']
|
|
5
|
+
tools: ['rrce_resolve_path', 'rrce_prefetch_task_context', 'rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_get_project_context', 'rrce_list_projects', 'rrce_update_task', 'read', 'write', 'glob', 'grep']
|
|
6
6
|
required-args:
|
|
7
7
|
- name: DOC_TYPE
|
|
8
8
|
prompt: "Enter the documentation type (e.g., api, architecture, runbook, changelog)"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE Init
|
|
3
3
|
description: Initialize project context and semantic search index by analyzing codebase structure, tech stack, and conventions.
|
|
4
4
|
argument-hint: "[PROJECT_NAME=<name>]"
|
|
5
|
-
tools: ['rrce_search_knowledge', 'rrce_index_knowledge', 'rrce_get_project_context', 'rrce_list_projects']
|
|
5
|
+
tools: ['rrce_resolve_path', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_get_file_summary', 'rrce_index_knowledge', 'rrce_get_project_context', 'rrce_list_projects', 'rrce_start_session', 'rrce_end_session', 'read', 'write', 'glob', 'grep']
|
|
6
6
|
required-args: []
|
|
7
7
|
optional-args:
|
|
8
8
|
- name: PROJECT_NAME
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE
|
|
3
3
|
description: Phase coordinator for RRCE workflow. Checks state, guides transitions. Uses slash commands for token efficiency.
|
|
4
4
|
argument-hint: "[PHASE=<init|design|develop|docs>] [TASK_SLUG=<slug>]"
|
|
5
|
-
tools: ['rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_search_tasks', 'rrce_validate_phase', 'rrce_find_related_files', 'rrce_get_project_context', 'rrce_list_projects', 'rrce_list_agents', 'rrce_get_agent_prompt', 'rrce_list_tasks', 'rrce_get_task', 'rrce_create_task', 'rrce_update_task', 'rrce_delete_task', 'rrce_index_knowledge', 'rrce_resolve_path', 'read', 'write', 'bash', 'task']
|
|
5
|
+
tools: ['rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_search_symbols', 'rrce_search_tasks', 'rrce_validate_phase', 'rrce_find_related_files', 'rrce_get_project_context', 'rrce_list_projects', 'rrce_list_agents', 'rrce_get_agent_prompt', 'rrce_list_tasks', 'rrce_get_task', 'rrce_create_task', 'rrce_update_task', 'rrce_delete_task', 'rrce_index_knowledge', 'rrce_resolve_path', 'read', 'write', 'bash', 'edit', 'task', 'glob', 'grep']
|
|
6
6
|
mode: primary
|
|
7
7
|
required-args: []
|
|
8
8
|
optional-args:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: RRCE Sync
|
|
3
3
|
description: Reconcile project state with the RRCE knowledge base and update semantic index.
|
|
4
4
|
argument-hint: "[SCOPE=<path|module>]"
|
|
5
|
-
tools: ['rrce_search_knowledge', 'rrce_get_project_context', 'rrce_index_knowledge', 'rrce_list_projects', 'rrce_update_task']
|
|
5
|
+
tools: ['rrce_resolve_path', 'rrce_get_context_bundle', 'rrce_search_knowledge', 'rrce_search_code', 'rrce_get_project_context', 'rrce_index_knowledge', 'rrce_list_projects', 'rrce_update_task', 'read', 'write', 'glob', 'grep']
|
|
6
6
|
required-args: []
|
|
7
7
|
optional-args:
|
|
8
8
|
- name: SCOPE
|