taskplane 0.1.14 → 0.1.16

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.
@@ -1,89 +1,86 @@
1
- # ═══════════════════════════════════════════════════════════════════════
2
- # Parallel Task Orchestrator Configuration
3
- # ═══════════════════════════════════════════════════════════════════════
4
- #
5
- # Copy this file to `.pi/task-orchestrator.yaml` in your project and
6
- # customize it. The orchestrator reads BOTH this file and task-runner.yaml.
7
- #
8
- # - task-runner.yaml → task areas, reference docs, worker/reviewer
9
- # - task-orchestrator.yaml → lane count, worktrees, merge, failure policy
10
- #
11
- # This template is intentionally conservative so it is safe to adapt to a
12
- # wide range of repositories.
13
- # ═══════════════════════════════════════════════════════════════════════
14
-
15
- # ── Orchestrator Core ─────────────────────────────────────────────────
16
-
17
- orchestrator:
18
- # Maximum parallel lanes (worktrees)
19
- max_lanes: 3
20
-
21
- # Where to create worktree directories.
22
- # "sibling" = ../{prefix}-{N} (e.g. ../project-wt-1)
23
- # "subdirectory" = .worktrees/{prefix}-{N} (e.g. .worktrees/project-wt-1)
24
- worktree_location: "subdirectory"
25
- worktree_prefix: "project-wt"
26
-
27
- # Integration branch that lanes merge into.
28
- integration_branch: "main"
29
-
30
- # Batch ID format used in branch names and logs.
31
- batch_id_format: "timestamp"
32
-
33
- # "tmux" = named sessions you can attach to
34
- # "subprocess" = headless execution without tmux dependency
35
- spawn_mode: "subprocess"
36
-
37
- # Prefix for TMUX session names when tmux mode is enabled.
38
- tmux_prefix: "orch"
39
-
40
- # ── Dependency Analysis ───────────────────────────────────────────────
41
-
42
- dependencies:
43
- # "prompt" = parse dependencies from PROMPT.md
44
- # "agent" = use an agent to analyze tasks
45
- source: "prompt"
46
- cache: true
47
-
48
- # ── Lane Assignment ───────────────────────────────────────────────────
49
-
50
- assignment:
51
- strategy: "affinity-first"
52
- size_weights:
53
- S: 1
54
- M: 2
55
- L: 4
56
-
57
- # ── Pre-warming ───────────────────────────────────────────────────────
58
-
59
- # Disabled by default. Add commands that fit your stack if you want to use it.
60
- pre_warm:
61
- auto_detect: false
62
- commands: {}
63
- always: []
64
-
65
- # ── Merge ─────────────────────────────────────────────────────────────
66
-
67
- merge:
68
- model: "" # empty = inherit from parent pi session
69
- tools: "read,write,edit,bash,grep,find,ls"
70
-
71
- # Verification commands to run after each merge.
72
- # Add only the commands that are safe and relevant for your project.
73
- verify: []
74
-
75
- order: "fewest-files-first"
76
-
77
- # ── Failure Handling ──────────────────────────────────────────────────
78
-
79
- failure:
80
- on_task_failure: "skip-dependents"
81
- on_merge_failure: "pause"
82
- stall_timeout: 30
83
- max_worker_minutes: 30
84
- abort_grace_period: 60
85
-
86
- # ── Monitoring ────────────────────────────────────────────────────────
87
-
88
- monitoring:
89
- poll_interval: 5
1
+ # ═══════════════════════════════════════════════════════════════════════
2
+ # Parallel Task Orchestrator Configuration
3
+ # ═══════════════════════════════════════════════════════════════════════
4
+ #
5
+ # Copy this file to `.pi/task-orchestrator.yaml` in your project and
6
+ # customize it. The orchestrator reads BOTH this file and task-runner.yaml.
7
+ #
8
+ # - task-runner.yaml → task areas, reference docs, worker/reviewer
9
+ # - task-orchestrator.yaml → lane count, worktrees, merge, failure policy
10
+ #
11
+ # This template is intentionally conservative so it is safe to adapt to a
12
+ # wide range of repositories.
13
+ # ═══════════════════════════════════════════════════════════════════════
14
+
15
+ # ── Orchestrator Core ─────────────────────────────────────────────────
16
+
17
+ orchestrator:
18
+ # Maximum parallel lanes (worktrees)
19
+ max_lanes: 3
20
+
21
+ # Where to create worktree directories.
22
+ # "sibling" = ../{prefix}-{N} (e.g. ../project-wt-1)
23
+ # "subdirectory" = .worktrees/{prefix}-{N} (e.g. .worktrees/project-wt-1)
24
+ worktree_location: "subdirectory"
25
+ worktree_prefix: "project-wt"
26
+
27
+ # Batch ID format used in branch names and logs.
28
+ batch_id_format: "timestamp"
29
+
30
+ # "tmux" = named sessions you can attach to
31
+ # "subprocess" = headless execution without tmux dependency
32
+ spawn_mode: "subprocess"
33
+
34
+ # Prefix for TMUX session names when tmux mode is enabled.
35
+ tmux_prefix: "orch"
36
+
37
+ # ── Dependency Analysis ───────────────────────────────────────────────
38
+
39
+ dependencies:
40
+ # "prompt" = parse dependencies from PROMPT.md
41
+ # "agent" = use an agent to analyze tasks
42
+ source: "prompt"
43
+ cache: true
44
+
45
+ # ── Lane Assignment ───────────────────────────────────────────────────
46
+
47
+ assignment:
48
+ strategy: "affinity-first"
49
+ size_weights:
50
+ S: 1
51
+ M: 2
52
+ L: 4
53
+
54
+ # ── Pre-warming ───────────────────────────────────────────────────────
55
+
56
+ # Disabled by default. Add commands that fit your stack if you want to use it.
57
+ pre_warm:
58
+ auto_detect: false
59
+ commands: {}
60
+ always: []
61
+
62
+ # ── Merge ─────────────────────────────────────────────────────────────
63
+
64
+ merge:
65
+ model: "" # empty = inherit from parent pi session
66
+ tools: "read,write,edit,bash,grep,find,ls"
67
+
68
+ # Verification commands to run after each merge.
69
+ # Add only the commands that are safe and relevant for your project.
70
+ verify: []
71
+
72
+ order: "fewest-files-first"
73
+
74
+ # ── Failure Handling ──────────────────────────────────────────────────
75
+
76
+ failure:
77
+ on_task_failure: "skip-dependents"
78
+ on_merge_failure: "pause"
79
+ stall_timeout: 30
80
+ max_worker_minutes: 30
81
+ abort_grace_period: 60
82
+
83
+ # ── Monitoring ────────────────────────────────────────────────────────
84
+
85
+ monitoring:
86
+ poll_interval: 5
@@ -1,99 +1,95 @@
1
- # ═══════════════════════════════════════════════════════════════════════
2
- # Task Runner Configuration
3
- # ═══════════════════════════════════════════════════════════════════════
4
- #
5
- # Copy this file to `.pi/task-runner.yaml` in your project and customize it.
6
- # This template is intentionally generic — replace the example paths, test
7
- # commands, and task areas with ones that fit your repository.
8
- # ═══════════════════════════════════════════════════════════════════════
9
-
10
- # ── Project ───────────────────────────────────────────────────────────
11
-
12
- project:
13
- name: "Your Project"
14
- description: "Short description of your project"
15
-
16
- paths:
17
- tasks: "tasks"
18
- architecture: "docs/architecture.md"
19
-
20
- # ── Verification Commands ─────────────────────────────────────────────
21
-
22
- # Add the commands your project uses for validation. Keep only the ones
23
- # that are relevant to your stack.
24
- testing:
25
- commands:
26
- test: "npm test"
27
- build: "npm run build"
28
- lint: "npm run lint"
29
-
30
- # ── Standards ─────────────────────────────────────────────────────────
31
-
32
- standards:
33
- docs:
34
- - "README.md"
35
- - "CONTRIBUTING.md"
36
- rules:
37
- - "Keep changes scoped to the task"
38
- - "Update documentation when behavior changes"
39
- - "Prefer typed interfaces over unstructured data"
40
- - "Avoid destructive changes unless explicitly requested"
41
-
42
- # Per-area standards overrides. Omit or delete if you do not need them.
43
- standards_overrides: {}
44
-
45
- # ── Runner Settings ───────────────────────────────────────────────────
46
-
47
- worker:
48
- model: "" # empty = inherit from parent pi session
49
- tools: "read,write,edit,bash,grep,find,ls"
50
- thinking: "off"
51
- # spawn_mode: "subprocess" # "subprocess" (default) or "tmux"
52
- # tmux_prefix: "task" # used only in tmux mode
53
-
54
- reviewer:
55
- model: ""
56
- tools: "read,write,bash,grep,find,ls"
57
- thinking: "off"
58
-
59
- context:
60
- worker_context_window: 200000
61
- warn_percent: 70
62
- kill_percent: 85
63
- max_worker_iterations: 20
64
- max_review_cycles: 2
65
- no_progress_limit: 3
66
- # max_worker_minutes: 30 # used only in tmux mode
67
-
68
- # ── Task Creation / Discovery ─────────────────────────────────────────
69
-
70
- # Define the task areas that exist in your project.
71
- task_areas:
72
- core:
73
- path: "tasks/core"
74
- prefix: "CORE"
75
- context: "tasks/core/CONTEXT.md"
76
- docs:
77
- path: "tasks/docs"
78
- prefix: "DOC"
79
- context: "tasks/docs/CONTEXT.md"
80
-
81
- # Reference docs available for higher-context task prompts.
82
- reference_docs:
83
- overview: "README.md"
84
- architecture: "docs/architecture.md"
85
- contributing: "CONTRIBUTING.md"
86
-
87
- # Docs that should never be loaded during task execution.
88
- never_load:
89
- - "PROGRESS.md"
90
- - "HANDOFF-LOG.md"
91
-
92
- # Self-documentation targets (where agents should log useful discoveries).
93
- self_doc_targets:
94
- tech_debt: "CONTEXT.md ## Technical Debt / Future Work"
95
-
96
- # Docs requiring explicit user approval to modify.
97
- protected_docs:
98
- - "docs/"
99
- - "templates/"
1
+ # ═══════════════════════════════════════════════════════════════════════
2
+ # Task Runner Configuration
3
+ # ═══════════════════════════════════════════════════════════════════════
4
+ #
5
+ # Copy this file to `.pi/task-runner.yaml` in your project and customize it.
6
+ # This template is intentionally generic — replace the example paths, test
7
+ # commands, and task areas with ones that fit your repository.
8
+ # ═══════════════════════════════════════════════════════════════════════
9
+
10
+ # ── Project ───────────────────────────────────────────────────────────
11
+
12
+ project:
13
+ name: "Your Project"
14
+ description: "Short description of your project"
15
+
16
+ paths:
17
+ tasks: "tasks"
18
+ architecture: "docs/architecture.md"
19
+
20
+ # ── Verification Commands ─────────────────────────────────────────────
21
+
22
+ # Add the commands your project uses for validation. Keep only the ones
23
+ # that are relevant to your stack.
24
+ testing:
25
+ commands:
26
+ test: "npm test"
27
+ build: "npm run build"
28
+ lint: "npm run lint"
29
+
30
+ # ── Standards ─────────────────────────────────────────────────────────
31
+
32
+ standards:
33
+ docs:
34
+ - "README.md"
35
+ - "CONTRIBUTING.md"
36
+ rules:
37
+ - "Keep changes scoped to the task"
38
+ - "Update documentation when behavior changes"
39
+ - "Prefer typed interfaces over unstructured data"
40
+ - "Avoid destructive changes unless explicitly requested"
41
+
42
+ # Per-area standards overrides. Omit or delete if you do not need them.
43
+ standards_overrides: {}
44
+
45
+ # ── Runner Settings ───────────────────────────────────────────────────
46
+
47
+ worker:
48
+ model: "" # empty = inherit from parent pi session
49
+ tools: "read,write,edit,bash,grep,find,ls"
50
+ thinking: "off"
51
+ # spawn_mode: "subprocess" # "subprocess" (default) or "tmux"
52
+ # tmux_prefix: "task" # used only in tmux mode
53
+
54
+ reviewer:
55
+ model: ""
56
+ tools: "read,write,bash,grep,find,ls"
57
+ thinking: "off"
58
+
59
+ context:
60
+ worker_context_window: 200000
61
+ warn_percent: 70
62
+ kill_percent: 85
63
+ max_worker_iterations: 20
64
+ max_review_cycles: 2
65
+ no_progress_limit: 3
66
+ # max_worker_minutes: 30 # used only in tmux mode
67
+
68
+ # ── Task Creation / Discovery ─────────────────────────────────────────
69
+
70
+ # Define the task areas that exist in your project.
71
+ task_areas:
72
+ general:
73
+ path: "taskplane-tasks"
74
+ prefix: "TP"
75
+ context: "taskplane-tasks/CONTEXT.md"
76
+
77
+ # Reference docs available for higher-context task prompts.
78
+ reference_docs:
79
+ overview: "README.md"
80
+ architecture: "docs/architecture.md"
81
+ contributing: "CONTRIBUTING.md"
82
+
83
+ # Docs that should never be loaded during task execution.
84
+ never_load:
85
+ - "PROGRESS.md"
86
+ - "HANDOFF-LOG.md"
87
+
88
+ # Self-documentation targets (where agents should log useful discoveries).
89
+ self_doc_targets:
90
+ tech_debt: "CONTEXT.md ## Technical Debt / Future Work"
91
+
92
+ # Docs requiring explicit user approval to modify.
93
+ protected_docs:
94
+ - "docs/"
95
+ - "templates/"