@exaudeus/workrail 0.2.5-beta.8 → 0.3.0
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
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
"User has the MR title, purpose, and any relevant ticket numbers.",
|
|
9
9
|
"The agent has access to file-reading tools."
|
|
10
10
|
],
|
|
11
|
+
"clarificationPrompts": [
|
|
12
|
+
"Provide the associated ticket ID(s)/link(s) and paste full text if possible.",
|
|
13
|
+
"Provide links (or attach) any dev plan, design/architecture doc, or BRD relevant to this MR.",
|
|
14
|
+
"Provide the code diff (paste content or give a file path)."
|
|
15
|
+
],
|
|
11
16
|
"metaGuidance": [
|
|
12
17
|
"The ultimate goal is to assist, not replace, a human reviewer. The human owns the final merge decision.",
|
|
13
18
|
"All feedback should be constructive and actionable. Explain the 'why' behind suggestions.",
|
|
@@ -58,7 +63,8 @@
|
|
|
58
63
|
"**[Standard]:** For typical features or bug fixes. This uses the full, multi-phase review process.",
|
|
59
64
|
"**[High-Risk]:** For major architectural changes or features touching sensitive code. This follows the full process with maximum diligence."
|
|
60
65
|
],
|
|
61
|
-
"functionReferences": ["initReviewDoc()", "logRevision()"]
|
|
66
|
+
"functionReferences": ["initReviewDoc()", "logRevision()"],
|
|
67
|
+
"requireConfirmation": true
|
|
62
68
|
},
|
|
63
69
|
{
|
|
64
70
|
"id": "phase-1-context",
|
|
@@ -79,7 +85,7 @@
|
|
|
79
85
|
{
|
|
80
86
|
"id": "phase-1a-llm-context-gathering",
|
|
81
87
|
"title": "Phase 1a: Comprehensive Context Gathering",
|
|
82
|
-
"prompt": "To perform a thorough review, I need more than just the code diff. Please provide the following:\n\n1. **
|
|
88
|
+
"prompt": "To perform a thorough review, I need more than just the code diff. Please provide the following:\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; and any BRD or decision records relevant to this MR.\n3. **Technical Context:** If this change relies on other parts of the codebase, provide relevant code snippets or file contents; include coding standards or module conventions if available.\n\nI will synthesize this information to build a comprehensive context for my review.\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.",
|
|
83
89
|
"agentRole": "You are a context-aware analyst ensuring you have all necessary information before starting a deep review.",
|
|
84
90
|
"guidance": ["A high-quality review depends on high-quality context. The more information provided here, the more accurate the review will be."],
|
|
85
91
|
"runCondition": { "var": "complexity", "not_equals": "Trivial" },
|