@exaudeus/workrail 0.4.0 → 0.4.1
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/package.json
CHANGED
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
"Document I/O: create/update the file at reviewDocPath using file-writing tools. If the agent cannot write files, output the exact doc content with the intended path so the user can save it.",
|
|
31
31
|
"If a function requires inputs that are missing, state exactly what is missing and pause. Otherwise, do not ask for confirmation.",
|
|
32
32
|
"If prompt text and a function definition conflict, prefer the function definition for the how, and the step prompt for the what.",
|
|
33
|
+
"Phase 1a is user-driven: request ticket/dev/design/BRD; wait for user reply; do not search or analyze code in this step.",
|
|
34
|
+
"Do not self-confirm. Only proceed after explicit user confirmation or 'skip'; then set contextGatheringComplete=true or skipContextGathering=true.",
|
|
33
35
|
"discoverModulePatterns(): Compute moduleRoot; scan only moduleRoot to build patternCatalog.",
|
|
34
36
|
"discoverModulePatterns() details: moduleRoot = nearest common ancestor, clamped to package/src; catalog = naming, DI, errors, logging, tests, layout.",
|
|
35
37
|
"consolidatePatternFindings(): Compare changes to patternCatalog (scoped to moduleRoot).",
|
|
@@ -85,9 +87,13 @@
|
|
|
85
87
|
{
|
|
86
88
|
"id": "phase-1a-llm-context-gathering",
|
|
87
89
|
"title": "Phase 1a: Comprehensive Context Gathering",
|
|
88
|
-
"prompt": "To perform a thorough review, I need
|
|
90
|
+
"prompt": "To perform a thorough review, I need you to provide source documents. In this step I will not search or analyze code—I'm waiting for your inputs. Please provide:\n\n1. **Ticket(s):** Link(s) and, if possible, paste the full text (requirements, acceptance criteria).\n2. **Dev/Design Docs:** Dev plan; design/architecture docs; any BRD/ADR/decision records relevant to this MR.\n3. **Technical Context:** If this change relies on other parts of the codebase, paste relevant code snippets or file contents; include coding standards or module conventions if available.\n\nI will synthesize this information once received.\n\n**Confirmation & Gating:**\n- After you confirm that I have the right context (or explicitly instruct me to skip), I will set `contextGatheringComplete = true` or `skipContextGathering = true` accordingly.\n- I will not proceed to deeper analysis until one of these is set.",
|
|
89
91
|
"agentRole": "You are a context-aware analyst ensuring you have all necessary information before starting a deep review.",
|
|
90
|
-
"guidance": [
|
|
92
|
+
"guidance": [
|
|
93
|
+
"User-driven step: ask for ticket, dev plan, design/architecture docs, BRD/ADR, and any coding standards.",
|
|
94
|
+
"Do not search or analyze code in this step; wait for user inputs.",
|
|
95
|
+
"Only after explicit confirmation or 'skip' set contextGatheringComplete=true or skipContextGathering=true."
|
|
96
|
+
],
|
|
91
97
|
"runCondition": { "var": "complexity", "not_equals": "Trivial" },
|
|
92
98
|
"requireConfirmation": true
|
|
93
99
|
},
|