Skip to content

Document the /uf.unleash build/test fix loop (auto-fix at blocking gates) #322

Open

Description

@jflowers

Summary

/uf.unleash (quick tier and per-phase gates) no longer halts for a human when a blocking gate reports a failing check. It now runs a build/test fix loop: up to 3 iterations of delegating diagnosis and repair to cobalt-crush-dev via prompt-only uf_delegate_command (with task_classification), re-running the exact pre-flight commands, and classifying remaining failures by causality.

What needs documenting

  • The build/test fix loop behavior at the three blocking gates (quick-tier pre-flight, per-phase checkpoints, Step 6 pre-flight soft gate)
  • Causality classification at gate entry: only change-caused or unknown-origin failures enter the loop; pre-existing and environmental failures never do
  • The durable 3-iteration budget, recorded in gate-distinct checkpoint data keys so it spans sessions across resumes: the phase checkpoint's data.fixLoopPhase[N] key, the quick gate's budget-only quick-fix-budget step (data.fixLoopQuick), and Step 6's data.fixLoopPreflight
  • Exit behavior: gates still exit through format_unleash_exit once change-caused checks persist past 3 total iterations

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions