/*
RFC-0520: shared GuardResult types for extracted inline guards in release.prepare and sternsystem.validate.
- Does not define gate metadata — that is RFC-0518.
- Does not unify with GateResult from @warpgogol/werkstatt-shared/surface — different semantics.
- RFC-0520: initial shared guard types extracted from inline blocks.
*/
export type GuardVerdict = "pass" | "fail" | "skipped";
export interface GuardViolation {
rule: string;
message: string;
systemId?: string;
}
export interface GuardResult {
verdict: GuardVerdict;
violations: GuardViolation[];
summary: string;
metadata?: Record;
}