Skip to content

Seam guard: follow-ups from the #965 reviews (gate rates fork-seams.json non-critical; lost lines can't be restored) #968

Closed

Description

@scuttletoby

Follow-ups from the three reviews of #965 (all three said SAFE). None blocks #965.

  1. The merge gate treats .github/fork-seams.json as a normal file (.github/fork-pr-queue.json around line 21; fork-ci/actions/pr-queue/review_judge.test.py around line 451, from Owner question: extra reviewer for workflow and gate changes? #82). On its own the gate accepts one code lens for a change to the upstream-seam list, so the three-lens review for this guard is not enforced. Make it critical, with a test. (Older than fork seams: move orchestratorMcp.ts and OrchestratorMcpService.ts to seams, announce the #817 lines (step 1) #965.)
  2. Changed upstream lines in a seam file cannot be changed back. Once a file is a seam entry with a lost entry, a later PR that restores upstream's original line is refused as an unlisted added line, and it cannot be announced because the file already has a copy. While the file was pending this passed once the ceiling and lost were lowered. Affects every seam file with a lost entry; it matters for keeping the fork part thin when upstream fixes things. The checker should allow restoring a counted lost line (lowering lost in the same PR).
  3. Generic seam lines (parent,, target,, }); ...): a PR can drop upstream's copy instead of the fork's and only fork-follow notices. Already documented; consider pinning them by neighbouring context.
  4. Note for Contract fields for a linked child's secret requests and 'unknown'; a secret ends a wait (seam PR, #808) #817 step 2: merge by 2026-12-06 or re-date the announcement; forkOrchestratorMcp.ts must not import values from orchestratorMcp.ts (a circular import would spread undefined); delegateChecks.seatOrder.test.ts reads the service text and will need an update; usagePacingNote could move into the new fork fields.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 22, 2026

    @scuttletoby
    OwnerAuthor

    One more point from the merge-path lens on #979 (#979 (comment)):

    • docs/fork/updates.md:198 says a seam announcement is "reviewed like any gate change", but .github/fork-pr-queue.json:47 puts .github/fork-seams.json under the catch-all code rule and the gate rule (:21) does not list it. Either add the file to the gate rule (so its lenses are the gate lenses) or change the doc to say what is enforced. Pick one; the rule file and the doc must agree.
    • Announced lines can be used by any PR during their 14 days, not only the one that announced them. A generic line (e.g. const fresh = openSession(resolved, limitHeader);) is limited to its file and count, so the risk is small; consider binding an announcement to the PR or branch that announced it.

    🤖 Generated with Claude Code

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions