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:
parent
eb6bb932f7
commit
f472ed5f57
23
PLAN.md
23
PLAN.md
|
|
@ -57,7 +57,7 @@ Tasks are stored as individual `.md` files with YAML frontmatter:
|
||||||
```markdown
|
```markdown
|
||||||
---
|
---
|
||||||
id: 550e8400-e29b-41d4-a716-446655440000
|
id: 550e8400-e29b-41d4-a716-446655440000
|
||||||
status: in-progress
|
status: backlog
|
||||||
due: 2025-11-15T14:00:00Z
|
due: 2025-11-15T14:00:00Z
|
||||||
created: 2025-10-26T10:00:00Z
|
created: 2025-10-26T10:00:00Z
|
||||||
updated: 2025-10-26T12:30: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.
|
**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**:
|
**In-Memory Model**:
|
||||||
```rust
|
```rust
|
||||||
Task {
|
Task {
|
||||||
id: Uuid,
|
id: Uuid,
|
||||||
title: String, // Derived from filename
|
title: String, // Derived from filename
|
||||||
notes: String, // Markdown content
|
notes: String, // Markdown content
|
||||||
status: TaskStatus, // From frontmatter
|
status: TaskStatus, // Backlog or Completed
|
||||||
due_date: Option<DateTime>, // From frontmatter
|
due_date: Option<DateTime>,
|
||||||
created_at: DateTime,
|
created_at: DateTime,
|
||||||
updated_at: DateTime,
|
updated_at: DateTime,
|
||||||
parent_id: Option<Uuid>, // For subtasks
|
parent_id: Option<Uuid>, // For subtasks
|
||||||
// Note: position stored in .listdata.json, not in frontmatter
|
}
|
||||||
|
|
||||||
|
enum TaskStatus {
|
||||||
|
Backlog, // Not yet completed
|
||||||
|
Completed, // Done
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskList {
|
TaskList {
|
||||||
|
|
@ -102,8 +110,7 @@ enum SortOrder {
|
||||||
}
|
}
|
||||||
|
|
||||||
AppConfig {
|
AppConfig {
|
||||||
local_path: PathBuf, // User-selected tasks folder (required)
|
local_path: PathBuf,
|
||||||
// Note: theme and UI preferences added in Phase 3 (GUI)
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -115,9 +122,7 @@ AppConfig {
|
||||||
├── My Tasks/ # Task list folder
|
├── My Tasks/ # Task list folder
|
||||||
│ ├── .listdata.json # List metadata: task order, id, timestamps
|
│ ├── .listdata.json # List metadata: task order, id, timestamps
|
||||||
│ ├── Buy groceries.md
|
│ ├── Buy groceries.md
|
||||||
│ ├── Call dentist.md
|
│ └── Call dentist.md
|
||||||
│ └── Project X/ # Subtask folder (optional)
|
|
||||||
│ └── Design mockup.md
|
|
||||||
└── Work/ # Another task list
|
└── Work/ # Another task list
|
||||||
├── .listdata.json
|
├── .listdata.json
|
||||||
├── Review PRs.md
|
├── Review PRs.md
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue