Development Workflow — WrinkleBrane
This document outlines development roles and testing procedures for the WrinkleBrane project.
Roles
Builder (Codex)
- Implements modules per
README.mdand unit tests. - Guardrails: preserve shapes; no silent dtype/device changes; pass tests.
- Implements modules per
Experiment Runner
- Executes
experiments/p0_assoc_mem.pysweeps andviz_latents.py. - Produces CSVs/plots; verifies capacity/interference claims.
- Executes
Telemetry Agent
- Computes and logs K/C/S/I via
telemetry.py. - Monitors energy budgets and layer orthogonality.
- Computes and logs K/C/S/I via
Validator
- Enforces limits: max per-layer energy, code coherence thresholds.
- Flags anomalies: entropy spikes, excessive cross-talk.
Archivist
- Version-controls artifacts (
results/,plots/,artifacts/), seeds, configs. - Maintains CAR definitions for future P1 distillation.
- Version-controls artifacts (
Loops
Build→Test Loop
- Builder generates/updates code.
- Run tests in
tests/. - If any fail, fix and repeat.
Experiment Loop
- Select sweep config (L,K,T,codes,alpha,λ).
- Run P0 harness; gather metrics.
- Telemetry Agent computes K/C/S/I; Validator evaluates thresholds.
- Archivist stores CSVs/plots with config hashes.
Guardrails & Thresholds (initial)
- Gram coherence: max |off‑diag(Gram(C))| ≤ 0.1 (orthogonal modes)
- Energy clamp: per‑layer L2 ≤ configurable bound
- Interference scaling: empirical slope within band of √((T−1)/L)
- Logging: persist seeds, device, library versions
Future (P1)
- Query-conditioned slicing agent; distillation CAR tracking; oblique/complex modes.