@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.
20 lines • 909 B
TypeScript
/**
* Router fact extraction - collects referenced paths from instruction file sections.
*/
import type { AgentFacts, ReadonlyFS } from "../../types.js";
/**
* Add a discovered router path once without duplicating earlier matches.
*
* @param paths - mutable path accumulator for one instruction file
* @param path - router path candidate to append when not already present
*/
export declare function pushUniquePath(paths: string[], path: string): void;
/**
* Extract router table facts: paths found and their resolution status.
*
* @param fs - project filesystem adapter used to verify referenced paths
* @param content - instruction file content, or null when the file is absent
* @returns router table presence plus resolved/unresolved path counts
*/
export declare function extractRouterFacts(fs: ReadonlyFS, content: string | null): AgentFacts["router"];
//# sourceMappingURL=routing.d.ts.map