Skip to main content

Governance rule catalogue

Generated from packages/core/src/domain/governance/rule-registry.ts. Do not edit by hand; build the required packages with pnpm --filter @ai-primitives-hub/app... run build, then regenerate with pnpm -C packages/app run generate:rule-catalogue.

Any error fails the run. Warnings do not fail the run. Unverified findings retain their severity and can fail the run when reported as errors.

Floor rules cannot be disabled or downgraded in hub-governance.yml. Configuration rules (CFG) are evaluated before any policy applies and cannot be configured.

RuleApplies toDefaultFloorConfigurableNeeds networkDescription
AGT001primitivewarningnoyesnoAgent file is *.agent.md with frontmatter: description, and tools as a list of strings
BOD001primitivewarningnoyesnoMarkdown primitive has a non-empty instruction body
CFG001hub, collection, primitiveerror—nonoGovernance configuration is readable YAML matching hub-governance.schema.json
CFG002hub, collection, primitiveerror—nonoGovernance configuration references only known, configurable rule ids
CFG003hub, collection, primitiveerror—nonoGovernance configuration does not disable or downgrade a floor rule
COL001collectionerroryesyesnoCollection IDs and names are unique within the repository
COL002collectionerroryesyesyesCollection has a published release
COL003collectionerrornoyesnoCollection author is non-empty
COL004collectionerrornoyesnoCollection ID is registered to its source in the central collection index
COL005collectionerroryesyesnoCollection structure and referenced files are valid
COL006collectionwarningnoyesnoCollection validation advisories
HUB001huberroryesyesnoHub syntax, schema, references and source policies
HUB002hubwarningnoyesnoHub validation advisories
INS001primitivewarningnoyesnoInstruction file is *.instructions.md with frontmatter applyTo glob(s)
MCP001primitivewarningnoyesnoEvery ${input:id} referenced by an MCP server is declared in "inputs"
MCP002primitivewarningnoyesnoMCP server env, headers and args contain no literal secrets
MCP003primitiveerrornoyesnoMCP transport fields and input definitions have valid structure
PRM001primitivewarningnoyesnoPrompt file is *.prompt.md with frontmatter: description, and a valid agent or mode
PTH001primitiveerroryesyesnoPrimitive paths resolve inside the repository without escaping symlinks
SKL001primitiveerroryesyesnoAgent Skills specification and folder validation
VAL001primitiveerroryesyesnoPrimitive validation completed: inputs, hub sources and their collections could be read