@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.
18 lines • 1.1 kB
TypeScript
/**
* Renders parsed learning-loop entries into the generated INDEX.md content. The output is a pure
* function of the entry list: fixed frontmatter (`generated: true`, no `last_reviewed`), a fixed
* header that points maintainers at `goat-flow index` and `goat-flow stats --check`, and one row
* per entry in the shared `- [Title](file) (search: "...") - hook` schema. No counts, dates, or
* other clock-derived values may appear here - `index-fresh` string-compares a regeneration
* against the on-disk file, so any nondeterminism reads as permanent staleness.
*/
import type { IndexBucket, IndexEntry } from "./parse-bucket.js";
/**
* Render one generated bucket index from its parsed entries.
*
* @param bucket - which learning-loop bucket the index covers; selects title and row description
* @param entries - parsed active entries in their deterministic parse order
* @returns full INDEX.md content including frontmatter and a trailing newline
*/
export declare function formatIndex(bucket: IndexBucket, entries: IndexEntry[]): string;
//# sourceMappingURL=format-index.d.ts.map