@rallycry/conveyor-agent 6.0.6 → 6.0.7
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.
|
@@ -1638,6 +1638,7 @@ function buildPackRunnerSystemPrompt(context, config, setupLog) {
|
|
|
1638
1638
|
`- "Open" \u2014 Ready to execute. Use start_child_cloud_build to fire it.`,
|
|
1639
1639
|
`- "InProgress" \u2014 Currently being worked on by a Task Runner. Wait \u2014 it will move to ReviewPR when done.`,
|
|
1640
1640
|
`- "ReviewPR" \u2014 Task Runner finished and opened a PR. Review and merge it.`,
|
|
1641
|
+
`- "Hold" \u2014 PR exists but is on hold for team review. Do not merge \u2014 skip and move on.`,
|
|
1641
1642
|
`- "ReviewDev" \u2014 PR was merged to dev. This child is complete. Move on.`,
|
|
1642
1643
|
`- "Complete" \u2014 Fully done. Move on.`,
|
|
1643
1644
|
``,
|
|
@@ -1654,6 +1655,7 @@ function buildPackRunnerSystemPrompt(context, config, setupLog) {
|
|
|
1654
1655
|
` - "InProgress": A Task Runner is actively working on this child. Do nothing \u2014 wait for it to finish.`,
|
|
1655
1656
|
` - "Open": This is the next child to execute. Fire it with start_child_cloud_build.`,
|
|
1656
1657
|
` - If it fails because the child is missing story points or an agent: notify the team in chat and go idle.`,
|
|
1658
|
+
` - "Hold": On hold \u2014 team must review before merge. Skip.`,
|
|
1657
1659
|
` - "ReviewDev" / "Complete": Already done. Skip.`,
|
|
1658
1660
|
` - "Planning": Not ready. If this is blocking progress, notify the team.`,
|
|
1659
1661
|
``,
|
|
@@ -1661,7 +1663,7 @@ function buildPackRunnerSystemPrompt(context, config, setupLog) {
|
|
|
1661
1663
|
``,
|
|
1662
1664
|
`4. After firing a child build: report which task you fired to chat, then explicitly state you are going idle. The system will relaunch you when the child completes or changes status.`,
|
|
1663
1665
|
``,
|
|
1664
|
-
`5. When ALL children are in "ReviewDev" or "
|
|
1666
|
+
`5. When ALL children are in "ReviewDev", "Complete", or "Hold" (no "Open", "InProgress", or "ReviewPR" remaining): do a final review, summarize results in chat, and mark this parent task complete with force_update_task_status("Complete").`,
|
|
1665
1667
|
``,
|
|
1666
1668
|
`## Important Rules`,
|
|
1667
1669
|
`- Process children ONE at a time, in ordinal order.`,
|
|
@@ -2643,7 +2645,7 @@ function buildForceUpdateTaskStatusTool(connection) {
|
|
|
2643
2645
|
"force_update_task_status",
|
|
2644
2646
|
"EMERGENCY ONLY: Force-override a task's Kanban status. Status transitions happen automatically (building sets InProgress, PR creation sets ReviewPR, merge sets ReviewDev). Only use this if an automatic transition failed or a task is stuck in the wrong status. Omit task_id to update the current task, or provide a child task ID.",
|
|
2645
2647
|
{
|
|
2646
|
-
status: z.enum(["InProgress", "ReviewPR", "ReviewDev", "Complete"]).describe("The new status for the task"),
|
|
2648
|
+
status: z.enum(["InProgress", "ReviewPR", "Hold", "ReviewDev", "Complete"]).describe("The new status for the task"),
|
|
2647
2649
|
task_id: z.string().optional().describe("Child task ID to update. Omit to update the current task.")
|
|
2648
2650
|
},
|
|
2649
2651
|
async ({ status, task_id }) => {
|
|
@@ -3427,7 +3429,8 @@ async function injectTelemetry(cdpClient) {
|
|
|
3427
3429
|
return { success: false, error: result.value };
|
|
3428
3430
|
}
|
|
3429
3431
|
try {
|
|
3430
|
-
|
|
3432
|
+
let parsed = JSON.parse(result.value);
|
|
3433
|
+
if (typeof parsed === "string") parsed = JSON.parse(parsed);
|
|
3431
3434
|
return {
|
|
3432
3435
|
success: parsed.success === true,
|
|
3433
3436
|
patches: parsed.patches
|
|
@@ -5472,6 +5475,10 @@ var AgentRunner = class {
|
|
|
5472
5475
|
}
|
|
5473
5476
|
this.taskContext._runnerSessionId = randomUUID2();
|
|
5474
5477
|
if (this.taskContext.agentMode) this.agentMode = this.taskContext.agentMode;
|
|
5478
|
+
const pastPlanning = this.taskContext.status !== "Planning" && this.taskContext.status !== "Unidentified";
|
|
5479
|
+
if (this.agentMode === "auto" && pastPlanning) {
|
|
5480
|
+
this.hasExitedPlanMode = true;
|
|
5481
|
+
}
|
|
5475
5482
|
this.logEffectiveSettings();
|
|
5476
5483
|
if (process.env.CODESPACES === "true") unshallowRepo(this.config.workspaceDir);
|
|
5477
5484
|
return true;
|
|
@@ -7337,4 +7344,4 @@ export {
|
|
|
7337
7344
|
ProjectRunner,
|
|
7338
7345
|
FileCache
|
|
7339
7346
|
};
|
|
7340
|
-
//# sourceMappingURL=chunk-
|
|
7347
|
+
//# sourceMappingURL=chunk-ANYHEBDY.js.map
|