diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-09 07:53:04 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-09 07:53:04 -0500 |
| commit | 8ae33333b0fc0ca0876681dbcd54f962b89328fe (patch) | |
| tree | c0ca7144f2082cf3ad88bca27508707642686f84 /Omni/Dev/Lithium/Configuration.nix | |
| parent | 04986e2fc5c8863672c2a84e644777505878318b (diff) | |
Protect production task database from tests and add migration
- Add TASK_TEST_MODE environment variable to use separate test database
- All file operations now use getTasksFilePath to respect test mode -
Tests use .tasks/tasks-test.jsonl instead of production database -
Add automatic migration from old task format (taskProject field)
to new format - Migrated tasks convert taskProject to WorkTask type
with empty parent - Old [Text] dependencies converted to [Dependency]
with Blocks type - Restore actual tasks from commit 3bf1691 (were
lost during testing)
This prevents accidental data loss when running tests and provides
backward compatibility for existing task databases.
Diffstat (limited to 'Omni/Dev/Lithium/Configuration.nix')
0 files changed, 0 insertions, 0 deletions
