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 frombroken 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 thiscommand has just activated would refuse the freeze itself.
WHOEVER FIXES IT PASSES. The admin bypasses the ruleset, and '--no-verify' bypasses thehooks — the brake exists to stop work by INERTIA, not the fix thatreleases it.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 |
Congelar o projeto — família
Seção intitulada “Congelar o projeto — família”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.
1. Congelando o Projeto (anchors freeze)
Seção intitulada “1. Congelando o Projeto (anchors freeze)”# Congela o projeto com justificativa de auditoriaanchors 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.
2. Descongelando (anchors thaw)
Seção intitulada “2. Descongelando (anchors thaw)”anchors thawRetoma as atividades normais de desenvolvimento e desbloqueia a fila de tarefas.