UNPKG

@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.36 kB
/** * Footgun and lesson fact extractors for the learning-loop system. * Analyzes category-bucket markdown files for evidence quality, entry counts, and stale references. */ import type { SharedFacts, ReadonlyFS } from "../../types.js"; import type { LoadedConfig } from "../../config/types.js"; export { computeFreshness, parseFrontmatterFields, } from "./learning-loop-common.js"; export { extractLearningLoopEntries } from "./learning-loop-entries.js"; /** * Extract footgun facts: existence, evidence quality, directory mention counts, and per-bucket freshness. * * @param fs - filesystem adapter for the target project * @param configState - loaded config that chooses the footgun artifact path * @param now - comparison clock for deterministic bucket freshness */ export declare function extractFootgunFacts(fs: ReadonlyFS, configState: LoadedConfig, now?: Date): SharedFacts["footguns"]; /** * Extract lessons facts: existence, entry presence, and per-bucket freshness. * * @param fs - filesystem adapter for the target project * @param configState - loaded config that chooses the lessons artifact path * @param now - comparison clock for deterministic bucket freshness */ export declare function extractLessonsFacts(fs: ReadonlyFS, configState: LoadedConfig, now?: Date): SharedFacts["lessons"]; //# sourceMappingURL=learning-loop.d.ts.map