Repository navigation
feat(tools): sync takes the chain examples from a fork module and skips an absent model table - #1969
Merged
Merged
Conversation
…ps an absent model table Part of #1944. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Part of #1944 (step 3c, the last preparatory PR). After the split,
sync.pymust run in a tree with no stacks, and its code must stay the same file in upstream and the fork.SPEC_CHAIN_EXAMPLESnames stacks, so it moves totools/fork_examples.py, whichsync.pytakes in when the file exists. Without the file, SPEC.md'sspec-chain-examplesblock is not rendered.sync.pyrenders it only when README carries thereadme-model-limitsmarker. Where the marker is present, finding no stack to measure is still the refusal it was, so the guard against a resolver that loses stacks holds wherever the table exists.README.mdtargets become a named dict,readme_blocks, likespec_blocks.The missing
INTERVIEW.mdwas already skipped (SKIP INTERVIEW.md (not found)).Simulated split (scratch worktree: the moving files and fork modules deleted, manifest pruned, both markers removed):
sync.pywrites SPEC and README, then--checkandresolve.py --checkare clean.Local (Git Bash): smoke 35/35, conformance 24 / 0 failed, fork sync 3/3,
sync.py --checkclean with no diff to generated content on this tree.No CHANGELOG entry: this changes this repository's tooling only.
🤖 Generated with Claude Code