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

Function TestSkillHasMidInterviewDriftRule

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

Source from the content-addressed store, hash-verified

414 "flow do --auto",
415 "flow run playbook <slug> --auto",
416 "Autonomous (background)",
417 "self-completes via `flow done`",
418 "cannot be combined with `--here`",
419 } {
420 if !strings.Contains(got, want) {
421 t.Errorf("skill missing %q", want)
422 }
423 }
424}
425
426func TestSkillUsesAskUserQuestionConsistently(t *testing.T) {
427 got := skillCorpus(t)
428 // The skill should have many AskUserQuestion references — at least one
429 // per major workflow that involves user choice.
430 count := strings.Count(got, "AskUserQuestion")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected