|
| 1 | +# Obsidian Tasks (TaskNotes plugin) |
| 2 | + |
| 3 | +Tasks are stored as individual `.md` files — one file per task. A project page does not |
| 4 | +contain tasks directly; it renders them via `![[tasks-default.base#ThisProject]]` (dynamic |
| 5 | +query by the Bases plugin). |
| 6 | + |
| 7 | +## Reusing this file in another repo |
| 8 | + |
| 9 | +This file is project-agnostic — copy it verbatim into any repo's `.agents/tools/`. |
| 10 | + |
| 11 | +- **`<PROJECT>`** — the only per-project value. It is defined once in that repo's `PROJECT.md`. |
| 12 | + It is the project page filename (`PROJECTS/<PROJECT>.md`) and the wikilink used in a task's |
| 13 | + `projects:` field (`"[[<PROJECT>]]"`). Substitute it wherever `<PROJECT>` appears below. |
| 14 | +- **Machine configuration** (vault paths, see section below) is constant across all projects on |
| 15 | + this machine. Change it only when moving to a different machine or vault. |
| 16 | + |
| 17 | +--- |
| 18 | + |
| 19 | +## Machine configuration |
| 20 | + |
| 21 | +| Location | Path | |
| 22 | +|---|---| |
| 23 | +| Vault root | `/home/titkovd/bliss-vault/Bliss` | |
| 24 | +| Active tasks | `/home/titkovd/bliss-vault/Bliss/META/planning/Tasks/` | |
| 25 | +| Archived tasks | `/home/titkovd/bliss-vault/Bliss/META/planning/Archive/` | |
| 26 | +| Project pages | `/home/titkovd/bliss-vault/Bliss/PROJECTS/` | |
| 27 | +| Plugin config | `/home/titkovd/bliss-vault/Bliss/.obsidian/plugins/tasknotes/data.json` | |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## Frontmatter schema |
| 32 | + |
| 33 | +```yaml |
| 34 | +--- |
| 35 | +title: Task title |
| 36 | +status: planned |
| 37 | +priority: normal |
| 38 | +contexts: |
| 39 | + - agentic # always set when agent creates or modifies a task |
| 40 | +projects: |
| 41 | + - "[[<PROJECT>]]" # wikilink matching the project page filename |
| 42 | +agent-identity: claude-sonnet-4-6 # fill with actual agent/model id |
| 43 | +dateCreated: 2026-01-01T00:00:00.000+03:00 |
| 44 | +dateModified: 2026-01-01T00:00:00.000+03:00 |
| 45 | +tags: |
| 46 | + - task |
| 47 | +scheduled: 2026-01-01 # optional |
| 48 | +due: 2026-01-01 # optional |
| 49 | +timeEstimate: 60 # minutes, optional |
| 50 | +blockedBy: # list of wikilinks, optional |
| 51 | +timeEntries: # filled during work, see Time tracking section |
| 52 | + - startTime: 2026-01-01T10:00:00.000Z |
| 53 | + description: Brief description of what was done |
| 54 | + endTime: 2026-01-01T11:30:00.000Z |
| 55 | +--- |
| 56 | +``` |
| 57 | + |
| 58 | +Tasks are identified by the `task` tag. Every task file must have it. |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +## Field values |
| 63 | + |
| 64 | +These values come from the plugin config and apply across all projects. |
| 65 | + |
| 66 | +### Status |
| 67 | + |
| 68 | +| Value | Label | Active? | |
| 69 | +|---|---|---| |
| 70 | +| `backlog` | Backlog | Yes | |
| 71 | +| `planned` | Planned | Yes (default for new tasks) | |
| 72 | +| `ongoing` | Ongoing | Yes | |
| 73 | +| `onhold` | On Hold | Yes | |
| 74 | +| `review` | Review | Yes | |
| 75 | +| `done` | Done | No | |
| 76 | +| `closed` | Closed | No (auto-archives) | |
| 77 | + |
| 78 | +### Priority |
| 79 | + |
| 80 | +| Value | Label | |
| 81 | +|---|---| |
| 82 | +| `low` | Low | |
| 83 | +| `normal` | Normal (default) | |
| 84 | +| `high` | High | |
| 85 | + |
| 86 | +### Contexts |
| 87 | + |
| 88 | +Free-form — no predefined values in plugin config. Always include `agentic` when the agent |
| 89 | +creates or modifies a task. |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | +## Agent behavior |
| 94 | + |
| 95 | +When creating a task: |
| 96 | +- Set `contexts: [agentic]` |
| 97 | +- Set `agent-identity` to the current model/agent identifier |
| 98 | +- Set `projects` to `"[[<PROJECT>]]"` |
| 99 | +- `status` defaults to `planned`, `priority` defaults to `normal` |
| 100 | + |
| 101 | +When updating a task, update `dateModified` to the current timestamp. |
| 102 | + |
| 103 | +When work on a task is complete: |
| 104 | +- Set `status: review` (not `done` — the user reviews and closes) |
| 105 | +- Add a brief summary to the task body: what was done and anything the user should know |
| 106 | + (e.g. decisions made, caveats, follow-ups) |
| 107 | +- Add a Changelog entry on the project page (see Changelog section) |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +## Time tracking |
| 112 | + |
| 113 | +When working on a task, record the session by appending to `timeEntries` in the frontmatter. |
| 114 | + |
| 115 | +**Format:** |
| 116 | +```yaml |
| 117 | +timeEntries: |
| 118 | + - startTime: 2026-06-20T10:00:00.000Z |
| 119 | + description: Brief description of what was done in this session |
| 120 | + endTime: 2026-06-20T11:30:00.000Z |
| 121 | +``` |
| 122 | +
|
| 123 | +**Rules:** |
| 124 | +- Times are in UTC (suffix `Z`) |
| 125 | +- Note the start time before beginning work, note the end time when done |
| 126 | +- `description` should describe what was accomplished in this specific session (not repeat the task title) |
| 127 | +- Add a new entry per work session; never edit past entries |
| 128 | +- If `timeEstimate` is set on the task, use it as a rough target |
| 129 | + |
| 130 | +--- |
| 131 | + |
| 132 | +## Changelog |
| 133 | + |
| 134 | +Each project page (`/home/titkovd/bliss-vault/Bliss/PROJECTS/<PROJECT>.md`) has a `## Changelog` section. Update it |
| 135 | +when completing meaningful work. |
| 136 | + |
| 137 | +**Format** — group by date, most recent first, one line per entry or group: |
| 138 | + |
| 139 | +```markdown |
| 140 | +## Changelog |
| 141 | +
|
| 142 | +### 2026-06-20 |
| 143 | +- Added top/bottom padding controls for cards |
| 144 | +- Various UI improvements: mini-preview on mobile, export flow |
| 145 | +
|
| 146 | +### 2026-06-10 |
| 147 | +- Initial card generation feature |
| 148 | +``` |
| 149 | + |
| 150 | +**Rules:** |
| 151 | +- Write entries when marking a task as `review` |
| 152 | +- One line per change; group small related changes into a single line (e.g. several UI tweaks → "Various UI adjustments: X, Y, Z") |
| 153 | +- Focus on user-visible outcomes, not implementation details |
| 154 | +- **Compact periodically:** if a date has many granular entries, merge them. Older history should read as milestones, not a commit log |
| 155 | +- Significant features and decisions stay separate; minor fixes and polish get grouped |
| 156 | + |
| 157 | +--- |
| 158 | + |
| 159 | +## Common queries |
| 160 | + |
| 161 | +Find all tasks for this project: |
| 162 | +```bash |
| 163 | +grep -rl '"[[<PROJECT>]]"' /home/titkovd/bliss-vault/Bliss/META/planning/Tasks/ |
| 164 | +``` |
| 165 | + |
| 166 | +Find tasks by status: |
| 167 | +```bash |
| 168 | +grep -rl 'status: planned' /home/titkovd/bliss-vault/Bliss/META/planning/Tasks/ |
| 169 | +``` |
| 170 | + |
| 171 | +Combine both: |
| 172 | +```bash |
| 173 | +grep -l 'status: planned' $(grep -rl '"[[<PROJECT>]]"' /home/titkovd/bliss-vault/Bliss/META/planning/Tasks/) |
| 174 | +``` |
| 175 | + |
| 176 | +--- |
| 177 | + |
| 178 | +## Refreshing this document |
| 179 | + |
| 180 | +If statuses, priorities, or paths change, re-read the plugin config: |
| 181 | +``` |
| 182 | +/home/titkovd/bliss-vault/Bliss/.obsidian/plugins/tasknotes/data.json |
| 183 | +``` |
| 184 | +Key fields: `customStatuses[].value`, `customPriorities[].value`, `tasksFolder`, `archiveFolder`. |
0 commit comments