You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
timelines-nested write warning is gated on layout, not app version — shows 7.x text to 8.5.0 users #68
Split out of #60 (finding 1), reported by @scornik.
NESTED_TIMELINES_WRITE_WARNING and NESTED_TIMELINES_ACTION (src/store.ts) fire on store.layout === "timelines-nested" alone, but their text is explicitly about CapCut 7.x and cites #50.
On 8.5.0 the reported behaviour is different. A CLI-created draft with 14 video segments was opened and closed in CapCut; afterwards all 14 segments were present and in order, and the nested Timelines/<draft_id>/draft_info.json was byte-identical (SHA compared) to the project-root file. CapCut regenerated the mirror from the tool's content rather than overwriting it.
So an 8.5.0 user with a nested layout is shown a 7.x-labelled warning that this evidence contradicts.
Note on scope: the 7.x caution itself should not be softened — the reporter states plainly they did not test 7.x, which is what #50 actually reports. The defect is the missing version gate, not the 7.x wording.
Planned fix: gate both strings on detected app version. Keep the current text for 7.x and unknown; emit a milder "the mirror is regenerated from the root file" note for 8.5.0+.
8.5.0 bundle ready — built with fixture from v0.18.0, so it carries the #59 redactions.
Source draft: CLI-written (init --template from an empty 8.5.0 project, then add-video / add-text / keyframe), 20 segments across video, text and effect tracks, opened and closed once in CapCut 8.5.0 on macOS 26.5.1. That open is what produced the nested layout, so the bundle contains Timelines/project.json and Timelines/<guid>/draft_info.json alongside the root files — the artifact this issue is blocked on.
What it shows for the 8.5.0 branch: after the open/close, the root draft_info.json, template-2.tmp and the nested Timelines/<guid>/draft_info.json are byte-identical, and every segment survives. Same result as the report, now with the files attached rather than described.
I'll attach the folder here. Two notes on it:
capcut fixture from v0.18.0 blanks device_id, hard_disk_id and mac_address and rewrites source_dir to /Users/USER/.... I verified independently — grepped every emitted file for the three identifier values taken from the original draft, plus the account name and email. Zero hits in the timeline documents.
One residue, and it is narrow: out_dir in SANITIZE_REPORT.json is written raw. It is fine when the output path is a normal home path, because the /Users/<name>/ form gets redacted. My first run wrote to a directory whose name embedded the account name in a non-home position, and it came through verbatim while source_dir beside it was correctly redacted. Regenerating to a plain path produced a clean bundle, so it does not affect what is attached here — but it is the same shape as the original fixture: bundles are not safe to share — device_id / mac_address are never redacted #59 finding (the report putting back what the timeline files just had scrubbed), so worth a look. Happy to file it separately if you'd rather track it on its own.
Also confirms the frame quantisation from #69 from the other direction: this draft was written with boundaries pre-quantised to the frame grid, and CapCut moved timings by at most 1µs on open, against the ~667µs drift seen when the writer leaves them off-grid.
Activity
fix(store): gate the nested-Timelines guidance on detected app version (
release: v0.18.0 (#74)
scornik commentedon Aug 10, 2026
8.5.0 bundle ready — built with
fixturefrom v0.18.0, so it carries the #59 redactions.Source draft: CLI-written (
init --templatefrom an empty 8.5.0 project, thenadd-video/add-text/keyframe), 20 segments across video, text and effect tracks, opened and closed once in CapCut 8.5.0 on macOS 26.5.1. That open is what produced the nested layout, so the bundle containsTimelines/project.jsonandTimelines/<guid>/draft_info.jsonalongside the root files — the artifact this issue is blocked on.What it shows for the 8.5.0 branch: after the open/close, the root
draft_info.json,template-2.tmpand the nestedTimelines/<guid>/draft_info.jsonare byte-identical, and every segment survives. Same result as the report, now with the files attached rather than described.I'll attach the folder here. Two notes on it:
capcut fixturefrom v0.18.0 blanksdevice_id,hard_disk_idandmac_addressand rewritessource_dirto/Users/USER/.... I verified independently — grepped every emitted file for the three identifier values taken from the original draft, plus the account name and email. Zero hits in the timeline documents.One residue, and it is narrow:
out_dirinSANITIZE_REPORT.jsonis written raw. It is fine when the output path is a normal home path, because the/Users/<name>/form gets redacted. My first run wrote to a directory whose name embedded the account name in a non-home position, and it came through verbatim whilesource_dirbeside it was correctly redacted. Regenerating to a plain path produced a clean bundle, so it does not affect what is attached here — but it is the same shape as the original fixture: bundles are not safe to share — device_id / mac_address are never redacted #59 finding (the report putting back what the timeline files just had scrubbed), so worth a look. Happy to file it separately if you'd rather track it on its own.Also confirms the frame quantisation from #69 from the other direction: this draft was written with boundaries pre-quantised to the frame grid, and CapCut moved timings by at most 1µs on open, against the ~667µs drift seen when the writer leaves them off-grid.
fix(store): name the nested Timelines/ layout on >= 8.7 storage (#95) (…
fix(version): withhold release-build guidance from pre-release builds (…