opencode-kolchoz-loop 1.0.0 → 1.0.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.
- package/dist/index.js +8 -8
- package/package.json +1 -1
- package/src/agents/anetka.md +1 -1
- package/src/agents/areczek.md +1 -1
- package/src/agents/grazynka.md +1 -1
- package/src/agents/januszek.md +2 -2
package/dist/index.js
CHANGED
|
@@ -81,8 +81,8 @@ async function ensureGitignore(projectRoot) {
|
|
|
81
81
|
}
|
|
82
82
|
if (!content.includes(entry)) {
|
|
83
83
|
const addition = content.length > 0 && !content.endsWith("\n")
|
|
84
|
-
? `\n\n#
|
|
85
|
-
: `\n#
|
|
84
|
+
? `\n\n# Kolchoz Loop state (ephemeral)\n${entry}\n`
|
|
85
|
+
: `\n# Kolchoz Loop state (ephemeral)\n${entry}\n`;
|
|
86
86
|
await writeFile(gitignorePath, content + addition, "utf-8");
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -102,7 +102,7 @@ export const KolchozLoop = async ({ project, client, $, directory, worktree }) =
|
|
|
102
102
|
body: {
|
|
103
103
|
service: "kolchoz-loop",
|
|
104
104
|
level: "info",
|
|
105
|
-
message: `
|
|
105
|
+
message: `Kolchoz Loop initialized. Project: ${projectRoot}, State: ${stateDir}`,
|
|
106
106
|
},
|
|
107
107
|
});
|
|
108
108
|
return {
|
|
@@ -271,7 +271,7 @@ export const KolchozLoop = async ({ project, client, $, directory, worktree }) =
|
|
|
271
271
|
}),
|
|
272
272
|
// ── Status ──
|
|
273
273
|
kolchoz_status: tool({
|
|
274
|
-
description: "Get
|
|
274
|
+
description: "Get Kolchoz Loop status — PRD progress, phase, iteration count.",
|
|
275
275
|
args: {},
|
|
276
276
|
async execute() {
|
|
277
277
|
const prd = await readJson(stateDir, "prd.json", null);
|
|
@@ -309,7 +309,7 @@ export const KolchozLoop = async ({ project, client, $, directory, worktree }) =
|
|
|
309
309
|
content = await readFile(agentsMd, "utf-8");
|
|
310
310
|
}
|
|
311
311
|
catch {
|
|
312
|
-
content = "# Project Knowledge Base\n\nAuto-generated by
|
|
312
|
+
content = "# Project Knowledge Base\n\nAuto-generated by Kolchoz Loop.\n";
|
|
313
313
|
}
|
|
314
314
|
const header = `## ${args.category.toUpperCase()}`;
|
|
315
315
|
if (content.includes(header)) {
|
|
@@ -325,7 +325,7 @@ export const KolchozLoop = async ({ project, client, $, directory, worktree }) =
|
|
|
325
325
|
}),
|
|
326
326
|
// ── Reset (clean state for new task) ──
|
|
327
327
|
kolchoz_reset: tool({
|
|
328
|
-
description: "Reset
|
|
328
|
+
description: "Reset Kolchoz Loop state. Clears PRD, progress and loop state. " +
|
|
329
329
|
"AGENTS.md (learnings) are preserved. Use between separate tasks.",
|
|
330
330
|
args: {
|
|
331
331
|
confirm: tool.schema.enum(["yes"]),
|
|
@@ -339,7 +339,7 @@ export const KolchozLoop = async ({ project, client, $, directory, worktree }) =
|
|
|
339
339
|
}
|
|
340
340
|
catch { /* ignore */ }
|
|
341
341
|
}
|
|
342
|
-
return "
|
|
342
|
+
return "Kolchoz Loop state reset. AGENTS.md preserved. Ready for a new task.";
|
|
343
343
|
},
|
|
344
344
|
}),
|
|
345
345
|
},
|
|
@@ -398,7 +398,7 @@ export const KolchozLoop = async ({ project, client, $, directory, worktree }) =
|
|
|
398
398
|
.filter((s) => s.status !== "done")
|
|
399
399
|
.map((s) => `${s.id}: ${s.title} [${s.status}]`)
|
|
400
400
|
.join(", ") || "none";
|
|
401
|
-
output.context.push(`##
|
|
401
|
+
output.context.push(`## Kolchoz Loop State\n` +
|
|
402
402
|
`Phase: ${state?.phase ?? "idle"}, Iteration: ${state?.currentIteration ?? 0}\n` +
|
|
403
403
|
`PRD: "${prd?.title ?? "none"}" — ${done}/${total} stories done.\n` +
|
|
404
404
|
`Active: ${active}`);
|
package/package.json
CHANGED
package/src/agents/anetka.md
CHANGED
|
@@ -15,7 +15,7 @@ tools:
|
|
|
15
15
|
|
|
16
16
|
# Anetka - Reviewer and Quality Gate
|
|
17
17
|
|
|
18
|
-
You are Anetka, the code reviewer in the
|
|
18
|
+
You are Anetka, the code reviewer in the Kolchoz Loop system. Your role is the quality gate - nothing passes without your approval.
|
|
19
19
|
|
|
20
20
|
## Your role
|
|
21
21
|
|
package/src/agents/areczek.md
CHANGED
package/src/agents/grazynka.md
CHANGED
package/src/agents/januszek.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Main
|
|
2
|
+
description: "Main Kolchoz Loop orchestrator. Talks with the user, translates requirements into tasks, delegates to Grazynka and Areczek, and controls Ralph Loop flow."
|
|
3
3
|
mode: primary
|
|
4
4
|
model: anthropic/claude-sonnet-4-20250514
|
|
5
5
|
temperature: 0.3
|
|
@@ -15,7 +15,7 @@ tools:
|
|
|
15
15
|
|
|
16
16
|
# Januszek - Lead Orchestrator
|
|
17
17
|
|
|
18
|
-
You are Januszek, the main orchestrator in the
|
|
18
|
+
You are Januszek, the main orchestrator in the Kolchoz Loop multi-agent system.
|
|
19
19
|
|
|
20
20
|
## Your role
|
|
21
21
|
|