muse-crew 0.14.6 → 0.14.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/API.md +45 -5
- package/docs/decisions/AGENTS.md +2 -0
- package/docs/decisions/publish-path.md +56 -8
- package/docs/decisions/qa-reproduce.md +30 -0
- package/lib/AGENTS.md +6 -5
- package/lib/crew-api.js +403 -7
- package/lib/merge-lock.sh +153 -41
- package/lib/qa-db.js +132 -0
- package/lib/schema.sql +50 -0
- package/lib/serve-artifact.js +46 -2
- package/lib/test-detached-integrate.sh +122 -0
- package/lib/test-merge-lock.sh +30 -1
- package/lib/worktree-lifecycle.sh +284 -34
- package/package.json +1 -1
- package/seed/cron-body-template.md +6 -6
- package/workflows/AGENTS.md +1 -1
- package/workflows/bugfix.js +434 -106
- package/workflows/chore.js +251 -108
- package/workflows/crew-dispatch.js +57 -4
- package/workflows/docs.js +24 -2
- package/workflows/standard.js +439 -111
- package/workflows/upgrade.js +13 -1
package/workflows/docs.js
CHANGED
|
@@ -543,7 +543,17 @@ function describeWorkAgentFailure(stepName, identity, attempts) {
|
|
|
543
543
|
"Run in shell and return the stdout verbatim:\n" + crewCmd("record-phase", {
|
|
544
544
|
task_id: taskId,
|
|
545
545
|
session: { id: activeSessionId, task_id: taskId, identity: step.identity, step: step.name, status: "failed", notes: "Worker report had no single unambiguous VERDICT: PASS/FAIL line (bounded re-ask exhausted)" },
|
|
546
|
-
event: { task_id: taskId, type: "failed", message: step.name + " verdict line missing or ambiguous, re-ask exhausted — phase failed, dispatcher will retry" }
|
|
546
|
+
event: { task_id: taskId, type: "failed", message: step.name + " verdict line missing or ambiguous, re-ask exhausted — phase failed, dispatcher will retry" },
|
|
547
|
+
// Room #26 blocker 33: INDETERMINATE verdict record — the report
|
|
548
|
+
// could not be read at all, but its full text is still preserved
|
|
549
|
+
// as grounds. (docs has Review as its only verdict step.)
|
|
550
|
+
verdict: {
|
|
551
|
+
step: "Review",
|
|
552
|
+
attempt: reworkCount,
|
|
553
|
+
reviewer: step.identity,
|
|
554
|
+
verdict: "INDETERMINATE",
|
|
555
|
+
grounds: workerText
|
|
556
|
+
}
|
|
547
557
|
}) + "\n",
|
|
548
558
|
{ key: "record-block-" + step.name, label: "Recording verdict failure" }
|
|
549
559
|
);
|
|
@@ -578,7 +588,19 @@ function describeWorkAgentFailure(stepName, identity, attempts) {
|
|
|
578
588
|
"Run in shell and return the stdout verbatim:\n" + crewCmd("record-phase", {
|
|
579
589
|
task_id: taskId,
|
|
580
590
|
session: { id: activeSessionId, task_id: taskId, identity: step.identity, step: step.name, status: status, notes: summary },
|
|
581
|
-
event: { task_id: taskId, type: status, identity: step.identity, message: step.name + " " + status + " by " + step.identity }
|
|
591
|
+
event: { task_id: taskId, type: status, identity: step.identity, message: step.name + " " + status + " by " + step.identity },
|
|
592
|
+
// Room #26 blocker 33: structured, non-lossy Review verdict record.
|
|
593
|
+
// The session note above is truncated; the verdict row carries the
|
|
594
|
+
// full worker report as grounds, written in the same transaction.
|
|
595
|
+
// attempt is the rework round (0 = first Review). (docs has Review
|
|
596
|
+
// as its only verdict step, so verdictPassed is always set here.)
|
|
597
|
+
verdict: (verdictPassed !== null ? {
|
|
598
|
+
step: "Review",
|
|
599
|
+
attempt: reworkCount,
|
|
600
|
+
reviewer: step.identity,
|
|
601
|
+
verdict: verdictPassed ? "PASS" : "FAIL",
|
|
602
|
+
grounds: workerText
|
|
603
|
+
} : null)
|
|
582
604
|
}) + "\n",
|
|
583
605
|
{
|
|
584
606
|
key: "record-" + step.name + (reworkCount > 0 ? "-r" + reworkCount : ""),
|