kantban-cli 0.1.11 → 0.1.12
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-ZCUIGFSP.js → chunk-MTPUHYZV.js} +15 -66
- package/dist/chunk-MTPUHYZV.js.map +1 -0
- package/dist/{cron-OKQP6QDF.js → cron-QKX2LAAY.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{pipeline-7LG74YA2.js → pipeline-SFXKDLMA.js} +25 -2
- package/dist/pipeline-SFXKDLMA.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-ZCUIGFSP.js.map +0 -1
- package/dist/pipeline-7LG74YA2.js.map +0 -1
- /package/dist/{cron-OKQP6QDF.js.map → cron-QKX2LAAY.js.map} +0 -0
|
@@ -904,67 +904,6 @@ var CreatePipelineEventSchema = z22.object({
|
|
|
904
904
|
var CreatePipelineEventBatchSchema = z22.object({
|
|
905
905
|
events: z22.array(CreatePipelineEventSchema).min(1).max(100)
|
|
906
906
|
});
|
|
907
|
-
var PipelineEventsQuerySchema = z22.object({
|
|
908
|
-
boardId: z22.string().uuid(),
|
|
909
|
-
layer: z22.string().optional().transform((val) => {
|
|
910
|
-
if (!val)
|
|
911
|
-
return void 0;
|
|
912
|
-
const parts = val.split(",").map((s) => s.trim());
|
|
913
|
-
for (const p of parts) {
|
|
914
|
-
PipelineEventLayerSchema.parse(p);
|
|
915
|
-
}
|
|
916
|
-
return val;
|
|
917
|
-
}),
|
|
918
|
-
severity: z22.string().optional().transform((val) => {
|
|
919
|
-
if (!val)
|
|
920
|
-
return void 0;
|
|
921
|
-
const parts = val.split(",").map((s) => s.trim());
|
|
922
|
-
for (const p of parts) {
|
|
923
|
-
PipelineEventSeveritySchema.parse(p);
|
|
924
|
-
}
|
|
925
|
-
return val;
|
|
926
|
-
}),
|
|
927
|
-
ticketId: z22.string().uuid().optional(),
|
|
928
|
-
columnId: z22.string().uuid().optional(),
|
|
929
|
-
runId: z22.string().optional(),
|
|
930
|
-
since: z22.string().datetime({ offset: true }).optional(),
|
|
931
|
-
until: z22.string().datetime({ offset: true }).optional(),
|
|
932
|
-
cursor: z22.string().optional(),
|
|
933
|
-
limit: z22.coerce.number().int().min(1).max(200).default(50)
|
|
934
|
-
});
|
|
935
|
-
var LayerSummarySchema = z22.object({
|
|
936
|
-
gates: z22.object({
|
|
937
|
-
total: z22.number(),
|
|
938
|
-
passed: z22.number(),
|
|
939
|
-
failed: z22.number(),
|
|
940
|
-
top_failing_gate: z22.string().nullable(),
|
|
941
|
-
top_failing_count: z22.number()
|
|
942
|
-
}),
|
|
943
|
-
advisor: z22.object({
|
|
944
|
-
total: z22.number(),
|
|
945
|
-
by_action: z22.record(z22.number())
|
|
946
|
-
}),
|
|
947
|
-
evaluator: z22.object({
|
|
948
|
-
total: z22.number(),
|
|
949
|
-
approved: z22.number(),
|
|
950
|
-
rejected: z22.number(),
|
|
951
|
-
blocker_count: z22.number()
|
|
952
|
-
}),
|
|
953
|
-
constraints: z22.object({
|
|
954
|
-
total_evaluations: z22.number(),
|
|
955
|
-
currently_blocked: z22.number(),
|
|
956
|
-
top_blocking_name: z22.string().nullable(),
|
|
957
|
-
top_blocking_column: z22.string().nullable()
|
|
958
|
-
}),
|
|
959
|
-
cost: z22.object({
|
|
960
|
-
total_tokens_in: z22.number(),
|
|
961
|
-
total_tokens_out: z22.number(),
|
|
962
|
-
max_tokens: z22.number().nullable(),
|
|
963
|
-
top_ticket_id: z22.string().uuid().nullable(),
|
|
964
|
-
top_ticket_tokens: z22.number()
|
|
965
|
-
}),
|
|
966
|
-
truncated: z22.boolean()
|
|
967
|
-
});
|
|
968
907
|
|
|
969
908
|
// ../types/dist/board-ws.schema.js
|
|
970
909
|
var WsActorSchema = z23.object({
|
|
@@ -3427,14 +3366,26 @@ You MUST change approach. What you've been doing is not working. Consider:
|
|
|
3427
3366
|
- **${ticketContext.tool_prefix}append_run_memory** \u2014 Share discoveries with future agents.
|
|
3428
3367
|
Params: \`{ section: 'conventions'|'interfaces'|'failures'|'decisions', content: string }\`
|
|
3429
3368
|
|
|
3369
|
+
## Knowledge Sharing
|
|
3370
|
+
Before moving the ticket to the next column, you MUST:
|
|
3371
|
+
1. **Write a signal** via \`${ticketContext.tool_prefix}create_signal\` summarizing the key outcome of your work:
|
|
3372
|
+
- What you discovered, built, validated, or decided
|
|
3373
|
+
- Scope it to the ticket (\`ticketId\`) so future agents on this ticket see it
|
|
3374
|
+
- One concise signal is better than none \u2014 don't skip this step
|
|
3375
|
+
2. **Contribute to run memory** via \`${ticketContext.tool_prefix}append_run_memory\` if you discovered:
|
|
3376
|
+
- Conventions or patterns others should follow (\`section: 'conventions'\`)
|
|
3377
|
+
- Interfaces or APIs consumed or created (\`section: 'interfaces'\`)
|
|
3378
|
+
- Failures or dead-ends to avoid (\`section: 'failures'\`)
|
|
3379
|
+
- Design decisions and their rationale (\`section: 'decisions'\`)
|
|
3380
|
+
|
|
3381
|
+
Signals and run memory are how you communicate with future agents. Without them, the next agent starts blind.
|
|
3382
|
+
|
|
3430
3383
|
## Iteration Summary
|
|
3431
3384
|
If you made meaningful progress this iteration, create a comment using \`${ticketContext.tool_prefix}create_comment\` summarizing:
|
|
3432
3385
|
- What you accomplished
|
|
3433
3386
|
- What remains to be done
|
|
3434
3387
|
- Any blockers or issues encountered
|
|
3435
3388
|
|
|
3436
|
-
This comment is your handoff to the next iteration. Without it, the next iteration starts blind.
|
|
3437
|
-
|
|
3438
3389
|
## Critical Rules
|
|
3439
3390
|
1. **Always call ${ticketContext.tool_prefix}check_transition before ${ticketContext.tool_prefix}move_ticket** \u2014 moves that violate workflow rules will fail.
|
|
3440
3391
|
2. **If the ticket has UNRESOLVED blockers, do not attempt to move it.** Create a comment explaining you are waiting, then stop.
|
|
@@ -3515,8 +3466,6 @@ After completing your work, commit all changes to your worktree branch.
|
|
|
3515
3466
|
## Run Memory
|
|
3516
3467
|
`);
|
|
3517
3468
|
parts.push(truncateToTokens(meta.runMemoryContent, PROMPT_BUDGETS.run_memory));
|
|
3518
|
-
parts.push(`
|
|
3519
|
-
You can contribute to run memory using ${ticketContext.tool_prefix}append_run_memory.`);
|
|
3520
3469
|
}
|
|
3521
3470
|
parts.push(`## Current Ticket
|
|
3522
3471
|
`);
|
|
@@ -4108,4 +4057,4 @@ export {
|
|
|
4108
4057
|
generateGateProxyMcpConfig,
|
|
4109
4058
|
cleanupGateProxyConfigs
|
|
4110
4059
|
};
|
|
4111
|
-
//# sourceMappingURL=chunk-
|
|
4060
|
+
//# sourceMappingURL=chunk-MTPUHYZV.js.map
|