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
Refactor: Implement explicit persistence state tracking for placeholder nodes #450
Closing this issue in favor of simplified persistence approach.
Problem identified: UNIQUE constraint violations when outdenting placeholder nodes, caused by fundamental issues with how persistenceState conflates identity ("has been persisted?") with operation state ("has pending work?").
Original approach attempted: Multiple patches on feature branch feature/issue-450-explicit-persistence-state - all caused regressions.
New approach: Issue #471 and related persistence refactoring. Implements: Only ONE placeholder on initial load when parent has no children. All other blank nodes persist immediately (with 500ms debounce).
See /docs/architecture/persistence/ for root cause analysis.
Branch feature/issue-450-explicit-persistence-state should be discarded (patches don't work).
Activity
malibio commentedon Nov 11, 2025
Test Baseline Before Implementation
Running baseline tests before starting refactoring work:
Frontend Tests:
Backend Tests:
Total: 1222 passing tests, 0 failures
All tests passing. Beginning implementation of explicit persistence state architecture.
WIP: Add PersistenceState type - Phase 1 complete
Implement explicit persistence state tracking for placeholder nodes
Complete Phase 5: Remove final persistedNodeIds reference from base-n…
Fix placeholder persistence and auto-focus bugs
Fix sibling chain update persistence errors
Fix placeholder outdent persistence errors
Fix placeholder outdent by skipping ancestor chain persistence
WIP: Fix placeholder persistence state bug - Phase 1 complete
Add persistence system review documentation
Add persistence system review documentation
Add persistence system review documentation