Skip to content

ADR-017 collides across three repos — adopt the vpp_ prefix for this repo's 017 #264

Closed

Description

@Polichinel

The collision

Three different ADRs are numbered 017:

Repo Prefix ADR-017
views-models vmo_ Forecast Sources, Composition, and Delivery (docs/ADRs/017_source_composition_delivery.md)
views-postprocessing vpp_ Facts shared with a repository we cannot read (docs/ADRs/017_facts_across_a_private_boundary.md)
views-crafdapi vcr_ Reference Data in Repository (docs/ADRs/active/017_reference_data_in_repository.md)

A bare "ADR-017" in any cross-repo sentence is ambiguous, and resolves to the wrong document
for a reader sitting in a repo that has its own 017.

This is not hypothetical

views-crafdapi/docs/ADRs/active/033_fail_visible_forecast_selection.md qualifies the citation
once ("views-models ADR-017", line 20) and then drops the qualifier four times in the same
passage:

line 32: "…nor a re-derived ADR-017 maturity… ADR-017 governs that when it lands, and
'delivered to faoapi's bucket' is precisely ADR-017's delivered half…"

line 42: "…it re-introduced the eligibility judgment ADR-017 places upstream…"

Every one of those means views-models' ADR-017. A reader in views-crafdapi following the
repo's own index (docs/ADRs/README.md:99) lands on Reference Data in Repository — an
unrelated document about vendored reference data. The sentences still parse. They are just about
the wrong decision.

Decision

Adopt a repo prefix, keep the number: vmo_017, vpp_017, vcr_017
(also vpc_ for views-pipeline-core). Existing citations stay valid — this is additive, not a
renumber. The convention is not yet platform-wide; these three issues are its first application,
driven by an active collision rather than a sweep.

Scope in this repo (views-postprocessing — prefix vpp_)

ADR-017 appears in 7 files, and unusually for an ADR reference, several are in test
code
rather than docs — tests/conftest.py:139,152,156,167,184, tests/test_product.py:46.
Those comments explain why a guard exists; a reader who follows them to the wrong ADR-017
loses the rationale for a live test.

Work:

  1. Label docs/ADRs/017_facts_across_a_private_boundary.md as vpp_017 in its title line
    and in the ADR index. Do not rename the file or change the number.
  2. Audit the 7 citing files. The test-code comments are the priority — they are the sites most
    likely to be read by someone from another repo debugging a cross-boundary failure.
  3. Check each reference resolves to this repo's 017 and not views-models'. This repo deals
    with both the private-boundary decision (its own) and the delivery model (views-models'),
    so mixed referents are plausible.

Acceptance

  • docs/ADRs/017_facts_across_a_private_boundary.md announces itself as vpp_017.
  • Every ADR-017 in tests/ names which repo's ADR it means.
  • No existing citation is broken — the number does not change.

The other two issues in this set

All three must land for the collision to be resolved; each is independently mergeable.

Activity

  1. added
    documentation
    on Aug 13, 2026
  2. Polichinel commented on Aug 13, 2026

    @Polichinel
    CollaboratorAuthor

    Landed. Two scope corrections to this issue, and one finding that makes the work smaller than it looks.

    The count. This issue says ADR-017 appears in 7 files. Measured: 55 occurrences across 9 files — tests/test_env_declaration.py and four lines of tests/test_product.py were absent from the scope statement, and the post-mortem added five more since filing. The acceptance criterion "every ADR-017 in tests/ names which repo's ADR it means" therefore covers 14 occurrences, not the 6 enumerated. All 14 are qualified.

    Zero wrong referents. Every citation was classified by which repo's 017 it means. All four references to views-models' 017 are already qualified (views-models ADR-017), and every bare ADR-017 here means this repo's. The defect class this issue chases — a sentence that parses but is about the wrong decision — does not exist in this repository. It exists in views-crafdapi's ADR-033, which is why #58 carries the live one. So this was legibility for arriving readers, not repair, and that is now recorded in the ADR index so the next person does not re-audit it.

    Copied views-models' shape rather than inventing one, since #393 closed first: vpp_017 (ADR-017): … title, a "Cite this as" blockquote under Status, a prefixed and linked index entry, and a ### Why one of these carries a vpp_ prefix subsection with the three-row table. Their usage rule adopted verbatim — intra-repo prose may stay bare; the prefix goes wherever a sentence is read from, or could be read from, another repository. That is why the register and the post-mortem keep bare citations.

    One unrelated staleness fixed in the same pass, since it sat in the index entry being edited: it said verifying the mirror "currently means reading the consumer's source, which is impossible in CI when that consumer is private." Untrue since #248 deleted both source reads on 2026-08-12.

    views-crafdapi#58 remains open and carries the only real defect of the three.

  3. Polichinel commented on Aug 13, 2026

    @Polichinel
    CollaboratorAuthor

    Landed in the pre-release sprint. Details in the comment above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions