Implement storage layer for MVP-1 Personal Tracker CLI

Add storage layer with FileStorage, MarkdownReader, and MarkdownWriter classes.
Add data models (Project, Session, Note, Change).
This commit is contained in:
2026-03-23 08:54:00 -03:00
parent 525996f60c
commit 4547c492da
16 changed files with 1013 additions and 0 deletions

13
tracker/models/change.py Normal file
View File

@@ -0,0 +1,13 @@
"""Change model definition."""
from pydantic import BaseModel, Field
from datetime import date
class Change(BaseModel):
"""Represents a notable change in a project."""
date: date
type: str # code, infra, config, docs, automation, decision
title: str
impact: str = ""
references: list[str] = Field(default_factory=list)