(skillName: string)
| 221 | |
| 222 | /** Returns the digest subset for a skill, throws if the skill isn't preflight-enabled. */ |
| 223 | export function getSkillSubset(skillName: string): ReadonlyArray<string> { |
| 224 | const subset = SKILL_DIGEST_SUBSETS[skillName]; |
| 225 | if (!subset) throw new Error(`Skill not registered for brain preflight: ${skillName}`); |
| 226 | return subset; |
| 227 | } |
| 228 | |
| 229 | /** Returns the per-skill total digest budget in bytes. */ |
| 230 | export function getSkillBudget(skillName: string): number { |
no outgoing calls
no test coverage detected