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.

26 lines 1.19 kB
/** * Agent settings fact extraction - parses settings.json for deny patterns and read-deny coverage. */ import type { AgentProfile, AgentFacts, ReadonlyFS } from "../../types.js"; /** * Check whether the agent's deny mechanism blocks git commit and/or git push. * * @param fs - project filesystem adapter used to read settings or hook scripts * @param agent - agent profile whose deny mechanism should be inspected * @returns git operation coverage detected from the agent's configured guardrail path */ export declare function checkDenyPatterns(fs: ReadonlyFS, agent: AgentProfile): { gitCommitBlocked: boolean; gitPushBlocked: boolean; }; /** Extract settings facts from supported agent config formats. */ export declare function extractSettingsFacts(fs: ReadonlyFS, agent: AgentProfile): AgentFacts["settings"] & { readDenyCoversSecrets: boolean; }; /** Workspace-root permission entry parsed from Codex TOML settings. */ export interface CodexWorkspaceRootEntry { pattern: string; mode: string; } export declare function collectCodexWorkspaceRootEntries(parsed: unknown, profileName: string): CodexWorkspaceRootEntry[]; //# sourceMappingURL=settings.d.ts.map