Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
12 lines
646 B
Diff
12 lines
646 B
Diff
--- /mnt/storage/src/mosaic-stack/agents/dewey/work/queue-143/r2/mutants/.bak.7LGrLw/packages/bus/src/broker.mjs 2026-10-18 08:43:04.996848643 -0500
|
|
+++ packages/bus/src/broker.mjs 2026-10-18 08:43:50.981760340 -0500
|
|
@@ -2379,7 +2379,7 @@
|
|
return (
|
|
this.#store.get(
|
|
`SELECT t.id FROM threads t JOIN projects p ON p.id=t.project WHERE t.business=? AND t.owner=? AND t.instance=? AND p.repo=?
|
|
- ORDER BY coalesce((SELECT max(o.seq) FROM thread_opens o WHERE o.thread=t.id), 0) DESC, t.seq DESC LIMIT 1`,
|
|
+ ORDER BY t.seq ASC LIMIT 1`,
|
|
s.business,
|
|
this.#business(s.business).human,
|
|
to,
|