Files
ironclaw/scripts
Benjamin Kurrek c063394e2b fix(live-canary): widen the seeded slack grant to the manifest union and narrate scrub verdicts (#7579)
Run 31715187702 (the first scheduled canary after #7515 merged) surfaced
two problems:

1. QA lanes crash at slack connect ("Extension setup completion did not
   produce a fully ready projection (required installation_state=active)"):
   SLACK_PERSONAL_OAUTH_SCOPES seeds the stored grant of the canary's
   personal account, and runtime account selection requires that grant to
   carry every tool's manifest scopes — the eight new standard ops widened
   the union with reactions:read/reactions:write/im:write, so the stale
   eleven-scope seed parks activation on the auth gate. This is the live
   twin of the merge-queue fixture widening in #7515 itself (the sweep
   there covered tests/, not scripts/). The list now carries the full
   union with a lockstep comment; the live Slack app must also grant the
   write additions to its user token for the reaction/DM ops to succeed
   vendor-side.

2. The same run still flagged skills/local-test placeholder text despite
   #7574, and the redacted report cannot distinguish "the pruning did not
   engage" from "the staged snapshot genuinely diverged" (live cases run a
   real agent inside that home). The strict skill pruning now narrates one
   verdict line per snapshot — pruned marker-verified / pruned
   source-identical / kept with the exact mismatch reason (file set or
   first differing file; names only, never content) — so the next
   scheduled run pins the cause from the step log alone.

Scrub self-tests: 21 pass, with the divergent case now asserting both the
kept-verdict line and the named mismatch. Live-QA runner tests: 218 pass.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 18:14:43 +00:00
..