@yemi33/minions 0.1.257 → 0.1.258
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/CHANGELOG.md +5 -0
- package/engine/lifecycle.js +4 -4
- package/engine/playbook.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/lifecycle.js
CHANGED
|
@@ -1266,8 +1266,8 @@ function runPostCompletionHooks(dispatchItem, agentId, code, stdout, config) {
|
|
|
1266
1266
|
mutateJsonFileLocked(wiPath, (items) => {
|
|
1267
1267
|
// For fix items, target the original implement parent; for implement, target self
|
|
1268
1268
|
const evalTargetId = type === 'fix' ? meta.item._evalParentId : meta.item.id;
|
|
1269
|
-
// Dedup: skip if
|
|
1270
|
-
const existing = items.find(i => i._evalParentId === evalTargetId && i.type === '
|
|
1269
|
+
// Dedup: skip if a review item already exists for this parent
|
|
1270
|
+
const existing = items.find(i => i._evalParentId === evalTargetId && i.type === 'review' && i.status === 'pending');
|
|
1271
1271
|
if (existing) {
|
|
1272
1272
|
log('info', `Eval loop: evaluate item ${existing.id} already exists for ${evalTargetId}, skipping`);
|
|
1273
1273
|
return items;
|
|
@@ -1276,7 +1276,7 @@ function runPostCompletionHooks(dispatchItem, agentId, code, stdout, config) {
|
|
|
1276
1276
|
const evalItem = {
|
|
1277
1277
|
id: 'W-' + shared.uid(),
|
|
1278
1278
|
title: `Evaluate: ${parentItem?.title || meta.item.title || evalTargetId}`,
|
|
1279
|
-
type: '
|
|
1279
|
+
type: 'review',
|
|
1280
1280
|
priority: meta.item.priority || 'high',
|
|
1281
1281
|
status: 'pending',
|
|
1282
1282
|
created: ts(),
|
|
@@ -1302,7 +1302,7 @@ function runPostCompletionHooks(dispatchItem, agentId, code, stdout, config) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
|
|
1304
1304
|
// Evaluate completion: parse verdict and handle eval→fix iteration loop
|
|
1305
|
-
if (isSuccess && type === '
|
|
1305
|
+
if (isSuccess && type === 'review' && meta?.item?._evalParentId) {
|
|
1306
1306
|
try {
|
|
1307
1307
|
const verdict = parseEvalVerdict(resultSummary || stdout);
|
|
1308
1308
|
const evalLoop = config.engine?.evalLoop ?? shared.ENGINE_DEFAULTS.evalLoop;
|
package/engine/playbook.js
CHANGED
|
@@ -481,7 +481,7 @@ function selectPlaybook(workType, item) {
|
|
|
481
481
|
if (workType === 'review' && !item?._pr && !item?.pr_id) {
|
|
482
482
|
return 'work-item';
|
|
483
483
|
}
|
|
484
|
-
const typeSpecificPlaybooks = ['explore', 'review', 'test', 'plan-to-prd', 'plan', 'ask', 'verify', 'decompose', '
|
|
484
|
+
const typeSpecificPlaybooks = ['explore', 'review', 'test', 'plan-to-prd', 'plan', 'ask', 'verify', 'decompose', 'meeting-investigate', 'meeting-debate', 'meeting-conclude'];
|
|
485
485
|
return typeSpecificPlaybooks.includes(workType) ? workType : 'work-item';
|
|
486
486
|
}
|
|
487
487
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.258",
|
|
4
4
|
"description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minions": "bin/minions.js"
|