Skip to main content

Crate cvkg_layout

Crate cvkg_layout 

Source
Expand description

§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:

Structs§

Flex
Flex - a container that distributes space among its children flexibly
Grid
Grid - lays out children in a 2D grid
HStack
HStack - lays out children horizontally
Spacer
Spacer - a layout view that expands to fill available space
VStack
VStack - lays out children vertically
ZStack
ZStack - lays out children on top of each other