cvkg-core 0.1.0

Cyberpunk Viking Knowledge Graph (CVKG) - High-fidelity agentic UI framework
Documentation

CVKG Agentic Development Guidelines (v1.2)

All AI agents contributing to this crate MUST follow ALL seven rules:

── Karpathy Guidelines (1–4) ────────────────────────────────────────────

  1. THINK FIRST — State assumptions. Surface ambiguity. Push back on complexity.
  2. STAY SIMPLE — Minimum code. No speculative features. No unasked-for abstractions.
  3. BE SURGICAL — Touch only what's required. Own your orphans. Don't improve neighbors.
  4. VERIFY GOALS — Turn tasks into checkable criteria. Loop until they pass. Never commit broken.

── CVKG Extended Protocols (5–7) ──────────────────────────────────────── 5. TRIPLE-PASS — Read the target, its surrounding context, and its full call graph 6. COMMENT ALL — Every major pub fn, unsafe block, and non-trivial algorithm in 7. MONITOR LOOPS — Check every tool call / command for progress every 30 seconds.

Sources: The View trait is the fundamental building block of CVKG. Every UI element — from a plain text label to a complex navigation controller — is a View. The trait is intentionally minimal; complexity emerges through modifier composition.

Conformance rules:

  1. body() must be pure and side-effect free
  2. Primitive views use Never as Body and register a PaintCommand directly with the scene graph
  3. View types must implement Send but not necessarily Sync, enabling safe multi-threaded layout passes