Rigorous discipline,
steady guidance,
intact structures,
crafted dignity.

Autonomous CLI Auditing Constitutional Governance & Design Linter (KCL & KDL)

When delegating code, writing, and interface architecture to autonomous AI agents, the essential question is whether philosophical depth and brand aesthetic integrity remain uncompromised. Kamos provides dual autonomous CLI audits triggered from a single terminal command—the Kamos Constitutional Linter (KCL) safeguarding philosophical depth, and the Kamos Design Linter (KDL) preventing UI degradation—ensuring quality and architectural consistency while unleashing generative speed.

The Two Pillars of CLI Governance

Constitutional auditing preserving philosophical depth, and the design linter preventing UI degradation. Dual verification engines triggered directly from the terminal.

Pillar I.

Thought & Philosophy (Constitutional Linter)

KCL: Kamos Constitutional Linter

Kamos Constitutional Linter (KCL) is not a rigid judge that rates or restricts ideas with punitive grades.

Instead, it filters proposals through the 200 principles of the Kamos Cognitive Graph (Brain, Emotion, Nerves, and LIP Personal Constitution) to explore ideas from multiple angles. It helps bypass obvious, cookie-cutter answers and brings thoughtful margins directly to the CLI.

$ node tools/kamos_constitutional_linter.mjs "<theme or file>"
Pillar II.

Design & Code Integrity (Harness Audit)

KDL: Kamos Design Linter

Allowing AI agents to write unconstrained code inevitably leads to stylistic drift and broken design systems.

The Kamos Design Linter (KDL) combines harness audits (token conventions like data-accent="cyan" and unified motion rules) with static linting across 7 key categories (Brand, A11y, Security, DOM consistency). It audits AI-generated output straight from the CLI and applies automated repairs with --fix before allowing only verified code into production.

$ node tools/kamos-design-linter.js <target_html> --fix
Representative Architecture: Two-Wing Autonomous Governance

Two-Wing Autonomous CLI Audit Pipeline

A dual-engine verification mesh guaranteeing philosophical consistency and tactile UI elegance from a single terminal command.

01. INVOCATION

Terminal Command / Agent Loop Trigger

CLI / CI HOOK

Triggered immediately via developer commands or the autonomous agent loop (skill.state)

02. DUAL AUDIT

Two-Wing Autonomous Audit Engine

DUAL-PIPELINE ✓
WING A: THOUGHT & PHILOSOPHY
KCL Constitutional Linter

Explores ideas across 200 cognitive principles. Avoids shallow platitudes and deepens concepts with generous margins.

WING B: UI & CODE INTEGRITY
KDL Design & Code Audit

Harness rules for UI/code integrity, static linting (no hardcoded hex, nav sync), and runtime self-healing.

03. VERIFY & PASS

Verified & Repaired Safe Code Gate

AUDIT PASSED ✓

Only clean, verified code that passes all linter audits and automated repairs is allowed through, ensuring baseline quality without regressions.