GeezerVison is showing github.com — Seam list: no green path to add a new seam line (announce first, then add) · Issue #409 · scuttletoby/t3code
Seam list: no green path to add a new seam line (announce first, then add) #409DescriptionProblem: there is no green path to add a new seam line to an upstream file.
- A PR is judged by its base's seam list, never its own (docs/fork/updates.md). So a PR that adds the line and its
.github/fork-seams.json entry together is red.
- A PR that adds only the entry is also red: the seam-check unit test
.github/scripts/fork-seam-check.test.cjs (~:341, "every listed seam line is in its file") refuses a listed line that is not in the file.
- So every new seam needs a merge past a red check. Two cases hit this on 11-17:
Recommendation: a two-step that is green at each step and keeps the list change visible and reviewed on its own.
- 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.
- Step 2 PR: adds the line and drops the flag. The stale-list test then requires the line to be present.
- 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:
- Write this after fork seam check: #277 follow-ups (moved/deleted lines, indentation, guard tests, renames, --from-upstream) #380 merges (fork seam check: #277 follow-ups (moved/deleted lines, indentation, guard tests, renames, --from-upstream) #380 rewrites fork-seam-check.cjs).
- Needs 2 lenses (merge-path gate).
- Then hold-work: a marker guards a held or stopped copy's home in the CLI; tests and docs (#368) #398 lands in two steps, and slots observer: #371 follow-ups (marker line back, slots-off double count, comment, cleanup test) #381 item 1 can be reopened if still wanted.
Part of #325. MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|