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
fix(workflows): harden lock enforcement and clean up dead code
- Fix infinite loop in pure isFolderEffectivelyLocked on circular parentId chains
- Add lock checks to create/duplicate routes (block writes into locked folders)
- Use isWorkflowEffectivelyLockedDb instead of inline checks in state/workflow routes
- Remove use-effective-lock.ts re-export file; import from @/lib/workflows/lock directly
- Remove dead import and re-export from lock-db.ts
- Use LockableFolder type in reorder routes
- Add test for all-unlocked circular chain edge case
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments