taskplane 0.0.1 → 0.1.1

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.
Files changed (38) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -20
  3. package/bin/taskplane.mjs +706 -0
  4. package/dashboard/public/app.js +900 -0
  5. package/dashboard/public/index.html +92 -0
  6. package/dashboard/public/style.css +924 -0
  7. package/dashboard/server.cjs +531 -0
  8. package/extensions/task-orchestrator.ts +28 -0
  9. package/extensions/task-runner.ts +1923 -0
  10. package/extensions/taskplane/abort.ts +466 -0
  11. package/extensions/taskplane/config.ts +102 -0
  12. package/extensions/taskplane/discovery.ts +988 -0
  13. package/extensions/taskplane/engine.ts +758 -0
  14. package/extensions/taskplane/execution.ts +1752 -0
  15. package/extensions/taskplane/extension.ts +577 -0
  16. package/extensions/taskplane/formatting.ts +718 -0
  17. package/extensions/taskplane/git.ts +38 -0
  18. package/extensions/taskplane/index.ts +22 -0
  19. package/extensions/taskplane/merge.ts +795 -0
  20. package/extensions/taskplane/messages.ts +134 -0
  21. package/extensions/taskplane/persistence.ts +1121 -0
  22. package/extensions/taskplane/resume.ts +1092 -0
  23. package/extensions/taskplane/sessions.ts +92 -0
  24. package/extensions/taskplane/types.ts +1514 -0
  25. package/extensions/taskplane/waves.ts +900 -0
  26. package/extensions/taskplane/worktree.ts +1624 -0
  27. package/package.json +50 -4
  28. package/skills/create-taskplane-task/SKILL.md +326 -0
  29. package/skills/create-taskplane-task/references/context-template.md +78 -0
  30. package/skills/create-taskplane-task/references/prompt-template.md +246 -0
  31. package/templates/agents/task-merger.md +256 -0
  32. package/templates/agents/task-reviewer.md +81 -0
  33. package/templates/agents/task-worker.md +140 -0
  34. package/templates/config/task-orchestrator.yaml +89 -0
  35. package/templates/config/task-runner.yaml +99 -0
  36. package/templates/tasks/CONTEXT.md +31 -0
  37. package/templates/tasks/EXAMPLE-001-hello-world/PROMPT.md +90 -0
  38. package/templates/tasks/EXAMPLE-001-hello-world/STATUS.md +73 -0
@@ -0,0 +1,90 @@
1
+ # Task: EXAMPLE-001 — Hello World
2
+
3
+ **Created:** {{date}}
4
+ **Size:** S
5
+
6
+ ## Review Level: 0 (None)
7
+
8
+ **Assessment:** Trivial single-file task to verify Taskplane is working.
9
+ **Score:** 0/8 — Blast radius: 0, Pattern novelty: 0, Security: 0, Reversibility: 0
10
+
11
+ ## Canonical Task Folder
12
+
13
+ ```
14
+ {{tasks_root}}/EXAMPLE-001-hello-world/
15
+ ├── PROMPT.md ← This file (immutable above --- divider)
16
+ ├── STATUS.md ← Execution state (worker updates this)
17
+ ├── .reviews/ ← Reviewer output (task-runner creates this)
18
+ └── .DONE ← Created when complete
19
+ ```
20
+
21
+ ## Mission
22
+
23
+ Create a simple `hello-taskplane.md` file in the project root to verify that
24
+ the Taskplane task runner is working correctly. This is a smoke test — if the
25
+ worker can read this prompt, create the file, and mark the task done, the
26
+ installation is healthy.
27
+
28
+ ## Dependencies
29
+
30
+ - **None**
31
+
32
+ ## Context to Read First
33
+
34
+ _No additional context needed._
35
+
36
+ ## Environment
37
+
38
+ - **Workspace:** Project root
39
+ - **Services required:** None
40
+
41
+ ## File Scope
42
+
43
+ - `hello-taskplane.md`
44
+
45
+ ## Steps
46
+
47
+ ### Step 0: Preflight
48
+
49
+ - [ ] Verify this PROMPT.md is readable
50
+ - [ ] Verify STATUS.md exists in the same folder
51
+
52
+ ### Step 1: Create Hello File
53
+
54
+ - [ ] Create `hello-taskplane.md` in the project root with a friendly message
55
+ - [ ] Include the current date and the task ID (EXAMPLE-001)
56
+
57
+ ### Step 2: Verification
58
+
59
+ - [ ] Verify `hello-taskplane.md` exists and contains the expected content
60
+
61
+ ### Step 3: Delivery
62
+
63
+ - [ ] `.DONE` created in this folder
64
+
65
+ ## Documentation Requirements
66
+
67
+ **Must Update:** None
68
+ **Check If Affected:** None
69
+
70
+ ## Completion Criteria
71
+
72
+ - [ ] `hello-taskplane.md` exists in the project root
73
+ - [ ] `.DONE` exists in the task folder
74
+
75
+ ## Git Commit Convention
76
+
77
+ - **Implementation:** `feat(EXAMPLE-001): description`
78
+ - **Checkpoints:** `checkpoint: EXAMPLE-001 description`
79
+
80
+ ## Do NOT
81
+
82
+ - Modify any existing project files
83
+ - Create files outside the project root
84
+ - Over-engineer this — it's a smoke test
85
+
86
+ ---
87
+
88
+ ## Amendments (Added During Execution)
89
+
90
+ <!-- Workers add amendments here if issues discovered during execution. -->
@@ -0,0 +1,73 @@
1
+ # EXAMPLE-001: Hello World — Status
2
+
3
+ **Current Step:** Not Started
4
+ **Status:** 🔵 Ready for Execution
5
+ **Last Updated:** {{date}}
6
+ **Review Level:** 0
7
+ **Review Counter:** 0
8
+ **Iteration:** 0
9
+ **Size:** S
10
+
11
+ ---
12
+
13
+ ### Step 0: Preflight
14
+ **Status:** ⬜ Not Started
15
+
16
+ - [ ] Verify PROMPT.md is readable
17
+ - [ ] Verify STATUS.md exists
18
+
19
+ ---
20
+
21
+ ### Step 1: Create Hello File
22
+ **Status:** ⬜ Not Started
23
+
24
+ - [ ] Create `hello-taskplane.md` in project root
25
+ - [ ] Include date and task ID
26
+
27
+ ---
28
+
29
+ ### Step 2: Verification
30
+ **Status:** ⬜ Not Started
31
+
32
+ - [ ] Verify file exists with expected content
33
+
34
+ ---
35
+
36
+ ### Step 3: Delivery
37
+ **Status:** ⬜ Not Started
38
+
39
+ - [ ] `.DONE` created
40
+
41
+ ---
42
+
43
+ ## Reviews
44
+
45
+ | # | Type | Step | Verdict | File |
46
+ |---|------|------|---------|------|
47
+
48
+ ---
49
+
50
+ ## Discoveries
51
+
52
+ | Discovery | Disposition | Location |
53
+ |-----------|-------------|----------|
54
+
55
+ ---
56
+
57
+ ## Execution Log
58
+
59
+ | Timestamp | Action | Outcome |
60
+ |-----------|--------|---------|
61
+ | {{date}} | Task staged | PROMPT.md and STATUS.md created |
62
+
63
+ ---
64
+
65
+ ## Blockers
66
+
67
+ *None*
68
+
69
+ ---
70
+
71
+ ## Notes
72
+
73
+ *This is an example task created by `taskplane init`. Delete it after verifying your setup works.*