"agent-chat-rendering": [
{
"id": "DEBT-007",
"concern": "removing the duplicate assistant turn may hide message_user text if the frontend only renders assistant-role turns as chat bubbles.",
"occurrence_count": 1,
"plan_ids": [
"refactor-ai-timeline-agent-20260326-0157"
]
}
],
"agent-chat-undo-integration": [
{
"id": "DEBT-018",
"concern": "agent chat edits arrive via query invalidation/realtime polling and will bypass the undo stack because those paths are marked skiphistory.",
"occurrence_count": 1,
"plan_ids": [
"implement-undo-redo-history-20260326-2240"
]
}
],
"agent-tool-utils": [
{
"id": "DEBT-040",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"are-the-proposed-changes-technically-correct": [
{
"id": "DEBT-041",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"are-the-success-criteria-well-prioritized-and-verifiable": [
{
"id": "DEBT-035",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
},
{
"id": "DEBT-039",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"bulk-panel-tabs": [
{
"id": "DEBT-010",
"concern": "text clip multi-selections would miss the position tab under the plan's stated rule.",
"occurrence_count": 1,
"plan_ids": [
"multi-select-feature-parity-20260326-0548"
]
}
],
"bulk-properties-panel": [
{
"id": "DEBT-016",
"concern": "bulkclippanel still imports customeffecteditor; removing it without updating bulk mode would break the build.",
"occurrence_count": 1,
"plan_ids": [
"build-an-llm-powered-custom-20260326-2230"
]
}
],
"clip-drag-scroll-sync": [
{
"id": "DEBT-015",
"concern": "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.",
"occurrence_count": 1,
"plan_ids": [
"add-auto-scroll-to-the-20260326-2119"
]
}
],
"clip-param-schema-evolution": [
{
"id": "DEBT-019",
"concern": "clips with stale or partial params from a previous schema version will not be automatically normalized/backfilled when the effect schema changes.",
"occurrence_count": 1,
"plan_ids": [
"add-tuneable-parameters-to-20260326-2332"
]
}
],
"conflict-resolution": [
{
"id": "DEBT-004",
"concern": "silently reloading agent-originated timeline updates would discard dirty local edits.",
"occurrence_count": 1,
"plan_ids": [
"build-a-turn-based-timeline-20260326-0005"
]
},
{
"id": "DEBT-021",
"concern": "if all 3 conflict retries fail, the fallback path risks discarding dirty local edits unless the executor wires it into the existing conflict dialog.",
"occurrence_count": 1,
"plan_ids": [
"light-megaplan-fix-the-20260327-0056"
]
}
],
"context-menu-scope": [
{
"id": "DEBT-012",
"concern": "multi-clip copy is not included despite being mentioned in the original idea.",
"occurrence_count": 1,
"plan_ids": [
"multi-select-feature-parity-20260326-0548"
]
}
],
"did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements": [
{
"id": "DEBT-036",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"does-the-change-touch-all-locations-and-supporting-infrastructure": [
{
"id": "DEBT-033",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
},
{
"id": "DEBT-034",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"drop-indicator-plumbing": [
{
"id": "DEBT-023",
"concern": "dropindicator reads position.trackid without it being declared on the dropindicatorposition interface or forwarded by toindicatorposition().",
"occurrence_count": 1,
"plan_ids": [
"two-ux-improvements-1-drop-to-20260327-0520"
]
}
],
"edit-mode-persistence": [
{
"id": "DEBT-026",
"concern": "legacy persisted 'enhance' values might exist in storage",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-027",
"concern": "no-migration assumption for enhance\u2192upscale is under-supported",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-030",
"concern": "enhance/upscale only partially resolved \u2014 persisted values not validated",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-032",
"concern": "no read-side normalization test for legacy 'enhance' values",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
}
],
"edit-mode-validation": [
{
"id": "DEBT-028",
"concern": "validation grep for 'enhance' will false-fail due to video code",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-029",
"concern": "grep scope too broad \u2014 hits video submode code",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-031",
"concern": "validation scope reaches unrelated video code",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
}
],
"effect-layer-overlap-enforcement": [
{
"id": "DEBT-022",
"concern": "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.",
"occurrence_count": 1,
"plan_ids": [
"add-adjustment-layer-effect-20260327-0358"
]
}
],
"find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them": [
{
"id": "DEBT-038",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"issue-detection": [
{
"id": "DEBT-006",
"concern": "mid-sentence-cut detection is not implementable without transcript/profile data that the current provider doesn't expose.",
"occurrence_count": 1,
"plan_ids": [
"build-a-turn-based-timeline-20260326-0005"
]
}
],
"legacy-effect-lifecycle": [
{
"id": "DEBT-017",
"concern": "removing customeffecteditor makes effects-table entries read-only \u2014 users can no longer edit legacy custom effects.",
"occurrence_count": 1,
"plan_ids": [
"build-an-llm-powered-custom-20260326-2230"
]
}
],
"multi-drag-utils": [
{
"id": "DEBT-043",
"concern": "duplicate of correctness-2 \u2014 multi-drag meta patch accumulation not spelled out",
"occurrence_count": 1,
"plan_ids": [
"restructure-the-video-editor-20260406-0206"
]
},
{
"id": "DEBT-044",
"concern": "same merge strategy concern as correctness-2/5 from the caller perspective",
"occurrence_count": 1,
"plan_ids": [
"restructure-the-video-editor-20260406-0206"
]
}
],
"optimistic-locking": [
{
"id": "DEBT-002",
"concern": "plan only specifies version checking at the db write layer; the ui load/state/save path doesn't carry config_version yet.",
"occurrence_count": 1,
"plan_ids": [
"build-a-turn-based-timeline-20260326-0005"
]
}
],
"properties-panel-scope": [
{
"id": "DEBT-011",
"concern": "crop and transition controls are not included in the bulk panel, narrowing the original idea's scope.",
"occurrence_count": 1,
"plan_ids": [
"multi-select-feature-parity-20260326-0548"
]
}
],
"realtime-subscriptions": [
{
"id": "DEBT-003",
"concern": "the shared realtime system doesn't know about timeline_agent_sessions; step 7 hooks need their own channel subscription.",
"occurrence_count": 1,
"plan_ids": [
"build-a-turn-based-timeline-20260326-0005"
]
}
],
"registry-patch-testing": [
{
"id": "DEBT-020",
"concern": "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.",
"occurrence_count": 1,
"plan_ids": [
"light-megaplan-consolidate-20260327-0022"
]
}
],
"resolve-overlaps": [
{
"id": "DEBT-045",
"concern": "resolve-overlaps.ts entirely lacks tests; plan only adds resolvegroupoverlaps tests",
"occurrence_count": 1,
"plan_ids": [
"restructure-the-video-editor-20260406-0206"
]
},
{
"id": "DEBT-046",
"concern": "phase 4 blast radius covers both resolveoverlaps and resolvegroupoverlaps return shapes",
"occurrence_count": 1,
"plan_ids": [
"restructure-the-video-editor-20260406-0206"
]
}
],
"search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader": [
{
"id": "DEBT-037",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
],
"selection-save-bridge": [
{
"id": "DEBT-009",
"concern": "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.",
"occurrence_count": 1,
"plan_ids": [
"multi-select-timeline-clips-20260326-0415"
]
}
],
"task-deduplication": [
{
"id": "DEBT-001",
"concern": "server-generated idempotency keys would break retry deduplication because retried requests get fresh keys.",
"occurrence_count": 1,
"plan_ids": [
"migrate-all-task-creation-20260325-2354"
]
}
],
"task-system-integration": [
{
"id": "DEBT-005",
"concern": "create_generation_task is underspecified against the actual task family system.",
"occurrence_count": 1,
"plan_ids": [
"build-a-turn-based-timeline-20260326-0005"
]
}
],
"tool-error-propagation": [
{
"id": "DEBT-008",
"concern": "a blanket catch in executetool would silently downgrade db/persistence failures into ordinary tool results, changing the session error/http 500 behavior.",
"occurrence_count": 1,
"plan_ids": [
"refactor-ai-timeline-agent-20260326-0157"
]
}
],
"track-reorder-accessibility": [
{
"id": "DEBT-013",
"concern": "replacing arrow buttons with drag-only handle removes keyboard-accessible reorder; plan only specifies pointersensor.",
"occurrence_count": 1,
"plan_ids": [
"fix-track-reordering-bugs-and-20260326-1856"
]
}
],
"track-reorder-testing": [
{
"id": "DEBT-014",
"concern": "no automated tests specified for same-kind boundary rules or save/load persistence of reordered tracks.",
"occurrence_count": 1,
"plan_ids": [
"fix-track-reordering-bugs-and-20260326-1856"
]
}
],
"usederivedtimeline": [
{
"id": "DEBT-042",
"concern": "duplicate of correctness-1 \u2014 usememo dep array lint violation in sample code",
"occurrence_count": 1,
"plan_ids": [
"restructure-the-video-editor-20260406-0206"
]
}
],
"video-editor-effect-preview": [
{
"id": "DEBT-049",
"concern": "preview fps source not exposed via existing context",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-050",
"concern": "same fps gap as flag-004",
"occurrence_count": 3,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
}
],
"video-editor-effect-registry": [
{
"id": "DEBT-047",
"concern": "replaceeffectregistry() in render mutates module state during react render",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-048",
"concern": "same render-purity concern as correctness-1",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-051",
"concern": "o(n) re-renders during effect initialization",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-052",
"concern": "same batching gap as performance-1",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-053",
"concern": "success criterion hardcodes render-time assignment as implementation detail",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
}
],
"vlm-cold-gpu-diagnostics": [
{
"id": "DEBT-025",
"concern": "the cold-gpu vlm import crash investigation is deferred \u2014 the plan ships the zombie fix without root-causing the specific import failure.",
"occurrence_count": 1,
"plan_ids": [
"fix-worker-zombie-bug-when-20260330-2035"
]
}
],
"workspace-git-hygiene": [
{
"id": "DEBT-024",
"concern": "step 2 discards unstaged edits in 6 files via git checkout head without first confirming the revert was unintentional.",
"occurrence_count": 1,
"plan_ids": [
"two-ux-improvements-1-drop-to-20260327-0520"
]
}
]
}
{
"subsystem": "video-editor-effect-registry",
"total_occurrences": 5,
"plan_count": 1,
"entries": [
{
"id": "DEBT-047",
"concern": "replaceeffectregistry() in render mutates module state during react render",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-048",
"concern": "same render-purity concern as correctness-1",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-051",
"concern": "o(n) re-renders during effect initialization",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-052",
"concern": "same batching gap as performance-1",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-053",
"concern": "success criterion hardcodes render-time assignment as implementation detail",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
}
]
},
{
"subsystem": "are-the-success-criteria-well-prioritized-and-verifiable",
"total_occurrences": 4,
"plan_count": 1,
"entries": [
{
"id": "DEBT-035",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
},
{
"id": "DEBT-039",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
]
},
{
"subsystem": "does-the-change-touch-all-locations-and-supporting-infrastructure",
"total_occurrences": 4,
"plan_count": 1,
"entries": [
{
"id": "DEBT-033",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
},
{
"id": "DEBT-034",
"concern": "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.",
"occurrence_count": 2,
"plan_ids": [
"cleanup-and-quality-pass-on-20260404-0138"
]
}
]
},
{
"subsystem": "edit-mode-persistence",
"total_occurrences": 4,
"plan_count": 1,
"entries": [
{
"id": "DEBT-026",
"concern": "legacy persisted 'enhance' values might exist in storage",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-027",
"concern": "no-migration assumption for enhance\u2192upscale is under-supported",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-030",
"concern": "enhance/upscale only partially resolved \u2014 persisted values not validated",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-032",
"concern": "no read-side normalization test for legacy 'enhance' values",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
}
]
},
{
"subsystem": "video-editor-effect-preview",
"total_occurrences": 4,
"plan_count": 1,
"entries": [
{
"id": "DEBT-049",
"concern": "preview fps source not exposed via existing context",
"occurrence_count": 1,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
},
{
"id": "DEBT-050",
"concern": "same fps gap as flag-004",
"occurrence_count": 3,
"plan_ids": [
"fix-all-5-architectural-20260406-0219"
]
}
]
},
{
"subsystem": "edit-mode-validation",
"total_occurrences": 3,
"plan_count": 1,
"entries": [
{
"id": "DEBT-028",
"concern": "validation grep for 'enhance' will false-fail due to video code",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-029",
"concern": "grep scope too broad \u2014 hits video submode code",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
},
{
"id": "DEBT-031",
"concern": "validation scope reaches unrelated video code",
"occurrence_count": 1,
"plan_ids": [
"refactor-edit-mode-ownership-20260331-1842"
]
}
]
}
]