@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.
22 lines • 998 B
TypeScript
/** Minimal filesystem interface needed for project state detection. */
interface StateFS {
/** Return true when a project-relative marker path exists. */
exists(path: string): boolean;
/** Read a project-relative text file, returning null when unavailable. */
readFile(path: string): string | null;
}
/** Recognised adoption states for a project. */
type ProjectStateName = "bare" | "partial" | "v0.9" | "outdated" | "current" | "error";
/** Recommended next action for a given project state. */
type ProjectAction = "setup" | "migration" | "upgrade" | "fix" | "audit" | "incomplete" | "none";
/** Classification result for a single project directory. */
interface ProjectState {
state: ProjectStateName;
action: ProjectAction;
details: string;
version?: string;
}
/** Classify a project's GOAT Flow adoption state. */
export declare function classifyProjectState(fs: StateFS, agentId?: string): ProjectState;
export {};
//# sourceMappingURL=classify-state.d.ts.map