Repository navigation
fork(#48): fetch only upstream release tags not newer than the checkout (slice 14) - #65
Merged
nachumi-a2zoperations merged 1 commit intoNov 16, 2026
Conversation
…ut (slice 14) The skill-bundle ledger check reads every skills/*/SKILL.md blob from HEAD and every v* tag. Slice 2's prelude fetched ALL of upstream's v* tags, including v1.4.256 (newer than the fork's 1.4.255), whose orca-cli SKILL.md (stablyai#39916) the fork's ledger does not list, so the preflight's "skill bundle manifest" check was red on fork-only. fetch-upstream-release-tags.mjs now lists upstream's v* tags and fetches only those not newer than package.json's version (refspecs on stdin); with no readable version it fetches every v* tag as before. New --prune-newer deletes local v* tags newer than the checkout, the one-time step for clones fetched before this; it refuses when the version cannot be read. Refs #48 Signed-off-by: Nachumi Eliyahu <[email protected]>
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.
Refs #48 (slice 14: the preflight's "skill bundle manifest" check, red on fork-only with
resources/skills/released-digests.jsonstale).Cause
generate-skill-bundle-manifest.mjsbuilds the released-digest ledger from everyskills/*/SKILL.mdblob reachable from HEAD and everyv*tag.fetch-upstream-release-tags.mjs) fetched all of upstream'sv*tags, including v1.4.256, which is newer than the fork's 1.4.255.skills/orca-cli/SKILL.mdfrom upstream1bdadc90(2026-11-10, fix(skills): load Orca browser guidance for ordinary web tasks stablyai/orca#39916). The fork's ledger does not list that digest (06b7c1cc…), so the check asked for it and failed. Nothing else differed.Fix (the lane lead's pick, option a)
v*tags (ls-remote --tags --refs) and fetches only those not newer thanpackage.json's version. The refspecs go on stdin, so there is no command-line limit with ~1,100 tags.v*tag as before (the existing tests' path).--prune-newer: deletes localv*tags newer than the checkout. This is the one-time step for clones fetched before this change, and it is idempotent.Tests (red first)
d18bbcf4:End to end (the shared fork clone on the MacBook)
v*tags, 1 newer than 1.4.255 (v1.4.256). The manifest check failed as described.--prune-newer --if-missingdeleted 1 tag (v1.4.256), and the manifest check then passed.stablyai/orcaafterwards: 1,105 → 1,105,v1.4.256not re-fetched, and the manifest check still passed.Gates (MacBook)
pnpm check:changed --base=origin/blowzer/fork-only --force: 13/13. The manifest check is not selected for these paths, so it was run directly: exit 0.ORCA_ALLOW_NODE_MISMATCH=1, since the host is Node 26.7 (PR 64).For other clones
node config/scripts/orca-fork/fetch-upstream-release-tags.mjs --prune-newer.~/Documents/claude/orca-forkclone is already pruned.