GeezerVison is showing github.com — fork-follow: seam check from upstream refuses on main (11 files now, 37 more after #380) · Issue #385 · scuttletoby/t3code
fork-follow: seam check from upstream refuses on main (11 files now, 37 more after #380) #385DescriptionFound while writing #380: the fork seam check run from upstream (the way fork-follow runs it) already refuses on main, so fork-follow stops at its seam step.
Today on main, 11 files are refused:
After #380 merges, 37 more files are refused (2 seam files and 35 pending files already lose upstream lines) until a "lost" block is added to .github/fork-seams.json. #380's body has the exact 37-entry block. One entry needs a look: OrchestratorMcpService.ts loses 147 upstream lines from a re-indented block; moving the fork code out may be better than recording it.
To do (one PR, after #380 merges):
- List the 5 files' fork lines as seams (or move them into fork files), and lower or fix the 6 ceilings.
- Add the
lost block (or move code out where that is cleaner).
- Prove it:
fork-seam-check.cjs --from-upstream against the current upstream base exits 0 on main.
Matters for go-live: a new fork release is cut by fork-follow on a fresh upstream base.
🤖 Generated with Claude Code Activityscuttletoby commented on Nov 17, 2026 Note from the #380 fix round (head e50a284):
- The
lost block format changed: each entry is now {"lines": N, "gone": M}; the old plain number makes the seam check exit 3. fork-follow: seam check from upstream refuses on main (11 files now, 37 more after #380) #385 must use the new format (fork seam check: #277 follow-ups (moved/deleted lines, indentation, guard tests, renames, --from-upstream) #380's PR body has the regenerated block).
- File count: 35 (2 seam + 33 pending), not 37. On today's main, 9 refusals from upstream (not 11): slots observe: one count per agent, stored held slots, seams list, tests (#353) #371 listed the two AgentScope files as pending.
- Left open from fork seam check: #277 follow-ups (moved/deleted lines, indentation, guard tests, renames, --from-upstream) #380 (state lens finding 4): a PR can still delete or move an upstream line in a pending file; the PR gate passes it, fork-follow refuses it later (no release goes out, but fork-follow stays blocked until a fix PR). Closing it in the PR gate needs the upstream commit under main (workflow change or a fetched upstream ref).
scuttletoby commented on Nov 17, 2026 Input for the #385 writer from the #380 security re-check (#380 (comment)). #380 adds the {"lines": N, "gone": M} lost format.
- (Major, if the block lands as it is now.) Recording all of today's refusals in
lost frees 166 upstream lines in 9 pending files to move with no check later; 141 of them are in OrchestratorMcpService.ts. Swaps would also open up in 32 pending files.
- Do not record that file's re-indented block as lost. Move the fork's re-indented block out (into a fork file) so the upstream lines come back unchanged.
- Keep every remaining
lost count as small as possible. Say per file why each line is lost.
- (Minor,
fork-seam-check.cjs:492,528.) A malformed lost block (including the old plain-number format) is never checked before merge. Once it is on main, every PR and fork-follow exit 3, including the PR that would fix it, so fixing it needs an owner bypass.
- In the PR run, when a PR changes
.github/fork-seams.json, also parse the PR's own list (format only, never its rules), and refuse a malformed one.
- Do this in the same PR that adds the block, or before it.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|