@mu-crew/mu 3.8.0 → 3.9.0
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/AGENTS.md +2 -1
- package/README.md +1 -0
- package/dist/cli.js +4070 -3223
- package/dist/cli.js.map +1 -1
- package/dist/extension/mu-pi.js +102 -36
- package/dist/extension/mu-pi.js.map +1 -1
- package/dist/index.d.ts +438 -92
- package/dist/index.js +904 -329
- package/dist/index.js.map +1 -1
- package/docs/ARCHITECTURE.md +5 -3
- package/docs/VISION.md +14 -7
- package/docs/VOCABULARY.md +5 -6
- package/docs/architecture/control-socket.md +1 -1
- package/docs/architecture/mux.md +4 -2
- package/docs/architecture/ops-log.md +2 -1
- package/docs/architecture/sdk.md +3 -1
- package/docs/architecture/sync.md +14 -6
- package/docs/architecture/tui.md +18 -8
- package/docs/guide/backends.md +5 -3
- package/docs/guide/cleanup.md +8 -3
- package/docs/guide/delegate.md +3 -1
- package/docs/guide/dispatch.md +5 -3
- package/docs/guide/recovery.md +19 -8
- package/docs/guide/sql.md +10 -3
- package/docs/guide/stop-a-worker.md +3 -1
- package/docs/guide/tui.md +3 -3
- package/docs/guide/upgrade.md +8 -2
- package/docs/reference/env.md +9 -4
- package/docs/reference/naming.md +3 -4
- package/package.json +1 -1
- package/skills/mu/SKILL.md +10 -3
- package/skills/mu/recipes/drift-audit.md +5 -3
|
@@ -34,12 +34,14 @@ or close you compare against is often older than it.
|
|
|
34
34
|
2. Stale pins: for each build/binary sha or oracle commit named in an
|
|
35
35
|
IN_PROGRESS note, and each merged fix its task's findings depend on:
|
|
36
36
|
git merge-base --is-ancestor <fix> <pinned>. Exit 1 = pin is stale.
|
|
37
|
-
3. Closed-task notes: notes added after the task's last task.close op
|
|
38
|
-
|
|
37
|
+
3. Closed-task notes: notes added after the task's last task.close op,
|
|
38
|
+
minus the `CLOSE:` or `<SUBSTATE>:` note the close verb itself writes
|
|
39
|
+
as the very next op (seq + 1); any other note counts, whatever its
|
|
40
|
+
prefix. Report each of the top 5 by count as its own finding with its count,
|
|
39
41
|
even when the notes look routine. A late note that reports the
|
|
40
42
|
closed bug again usually ran on a build without the closing fix:
|
|
41
43
|
check its sha with git merge-base --is-ancestor <fix> <sha>.
|
|
42
|
-
mu sql "select t.local_id name, count(*) late from tasks t join workstreams w on w.id=t.workstream_id join task_notes n on n.task_id=t.id where w.name='<ws>' and t.status='CLOSED' and n.created_at > (select
|
|
44
|
+
mu sql "select t.local_id name, count(*) late from tasks t join workstreams w on w.id=t.workstream_id join task_notes n on n.task_id=t.id join (select key, max(seq) seq, max(created_at) at from ops where intent='task.close' and entity='task' group by key) c on c.key='<ws>/'||t.local_id where w.name='<ws>' and t.status='CLOSED' and n.created_at > c.at and not exists (select 1 from ops x where x.seq=c.seq+1 and x.entity='note' and x.key=c.key||'#'||n.id and (n.content like 'CLOSE: %' or n.content like upper(t.substate)||': %')) group by t.local_id order by late desc"
|
|
43
45
|
4. Thin decisions: an ACCEPT/REJECTED/CLOSE/SUPERSEDED note under 40
|
|
44
46
|
chars; a refuter tally with no REFUTER or VERDICT note; a review the
|
|
45
47
|
orchestrator closed with no FILES/COMMANDS note and no commit.
|