memory: record the fork→upstream PR gotcha#46
Merged
Merged
Conversation
markmals
added a commit
that referenced
this pull request
Jun 17, 2026
Three .claude/worktrees/* dirs were committed into main as gitlinks (mode 160000) with no .gitmodules. actions/checkout's post-job submodule cleanup then fails on ubuntu with `No url found for submodule path '.claude/worktrees/apple-appkit-pack' in .gitmodules` (exit 128), which red-X'd otherwise-clean PRs (e.g. #46). Untrack all three (the on-disk worktrees stay registered and intact) and gitignore .claude/worktrees/ so an agent's `git add .` can't re-embed them.
markmals/spec-kit is a fork of github/spec-kit, so gh/PR operations default the base to the upstream parent — agents keep rediscovering this when a PR fails with 'No commits between main and <branch>'. New memory topic fork-and-upstream.md captures the fix (-R markmals/spec-kit, or gh repo set-default) plus the speckit<->spec-kit name redirect; indexed in MEMORY.md.
6c94c71 to
01e5dec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a SpecKit agent-memory topic so the fork relationship stops getting rediscovered every time someone opens a PR.
markmals/spec-kitis a fork ofgithub/spec-kit, sogh pr create(and otherghops) default the base to the upstream parent — PRs fail withNo commits between main and <branch>or silently target GitHub's repo. The fix (-R markmals/spec-kit, orgh repo set-default) and thespeckit↔spec-kitname redirect are now in.claude/memory/fork-and-upstream.md, indexed inMEMORY.md.One file + one index line; no engine or scaffold changes.