rrce-workflow 0.3.18 → 0.3.19

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 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**: 7 specialized agents (Init, Research, Planning, Executor, Docs, Sync, Doctor) for end-to-end development workflows.
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
  ---
@@ -95,9 +95,10 @@ For active task visibility in the MCP TUI:
95
95
  This enables real-time progress display in the Overview tab.
96
96
 
97
97
  ## Workspace Constraints
98
- - Most agents are **read-only** on `WORKSPACE_ROOT`
99
- - Only **Develop** agent may modify source code
98
+ - All agents have read and write access to files as needed
99
+ - Agents should respect task scope and avoid unnecessary modifications
100
100
  - All agents may write to their designated `RRCE_DATA` paths
101
+ - Develop agent focuses on execution of planned changes in source code
101
102
 
102
103
  ---
103
104
 
@@ -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_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', '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
- - **READ-ONLY workspace**: Write only to `{{RRCE_DATA}}/tasks/{{TASK_SLUG}}/`
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
 
@@ -215,10 +215,10 @@ Optional: "Ready for documentation? `/rrce_docs {{TASK_SLUG}}`"
215
215
 
216
216
  ## Authority
217
217
 
218
- **You are the ONLY agent that can:**
219
- - Modify `{{WORKSPACE_ROOT}}` files
220
- - Use `edit` and `write` on source code
221
- - Run `bash` commands
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
- **All other agents are read-only.**
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_search_knowledge', '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_search_knowledge', '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_search_knowledge', 'rrce_index_knowledge', 'rrce_get_project_context', 'rrce_list_projects', '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_search_knowledge', '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
package/dist/index.js CHANGED
@@ -6885,6 +6885,7 @@ async function performUpdate(workspacePath, workspaceName, currentStorageMode, o
6885
6885
  if (driftReport.modifiedFiles.includes(entryRel)) {
6886
6886
  backupFile(entryDest);
6887
6887
  }
6888
+ ensureDir(path23.dirname(entryDest));
6888
6889
  fs22.copyFileSync(entrySrc, entryDest);
6889
6890
  updatedFiles.push(entryRel);
6890
6891
  }
@@ -7044,6 +7045,7 @@ ${dataPaths.map((p) => ` \u2022 ${p}`).join("\n")}`,
7044
7045
  if (driftReport.modifiedFiles.includes(entryRel)) {
7045
7046
  backupFile(entryDest);
7046
7047
  }
7048
+ ensureDir(path23.dirname(entryDest));
7047
7049
  fs22.copyFileSync(entrySrc, entryDest);
7048
7050
  updatedFiles.push(entryRel);
7049
7051
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrce-workflow",
3
- "version": "0.3.18",
3
+ "version": "0.3.19",
4
4
  "description": "RRCE-Workflow TUI - Agentic code workflow generator for AI-assisted development",
5
5
  "author": "RRCE Team",
6
6
  "license": "MIT",