"version": 2,
"timestamp": "2026-04-08T14:46:53Z",
"hash": "sha256:7a51eb7c2569306c873a90b7b92af7df6947004817d13fdea69e4a8b4dd5cc3f",
"changes_summary": "Addressed both significant flags. FLAG-001: added a new Step 2 that wires onLostPointerCapture on TimelineCanvas resize handles, routes through endResize() + notifyInteractionEndIfIdle(), and adds a regression test \u2014 directly tied to the "doesn't release frames after release" user symptom. FLAG-002: resolved the acceptance-command ambiguity by specifying exact gate commands in the Overview (filtered tsc -p tsconfig.app.json --noEmit over src/tools/video-editor/ lines, plus vitest run src/tools/video-editor) and reused them in Step 9. Renumbered downstream steps. Tightened imageClipSnapshot to store absolute bounds (resolves an open metadata question). No scope creep \u2014 all changes stay inside src/tools/video-editor.",
"flags_addressed": [
"FLAG-001",
"FLAG-002"
],
"questions": [
"If the onLostPointerCapture fallback fires while a grouped commit is mid-flight (e.g., applyEdit already queued), should it be a no-op, or should it still flush autosave once the in-flight commit settles?"
],
"success_criteria": [
{
"criterion": "rowsToConfig() commits preserve grouped clip adjacency across repeated interior-boundary resizes, with regression coverage proving no gap/overlap drift and no boundary jump into the neighboring clip.",
"priority": "must"
},
{
"criterion": "Resize handles in TimelineCanvas recover from lost pointer capture: an onLostPointerCapture path tears down the resize session, clears resizeOverrides, and notifies interaction-end so autosave/poll-sync flush. Regression test fires lostpointercapture mid-resize and asserts cleanup.",
"priority": "must"
},
{
"criterion": "repairConfig() converts legacy projection-shaped pinnedShotGroups into soft-tag groups with clipIds only, and migration coverage passes.",
"priority": "must"
},
{
"criterion": "Grouped cross-track moves, final-video switching, image restore, and shot drops commit through soft-tag row/meta/clip-order/group overrides rather than legacy shim-only updates, and the affected hook tests pass.",
"priority": "must"
},
{
"criterion": "Scoped TypeScript gate produces zero lines starting with src/tools/video-editor/ when running npx tsc -p tsconfig.app.json --noEmit and filtering output.",
"priority": "must"
},
{
"criterion": "npx vitest run src/tools/video-editor exits 0.",
"priority": "must"
},
{
"criterion": "PinnedShotGroup.start, PinnedShotGroup.children, and the five deprecated shim exports (buildGroupFromChildren, buildGroupFromConfigClips, replaceGroupChildren, moveGroup, projectPinnedShotGroups) are physically deleted with no remaining imports/usages in src/tools/video-editor.",
"priority": "must"
},
{
"criterion": "No diagnostic console.log calls remain for [handleResizePointerDown], [outer-edge lookup], [GroupEdgeResize], [startGroupEdgeResize], [useClipDrag], or [Marquee].",
"priority": "must"
},
{
"criterion": "Shot-group-related files end with a net lower line count after compatibility code is removed.",
"priority": "should"
},
{
"criterion": "Manual smoke of the reported symptoms and the listed end-to-end flows confirms boundary releases are stable and preview frames clear correctly after release (including lost-capture cases).",
"priority": "info"
}
],
"assumptions": [
"The existing translateGroupMembers() helper in useTimelineTrackManagement.ts is the intended replacement for the three moveGroup() callsites, and extending it is preferable to adding new state flow.",
"A shared 4-decimal canonical rounding policy is acceptable for video-editor commits and is sufficient to stop interior-boundary drift without reworking applyEdit() or materializeData().",
"PinnedShotImageClipSnapshot may gain explicit absolute-bounds timing data (at/end/from/to/trackId/rowIndex) because it is editor-owned pinned-group metadata, not an external public contract.",
"Filtering full-project tsc -p tsconfig.app.json --noEmit output to lines under src/tools/video-editor/ is an acceptable substitute for a video-editor-only tsconfig, which the repo does not have and is out of scope to add.",
"Unrelated repo-wide TypeScript or test failures remain out of scope; acceptance is limited to regressions introduced in src/tools/video-editor.",
"No production code outside src/tools/video-editor depends on the five deprecated shim exports or on PinnedShotGroup.start / PinnedShotGroup.children.",
"Routing the lost-pointer-capture handler through the existing endResize() path is sufficient \u2014 no separate state machine is needed because the unified resize session already handles all three resize variants."
],
"delta_from_previous_percent": 82.73,
"structure_warnings": []
}
"[DEBT] agent-chat-rendering: removing the duplicate assistant turn may hide message_user text if the frontend only renders assistant-role turns as chat bubbles. (flagged 1 times across 1 plans)",
"[DEBT] agent-chat-undo-integration: agent chat edits arrive via query invalidation/realtime polling and will bypass the undo stack because those paths are marked skiphistory. (flagged 1 times across 1 plans)",
"[DEBT] agent-tool-utils: agent-tool-utils: step 6 moves isrecord out of llm/messages.ts without preserving that module's current export surface for index.ts, db.ts, tool-calls.ts, and selectedclips.ts, so the refactor plan can break four existing imports unless it adds a re-export or rewires those callers. (flagged 2 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the actual export surface in supabase/functions/ai-timeline-agent/llm/messages.ts and its consumers. step 6 says to 'remove local isrecord' from messages.ts and import it from utils.ts, but without also preserving messages.ts as an exporter or rewiring index.ts, db.ts, tool-calls.ts, and selectedclips.ts, that change would break the module graph immediately. (flagged 2 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the render-gating cleanup plan against remotion's runtime exports in node_modules/remotion/dist/cjs/cancel-render.js:46-70. cancelrender() stores an error and throws to abort the render; it is not a benign cleanup for an abandoned delayrender handle, so step 2's instruction to call cancelrender(handle) on unmount is technically wrong and would abort preview or export with an error. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked how remotion itself acquires delay handles in node_modules/remotion/dist/cjs/iframe.js:8-18. remotion's own components create the handle synchronously with usestate(() => delayrender(...)); the plan says 'calls delayrender() on mount', which reads like an effect-time action and leaves the initial-frame blocking behavior underspecified compared with the actual library pattern. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the new useaudioparam() sketch against src/tools/video-editor/effects/compileeffect.tsx:1-2. the plan defines it in terms of interpolate(audio[binding.source], ...) but does not explicitly import interpolate into the new hook file or simplify it to straight arithmetic, so the helper's implementation contract is still looser than it needs to be. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked revised step 2.4 against src/tools/video-editor/hooks/useclipresize.ts:76-100. the plan still says to clamp audio by writing back to action.end, but the current hook treats the callback action as input data and then creates fresh row actions from it. mutating that caller-owned object is unnecessary and risks coupling the resize hook to outside references instead of using a local clampedend variable. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the no-duration-fetch decision against src/tools/travel-between-images/hooks/video/useshotfinalvideos.ts:19-37, src/tools/video-editor/lib/config-utils.ts:17-35, and src/tools/video-editor/compositions/visualclip.tsx:114-123. the repository still derives clip length from to - from, and the final-video query still provides no duration metadata, so the revised plan still cannot prove that to: endtime - starttime is safe for shorter source media; a short final video can still be asked to play longer than its actual content. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the hand-built replacement clip against the existing insert path in src/tools/video-editor/hooks/useassetmanagement.ts:201-252,262-271 and serialization in src/tools/video-editor/hooks/usetimelinecommit.ts:210-216. the revised timelineeditor sketch still bypasses current insertion invariants such as manual-track geometry defaults and explicit cliporder updates, so replacement clips on manual visual tracks will not be initialized the same way as other inserted video clips and may serialize in a different per-track order. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the new pinnedshotgroupsoverride design is still underspecified against materializedata(). assembletimelinedata() computes stablesignature from the config it receives, so if the executor literally follows step 2.4 and overwrites pinnedshotgroups on an already-materialized timelinedata before commitdata(), the saved config and the cached stablesignature will diverge unless the data is rebuilt from the updated config. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the revised grouped-drag plan fixes the pointer-down selection regression, but it still leaves pinnedshotgroup.trackid stale on cross-track moves. the data model stores trackid, and current drag/move helpers only update rows/meta/clip order, so a pinned group dragged to another track would keep pointing at the old track unless the drag commit also patches group metadata. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked step 2.4 against materializedata() in usetimelinecommit and assembletimelinedata() in timeline-data.ts. the plan still says to overwrite pinnedshotgroups after materializedata() returns, but assembletimelinedata() computes stablesignature from the config it receives, so mutating the config afterward would leave signature-derived state stale unless the data is rebuilt from the updated config. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the grouped-drag plan against useclipdrag and usetimelinetrackmanagement.movecliptorow(). the plan fixes the pointer-down selection regression, but it still does not say how pinnedshotgroup.trackid is updated when a grouped drag or move lands on a different row, so the overlay and menu state can still point at the old track after a successful cross-track move. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the cross-track multi-drag new-track branch in useclipdrag. that path still commits through applyedit({ type: 'config', resolvedconfig }) using buildconfigfromdragresult(), and the revised plan does not explain how pinned-group metadata is updated atomically on that path, so grouped drags that create a new track are still under-specified even beyond the stale-trackid problem. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked the proposed shared interaction-state location against the actual hook graph in src/tools/video-editor/components/timelineeditor/timelineeditor.tsx:194, src/tools/video-editor/components/timelineeditor/timelineeditor.tsx:479, src/tools/video-editor/hooks/usetimelinestate.ts:172-204, and src/tools/video-editor/hooks/usetimelinestate.contexts.ts:72-166. rev 3 says the ref should live in usetimelinestate.contexts.ts, but that file only memoizes context values while useclipdrag, timelinecanvas, and usepinnedgroupsync are all coordinated from timelineeditor, so the stated location and rationale are still technically off. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: step 5.1 claims updatepinnedgroupwithchildren is 'currently imported by useswitchtofinalvideo.ts:357'. verified at useswitchtofinalvideo.ts:71-130 that this function is actually defined locally in useswitchtofinalvideo.ts, not imported from pinned-group-projection.ts. the real imports from pinned-group-projection at :5-8 are buildgroupfromchildren and replacegroupchildren, both of which are already in step 5's delete list. the plan's characterization is factually wrong (delete list shouldn't include updatepinnedgroupwithchildren as a pinned-group-projection export), but the substantive intent still works: once buildgroupfromchildren/replacegroupchildren are deleted, the local helper won't compile and step 11.2's 'inline soft-tag construction' rewrite removes it. minor wording error, not a blocking issue. (flagged 1 times across 1 plans)",
"[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: step 11.2 specifies the reverse switch is 'single commit, no start/children/offset reads anywhere' but doesn't state the mutation type explicitly. since the step describes metadeletes + cliporderoverride + pinnedshotgroupsoverride in a single commit, the mutation must be type: 'rows' (the only variant carrying all three). self-consistent with step 11.1's restriction on type: 'pinnedshotgroups', but making the mutation type explicit would reduce executor ambiguity. (flagged 1 times across 1 plans)",
"[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: checked the two user-visible must goals for the selection ring and locked-pane chat. they describe the right product outcomes, but they are mostly manual ui behaviors rather than code-review-verifiable gates, so they are not fully testable from the listed automated checks alone. (flagged 2 times across 1 plans)",
"[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: checked the revised must criterion about eliminating duplicated server-side helpers. as written, the plan could satisfy 'all import from utils.ts' for generation.ts, create-task.ts, and messages.ts and still break four existing messages.ts consumers, so the criterion is incomplete unless it also requires preserving or updating the messages.ts export surface. (flagged 2 times across 1 plans)",
"[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: checked the must criterion 'edge function tests (ai-generate-effect/index.test.ts) pass with updated templates' against the actual test file. since supabase/functions/ai-generate-effect/index.test.ts mocks buildgenerateeffectmessages(), this criterion can pass without validating the template edits themselves, so it is still a weak must gate as written. (flagged 1 times across 1 plans)",
"[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: checked the remaining must criteria against the revised verification plan. criteria like 'existing timelinecanvas.test.tsx tests pass' and 'rowstoconfig serialization ... verified by read-only inspection' are reviewable, but they are still proxy gates rather than direct evidence that resize speed math and live audio clamping behave correctly, so the criteria are improved but not fully outcome-oriented yet. (flagged 1 times across 1 plans)",
"[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: one must criterion is still an implementation-detail proxy rather than an outcome: "new timelineeditmutation variant { type: 'pinnedshotgroups' } compiles and routes correctly in applyedit." it is verifiable, but it measures an internal mechanism rather than the user-facing persistence/undo behavior the feature actually needs. (flagged 2 times across 1 plans)",
"[DEBT] asset-panel-upload-routing: asset-panel-upload-routing: step 3 names assetpanel.tsx, but the actual file-upload behavior is behind the onuploadfiles callback and useassetoperations.uploadfiles(), which currently sends every file straight through uploadasset(). updating assetpanel alone will not create generation-backed registry entries for uploaded videos or attach generationid; the plan needs to touch the callback plumbing that sits behind the panel upload button. (flagged 1 times across 1 plans)",
"[DEBT] audio-clamp-math: audio clamp math: revised step 4.2 still gives conflicting formulas for left-edge minstart, and one of them depends on clipmeta.to, so the live audio clamp is not fully specified. (flagged 1 times across 1 plans)",
"[DEBT] bulk-panel-tabs: text clip multi-selections would miss the position tab under the plan's stated rule. (flagged 1 times across 1 plans)",
"[DEBT] bulk-properties-panel: bulkclippanel still imports customeffecteditor; removing it without updating bulk mode would break the build. (flagged 1 times across 1 plans)",
"[DEBT] clip-drag-scroll-sync: the plan's step 3 ontick callback only shows coordinator.update() but the full clip-drag state path (snap, lateststart, ghost positions) also needs re-running during stationary-pointer scroll. (flagged 1 times across 1 plans)",
"[DEBT] clip-param-schema-evolution: clips with stale or partial params from a previous schema version will not be automatically normalized/backfilled when the effect schema changes. (flagged 1 times across 1 plans)",
"[DEBT] clip-resize-math: clip resize math: revised step 1 still leaves the source of origin.to under-specified, so the speed formula can be implemented against the wrong to value unless the plan explicitly says to use committed clip state or recompute it with getsourcetime(...). (flagged 1 times across 1 plans)",
"[DEBT] conflict-resolution: silently reloading agent-originated timeline updates would discard dirty local edits. (flagged 1 times across 1 plans)",
"[DEBT] conflict-resolution: if all 3 conflict retries fail, the fallback path risks discarding dirty local edits unless the executor wires it into the existing conflict dialog. (flagged 1 times across 1 plans)",
"[DEBT] context-menu-scope: multi-clip copy is not included despite being mentioned in the original idea. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised step 6 against supabase/functions/ai-timeline-agent/llm/messages.ts:12, supabase/functions/ai-timeline-agent/index.ts:6, supabase/functions/ai-timeline-agent/db.ts:2, supabase/functions/ai-timeline-agent/tool-calls.ts:1-4, and supabase/functions/ai-timeline-agent/selectedclips.ts:1. the plan still does not account for isrecord being part of messages.ts's exported api today, so the utility extraction is incomplete unless it either re-exports isrecord from messages.ts or updates all four downstream imports. (flagged 2 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised audio-binding ui step against the research note and src/shared/components/ui/slider.tsx:5-17,31-52. the plan still says 'a dual-value slider or two number inputs' instead of committing to the supported path, even though the shared slider wrapper is scalar-only, so that important review note is only partially addressed. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked src/tools/video-editor/hooks/useclipresize.ts:54-73 against revised step 1. the plan now says to cache to in resizestartref, but it still never states whether that value must come from committed clip state or from a fresh getsourcetime(...) calculation. because the current resize handler computes a transient wrong to during left-edge trims before commit-time rematerialization repairs it, leaving origin.to implicit is still a correctness-sensitive ambiguity. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked revised step 4.2 against src/tools/video-editor/components/timelineeditor/timelinecanvas.tsx:483-490 and src/tools/video-editor/hooks/useclipresize.ts:56-60. the plan still gives two different formulas for audio minstart, and one of them depends on clipmeta.to, so the left-edge live-clamp requirement is not fully settled yet. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked src/tools/video-editor/hooks/usestalevariants.ts against the proposed usefinalvideoavailable state model: stale reminders are dismissed per assetkey and can clear when the asset changes, but the plan dismisses by shotid, which would hide any newer final video for the same shot for the rest of the session even though useshotfinalvideos() exposes a changing final-video id. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised dismissal model against src/tools/video-editor/hooks/usestalevariants.ts:160-166 and src/tools/travel-between-images/hooks/video/useshotfinalvideos.ts:39-60. the plan still dismisses by shotid, not by final-video generation id, so if a shot gets a newer final output later in the same session the badge would remain suppressed even though useshotfinalvideos() would surface a different id; that earlier concern is still open. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the new plan makes phase 6 (shot drop) and phase 7 (auto-sync) explicitly deferrable follow-ups, but those behaviors were part of the original task summary and idea document as first-class functionality. that is a real scope reduction unless the user explicitly approves shipping the two-tier system without those creation/sync paths in the first pass. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: step 16 resolves the previously-open deletion behavior, but its stated implementation is a post-commit follow-up applyedit. in this repository commitdata() immediately emits beforecommit and schedules a save for each edit, so handling a single delete via a second cleanup edit would create extra history/save churn unless the plan also specifies how that reconcile pass is coalesced or skipped. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised execution order and assumptions against the approved brief and idea doc. the plan still says phase 6 shot drop and phase 7 auto-sync can be deferred, but those behaviors are part of the requested feature rather than optional polish, so this is still a real scope reduction unless the split is explicitly approved. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked step 18 against the actual commit pipeline in usetimelinecommit and usetimelinehistory. the plan still handles deleted pinned-group clips with a post-commit follow-up applyedit, which would create a second commit, second save scheduling pass, and likely a second undo boundary for one user action unless it also specifies coalescing or skiphistory behavior. (flagged 1 times across 1 plans)",
"[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the revised plan introduced new todo placeholders for step 13 shot drop and step 14 auto-sync while also keeping later concrete shot-drop and auto-sync phases. that means two first-class behaviors from the brief are still not fully planned in an execution-ready way, even before considering whether they are deferred. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: searched all isrecord imports from ./llm/messages.ts under supabase/functions/ai-timeline-agent/ and found four dependent files: index.ts, db.ts, tool-calls.ts, and selectedclips.ts. step 6 still lists only generation.ts, create-task.ts, and messages.ts as update targets, so it does not currently touch all locations that depend on the symbol being moved. (flagged 2 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked supabase/functions/ai-timeline-agent/selectedclips.test.ts:1 through supabase/functions/ai-timeline-agent/selectedclips.ts:1. the supporting test infrastructure exists and would catch one of these export-chain breaks, but only after later refactors because the plan schedules the edge vitest run in step 9 rather than immediately after the step 6 export move. (flagged 2 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked the supporting ui infrastructure for audio-binding controls. because src/shared/components/ui/slider.tsx:5-17,31-52 only supports one thumb and src/shared/components/ui/number-input.tsx:6-33 already exists as the established numeric input control, the plan should call out either numberinput usage or a new range-slider component explicitly; right now the supporting ui work is still incomplete in the plan. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked the planned test location for prompt-template changes against supabase/functions/ai-generate-effect/index.test.ts. since that suite mocks buildgenerateeffectmessages(), touching only index.test.ts still misses the supporting test infrastructure needed to validate templates.ts itself. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the move infrastructure is still not fully enumerated for the new trackid field on pinnedshotgroup. useclipdrag can perform cross-track multi-drag and usetimelinetrackmanagement.movecliptorow() performs cross-track single-clip moves via rows/meta patches, but the revised plan does not call out updating pinned-group metadata in those move commits. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting test infrastructure remains under-specified for the new mutation branch. usetimelinecommit, timeline-save-utils.test.ts, and usetimelinehistory all exercise config rebuild behavior today, but the validation section still does not add focused tests for the new type: 'pinnedshotgroups' path or for pinnedshotgroupsoverride on rows edits. (flagged 2 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked the move infrastructure that exists today. useclipdrag handles grouped moves, usetimelinetrackmanagement.movecliptorow() handles single-clip cross-track moves, and the plan still does not call out patching pinnedshotgroup.trackid in either commit path, so the new data model is not wired through every location that can change clip rows. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the revised plan now has duplicate shot-drop and auto-sync sections: steps 13-14 contain todo placeholders, while steps 21-24 contain the concrete later-phase versions. that duplication is not just cosmetic; it leaves the supporting infrastructure and file ownership for those phases ambiguous enough that the plan is still not fully actionable. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked the actual ownership of interaction state across the repo. resize liveness currently lives in timelinecanvas (resizesessionref, pendingopsref, resizeoverrides) rather than in usedragcoordinator, so rev 2 still does not touch all supporting infrastructure needed for a reliable sync-deferral guard. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked src/tools/video-editor/hooks/usetimelinestate.contexts.ts:98-161 and confirmed the editor context exports clip-level delete/split/move handlers throughout the tool. if the plan changes selection semantics or reroutes mutations through group-level primitives, this context wiring is part of the supporting infrastructure that also needs updating. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked the supporting infrastructure needed if rev 3 really exposes interactionstateref and isinteractionactive() through the existing split editor contexts. that change would also require updates in src/tools/video-editor/hooks/usetimelinestate.types.ts, src/tools/video-editor/contexts/timelineeditorcontext.tsx, src/tools/video-editor/contexts/videoeditorprovider.tsx, and likely src/tools/video-editor/contexts/videoeditorprovider.test.tsx, but step 7 only names usetimelinestate.contexts.ts, useclipdrag.ts, and timelinecanvas.tsx, so the named wiring is still incomplete. (flagged 1 times across 1 plans)",
"[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: step 5.1 mentions updatepinnedgroupwithchildren in the delete list referencing pinned-group-projection.ts, but that function is a local helper in useswitchtofinalvideo.ts, not a pinned-group-projection export. the real pinned-group-projection exports consumed by useswitchtofinalvideo are buildgroupfromchildren and replacegroupchildren at imports :5-8, both of which are already in step 5's delete list. the plan's list item is misattributed but the file-level coverage is complete. (flagged 1 times across 1 plans)",
"[DEBT] drop-indicator-plumbing: dropindicator reads position.trackid without it being declared on the dropindicatorposition interface or forwarded by toindicatorposition(). (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-persistence: legacy persisted 'enhance' values might exist in storage (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-persistence: no-migration assumption for enhance\u2192upscale is under-supported (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-persistence: enhance/upscale only partially resolved \u2014 persisted values not validated (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-persistence: no read-side normalization test for legacy 'enhance' values (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-validation: validation grep for 'enhance' will false-fail due to video code (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-validation: grep scope too broad \u2014 hits video submode code (flagged 1 times across 1 plans)",
"[DEBT] edit-mode-validation: validation scope reaches unrelated video code (flagged 1 times across 1 plans)",
"[DEBT] effect-layer-overlap-enforcement: the plan relies on same-track overlap being forbidden but does not explicitly specify the enforcement call (resolveoverlaps or range rejection) in the drop/create path. (flagged 1 times across 1 plans)",
"[DEBT] final-video-availability: plan specifies wrong data source (usevideooutputs/shot_generations) for final video availability check (flagged 1 times across 1 plans)",
"[DEBT] final-video-badge-suppression: final-video badge suppression: step 3's proposed timelinegenerationids scan over data.registry.assets would treat any previously registered final-video asset as 'already on the timeline', even if no current clip is using it. (flagged 1 times across 1 plans)",
"[DEBT] final-video-deletion: plan specifies wrong mutation (useremoveimagefromshot) for final video deletion (flagged 1 times across 1 plans)",
"[DEBT] final-video-duration-handling: final-video duration handling: useshotfinalvideos() does not provide duration and the timeline uses clip.to - clip.from as truth, so the proposed in-place trim can overrun shorter source media. (flagged 1 times across 1 plans)",
"[DEBT] final-video-duration-handling: final-video duration handling: recurring debt: step 4 still swaps in a new final-video asset without any duration source, so a shorter regenerated final video can be asked to play for the old group span and overrun the real media length. (flagged 1 times across 1 plans)",
"[DEBT] final-video-refresh-path: final-video refresh path: the plan assumes useshotfinalvideos() refreshes every 30s, but in this repo it does not poll; stale detection only refreshes when some other invalidation fires. the badge/update flow is under-specified unless the implementation explicitly relies on the existing invalidation path or adds refetching. (flagged 1 times across 1 plans)",
"[DEBT] final-video-reminder-state: final-video reminder state: dismissing by shotid instead of final-video id still suppresses later final outputs for the same shot during the same session. (flagged 1 times across 1 plans)",
"[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked the current callers of isrecord from llm/messages.ts. index.ts uses it to validate rawsession, db.ts uses it on db rows, tool-calls.ts uses it on parsed tool-call payloads and nested function objects, and selectedclips.ts uses it while normalizing attachments, so preserving that import contract matters to four different call paths. (flagged 2 times across 1 plans)",
"[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: the current commitdata() and history pipeline treat each applyedit() as its own commit boundary. because step 16 proposes a post-commit reconcile edit after deletions, the actual callers here matter: without skiphistory or transaction coalescing, one user action will produce two history events and likely two saves. (flagged 1 times across 1 plans)",
"[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: handleassetdrop() and the external-drop wrapper are not pure builders; they immediately mutate editor state and call applyedit() per asset. that means the plan cannot literally reuse those callers for atomic shot-drop creation without first extracting a lower-level helper, or it will violate its own "single applyedit" requirement. (flagged 2 times across 1 plans)",
"[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked the actual commit/history callers around step 18. commitdata() emits beforecommit and schedules save on every edit, and usetimelinehistory.onbeforecommit() pushes undo entries per commit boundary, so a reconcile-after-delete applyedit still fragments one user action into multiple history/save operations unless the plan also changes those caller contracts. (flagged 1 times across 1 plans)",
"[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked the multi-drag callers in useclipdrag. the 'new track' grouped-drag branch still routes through buildconfigfromdragresult() and applyedit({ type: 'config' }), so the revised plan still does not fully handle every caller shape for grouped moves once pinned-group metadata becomes part of the timeline state. (flagged 1 times across 1 plans)",
"[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked the usepinnedgroupsync() call site in src/tools/video-editor/components/timelineeditor/timelineeditor.tsx:479 against the proposed context-based interaction guard. because sync is called directly from timelineeditor, routing its guard through new editor-context plumbing is not the most direct fit for the actual caller and depends on extra provider/type changes that the step does not enumerate. (flagged 1 times across 1 plans)",
"[DEBT] grouped-drag-new-track-path: grouped drag new-track path: cross-track grouped drags that create a new track still commit through the resolved-config path, and the revised plan does not explain how pinned-group metadata is updated atomically on that branch. (flagged 1 times across 1 plans)",
"[DEBT] immediate-task-feedback: immediate task feedback: the plan does not cover the repo's existing optimistic-pending pattern, so it does not reliably meet the stated 'appear immediately when a task is created' behavior. with only realtime plus 5s polling, spinner appearance still depends on network/realtime latency. (flagged 1 times across 1 plans)",
"[DEBT] interaction-state-ownership: interaction-state ownership: rev 3 moves the shared drag/resize interaction ref into usetimelinestate.contexts.ts and describes that as the only place both paths can write to, but in this repo useclipdrag, timelinecanvas, and usepinnedgroupsync already meet in timelineeditor, so the proposed location is broader than necessary and the named file list omits the provider/type plumbing needed to expose it through context cleanly. (flagged 1 times across 1 plans)",
"[DEBT] issue-detection: mid-sentence-cut detection is not implementable without transcript/profile data that the current provider doesn't expose. (flagged 1 times across 1 plans)",
"[DEBT] legacy-effect-lifecycle: removing customeffecteditor makes effects-table entries read-only \u2014 users can no longer edit legacy custom effects. (flagged 1 times across 1 plans)",
"[DEBT] media-insertion-conventions: media insertion conventions: the plan still says to reuse asset-management helpers for shot drop, but the current helpers are side-effectful and commit immediately, so atomic shot-drop creation still needs a lower-level extracted helper rather than direct reuse. (flagged 2 times across 1 plans)",
"[DEBT] multi-drag-utils: duplicate of correctness-2 \u2014 multi-drag meta patch accumulation not spelled out (flagged 1 times across 1 plans)",
"[DEBT] multi-drag-utils: same merge strategy concern as correctness-2/5 from the caller perspective (flagged 1 times across 1 plans)",
"[DEBT] optimistic-locking: plan only specifies version checking at the db write layer; the ui load/state/save path doesn't carry config_version yet. (flagged 1 times across 1 plans)",
"[DEBT] pinned-group-track-sync: pinned-group track sync: cross-track drag/move paths must also update pinnedshotgroup.trackid, but the revised plan only discusses expanding draggedclipids and does not call out metadata updates for the move commits. (flagged 2 times across 1 plans)",
"[DEBT] plan-execution: plan execution: the revised plan now contains duplicate shot-drop and auto-sync phases, and the earlier copies still contain todo placeholders, so those parts of the plan are not fully actionable yet. (flagged 1 times across 1 plans)",
"[DEBT] properties-panel-scope: crop and transition controls are not included in the bulk panel, narrowing the original idea's scope. (flagged 1 times across 1 plans)",
"[DEBT] realtime-subscriptions: the shared realtime system doesn't know about timeline_agent_sessions; step 7 hooks need their own channel subscription. (flagged 1 times across 1 plans)",
"[DEBT] registry-patch-testing: patchregistry() lacks automated regression tests \u2014 the duplicate-id bug's most likely reproduction path is covered only by pure-function tests on the assembler it delegates to, plus manual smoke testing. (flagged 1 times across 1 plans)",
"[DEBT] resize-hook-mutation: resize hook mutation: revised step 2.4 clamps audio by mutating action.end, even though the current resize hook builds new row objects immutably from the callback input. (flagged 1 times across 1 plans)",
"[DEBT] resolve-overlaps: resolve-overlaps.ts entirely lacks tests; plan only adds resolvegroupoverlaps tests (flagged 1 times across 1 plans)",
"[DEBT] resolve-overlaps: phase 4 blast radius covers both resolveoverlaps and resolvegroupoverlaps return shapes (flagged 1 times across 1 plans)",
"[DEBT] scope-management: scope management: marking shot drop and auto-sync as deferrable follow-ups narrows the deliverable below the original task brief unless the split is explicitly approved. (flagged 2 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the affected edge-agent surface around llm/messages.ts. the isrecord extraction is broader than the three files listed in step 6 because messages.ts is a shared utility module for index.ts, db.ts, tool-calls.ts, and selectedclips.ts; the plan still scopes the edit as if only the local definition sites matter. (flagged 2 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the verification scope around the edge function. supabase/functions/ai-generate-effect/index.test.ts:35-46 mocks buildgenerateeffectmessages(), so adding only more index.test.ts cases still will not exercise the real templates.ts prompt content; the revised plan improves scope on the implementation side, but its test scope is still narrower than the actual risk surface. (flagged 1 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked src/tools/video-editor/lib/resolve-overlaps.ts:139-195 at the useclipresize call site. this api only produces metapatches[clipid] for the moved clip, so revised step 3's generic 'for each clip id in overlappatches' loop is broader than the actual resize surface and adds complexity the fix does not currently need. (flagged 1 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the existing video-drop paths in src/tools/video-editor/lib/external-drop-utils.ts:46-55,386-412 and src/tools/video-editor/hooks/useassetmanagement.ts:198-252. the broader repository pattern for video assets is not just \u201cregister then insert\u201d; multi-generation video drops also patch registry.duration using getdroppedgenerationduration(), while useshotfinalvideos() in src/tools/travel-between-images/hooks/video/useshotfinalvideos.ts:19-37 currently fetches no duration metadata. that means final-video replacement is broader than badge wiring alone if the new clip is expected to behave like other video assets in timing ui and resize logic. (flagged 1 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked related asset-insertion code in src/tools/video-editor/hooks/useassetmanagement.ts:150-271 and src/tools/video-editor/lib/coordinate-utils.ts:24-33. the broader repository pattern for adding timeline media is centralized there, including track compatibility, manual-track defaults, selection updates, and cliporder maintenance, so the revised plan is still broader than a pure menu/ui change and needs either shared helper extraction or a more explicit statement that those invariants are being replicated on purpose. (flagged 1 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: cross-track group motion is broader than step 18 currently states. because the pinned-group model now includes trackid, every move path that can relocate a grouped clip set across rows has to update pinned-group metadata too; otherwise the overlay and menu logic will still reference the previous track even though the clip actions moved successfully. (flagged 1 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: if phases 6 and 7 are deferred, the shipped work becomes a narrower "pin existing inferred groups and toggle them" feature rather than the full brief, which also called out shot-drop creation and shot-image auto-sync. that broader scope tension is still present in the revised plan. (flagged 2 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the movement surface beyond useclipdrag. the broader problem is not just drag-threshold expansion; both grouped multi-drag and single-clip cross-track move helpers can relocate clips across rows, so every move path that changes a pinned group's row membership has to update pinned-group metadata too, and the revised plan still scopes that too narrowly. (flagged 1 times across 1 plans)",
"[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked where drag, resize, and sync already meet in the live component tree. because useclipdrag, timelinecanvas, and usepinnedgroupsync all already converge in timelineeditor, pushing the new interaction state up into shared editor context broadens the implementation surface beyond what this repository structure appears to require. (flagged 1 times across 1 plans)",
"[DEBT] selection-save-bridge: the plan specifies passing pruneselection into usetimelinesave but doesn't detail the hook-layer bridge needed because usetimelinesave is instantiated inside usetimelinedata before usetimelinestate runs. (flagged 1 times across 1 plans)",
"[DEBT] shot-group-badge-scope: shot-group badge scope: step 3 suppresses the reminder at shot level, but this repo can render multiple shot groups for the same shot, so switching one group to the final video would hide the badge on other groups of that shot too. (flagged 1 times across 1 plans)",
"[DEBT] task-deduplication: server-generated idempotency keys would break retry deduplication because retried requests get fresh keys. (flagged 1 times across 1 plans)",
"[DEBT] task-reference-matching: task reference matching: reusing taskreferencesgeneration as the only matcher will miss active video-generation tasks for source clips. the helper does not inspect input_image_generation_ids, start_image_generation_id, or end_image_generation_id, even though this repo stores and later reads those fields to identify which timeline generations a travel task is using. that means spinners would fail to appear for at least some travel/video tasks. (flagged 1 times across 1 plans)",
"[DEBT] task-system-integration: create_generation_task is underspecified against the actual task family system. (flagged 1 times across 1 plans)",
"[DEBT] timeline-media-duration: timeline media duration: the revised plan still sizes the final-video clip to the shot-group span without any duration source, so shorter final videos can still overrun their real media length. (flagged 1 times across 1 plans)",
"[DEBT] timeline-shot-group-cleanup: timeline shot-group cleanup: the plan only updates useshotgroups.test.ts, but the repository also has direct test coverage for the removed resolvefinalvideoshotids() helper and the timelinecanvas suggested-group/finalvideoshotids api. without explicitly updating timelineeditor.test.ts and timelinecanvas.test.tsx, the plan leaves the supporting test surface behind and the post-change suite will fail on deleted symbols and obsolete expectations. (flagged 1 times across 1 plans)",
"[DEBT] timeline-signatures: timeline signatures: applying pinnedshotgroupsoverride after materializedata() would leave stablesignature and other config-derived state stale unless the code rebuilds timelinedata from the updated config. (flagged 2 times across 1 plans)",
"[DEBT] timeline-video-duration: timeline-video-duration: the plan routes dropped videos through a new generation path but does not preserve duration metadata in the asset registry. in this repo, inserted video clips fall back to 5 seconds when registry.duration is missing, and the existing multi-generation video path explicitly patches duration from drag metadata before dropping. following the plan as written would still create generation-backed videos that are timed incorrectly on the timeline. (flagged 1 times across 1 plans)",
"[DEBT] tool-error-propagation: a blanket catch in executetool would silently downgrade db/persistence failures into ordinary tool results, changing the session error/http 500 behavior. (flagged 1 times across 1 plans)",
"[DEBT] track-reorder-accessibility: replacing arrow buttons with drag-only handle removes keyboard-accessible reorder; plan only specifies pointersensor. (flagged 1 times across 1 plans)",
"[DEBT] track-reorder-testing: no automated tests specified for same-kind boundary rules or save/load persistence of reordered tracks. (flagged 1 times across 1 plans)",
"[DEBT] undo-reconciliation: undo reconciliation: step 16's post-commit reconcilepinnedgroups would create extra save/history events for a single delete unless it is explicitly coalesced with the triggering edit or marked to skip history. (flagged 2 times across 1 plans)",
"[DEBT] usederivedtimeline: duplicate of correctness-1 \u2014 usememo dep array lint violation in sample code (flagged 1 times across 1 plans)",
"[DEBT] video-editor-effect-preview: preview fps source not exposed via existing context (flagged 1 times across 1 plans)",
"[DEBT] video-editor-effect-preview: same fps gap as flag-004 (flagged 3 times across 1 plans)",
"[DEBT] video-editor-effect-registry: replaceeffectregistry() in render mutates module state during react render (flagged 1 times across 1 plans)",
"[DEBT] video-editor-effect-registry: same render-purity concern as correctness-1 (flagged 1 times across 1 plans)",
"[DEBT] video-editor-effect-registry: o(n) re-renders during effect initialization (flagged 1 times across 1 plans)",
"[DEBT] video-editor-effect-registry: same batching gap as performance-1 (flagged 1 times across 1 plans)",
"[DEBT] video-editor-effect-registry: success criterion hardcodes render-time assignment as implementation detail (flagged 1 times across 1 plans)",
"[DEBT] video-editor-lightbox-tests: video editor lightbox tests: moving usequery into videoeditorprovider will break the existing provider unit test unless the plan also updates the test harness to supply react query context. (flagged 1 times across 1 plans)",
"[DEBT] video-editor-parameter-controls: video-editor-parameter-controls: the revised plan still suggests a dual-value slider for audio-binding min/max even though the shared slider wrapper is scalar-only; it should commit to two numberinput controls or a new range-slider implementation. (flagged 1 times across 1 plans)",
"[DEBT] video-editor-render-pipeline: video-editor-render-pipeline: recurring debt: the revised render-gating plan still uses cancelrender() as unmount cleanup and leaves delayrender() acquisition described as a mount-time action, which can abort renders or miss initial-frame blocking. (flagged 1 times across 1 plans)",
"[DEBT] video-editor-shell: video-editor shell: the plan\u2019s width/aspect-based condensed threshold ignores the existing standard-layout maximize-timeline path, which already fixes the preview row at 180px. in this repo that means portrait timelines could be forced into condensed mode on normal desktop heights, effectively taking away the non-condensed maximize-timeline workflow unless the plan explicitly scopes the new threshold around istimelinemaximized or otherwise accepts that behavior change. (flagged 1 times across 1 plans)",
"[DEBT] video-thumbnail-helper-surface: video-thumbnail-helper-surface: the implementation step calls for importing extractthumbnailfromvideo from videothumbnailgenerator.ts, but that helper is private in this repository. if executed literally, that step will not compile; the public surface today is extractanduploadthumbnailonly() or the file-based extractvideoposterframe() helper. (flagged 1 times across 1 plans)",
"[DEBT] vlm-cold-gpu-diagnostics: the cold-gpu vlm import crash investigation is deferred \u2014 the plan ships the zombie fix without root-causing the specific import failure. (flagged 1 times across 1 plans)",
"[DEBT] workspace-git-hygiene: step 2 discards unstaged edits in 6 files via git checkout head without first confirming the revert was unintentional. (flagged 1 times across 1 plans)"
]