Skip to content

PromptScript API


Function: validateAgentFieldMatrix()

validateAgentFieldMatrix(groups?, nativeTargets?): string[]

Defined in: core/src/agent-capabilities.ts:202

Consistency issues in an agent field matrix.

Every catalog target with an agents resource must have at least one emitted field, and every matrix status group must only name targets that actually have native agent output. Inputs are injectable so tests can validate broken fixtures, mirroring validateTargetCapabilities.

Parameters

groups?

AgentFieldMatrix = AGENT_FIELD_STATUS_GROUPS

nativeTargets?

readonly KnownTarget[] = ...

Returns

string[]