docs(adr): trim ADR-010 and re-point the citations it removes

Summary

  • Problem: ADR-010 mixes its rules with provenance, history and values that other documents already own, and it lists no constraints in the form the trim work item asks for.
  • Decision: none changes. ADR-010 goes from 2,813 to 2,757 words.
    • Only what has a home today leaves the ADR: cache validity (S13 owns it), the garbage collection review delay (ADR-025 owns it), and the storage class schedule and provider table. The schedule's GitLab.com fact moves to the GitLab.com infrastructure doc: the buckets use Autoclass, with Archive as the terminal class.
    • Values decided for features no spec covers yet stay, under a new Deferred to Later Iterations section: cache retention settings, lifecycle strategies, per-format target fields and notification triggers, plus extending retention, export and import, and dependent features. #1842 tracks moving them out once their specs exist.
    • A new What Must Always Hold table restates the binding rules, with whether a machine could check each, in ADR-025's form. It is an initial version.
    • The deletion precedence table becomes one rule.
    • The default retention period reads as a cap, not a floor: lifecycle policies can only shorten an artifact's life under it.
    • Cache retention no longer says it is configured at the Organization level, which contradicted S16's per-repository setting.
    • Issue links, "lesson learned" clauses, the withdrawn 30-day soft delete value and provenance references are removed.
  • Citations: the Maven buffered-write page cites #lifecycle-policies, and S20-a (lifecycle-closed-beta) quotes the Deletion Precedence and Notifications headings as they now stand. Every other citation points at text the ADR keeps, and every cited anchor still resolves. No Go comment cites removed text.

Checklist

  • Reach: unchanged. Retention, cleanup and suspension still constrain every format, the management API, the monolith UI and GitLab.com operations.
  • Least sure: the What Must Always Hold table, since it is a first version of the form for this ADR.
  • Agreement: the Artifact Registry maintainers, under https://gitlab.com/gitlab-org/ops/artifact-registry/-/work_items/1783. No decision changes, so no new sign-off is needed.
  • Durability: a spec for cache eviction, lifecycle policies or notifications takes over that feature's values from Deferred to Later Iterations.

Related to https://gitlab.com/gitlab-org/ops/artifact-registry/-/work_items/1783

Edited by David Fernandez

Merge request reports

Loading
Loading