MCPcopy Create free account
hub / github.com/Facets-cloud/flow / TestSkillIntakeMinimal

Function TestSkillIntakeMinimal

internal/app/skill_test.go:353–369  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

351 "Do not propose scheduling during playbook intake",
352 "the bootstrapped task\" includes playbook-run tasks",
353 } {
354 if !strings.Contains(got, want) {
355 t.Errorf("skill missing %q", want)
356 }
357 }
358}
359
360func TestSkillHasPlaybookSections(t *testing.T) {
361 got := skillCorpus(t)
362 for _, want := range []string{
363 "### 4.12 Add a playbook",
364 "### 4.13 Run a playbook",
365 "fire the X agent",
366 "kind: playbook_run",
367 "snapshot taken when this run started",
368 "Files listed under `other:`",
369 "load on demand",
370 "Auxiliary files in entity directories",
371 } {
372 if !strings.Contains(got, want) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected