Repository navigation
feat: remove selected filler words by transcript ID - #857
auberginewly wants to merge 4 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe agent now has a mutating tool that removes selected transcript words by ID. The tool validates each target, creates clip-specific trims, and returns the removed words and actual trim spans. ChangesFiller-word removal
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Agent
participant removeFillerWords
participant TranscriptWords
participant addTrim
Agent->>removeFillerWords: Submit selected word IDs and optional asset ID
removeFillerWords->>TranscriptWords: Resolve and validate requested words
removeFillerWords->>addTrim: Add clip-specific trim for each validated word
addTrim-->>removeFillerWords: Return stored trim
removeFillerWords-->>Agent: Return removed words and trim spans
Merge Risk: ⚪ Minimal · up to The new tool applies selected word trims without exposing partial edits when an operation fails. No actionable merge-blocking risk was established; proceed with normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new action can change a project, but it uses the existing edit-permission check and validates its targets before making cuts. No new access to other projects or services was established. How concurrent changes and interrupted saves are handled remains uncertain. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
removeFillerWords, that accepts transcript word IDs chosen fromgetTranscriptWordsafter reading the surrounding speech.addTrimexecutor and return each word, asset, clip, trim ID, and the actual stored trim span. The Agent prompt restricts use to explicit filler-word cleanup requests.Related issue
Closes #853
Type of change
Release impact
Desktop impact
Screenshots / video
No UI changes.
Testing
fnm exec --using 22.22.1 npm run test— 263 files passed; 3342 tests passed, 2 skipped.fnm exec --using 22.22.1 npx tsc --noEmit— passed.fnm exec --using 22.22.1 npx tsc -p tsconfig.test.json --noEmit— passed.fnm exec --using 22.22.1 npm run lint— exit 0; 24 existing warnings elsewhere in the repository.git diff --check— passed.Known limitations
addTrimcut boundaries. This tool reports the span actually stored after that edit path rather than assuming the word's original timestamps are the final cut.Summary by CodeRabbit