Skip to content

coding-policy schema (v0.1)

The coding-policy file is validated by the normative JSON Schema published at its canonical URL:

PropertyTypeRequiredDescription
format"cb.coding-policy/v1"yes
schemaVersion"0.1.0"yes
policyIdUuidyes
policyRevisionnumberyes
targetDefaultsTargetPolicyDefaults[]yes
mode"observe" | "assist" | "manage"yes
branchNamingobjectyes
trailersobjectyes
notesEnabledbooleanyes
pushPolicy"manual" | "on-task-completion"yes
gitNotesPolicyRefstringyes

Type: "coherent-unit" | "task-completion" | "selected-input-checkpoint" | "periodic-safe-boundary" | "manual"

Normalized repository-relative POSIX path (no leading /, no ..).

Type: string

PropertyTypeRequiredDescription
targetIdstringyes
triggersCommitTrigger[]yes
eligiblePathPrefixesRepoRelativePath[]yes
qualityFloorobjectyes
checkpointobjectyes
destination"task-branch" | "integration-branch"yes
publication"manual" | "tracked-remote"yes

Opaque UUID (v4 or v7) assigned by the owning server.

Type: string

See the schemas overview for the versioning policy and how these files are generated and kept in sync.