filbert: row 67 round 2 packet, rebase onto f38b7f46 (#1560)

Manifest 4387c8d5. Rebase only: same added and removed lines, three files
re-digested after rows 58, 60 and 59. Gate green, round 1 mutants all killed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-11 20:53:36 -05:00
co-authored by Claude Opus 5.5
parent a5e8cd1be5
commit 7d032da5b4
3 changed files with 104 additions and 10 deletions
+7 -7
View File
@@ -1,8 +1,8 @@
diff --git a/packages/bus/README.md b/packages/bus/README.md
index 5b57b7fc..fcd0f69e 100644
index 08be6307..11489360 100644
--- a/packages/bus/README.md
+++ b/packages/bus/README.md
@@ -205,7 +205,9 @@ decisions. It takes `{list}`, nothing else. `roles` lists the business's open
@@ -235,7 +235,9 @@ decisions. It takes `{list}`, nothing else. `roles` lists the business's open
decisions routed to a role, never to the human, oldest first. `recent` lists
its last `RECENT` (50) closed decisions of every route, newest close first,
each with `closed`, the closing `decision_events` row. Every row is the
@@ -12,12 +12,12 @@ index 5b57b7fc..fcd0f69e 100644
+raise's `action.allowed` event, which `trail` also gives. So the lists add no
data a reader couldn't already read one id at a time; they add the listing.
## Shared reads and adapter boundary
`credentials` (row 60, #1549) is also for human and reader sessions only; a
diff --git a/packages/bus/src/broker.mjs b/packages/bus/src/broker.mjs
index 84db8799..07f35114 100644
index 5e86c60c..5acc8329 100644
--- a/packages/bus/src/broker.mjs
+++ b/packages/bus/src/broker.mjs
@@ -837,7 +837,10 @@ export class Broker {
@@ -861,7 +861,10 @@ export class Broker {
return this.#trail(s, identifier(a.subject));
}
// Row 57 (#1546): the Inbox's "Routed to roles" and "Recent" lists, for human and
@@ -143,10 +143,10 @@ index 6626460b..069e2ef4 100644
test("a role session can't list decisions, so it can't read another role's open decisions", (t) => {
diff --git a/packages/webui/tests/bus.test.mjs b/packages/webui/tests/bus.test.mjs
index 2d9ca6ba..86fae610 100644
index 46d8016c..a243ae7e 100644
--- a/packages/webui/tests/bus.test.mjs
+++ b/packages/webui/tests/bus.test.mjs
@@ -163,6 +163,11 @@ test('bus refusals map to statuses and never carry a path or a stack', async t =
@@ -191,6 +191,11 @@ test('bus refusals map to statuses and never carry a path or a stack', async t =
assert.deepEqual([shape.status, (await shape.json()).error], [502, 'invalid-response']);
const unset = await fetch(`http://127.0.0.1:${none.address().port}/api/bus/agents`);
assert.deepEqual([unset.status, (await unset.json()).error], [503, 'not-configured']);