Repository navigation
fix(init): warn when the template predates the target store's CapCut - #70
Merged
Merged
Conversation
The bundled template declares app_version 6.5.0 and carries none of the schema markers a modern draft has. Dropped into a materially newer store, CapCut lists the draft at 00:00 and then refuses to open it, reporting "Current project is from an unusual path and cannot be used currently" — which is wrong about the cause and sends people hunting the path. init now reads the newest platform.app_version across the projects already in the drafts folder (before copying the template, so the new draft is not one of its own inputs) and warns when the store is a major version ahead, naming the real cause and pointing at --template. Warn, never refuse: the evidence is a single 8.5.0 report with no committed fixture, and --template is a working escape hatch. Closes #67
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.
Closes #67. Split out of #60 (finding 2), reported by @scornik.
The bundled template declares
app_version 6.5.0and carries none of the schema markers a modern draft has. Dropped into a materially newer store, CapCut lists the draft at 00:00 and then refuses to open it with "Current project is from an unusual path" — which is wrong about the cause and sends people hunting the path.initnow reads the newestplatform.app_versionacross the projects already in the drafts folder and warns when the store is a major version ahead, naming the real cause and pointing at--template.Two details worth noting:
Warn, never refuse — matching the house rule for report-only evidence.
--templateis a working escape hatch.Four new tests: skew warns, same-major stays quiet, empty store stays quiet, corrupt sibling is ignored.