Skip to content

drift: delivery/RULES.md#13 — releases rebuild unchanged images instead of retagging their digests #306

Description

@elronbandel

Which rule

  • Document: .agents/delivery/RULES.md
  • Rule number / section: rule 13 ("Carried-forward images"), with rule 15 ("Gate parity")
  • Rule text (pasted verbatim):
  1. Carried-forward images. A released image whose build inputs are unchanged from a prior release MUST be retagged from that release's digest rather than rebuilt.

Evidence of drift

Expected fix direction

  • Update the code to satisfy the rule (this is the default for drift)

Rung 5 (final) of #292's migration path: each build job checks its image's recorded hash at the prior release (:latest, the promoted last release) and retags instead of rebuilding when fresh — in-place inside the existing jobs, never by pruning the matrix (the n<=0 guard and needs.* chain break otherwise). skip_published is deleted; a force_rebuild input covers CVE/base refreshes until external-digest folding lands (rule 11's deferred clause); the CVE gate keeps scanning whatever :TAG points to, carried or fresh (rule 15). Docs page required (a version tag may now carry bits built at an earlier release — consumer-visible).

Scope

  • Fleet-wide (many artifacts violate the same rule — bulk fix via sub-agents)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions