@rallycry/conveyor-agent 7.3.0 → 7.3.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.
|
@@ -1522,6 +1522,13 @@ function buildDiscoveryPrompt(context, runnerMode) {
|
|
|
1522
1522
|
`- Include testing requirements and acceptance criteria`,
|
|
1523
1523
|
`- Set \`storyPointValue\` based on estimated complexity`,
|
|
1524
1524
|
``,
|
|
1525
|
+
`### Plan Verification Requirements`,
|
|
1526
|
+
`Every plan MUST include a **Testing / Verification** section enumerating:`,
|
|
1527
|
+
`- The quality gates: \`bun run lint\`, \`bun run typecheck\`, \`bun run test\` (or scoped equivalents)`,
|
|
1528
|
+
`- Any task-specific end-to-end checks (manual UI walk-through, API smoke test, migration dry-run, etc.)`,
|
|
1529
|
+
`- For refactors: line-count / file-size expectations and a public-API-surface diff check`,
|
|
1530
|
+
`This ensures executing agents and reviewers have a clear definition of "done" and prevents silent regressions.`,
|
|
1531
|
+
``,
|
|
1525
1532
|
`### Completing Planning`,
|
|
1526
1533
|
`Once ALL checklist items above are done, call the **ExitPlanMode** tool.`,
|
|
1527
1534
|
`- Required before ExitPlanMode will succeed: **plan** (via update_task), **story points** (via update_task_properties), **title** (via update_task_properties)`,
|
|
@@ -1595,7 +1602,15 @@ function buildModePrompt(agentMode, context, runnerMode) {
|
|
|
1595
1602
|
`- Goal: coordinate child task execution and ensure all children complete successfully`
|
|
1596
1603
|
] : [
|
|
1597
1604
|
`- If this is a leaf task (no children): execute the plan directly`,
|
|
1598
|
-
`- Goal: implement the plan,
|
|
1605
|
+
`- Goal: implement the plan, verify quality gates, open a PR when done`,
|
|
1606
|
+
``,
|
|
1607
|
+
`### Pre-PR Verification Checklist`,
|
|
1608
|
+
`Before calling \`mcp__conveyor__create_pull_request\`, verify ALL of the following pass:`,
|
|
1609
|
+
`1. \`bun run lint\` \u2014 no new lint errors`,
|
|
1610
|
+
`2. \`bun run typecheck\` \u2014 no new type errors`,
|
|
1611
|
+
`3. \`bun run test\` \u2014 relevant suites pass (scope to the affected package if the full run is prohibitively slow, and state the scope in the PR description)`,
|
|
1612
|
+
`If a gate fails, fix it before opening the PR. Do NOT open PRs with known failing gates.`,
|
|
1613
|
+
`For refactors: also run \`git diff ${context?.baseBranch ?? "dev"}..HEAD\` and confirm the public API surface (exports, function signatures) has no unintended breaking changes.`
|
|
1599
1614
|
]
|
|
1600
1615
|
];
|
|
1601
1616
|
return parts.join("\n");
|
|
@@ -2087,6 +2102,7 @@ CRITICAL: You are in Auto mode. Do NOT report status, ask for confirmation, or g
|
|
|
2087
2102
|
`Your FIRST action should be reading the relevant source files mentioned in the plan, then writing code. Do NOT run install, build, lint, test, or dev server commands first \u2014 the environment is already set up.`,
|
|
2088
2103
|
`Work on the git branch "${context.githubBranch}". Stay on this branch for the entire task. Do not checkout or create other branches.`,
|
|
2089
2104
|
`Your replies are visible to the team in chat \u2014 briefly describe what you're doing when you begin meaningful implementation, and again when the PR is ready.`,
|
|
2105
|
+
`Before opening the PR, run the quality gates: \`bun run lint && bun run typecheck && bun run test\`. Fix any failures. Do NOT open a PR with known failing gates \u2014 scope the test run to affected packages if the full suite is prohibitively slow, and state the scope in the PR body.`,
|
|
2090
2106
|
`When finished, use the mcp__conveyor__create_pull_request tool to open a PR. Do NOT use gh CLI or any other method to create PRs.`
|
|
2091
2107
|
];
|
|
2092
2108
|
if (isAutoMode) {
|
|
@@ -2143,6 +2159,7 @@ New messages since your last run:`,
|
|
|
2143
2159
|
...newMessages.map((m) => `[${m.userName ?? "user"}]: ${m.content}`),
|
|
2144
2160
|
`
|
|
2145
2161
|
Address the requested changes directly. Do NOT re-investigate the codebase from scratch or write a new plan \u2014 go straight to implementing the feedback.`,
|
|
2162
|
+
`Before pushing or opening a PR, re-run the quality gates: \`bun run lint && bun run typecheck && bun run test\`. Fix any failures \u2014 relaunches are the most common place verification gets skipped.`,
|
|
2146
2163
|
`Implement your updates and open a PR when finished.`
|
|
2147
2164
|
];
|
|
2148
2165
|
if (context.githubPRUrl) {
|
|
@@ -5586,6 +5603,7 @@ var QueryBridge = class {
|
|
|
5586
5603
|
}
|
|
5587
5604
|
} finally {
|
|
5588
5605
|
this.mode.pendingModeRestart = false;
|
|
5606
|
+
this._abortController = null;
|
|
5589
5607
|
}
|
|
5590
5608
|
}
|
|
5591
5609
|
// ── QueryHost construction ──────────────────────────────────────────
|
|
@@ -7796,4 +7814,4 @@ export {
|
|
|
7796
7814
|
loadForwardPorts,
|
|
7797
7815
|
loadConveyorConfig
|
|
7798
7816
|
};
|
|
7799
|
-
//# sourceMappingURL=chunk-
|
|
7817
|
+
//# sourceMappingURL=chunk-2YHZHOR2.js.map
|