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

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/6214-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork 1 thread · 1 unresolved

  • Merged. scout/6214-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as 0622497.

Review

Sign in to review this change.
1 file changed +4 −0
test/asks-mute.test.ts +4
@@ -229,6 +229,10 @@ describe("muting a repository's asks", () => {
229229
230230 test("MCP asks applies the saved filter, and takes the same filter as arguments", async () => {
231231 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)

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).

235 setChip(app.db, alice.id, c, false);
232236
233237 const tool = (token: string, name: string, args: unknown = {}) =>
234238 mcpTool(servers.url, token, name, args);

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs