← ClaudeAtlas

kintsugi-guardrailslisted

Self-evolved security, reliability, and correctness guardrails enforced by Kintsugi AST/Regex scanner. Activate before editing code or running shell commands.
tunguyen1993/kintsugi-harness · ★ 0 · AI & Automation · score 73
Install: claude install-skill tunguyen1993/kintsugi-harness
# kintsugi-guardrails (`@KML/1` Machine-Native AST-IR) ```bash kintsugi scan --staged --fail-on HIGH ``` ## `@KML/1` Symbolic Guardrail Specifications (`NEG_AST => POS_AST`) ### `KL-HIGH-001` · `No Unsupported Promotion Across Scopes or Evidence Types (Lakatosian CEGIS, 4-State Symbolic Path & Brier Second-Moment Guard)` - `@WIRE`: `@KML/1|id=KL-HIGH-001|sev=C|cat=ai-agents-mcp|lang=py|op=NO_UNSUPPORTED_PROMOTION_ACROSS_SCOP|guard=RX#b0891781|neg=«status = 'PROVED' if empirical_vote_prob > 0.99 or len(retained_domain_errors) == 0 else '»|pos=«cert = enforce_kl_high_001_promotion_guard(claim_id, source_scope, target_scope, assumptio»|fp=e86d43cf3ba35440` - `@TRAP`: `[Cognitive Trap] Upgraded a domain-cut CONDITIONAL claim, an timed-out SURRENDER refutation, an UNKNOWN interval enclosure, a confounded regression, or an empirical ensemble vote (`EMPIRICAL_CONFIDENCE`) into a universal `PROVED` certificate.` - `@LAW`: `[Mental Model] Carry `(claim_id, scope, assumptions, evidence_lineage, status)` on every output: enforce Lakatosian anti-goalpost-moving (`CONDITIONAL` on domain cuts, `SURRENDER` on incomplete refuter), 4-state outward-rounded symbolic path evaluation (`UNREACHABLE`/`HOLDS`/`VIOLATED`/`UNKNOWN`), moralized ancestral d-separation, and uncentered Brier second-moment shrinkage (`w^T E[e e^T] w`).` `@NEG_AST` (`❌ FORBIDDEN`): ```python status = 'PROVED' if empirical_vote_prob > 0.99 or len(retained_domain_errors) == 0 else 'REFUTED' # UNSUPPORTED_SCOPE_OR_EVIDENC