@rubytech/create-maxy-lite 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: work
3
+ description: Capture, find, and update to-dos in the vault. Use when the user asks to remember a task, add a to-do, note something they need to do, mark a task done, change a due date, assign work to someone, or asks what is on their list or what is outstanding. Owns the Task entity of the maxy-lite SCHEMA.
4
+ ---
5
+
6
+ # Work
7
+
8
+ A to-do is a **Task** file in `activities/`, one task per file. It is YAML frontmatter plus a markdown body for the detail (context, sub-steps, notes). The authoritative field list is [`SCHEMA.md`](../../schema/SCHEMA.md) under *Activities*, the *Task* entity.
9
+
10
+ ## Task (`activities/<Title>.md`)
11
+
12
+ Required: `type: task` and `title`. Optional: `due` (`YYYY-MM-DD`), `priority`, `status`, `taskType`, `assignee` (a single link to a Person), `about` (a single link to anything the task concerns), `project` (a single link to a Project), `area`. Set only what you know.
13
+
14
+ ```yaml
15
+ ---
16
+ type: task
17
+ title: Call the surveyor
18
+ due: 2026-07-01
19
+ status: not started
20
+ priority: high
21
+ assignee: "[[Jane Doe]]"
22
+ project: "[[House Move]]"
23
+ area: home
24
+ ---
25
+ Surveyor quoted last spring. Ask about the loft conversion before booking.
26
+ ```
27
+
28
+ `status` and `priority` are free text the assistant keeps consistent (e.g. `not started` / `in progress` / `done`); `area` must be one of the controlled areas in the SCHEMA. The links resolve to files that must already exist: `assignee` to a Person in `people/`, `project` to a Project in `projects/`, `about` to any entity. Create the target file first if it is not in the vault yet.
29
+
30
+ ## Finding what is outstanding
31
+
32
+ Grep the frontmatter rather than recalling from memory:
33
+
34
+ - open tasks: `grep -rL "status: done" activities/ | xargs grep -l "type: task"`
35
+ - tasks for one project: `grep -rl "\[\[House Move\]\]" activities/`
36
+ - tasks assigned to someone: `grep -rl "assignee:.*Jane Doe" activities/`
37
+ - due dates: `grep -rh "^due:" activities/`
38
+
39
+ Read the matched files for the detail. To mark a task done, edit its `status` field; do not delete the file.
40
+
41
+ ## After every write, validate
42
+
43
+ After creating or editing any task file, run the deterministic validator over the vault:
44
+
45
+ ```sh
46
+ maxy-lite-validate "$HOME/maxy"
47
+ ```
48
+
49
+ It exits 0 only when every file conforms. If a line names the task you just wrote with `ok=false`, the bracketed error names the violation: `title:missing` (the required title is absent), `area:area` (an area outside the controlled vocabulary), `due:type` (a malformed date), `assignee:dangling` or `project:dangling` (the linked file does not exist), `assignee:target` (the link points at a file of the wrong type). Fix the named field and re-run until that file is `ok=true`. Never leave a task you wrote in a failing state.