Add habits and time tracking - habits.py: Daily habit tracking with streaks - track.py: Time tracking with projects - Updated ws CLI with new commands - Data stored in data/ directory

This commit is contained in:
2026-01-30 23:27:32 -06:00
parent 67f6b293f3
commit 71504e3265
5 changed files with 458 additions and 0 deletions

24
data/habits.json Normal file
View File

@ -0,0 +1,24 @@
{
"habits": {
"exercise": {
"description": "Daily workout",
"created": "2026-01-30T23:26:33.660592",
"active": true
},
"reading": {
"description": "Read 30 min",
"created": "2026-01-30T23:26:33.686635",
"active": true
},
"journal": {
"description": "Write daily notes",
"created": "2026-01-30T23:26:33.714573",
"active": true
}
},
"log": {
"2026-01-30": [
"journal"
]
}
}

16
data/timetrack.json Normal file
View File

@ -0,0 +1,16 @@
{
"current": {
"task": "More building",
"project": "sandbox",
"start": "2026-01-30T23:27:15.604246"
},
"entries": [
{
"task": "Late night building",
"project": "sandbox",
"start": "2026-01-30T22:27:15.578348",
"end": "2026-01-30T23:27:15.578348",
"duration_min": 60
}
]
}