package thintest import ( "regexp" "strings" ) // MachineryWords are the words for Equipo's machinery that nothing Base // shows a person may carry (spec 2026-11-26-assistant-abilities, the // jobs plan's machinery_words): Base and its Assistant name outcomes, // never how they are made. var MachineryWords = []string{"Equipo", "team", "Coordinator", "runner", "task", "branch", "merge", "check", "repository", "Amadan"} // MachineryIn is the first machinery word text carries as a word of its // own (any case), "" for none. func MachineryIn(text string) string { for _, w := range MachineryWords { if regexp.MustCompile(`(?i)\b` + regexp.QuoteMeta(strings.ToLower(w)) + `s?\b`).MatchString(text) { return w } } return "" }