@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.
17 lines • 667 B
JavaScript
/** Gitignore entries that every project must include for secret protection. */
const REQUIRED_GITIGNORE_ENTRIES = [".env", "settings.local.json"];
/**
* Extract `.gitignore` presence and required-entry coverage.
*
* @param fs - project filesystem adapter used to read `.gitignore`
* @returns gitignore coverage facts consumed by shared harness checks
*/
export function extractGitignoreFacts(fs) {
const content = fs.readFile(".gitignore");
return {
exists: content !== null,
hasRequiredEntries: content !== null &&
REQUIRED_GITIGNORE_ENTRIES.every((entry) => content.includes(entry)),
};
}
//# sourceMappingURL=ci.js.map