Skip to main content

Schemas#

Machine-readable schemas are generated from the same zod sources of truth that validate at runtime (single identity sourced from package.json). Regenerate with pnpm gen:schemas; contract tests fail if a committed file drifts.

FileValidatesSource
schemas/ackit.schema.jsonackit.yml config documentssrc/core/config/schema.ts
schemas/task.schema.jsonvNext task frontmatter (schemaVersion 2)src/core/tasks/types.ts
schemas/policy.schema.jsonpolicy documents (schemaVersion 1)src/core/policy/types.ts

Stable wire contracts also covered by tests (not schema files):

  • Scan JSON report: ackit.scan.v0
  • Findings array: strict zod FindingSchema
  • SARIF output: SARIF 2.1.0 structure
  • Pack JSON: ackit.pack.v0 manifest
  • MCP tool/resource payloads: reuse the engine JSON shapes above
  • Instruction graph JSON: ackit.instructions.v0

Editor usage example: