@rallycry/conveyor-agent 7.2.6 → 7.2.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.
- package/dist/{chunk-MFHMYUND.js → chunk-22S4PJT2.js} +19 -11
- package/dist/chunk-22S4PJT2.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{task-audit-handler-6TZRN3YB.js → task-audit-handler-EWE52OL4.js} +11 -20
- package/dist/task-audit-handler-EWE52OL4.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-MFHMYUND.js.map +0 -1
- package/dist/task-audit-handler-6TZRN3YB.js.map +0 -1
|
@@ -1305,10 +1305,6 @@ function formatTagWithContextPaths(tag) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
return lines;
|
|
1307
1307
|
}
|
|
1308
|
-
function formatTagNameOnly(tag) {
|
|
1309
|
-
const desc = tag.description ? ` \u2014 ${tag.description}` : "";
|
|
1310
|
-
return `- Name: "${tag.name}"${desc}`;
|
|
1311
|
-
}
|
|
1312
1308
|
function buildPropertyInstructions(context, runnerMode) {
|
|
1313
1309
|
const isTask = runnerMode === "task";
|
|
1314
1310
|
const parts = [];
|
|
@@ -1340,11 +1336,22 @@ function buildPropertyInstructions(context, runnerMode) {
|
|
|
1340
1336
|
}
|
|
1341
1337
|
if (!isTask && unassigned.length > 0) {
|
|
1342
1338
|
parts.push(``, `Available project tags:`);
|
|
1343
|
-
for (const tag of unassigned) parts.push(
|
|
1339
|
+
for (const tag of unassigned) parts.push(...formatTagWithContextPaths(tag));
|
|
1344
1340
|
}
|
|
1345
1341
|
}
|
|
1346
1342
|
return parts;
|
|
1347
1343
|
}
|
|
1344
|
+
function buildExplorationMethodology() {
|
|
1345
|
+
return [
|
|
1346
|
+
``,
|
|
1347
|
+
`### Exploration Methodology`,
|
|
1348
|
+
`Investigate efficiently \u2014 do not read files aimlessly:`,
|
|
1349
|
+
`- Search first, read second: use grep/glob to locate relevant code, then read only the files that matter`,
|
|
1350
|
+
`- Never re-read a file already in your context \u2014 you have a large context window, scroll up instead`,
|
|
1351
|
+
`- Start with 3-5 critical files, form a hypothesis about the approach, then validate with targeted reads`,
|
|
1352
|
+
`- Stop exploring when you can write specific file paths and function names in your plan \u2014 that's enough`
|
|
1353
|
+
];
|
|
1354
|
+
}
|
|
1348
1355
|
function buildDiscoveryPrompt(context, runnerMode) {
|
|
1349
1356
|
const parts = [
|
|
1350
1357
|
`
|
|
@@ -1361,11 +1368,12 @@ function buildDiscoveryPrompt(context, runnerMode) {
|
|
|
1361
1368
|
`### Planning Checklist (complete ALL before calling ExitPlanMode)`,
|
|
1362
1369
|
`Your PRIMARY goal is to create a thorough plan. Complete these steps in order:`,
|
|
1363
1370
|
`1. Read the task description and chat history \u2014 respond to what's been discussed`,
|
|
1364
|
-
`2.
|
|
1371
|
+
`2. Investigate the codebase using the methodology below \u2014 search first, read targeted files`,
|
|
1365
1372
|
`3. Save a detailed plan via \`update_task\``,
|
|
1366
1373
|
`4. Set story points, tags, and title via \`update_task_properties\` (icon is set automatically)`,
|
|
1367
1374
|
`5. Discuss the plan with the team if they're engaged, incorporate feedback`,
|
|
1368
1375
|
`6. THEN call ExitPlanMode \u2014 it is the LAST step, not the first`,
|
|
1376
|
+
...buildExplorationMethodology(),
|
|
1369
1377
|
``,
|
|
1370
1378
|
`### Self-Identification Tools`,
|
|
1371
1379
|
`Use these MCP tools to set your own task properties:`,
|
|
@@ -1448,7 +1456,7 @@ function buildAutoPrompt(context, runnerMode) {
|
|
|
1448
1456
|
`### Autonomous Guidelines:`,
|
|
1449
1457
|
`- Make decisions independently \u2014 do not ask the team for approval at each step`,
|
|
1450
1458
|
`- Only escalate when genuinely blocked (ambiguous requirements, missing access, conflicting instructions)`,
|
|
1451
|
-
`-
|
|
1459
|
+
`- Investigate efficiently: search (grep/glob) to locate code, read only critical files, form a hypothesis, validate, then plan`
|
|
1452
1460
|
];
|
|
1453
1461
|
if (context) parts.push(...buildPropertyInstructions(context, runnerMode));
|
|
1454
1462
|
return parts.join("\n");
|
|
@@ -1590,7 +1598,7 @@ function buildPmPreamble(context) {
|
|
|
1590
1598
|
const parts = [
|
|
1591
1599
|
`You are an AI project manager helping to plan tasks for the "${context.title}" project.`,
|
|
1592
1600
|
`You are running locally with full access to the repository.`,
|
|
1593
|
-
`You can
|
|
1601
|
+
`You can search code (grep, glob), read files, and run shell commands (e.g. git log, git diff). Search to locate relevant code before reading files. You cannot write or edit files.`,
|
|
1594
1602
|
`
|
|
1595
1603
|
Environment (ready, no setup required):`,
|
|
1596
1604
|
`- Repository is cloned at your current working directory.`,
|
|
@@ -2067,7 +2075,7 @@ CRITICAL: You are in Auto mode. Do NOT report status, ask for confirmation, or g
|
|
|
2067
2075
|
}
|
|
2068
2076
|
return [
|
|
2069
2077
|
`You are operating autonomously. Begin planning immediately.`,
|
|
2070
|
-
`1.
|
|
2078
|
+
`1. Search the codebase (grep/glob) to locate relevant files, then read the critical ones`,
|
|
2071
2079
|
`2. Draft a clear implementation plan and save it with update_task`,
|
|
2072
2080
|
`3. Set story points, tags, and title (update_task_properties)`,
|
|
2073
2081
|
`4. When the plan and all required properties are set, call ExitPlanMode to transition to building`,
|
|
@@ -7315,7 +7323,7 @@ var ProjectRunner = class {
|
|
|
7315
7323
|
async handleAuditTasks(request) {
|
|
7316
7324
|
this.connection.emitStatus("busy");
|
|
7317
7325
|
try {
|
|
7318
|
-
const { handleTaskAudit } = await import("./task-audit-handler-
|
|
7326
|
+
const { handleTaskAudit } = await import("./task-audit-handler-EWE52OL4.js");
|
|
7319
7327
|
await handleTaskAudit(request, this.connection, this.projectDir);
|
|
7320
7328
|
} catch (error) {
|
|
7321
7329
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -7760,4 +7768,4 @@ export {
|
|
|
7760
7768
|
loadForwardPorts,
|
|
7761
7769
|
loadConveyorConfig
|
|
7762
7770
|
};
|
|
7763
|
-
//# sourceMappingURL=chunk-
|
|
7771
|
+
//# sourceMappingURL=chunk-22S4PJT2.js.map
|