Skip to content

Seam list: no green path to add a new seam line (announce first, then add) #409

Closed

Description

@scuttletoby

Problem: there is no green path to add a new seam line to an upstream file.

Recommendation: a two-step that is green at each step and keeps the list change visible and reviewed on its own.

  1. Step 1 PR: adds the entry marked as announced (e.g. "announced": true, or a separate announced block). The stale-list test accepts an announced line that is absent from its file, and the seam check treats it as allowed. It is a list-only PR, reviewed like any gate change.
  2. Step 2 PR: adds the line and drops the flag. The stale-list test then requires the line to be present.
  3. Expiry: an announced entry older than N days, or still absent after its step-2 PR merged, fails the stale-list test. Announcements cannot pile up.

The same rule applies to forkFiles and pending additions: today a list-only PR naming new fork files is fine, but the code PR that edits them needs them on main first, so step 1 covers that too.

Alternative: in the PR run, allow entries the PR itself adds, but only for lines the same PR adds and only with an owner/lens label. This is weaker: the list judges itself.

Order:

Part of #325.

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