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
663 B
Diff
12 lines
663 B
Diff
--- /home/jwoltje/dewey-scratch/b177-r2/mut/.bak.umskXb/packages/bus/src/broker.mjs 2026-10-19 21:53:43.196497046 -0500
|
|
+++ packages/bus/src/broker.mjs 2026-10-19 21:53:43.212936087 -0500
|
|
@@ -350,7 +350,7 @@
|
|
const t = this.#store.get('SELECT * FROM threads WHERE id=? AND business=?', identifier(id), s.business);
|
|
if (!t) fail('thread-not-found');
|
|
// REQ-USER-2: a user reaches only their own threads.
|
|
- if (t.owner !== this.#owner(s)) fail('thread-not-owned');
|
|
+ if (t.owner !== s.human) fail('thread-not-owned');
|
|
return t;
|
|
}
|
|
// Row 177 (#1675): who owns the threads a session makes. A tester's are `tester`'s, never the human's.
|