Skip to content

GovernanceConfig

PromptScript API


Defined in: core/src/types/config.ts:352

Governance settings (governance in promptscript.yaml): who owns the setup and which teams review each approval role.

Properties

admins?

optional admins?: GovernanceOwner[]

Defined in: core/src/types/config.ts:359

Owners of the config, the approvals root and the releases. Under extends the lists are joined and cannot shrink.

Example

['@acme/prompt-platform']

Unique Items

true


codeowners?

optional codeowners?: GovernanceCodeownersConfig

Defined in: core/src/types/config.ts:375

Generated CODEOWNERS settings


dataClasses?

optional dataClasses?: string[]

Defined in: core/src/types/config.ts:373

Data class names the project uses.

Example

['pii', 'phi', 'financial', 'credentials', 'internal', 'public']

Unique Items

true


roles?

optional roles?: Record<string, GovernanceRoleOwners>

Defined in: core/src/types/config.ts:367

Approval roles by name, each with the owners that review it. At most 32 roles. Under extends each role’s list is joined with the base list and cannot shrink.

Example

{ legal: ['@acme/legal'], security: ['@acme/appsec'] }

Max Properties

32

Property Names