@exaudeus/workrail 0.2.5-beta.7 → 0.2.5-beta.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exaudeus/workrail",
3
- "version": "0.2.5-beta.7",
3
+ "version": "0.2.5-beta.8",
4
4
  "description": "MCP server for structured workflow orchestration and step-by-step task guidance",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -57,7 +57,8 @@
57
57
  "**[Trivial]:** For minor fixes (typos, docs). This will run a condensed, single-phase review.",
58
58
  "**[Standard]:** For typical features or bug fixes. This uses the full, multi-phase review process.",
59
59
  "**[High-Risk]:** For major architectural changes or features touching sensitive code. This follows the full process with maximum diligence."
60
- ]
60
+ ],
61
+ "functionReferences": ["initReviewDoc()", "logRevision()"]
61
62
  },
62
63
  {
63
64
  "id": "phase-1-context",
@@ -65,10 +66,14 @@
65
66
  "prompt": "My goal is to ensure I fully understand the MR before the deep analysis. Based on the context you provided, I will perform the following tasks:\n\n1. **Summarize Goal:** Briefly summarize what I understand to be the primary goal and scope of this MR.\n2. **File Overview:** List all changed files (added, modified, deleted) and provide a one-sentence summary of the changes for each.\n3. **Initial Questions:** Formulate any immediate questions I have about the MR's purpose or requirements.\n4. **Confirmation Gate:** Does my summary accurately reflect the MR's goal? Please confirm before I proceed.\n\nI will also update the live review document with the Changed Files table and the Context summary.",
66
67
  "agentRole": "You are a thorough code review analyst specializing in requirement comprehension and change impact assessment. Your strength is quickly understanding the intent and scope of code changes while identifying potential gaps in understanding early in the review process.",
67
68
  "guidance": [
68
- "This is a critical sanity check. If the agent's summary is incorrect, correct it now to prevent a flawed review. This step is skipped for 'Trivial' reviews."
69
+ "This is a critical sanity check. If the agent's summary is incorrect, correct it now to prevent a flawed review. This step is skipped for 'Trivial' reviews.",
70
+ "Doc writes: update only 'Context Summary' and 'Changed Files' sections; do not add 'Questions' or extra headings.",
71
+ "Ask any clarifying questions in chat only; do not write them into the doc.",
72
+ "Do not create placeholders for issues (Critical/Major/Minor) in this step."
69
73
  ],
70
74
  "runCondition": { "var": "complexity", "not_equals": "Trivial" },
71
- "requireConfirmation": true
75
+ "requireConfirmation": true,
76
+ "functionReferences": ["upsertSection()", "appendChangedFileRow()", "logRevision()"]
72
77
  },
73
78
 
74
79
  {