@blundergoat/goat-flow
Version:
AI coding agent harness and local dashboard for Claude Code, OpenAI Codex, Google Antigravity, and GitHub Copilot - setup audits, guardrails, structured skills, deny hooks, and persistent learning loops.
25 lines • 1.03 kB
JavaScript
/**
* Manifest schema for goat-flow's single source of truth (M06a).
*
* `workflow/manifest.json` is the on-disk form. `loadManifest()` returns a
* resolved `Manifest` where every `facts` field has been computed against
* canonical code sources (SETUP_CHECKS, AGENT_CHECKS, HARNESS_CHECKS,
* SKILL_NAMES, preset catalog JSON) or validated against observed on-disk
* state (dashboard views).
*
* Derived values are never written into the JSON - they are computed at load
* time so `facts` cannot drift from code. Static values are written into the
* JSON and validated against observed reality on load; a mismatch raises a
* `ManifestValidationError`.
*/
/** Raised when the on-disk manifest's static facts disagree with observed reality. */
class ManifestValidationError extends Error {
findings;
constructor(message, findings) {
super(message);
this.findings = findings;
this.name = "ManifestValidationError";
}
}
export { ManifestValidationError };
//# sourceMappingURL=types.js.map