Pular para o conteúdo
EN · PT

anchors freeze

Freeze the project: nobody works until anchors thaw.

Stops the work on the entire project, in three layers.
1. writes 'enabled: false' and the reason into anchors.yaml, and PUSHES
2. creates a ruleset on the remote that blocks push and merge on every branch
3. opens an issue with the reason, so whoever hits the brake knows what happened
The --reason is MANDATORY. A freeze with no written reason is indistinguishable from
broken configuration, and whoever hits it tries to work around it instead of reading.
The commit and the push are made with --no-verify, on purpose: the hooks that this
command has just activated would refuse the freeze itself.
WHOEVER FIXES IT PASSES. The admin bypasses the ruleset, and '--no-verify' bypasses the
hooks — the brake exists to stop work by INERTIA, not the fix that
releases it.
Terminal window
anchors freeze [flags]
Flag Padrão O que faz
--no-push do not commit or push anchors.yaml
--no-ruleset do not create the ruleset on the remote (only the local brake)
--reason why the project is being frozen (required)
--root . project root

Comandos da mesma família — o que distingue cada um:

Comando O que faz
anchors freeze Freeze the project: nobody works until anchors thaw
anchors thaw Thaw the project: work resumes





Quando o projeto atinge uma release candidate ou marco de entrega, é necessário impedir modificações acidentais, mantendo apenas comandos de inspeção e auditoria liberados.


Terminal window
# Congela o projeto com justificativa de auditoria
anchors freeze --reason="Validação da Release Candidate v2.0.0"

Quando congelado:

  • Comandos de escrita e mutação (new, work, deliver, map build) são bloqueados.
  • Comandos somente-leitura (status, doctor, guide, coverage, version) continuam funcionando.

Terminal window
anchors thaw

Retoma as atividades normais de desenvolvimento e desbloqueia a fila de tarefas.