TestSkillHasAccessibilityErrorRecipe pins the §4.4 recipe for handling the macOS Accessibility error from the Terminal.app backend: name Terminal definitively (not Claude/flow), open the right Settings pane via the deep-link URL, and retry only after explicit user confirmation.
(t *testing.T)
| 484 | "Do not invent download URLs", |
| 485 | } { |
| 486 | if !strings.Contains(got, want) { |
| 487 | t.Errorf("skill missing upgrade workflow content: %q", want) |
| 488 | } |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | // TestSkillEmphasizesCloseOutValue pins §4.7's framing of `flow done` |
| 493 | // as the load-bearing moment that persists the session's learnings — |
| 494 | // it triggers the close-out sweep that writes KB + project update. |
| 495 | // Without this content the skill treats closure as bookkeeping and |
| 496 | // Claude never proactively offers to close, which means the user's |
| 497 | // learnings stay locked in the transcript. |
| 498 | func TestSkillEmphasizesCloseOutValue(t *testing.T) { |
| 499 | got := skillCorpus(t) |
| 500 | for _, want := range []string{ |
| 501 | "Why closing matters", |
| 502 | "close-out sweep", |
| 503 | "that distillation never happens", |
nothing calls this directly
no outgoing calls
no test coverage detected