@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.
23 lines • 940 B
TypeScript
/** Hash-only representation of sensitive evidence text safe for local persistence. */
export interface RedactedEvidenceValue {
kind: "redacted";
label: string;
sha256: string;
length: number;
}
/**
* Return a deterministic hash/length summary for sensitive text.
*
* @param label - human-readable evidence field name being redacted
* @param value - sensitive text to hash without storing raw content
* @returns redacted evidence metadata that can compare same/different values
*/
export declare function redactEvidenceText(label: string, value: string): RedactedEvidenceValue;
/**
* Runtime guard used by envelope payload validation.
*
* @param value - unknown JSON value from an evidence envelope payload
* @returns true when the value matches the redacted evidence shape
*/
export declare function isRedactedEvidenceValue(value: unknown): value is RedactedEvidenceValue;
//# sourceMappingURL=redaction.d.ts.map