Skip to content
Toolkit

ADR-0178 — Superseded material is deleted; git history is the archive

Status: Accepted · Date: 2026-11-22 · Track: 013 GTM consolidation · Supersedes: the "archive, never delete" rule (AGENTS.md, ADR-0004's register, docs/guides/documentation.md)

Context

Four .archives/removal-safe/ trees had accumulated 868 files and ~30 MB: the platform's, Studio's, the icons' and the marketing site's, each with its own register, and one nested inside another. They held prototypes, old kits, retired pages and superseded copies of documents that still exist. Agents and people searching the repository found them as if they were current, and the owner reads them as duplication ("so many duplicated / alternatives"). Every one of them was already in git history.

Decision

The owner's instruction (2026-11-22): delete outdated material. A change that supersedes something deletes it in the same commit and names what replaced it in the commit message. Nothing new goes into .archives/removal-safe/; each such directory keeps only a README naming the commit that last held its contents (849a504) and the command that restores a path. Audit reports in .archives/audit-reports/ stay: they are records of findings, not superseded material.

Consequences

  • One copy of each thing in the working tree; search finds only what is live.
  • Recovery is git checkout 849a504 -- <path>, or git log --diff-filter=D -- <path> for anything deleted later.
  • Links in closed records (old ADRs, job sessions) that pointed into the archive no longer resolve in the tree; the toolkit renders them as code rather than as broken links. Closed records are not rewritten.

Alternatives considered

  • Keep the archive, prune it — rejected: the owner asked for deletion, and a curated archive is a second copy that still has to be maintained.

Source: docs/decisions/0178-superseded-material-is-deleted-git-history-is-the-archive.md

Library