taskgenius_taskgenius-plugin/docs
Quorafind 172e5fc794 fix(dataflow): resolve data loss on restart and integrate FileSource
Implemented smart persistence batching in Repository to fix data loss issue that occurred
when Obsidian restarted. The Repository.updateFile() method now schedules persistence
operations with intelligent debouncing (1s delay, max 10 files, max 5s interval).

- Added persistence queue management with schedulePersist() and executePersist() methods
- Integrated FileSource into DataflowOrchestrator with conditional initialization
- Added FILE_TASK_UPDATED and FILE_TASK_REMOVED events to event system
- Extended Repository to support three data sources (regular tasks, ICS events, file tasks)
- Ensured cleanup properly persists pending data before shutdown
- Updated dataflow architecture documentation with FileSource details
- Added comprehensive FileSource architecture review document

The persistence fix ensures all task updates are properly saved to storage while
balancing performance through batching. FileSource integration allows files to be
recognized as tasks based on configurable strategies.
2025-08-21 07:12:36 +08:00
..
dataflow-architecture.md fix(dataflow): resolve data loss on restart and integrate FileSource 2025-08-21 07:12:36 +08:00
dataflow-event-system.md fix(dataflow): resolve data persistence and task parsing issues 2025-08-20 06:59:45 +08:00
dataflow-migration-phase-a-complete.md refactor(architecture): complete dataflow migration and file reorganization 2025-08-19 07:27:37 +08:00
directory-structure-refactoring-plan.md refactor(repo)!: restructure directories for maintainability and update import paths 2025-08-19 10:37:07 +08:00
editor-extensions-refactoring-plan.md docs: add editor-extensions refactoring plan documentation 2025-08-19 13:38:17 +08:00
file-source-implementation.md docs(filesource): add comprehensive specification and implementation docs 2025-08-20 22:43:43 +08:00
file-source-specification.md docs(filesource): add comprehensive specification and implementation docs 2025-08-20 22:43:43 +08:00
filesource-architecture-review.md fix(dataflow): resolve data loss on restart and integrate FileSource 2025-08-21 07:12:36 +08:00
storage-api-fixes.md refactor(dataflow): reorganize workers and fix import paths 2025-08-19 07:35:59 +08:00
task-genius-refactor-plan.md refactor: reorganize architecture and add dataflow foundation 2025-08-18 11:56:30 +08:00
task-genius-refactor-spec.md refactor: reorganize architecture and add dataflow foundation 2025-08-18 11:56:30 +08:00
taskindexer-migration-plan.md refactor(dataflow): reorganize workers and fix import paths 2025-08-19 07:35:59 +08:00