Skip to content

GB-045: the published declarations are out of order or altered

Generated from ops/errors/catalog.yaml by ops/ci/check-error-catalog.py --write; do not edit here. GB-045 is printed by goatbuilder. The same text offline: goat explain GB-045 or goatbuilder explain GB-045.

What it means

a declaration is applied only from an intact, ordered log (contract C2). A row whose signature does not match its content, or a serial not greater than one already accepted, is refused before anything is published, so a replayed or edited declaration never reaches a machine. A new serial at an earlier digest is accepted; that is a revert.

Why it happens

  • a row of declared/publications.jsonl was edited by hand after it was published
  • an older copy of the log was restored over a newer one, or a row was replayed

What to do

One line per step or alternative:

restore declared/publications.jsonl from the source of record
to go back to an earlier ref, declare it anew: goatbuilder --mock <fixture> rollback <component> 1 --env <env> --ack "<your name>"

Read more

Exit code

goatbuilder exits with 1.