Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3a2y0yb843 was degraded 58 minutes today: trevato/forge: "muting a repository's asks > MCP asks applies the saved filter, and takes the same filter as arguments"… #6216
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/6214-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork 1 thread · 1 unresolved
1 file
changed +4
−0
test/asks-mute.test.ts +4
| @@ -229,6 +229,10 @@ describe("muting a repository's asks", () => { | ||
| 229 | 229 | |
| 230 | 230 | test("MCP asks applies the saved filter, and takes the same filter as arguments", async () => { |
| 231 | 231 | const token = createToken(app.db, alice.id, "ro", "ro").token; |
| 232 | // Its own preconditions, not the earlier tests' leftovers: listening, and no chip saved. | |
| 233 | app.db.query("DELETE FROM interaction WHERE viewer_id = ?1 AND kind = 'muted'").run(alice.id); | |
| 234 | for (const c of [{ kind: "kind", value: "reviews" }, { kind: "kind", value: "crew" }, { kind: "kind", value: "decisions" }, { kind: "person", value: getUserByName(app.db, "bot")!.id }, { kind: "person", value: bob.id }] as const) | |
| 235 | setChip(app.db, alice.id, c, false); | |
| 232 | 236 | |
| 233 | 237 | const tool = (token: string, name: string, args: unknown = {}) => |
| 234 | 238 | mcpTool(servers.url, token, name, args); |
new above
offline
Raw SQL couples the test to the table layout. Prefer the core unmute function if there is one (see src/core/interactions.ts near line 213).