Repository navigation
chore: add the kagan-fork-sync agent skill - #107
Merged
Merged
Conversation
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 an agent skill that keeps kagan's forked dependencies close to upstream. Ask any agent working in kagan to "sync kagan's forks with upstream".
What it does:
Cargo.tomlpins by commit: gpui-kit, gpui-fast and wry today.Cargo.lock, and runs kagan's checks. That includes regenerating the third-party notices.The skill is
.agents/skills/kagan-fork-sync/, with the instructions inSKILL.mdand the steps inscripts/fork_sync.py.AGENTS.mdgets one line pointing to it.The script only resets clones it made itself. It marks each clone it creates and refuses to work in any other, so pointing
--workat your own checkout can't wipe uncommitted work.Checked: the
planandmergesteps ran against the real forks in a throwaway clone with nothing pushed. gpui-kit and gpui-fast are 87 and 67 commits behind, with conflicts in 3 and 4 files; wry is up to date. Rerunning after an interrupted run resumes cleanly, and a clone the script didn't make is refused. Thepinstep'sCargo.tomlrewrite was checked on a copy.push, andpinagainst a full checkout, haven't run, because both write to the real repos. Typos, the glossary check and the hook tests pass.