CVKG Agentic Development Guidelines (v1.2)
All AI agents contributing to this crate MUST follow ALL seven rules:
── Karpathy Guidelines (1–4) ────────────────────────────────────────────
- THINK FIRST — State assumptions. Surface ambiguity. Push back on complexity.
- STAY SIMPLE — Minimum code. No speculative features. No unasked-for abstractions.
- BE SURGICAL — Touch only what's required. Own your orphans. Don't improve neighbors.
- 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:
body()must be pure and side-effect free- Primitive views use
NeverasBodyand register aPaintCommanddirectly with the scene graph Viewtypes must implementSendbut not necessarilySync, enabling safe multi-threaded layout passes