Revise PLAN.md by removing development guidelines

Clean up data model and remove unnecessary notes:

1. Simplified TaskStatus:
   - Only two states: Backlog and Completed
   - Removed in-progress, not-started complexity
   - Clearer, simpler model

2. Removed unnecessary comments:
   - "Note: position stored in .listdata.json" (obvious from context)
   - "Note: theme and UI preferences added in Phase 3" (unnecessary)

3. Removed subtask folder example:
   - Already have parent_id for subtask relationships
   - No need to show nested folder structure
   - Keeps file structure example simple

4. Simplified AppConfig in Phase 1:
   - Just local_path, no extra comments

Changes keep the plan focused and remove noise.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude 2025-11-03 10:20:18 +00:00
parent eb6bb932f7
commit f472ed5f57
No known key found for this signature in database

23
PLAN.md
View file

@ -57,7 +57,7 @@ Tasks are stored as individual `.md` files with YAML frontmatter:
```markdown
---
id: 550e8400-e29b-41d4-a716-446655440000
status: in-progress
status: backlog
due: 2025-11-15T14:00:00Z
created: 2025-10-26T10:00:00Z
updated: 2025-10-26T12:30:00Z
@ -73,18 +73,26 @@ Task description and notes go here in **markdown** format.
**Note**: No `position` field in frontmatter - task ordering is stored in the list's `.listdata.json` file. This means reordering tasks only requires updating one file.
**TaskStatus values**:
- `backlog` - Task not yet completed
- `completed` - Task is done
**In-Memory Model**:
```rust
Task {
id: Uuid,
title: String, // Derived from filename
notes: String, // Markdown content
status: TaskStatus, // From frontmatter
due_date: Option<DateTime>, // From frontmatter
status: TaskStatus, // Backlog or Completed
due_date: Option<DateTime>,
created_at: DateTime,
updated_at: DateTime,
parent_id: Option<Uuid>, // For subtasks
// Note: position stored in .listdata.json, not in frontmatter
}
enum TaskStatus {
Backlog, // Not yet completed
Completed, // Done
}
TaskList {
@ -102,8 +110,7 @@ enum SortOrder {
}
AppConfig {
local_path: PathBuf, // User-selected tasks folder (required)
// Note: theme and UI preferences added in Phase 3 (GUI)
local_path: PathBuf,
}
```
@ -115,9 +122,7 @@ AppConfig {
├── My Tasks/ # Task list folder
│ ├── .listdata.json # List metadata: task order, id, timestamps
│ ├── Buy groceries.md
│ ├── Call dentist.md
│ └── Project X/ # Subtask folder (optional)
│ └── Design mockup.md
│ └── Call dentist.md
└── Work/ # Another task list
├── .listdata.json
├── Review PRs.md