cyberneticlibrary

Validate and land compiler features systematically

drain-wave-1workflowsetup L30
partoa/recad
What it does

Dispatch drainable spec items to worktree-isolated sub-agents with compile+runtime validation

Best for

Draining large spec items with sub-agent isolation and orchestrator-side independent verification of runtime results, preventing sub-agent report blindness.

Inputs
  • · [object Object]
Outputs
  • · [object Object]
Requires
  • · cargo check --tests --offline
  • · cpg_dump
  • · cpg_finegrain_f1
  • · git
  • · worktree
  • · optional: deepseek scripts
Preconditions

Final spec readable with [[S-crosswalk]] table; accept+refute fixtures per [[S-fixture-discipline]]; worktrees available; cargo works offline

Failure modes
  • · Sub-agent runs in shared cwd instead of isolated worktree (breaks tests)
  • · Orchestrator trusts sub-agent report without independent re-measurement
  • · Spec crosswalk status not flipped after sub-agent completes
  • · DeepSeek scripts not discovered or invoked
  • · File-affinity grouping creates circular dependencies
Trust signals
  • · Three hard requirements explicitly stated in comments: WORKTREE, COMPILE, RUNTIME VALIDATION
  • · Orchestrator independently re-measures (never trusts sub-agent)
  • · Crosswalk table mechanism forces explicit fixture discipline
  • · DeepSeek invocations tracked separately with run_id + script_path