Skip to content

fix(store): gate the nested-Timelines guidance on detected app version - #71

Merged
renezander030 merged 1 commit into
masterfrom
fix/68-version-gate-nested-warning
Aug 9, 2026
Merged

renezander030 merged 1 commit into
masterfrom
fix/68-version-gate-nested-warning

Conversation

@renezander030

Copy link
Copy Markdown
Owner

Closes #68. Split out of #60 (finding 1), reported by @scornik.

The nested-layout warning fired on store.layout alone while its text is explicitly about CapCut 7.x (#50). On 8.5.0 the reporter measured the opposite — after an open/close round trip the nested document and the root file were byte-identical, so the app regenerates the mirror from the tool's content.

Scope note

The 7.x caution is not softened. The reporter states plainly they did not test 7.x, which is what #50 actually covers, and an unknown version keeps the cautious wording. The defect was the missing version gate, not the 7.x text.

Three call sites, not one

Worth flagging for review: saveDraft was only one of them. The version command's support notes and sync-timelines — which rewrites mirrors outside saveDraft — each had their own copy. A test that asserted on the write-time stderr is what surfaced the other two.

Four new tests covering 8.5.0, 7.x, unknown version, and the write-time path.

The nested-layout warning and the diagnose next_action fired on
store.layout alone, but their text is explicitly about CapCut 7.x and
cites #50. On 8.5.0 the reported behaviour is the opposite: after a
CLI-written draft was opened and closed, the nested document and the
project-root file were byte-identical, so the app regenerated the mirror
FROM the tool's content.

The 7.x caution is deliberately not softened — the 8.5.0 reporter did not
test 7.x, which is what #50 covers — and an unknown version keeps the
cautious wording. What changes is that 8.5.0+ no longer sees a claim its
own evidence contradicts.

Three call sites needed this, not one: saveDraft's write guard, the
version command's support notes, and sync-timelines, which rewrites
mirrors outside saveDraft and had its own copy of the warning.

Closes #68
@renezander030
renezander030 merged commit 8beb299 into master Aug 9, 2026
8 checks passed
@renezander030
renezander030 deleted the fix/68-version-gate-nested-warning branch August 9, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

timelines-nested write warning is gated on layout, not app version — shows 7.x text to 8.5.0 users

1 participant