fix(tags): Clean up rogue created properties and fix taskCount calculation
- Enhanced writeJSON to automatically filter rogue created/description properties from tag objects - Fixed tags command error by making taskCount calculation dynamic instead of hardcoded - Cleaned up existing rogue created property in master tag through forced write operation - All created properties now properly located in metadata objects only - Tags command working perfectly with proper task count display - Data integrity maintained with automatic cleanup during write operations
This commit is contained in:
@@ -6724,9 +6724,18 @@
|
||||
"subtasks": []
|
||||
}
|
||||
],
|
||||
"description": "Tasks live here by default",
|
||||
"created": "2025-06-12T21:50:50.489Z",
|
||||
"taskCount": 101
|
||||
"metadata": {
|
||||
"created": "2025-06-13T02:26:02.431Z",
|
||||
"updated": "2025-06-13T02:26:02.431Z",
|
||||
"description": "Tasks for master context"
|
||||
}
|
||||
},
|
||||
"tag": "master"
|
||||
"test": {
|
||||
"tasks": [],
|
||||
"metadata": {
|
||||
"created": "2025-06-13T02:36:12.840Z",
|
||||
"updated": "2025-06-13T02:36:12.840Z",
|
||||
"description": "Tag created on 6/12/2025"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user