ace-task 0.31.0
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.
- checksums.yaml +7 -0
- data/.ace-defaults/nav/protocols/skill-sources/ace-task.yml +19 -0
- data/.ace-defaults/nav/protocols/wfi-sources/ace-task.yml +19 -0
- data/.ace-defaults/task/config.yml +25 -0
- data/CHANGELOG.md +518 -0
- data/README.md +52 -0
- data/Rakefile +12 -0
- data/exe/ace-task +22 -0
- data/handbook/guides/task-definition.g.md +156 -0
- data/handbook/skills/as-bug-analyze/SKILL.md +26 -0
- data/handbook/skills/as-bug-fix/SKILL.md +27 -0
- data/handbook/skills/as-task-document-unplanned/SKILL.md +27 -0
- data/handbook/skills/as-task-draft/SKILL.md +24 -0
- data/handbook/skills/as-task-finder/SKILL.md +27 -0
- data/handbook/skills/as-task-plan/SKILL.md +30 -0
- data/handbook/skills/as-task-review/SKILL.md +25 -0
- data/handbook/skills/as-task-review-questions/SKILL.md +25 -0
- data/handbook/skills/as-task-update/SKILL.md +21 -0
- data/handbook/skills/as-task-work/SKILL.md +41 -0
- data/handbook/templates/task/draft.template.md +166 -0
- data/handbook/templates/task/file-modification-checklist.template.md +26 -0
- data/handbook/templates/task/technical-approach.template.md +26 -0
- data/handbook/workflow-instructions/bug/analyze.wf.md +458 -0
- data/handbook/workflow-instructions/bug/fix.wf.md +512 -0
- data/handbook/workflow-instructions/task/document-unplanned.wf.md +222 -0
- data/handbook/workflow-instructions/task/draft.wf.md +552 -0
- data/handbook/workflow-instructions/task/finder.wf.md +22 -0
- data/handbook/workflow-instructions/task/plan.wf.md +489 -0
- data/handbook/workflow-instructions/task/review-plan.wf.md +144 -0
- data/handbook/workflow-instructions/task/review-questions.wf.md +411 -0
- data/handbook/workflow-instructions/task/review-work.wf.md +146 -0
- data/handbook/workflow-instructions/task/review.wf.md +351 -0
- data/handbook/workflow-instructions/task/update.wf.md +118 -0
- data/handbook/workflow-instructions/task/work.wf.md +106 -0
- data/lib/ace/task/atoms/task_file_pattern.rb +68 -0
- data/lib/ace/task/atoms/task_frontmatter_defaults.rb +46 -0
- data/lib/ace/task/atoms/task_id_formatter.rb +62 -0
- data/lib/ace/task/atoms/task_validation_rules.rb +51 -0
- data/lib/ace/task/cli/commands/create.rb +105 -0
- data/lib/ace/task/cli/commands/doctor.rb +206 -0
- data/lib/ace/task/cli/commands/list.rb +73 -0
- data/lib/ace/task/cli/commands/plan.rb +119 -0
- data/lib/ace/task/cli/commands/show.rb +58 -0
- data/lib/ace/task/cli/commands/status.rb +77 -0
- data/lib/ace/task/cli/commands/update.rb +183 -0
- data/lib/ace/task/cli.rb +83 -0
- data/lib/ace/task/models/task.rb +46 -0
- data/lib/ace/task/molecules/path_utils.rb +20 -0
- data/lib/ace/task/molecules/subtask_creator.rb +130 -0
- data/lib/ace/task/molecules/task_config_loader.rb +92 -0
- data/lib/ace/task/molecules/task_creator.rb +115 -0
- data/lib/ace/task/molecules/task_display_formatter.rb +221 -0
- data/lib/ace/task/molecules/task_doctor_fixer.rb +510 -0
- data/lib/ace/task/molecules/task_doctor_reporter.rb +264 -0
- data/lib/ace/task/molecules/task_frontmatter_validator.rb +138 -0
- data/lib/ace/task/molecules/task_loader.rb +119 -0
- data/lib/ace/task/molecules/task_plan_cache.rb +190 -0
- data/lib/ace/task/molecules/task_plan_generator.rb +141 -0
- data/lib/ace/task/molecules/task_plan_prompt_builder.rb +91 -0
- data/lib/ace/task/molecules/task_reparenter.rb +247 -0
- data/lib/ace/task/molecules/task_resolver.rb +115 -0
- data/lib/ace/task/molecules/task_scanner.rb +129 -0
- data/lib/ace/task/molecules/task_structure_validator.rb +154 -0
- data/lib/ace/task/organisms/task_doctor.rb +199 -0
- data/lib/ace/task/organisms/task_manager.rb +353 -0
- data/lib/ace/task/version.rb +7 -0
- data/lib/ace/task.rb +37 -0
- metadata +197 -0
data/exe/ace-task
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require_relative "../lib/ace/task"
|
|
5
|
+
require_relative "../lib/ace/task/cli"
|
|
6
|
+
|
|
7
|
+
# No args → show help
|
|
8
|
+
args = ARGV.empty? ? ["--help"] : ARGV
|
|
9
|
+
|
|
10
|
+
# Handle SIGINT with exit code 130
|
|
11
|
+
trap("INT") { exit 130 }
|
|
12
|
+
|
|
13
|
+
# Start ace-support-cli with exception-based exit code handling (per ADR-023)
|
|
14
|
+
begin
|
|
15
|
+
Ace::Task::TaskCLI.start(args)
|
|
16
|
+
rescue Ace::Support::Cli::Error => e
|
|
17
|
+
warn e.message
|
|
18
|
+
exit(e.exit_code)
|
|
19
|
+
rescue ArgumentError => e
|
|
20
|
+
warn "Error: #{e.message}"
|
|
21
|
+
exit(1)
|
|
22
|
+
end
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: guide
|
|
3
|
+
purpose: Guide for writing clear, actionable task definitions in ace-task
|
|
4
|
+
ace-docs:
|
|
5
|
+
last-updated: '2026-03-21'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- markdownlint-disable -->
|
|
9
|
+
# 📑 Writing Clear, Actionable Dev Tasks
|
|
10
|
+
|
|
11
|
+
## A playbook for documentation‑oriented tickets, with a complete worked example
|
|
12
|
+
|
|
13
|
+
## Introduction & Goal
|
|
14
|
+
|
|
15
|
+
This guide provides a structured approach and template for writing effective development tasks, particularly those
|
|
16
|
+
focused on documentation changes within this toolkit. Following these steps ensures tasks are clear, scoped correctly,
|
|
17
|
+
actionable, and easily understood by both human developers and AI agents contributing to the project. The goal is to
|
|
18
|
+
minimize ambiguity and streamline the process of defining and executing documentation work.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 0. Directory Audit Step ✅
|
|
23
|
+
|
|
24
|
+
**Always start by discovering what actually exists in the repo.**
|
|
25
|
+
|
|
26
|
+
1. Run a tree or ls command (exclude `node_modules`, `vendor`, etc.).
|
|
27
|
+
2. Copy the relevant excerpt into the ticket.
|
|
28
|
+
3. From that listing, build the deliverable manifest.
|
|
29
|
+
|
|
30
|
+
> **Tip:**
|
|
31
|
+
> • If you don’t have repo access, create a tiny *pre‑ticket* titled “Generate Guide‑Audit Manifest”.
|
|
32
|
+
> • Commit the tree output as a comment or markdown file, then reference it in the main ticket.
|
|
33
|
+
|
|
34
|
+
Example audit snippet to embed:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
tree -L 2 ace-handbook/handbook/guides | sed 's/^/ /'
|
|
38
|
+
|
|
39
|
+
guides
|
|
40
|
+
├── coding-standards.g.md
|
|
41
|
+
├── error-handling.g.md
|
|
42
|
+
├── performance.g.md
|
|
43
|
+
└── ...
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 1. Anatomy of a Great Task
|
|
49
|
+
|
|
50
|
+
| Section | Purpose | Key Questions |
|
|
51
|
+
|---------|---------|---------------|
|
|
52
|
+
| **Front‑matter** | Helps tooling & humans filter | id (use `task-manager generate-id VERSION` to generate), status, priority, estimate, dependencies |
|
|
53
|
+
| **Objective / Problem** | *Why* are we doing this? | What pain are we fixing? |
|
|
54
|
+
| **Directory Audit (0)** | Source‑of‑truth for scope | Did we include the current tree? |
|
|
55
|
+
| **Scope of Work** | *What* to touch | Which guides/folders? |
|
|
56
|
+
| **Deliverables / Manifest** | Exact files to create / modify / delete | Could a newcomer do it with just this? |
|
|
57
|
+
| **Phases** | Bite‑sized plan | Audit → Extract → Refactor → Index |
|
|
58
|
+
| **Implementation Plan** | Divided into Planning Steps (`* [ ]`) for analysis/design and Execution Steps (`- [ ]`) for implementation actions. Consider embedding automated test/verification steps directly. | |
|
|
59
|
+
| **Acceptance Criteria** | Definition of Done | Check‑list style `[ ]`. **Can include references to automated checks defined in the Implementation Plan's Planning and Execution sections or be high-level checks themselves.** |
|
|
60
|
+
| **Out of Scope** | Prevent scope creep | What must *not* be touched? |
|
|
61
|
+
| **References & Risks** | Links to style guides, ADRs, **testing standards (like [Embedded Testing Guide](ace-docs/handbook/guides/embedded-testing-guide.g.md))**; mitigations | Any scripts to run? **Use links relative to the project root (e.g., `ace-handbook/handbook/guides/some-guide.g.md`), not relative to the current file (`../guides/some-guide.md`)** |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 2. Task Template
|
|
66
|
+
|
|
67
|
+
A re-usable Markdown template for tasks is available at:
|
|
68
|
+
[`ace-task/handbook/templates/task/draft.template.md`](../templates/task/draft.template.md)
|
|
69
|
+
|
|
70
|
+
This template includes all the standard sections discussed in "Anatomy of a Great Task". You should copy this template and fill it out for each new task. Remember to use `task-manager generate-id VERSION` to generate the task ID.
|
|
71
|
+
|
|
72
|
+
### Planning vs. Execution Steps
|
|
73
|
+
|
|
74
|
+
The template's Implementation Plan section is divided into two subsections to support different phases of task work:
|
|
75
|
+
|
|
76
|
+
- **Planning Steps (`* [ ]`)**: Optional but recommended for complex tasks. Use asterisk markers for research, analysis, and design activities that help clarify the approach before implementation begins. These steps are typically worked on during task review or initial planning phases.
|
|
77
|
+
|
|
78
|
+
- **Execution Steps (`- [ ]`)**: Required section. Use hyphen markers for concrete implementation actions that modify code, create files, or change the system state. These steps are the actual work performed when implementing the task.
|
|
79
|
+
|
|
80
|
+
This distinction supports workflow separation where review/planning phases focus on Planning Steps, while implementation phases focus on Execution Steps. Both sections can include embedded tests as guardrails.
|
|
81
|
+
|
|
82
|
+
> **Tip: Generating Task IDs with `task-manager generate-id`**
|
|
83
|
+
> Always use the `task-manager generate-id VERSION` command (run from the project root)
|
|
84
|
+
> to generate the task ID for the `id` field in the front-matter.
|
|
85
|
+
> This script ensures the ID is unique, correctly formatted, and uses the next sequential
|
|
86
|
+
> number for the current release, as per the conventions in
|
|
87
|
+
> `ace-task/handbook/guides/project-management.g.md#task-id-convention`.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 3. **Full Worked Example**
|
|
92
|
+
|
|
93
|
+
A full worked example of a task, "Tailor Guides to Tech Stack," has been moved to a separate file:
|
|
94
|
+
[`ace-task/handbook/templates/release-tasks/example.md`](../templates/release-tasks/example.md)
|
|
95
|
+
|
|
96
|
+
This example demonstrates how to fill out the template for a real-world scenario.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### 4. Planning vs. Execution Examples
|
|
101
|
+
|
|
102
|
+
#### Simple Task (Execution Steps Only)
|
|
103
|
+
|
|
104
|
+
For straightforward tasks that don't require research or design, you can skip Planning Steps:
|
|
105
|
+
|
|
106
|
+
```markdown
|
|
107
|
+
## Implementation Plan
|
|
108
|
+
|
|
109
|
+
### Execution Steps
|
|
110
|
+
- [ ] Update the configuration file with new API endpoint
|
|
111
|
+
- [ ] Test the connection to verify it works
|
|
112
|
+
> TEST: API Connection Check
|
|
113
|
+
> Type: Action Validation
|
|
114
|
+
> Assert: The new API endpoint responds with status 200
|
|
115
|
+
> Command: # Run project-specific test command --check-api-connection
|
|
116
|
+
- [ ] Update documentation with the new endpoint URL
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
#### Complex Task (Both Planning and Execution)
|
|
120
|
+
|
|
121
|
+
For complex tasks requiring analysis or design decisions, include both sections:
|
|
122
|
+
|
|
123
|
+
```markdown
|
|
124
|
+
## Implementation Plan
|
|
125
|
+
|
|
126
|
+
### Planning Steps
|
|
127
|
+
* [ ] Research existing authentication patterns in the codebase
|
|
128
|
+
> TEST: Pattern Analysis Complete
|
|
129
|
+
> Type: Pre-condition Check
|
|
130
|
+
> Assert: Current auth patterns are documented and understood
|
|
131
|
+
> Command: # Run project-specific test command --check-analysis-exists auth-patterns.md
|
|
132
|
+
* [ ] Design new OAuth integration approach considering security requirements
|
|
133
|
+
* [ ] Plan database schema changes needed for user sessions
|
|
134
|
+
|
|
135
|
+
### Execution Steps
|
|
136
|
+
- [ ] Create new OAuth service class
|
|
137
|
+
- [ ] Implement session management database tables
|
|
138
|
+
> TEST: Schema Migration
|
|
139
|
+
> Type: Action Validation
|
|
140
|
+
> Assert: Database migration runs successfully
|
|
141
|
+
> Command: # Run project-specific test command --check-migration-success
|
|
142
|
+
- [ ] Update user authentication flow
|
|
143
|
+
- [ ] Add comprehensive tests for OAuth integration
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### 5. Quick Checklist 🚦
|
|
147
|
+
|
|
148
|
+
1. Is the **Directory Audit** present?
|
|
149
|
+
2. Could a newcomer complete the work using only the manifest?
|
|
150
|
+
3. Do the Acceptance Criteria read like QA steps?
|
|
151
|
+
4. Is scope creep prevented by an **Out of Scope** section?
|
|
152
|
+
5. Are references & scripts one click away?
|
|
153
|
+
6. Are Planning Steps used for complex tasks requiring analysis/design?
|
|
154
|
+
7. Do visual markers distinguish planning (`* [ ]`) from execution (`- [ ]`) steps?
|
|
155
|
+
|
|
156
|
+
Tick them all → merge the ticket.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-bug-analyze
|
|
3
|
+
description: Analyze bugs to identify root cause, reproduction status, and fix plan
|
|
4
|
+
# bundle: wfi://bug/analyze
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: Plan
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
argument-hint: [bug-description]
|
|
17
|
+
last_modified: 2025-12-09
|
|
18
|
+
source: ace-task
|
|
19
|
+
skill:
|
|
20
|
+
kind: workflow
|
|
21
|
+
execution:
|
|
22
|
+
workflow: wfi://bug/analyze
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
Load and run `ace-bundle wfi://bug/analyze` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-bug-fix
|
|
3
|
+
description: Execute bug fix plan, apply changes, create tests, and verify resolution
|
|
4
|
+
# bundle: wfi://bug/fix
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Bash(ace-test:*)
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- Grep
|
|
16
|
+
- Glob
|
|
17
|
+
argument-hint: [bug-description-or-analysis-file]
|
|
18
|
+
last_modified: 2026-01-10
|
|
19
|
+
source: ace-task
|
|
20
|
+
skill:
|
|
21
|
+
kind: workflow
|
|
22
|
+
execution:
|
|
23
|
+
workflow: wfi://bug/fix
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
Load and run `ace-bundle wfi://bug/fix` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-document-unplanned
|
|
3
|
+
description: Document Unplanned Work
|
|
4
|
+
# bundle: wfi://task/document-unplanned
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Bash(ace-git-commit:*)
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- TodoWrite
|
|
16
|
+
argument-hint: [description]
|
|
17
|
+
last_modified: 2026-01-10
|
|
18
|
+
source: ace-task
|
|
19
|
+
skill:
|
|
20
|
+
kind: workflow
|
|
21
|
+
execution:
|
|
22
|
+
workflow: wfi://task/document-unplanned
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
Load and run `ace-bundle wfi://task/document-unplanned` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
27
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-draft
|
|
3
|
+
description: Draft Task with Idea File Movement (SPECS ONLY - no code)
|
|
4
|
+
# bundle: wfi://task/draft
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- TodoWrite
|
|
14
|
+
argument-hint: [task-description or idea-file-path]
|
|
15
|
+
last_modified: 2026-01-10
|
|
16
|
+
source: ace-task
|
|
17
|
+
skill:
|
|
18
|
+
kind: workflow
|
|
19
|
+
execution:
|
|
20
|
+
workflow: wfi://task/draft
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
Load and run `ace-bundle wfi://task/draft` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-finder
|
|
3
|
+
description: FIND tasks - list, filter, and discover tasks
|
|
4
|
+
# bundle: wfi://task/finder
|
|
5
|
+
# agent: Explore
|
|
6
|
+
user-invocable: true
|
|
7
|
+
allowed-tools:
|
|
8
|
+
- Bash(ace-task:*)
|
|
9
|
+
- Bash(ace-bundle:*)
|
|
10
|
+
- Read
|
|
11
|
+
argument-hint: "[list|show] [options]"
|
|
12
|
+
last_modified: 2026-01-09
|
|
13
|
+
source: ace-task
|
|
14
|
+
integration:
|
|
15
|
+
targets:
|
|
16
|
+
- claude
|
|
17
|
+
- codex
|
|
18
|
+
- gemini
|
|
19
|
+
- opencode
|
|
20
|
+
- pi
|
|
21
|
+
skill:
|
|
22
|
+
kind: workflow
|
|
23
|
+
execution:
|
|
24
|
+
workflow: wfi://task/finder
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
Load and run `ace-bundle wfi://task/finder` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-plan
|
|
3
|
+
description: Creates JIT implementation plan with ephemeral output, no task file modifications
|
|
4
|
+
# bundle: wfi://task/plan
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: Plan
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- TodoWrite
|
|
13
|
+
argument-hint: [task-id]
|
|
14
|
+
last_modified: 2026-03-09
|
|
15
|
+
source: ace-task
|
|
16
|
+
skill:
|
|
17
|
+
kind: workflow
|
|
18
|
+
execution:
|
|
19
|
+
workflow: wfi://task/plan
|
|
20
|
+
assign:
|
|
21
|
+
source: wfi://task/plan
|
|
22
|
+
steps:
|
|
23
|
+
- name: plan-task
|
|
24
|
+
description: Analyze task requirements and create an implementation plan
|
|
25
|
+
tags: [planning, analysis]
|
|
26
|
+
context:
|
|
27
|
+
default: fork
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
Load and run `ace-bundle wfi://task/plan` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-review
|
|
3
|
+
description: Reviews draft behavioral specs, promotes to pending when ready
|
|
4
|
+
# bundle: wfi://task/review
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: Plan
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- TodoWrite
|
|
14
|
+
argument-hint: [task-id like 123]
|
|
15
|
+
last_modified: 2026-02-16
|
|
16
|
+
source: ace-task
|
|
17
|
+
skill:
|
|
18
|
+
kind: workflow
|
|
19
|
+
execution:
|
|
20
|
+
workflow: wfi://task/review
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
Load and run `ace-bundle wfi://task/review` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
25
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-review-questions
|
|
3
|
+
description: Review and answer clarifying questions about task or implementation
|
|
4
|
+
# bundle: wfi://task/review-questions
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- TodoWrite
|
|
14
|
+
argument-hint: [question-context]
|
|
15
|
+
last_modified: 2026-01-10
|
|
16
|
+
source: ace-task
|
|
17
|
+
skill:
|
|
18
|
+
kind: workflow
|
|
19
|
+
execution:
|
|
20
|
+
workflow: wfi://task/review-questions
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
Load and run `ace-bundle wfi://task/review-questions` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
25
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-update
|
|
3
|
+
description: Update task metadata, status, position, or location
|
|
4
|
+
# bundle: wfi://task/update
|
|
5
|
+
# agent: general-purpose
|
|
6
|
+
user-invocable: true
|
|
7
|
+
allowed-tools:
|
|
8
|
+
- Bash(ace-task:*)
|
|
9
|
+
- Bash(ace-bundle:*)
|
|
10
|
+
- Read
|
|
11
|
+
argument-hint: "<ref> [--set K=V] [--move-to FOLDER] [--move-as-child-of PARENT|none] [--position first|after:<ref>]"
|
|
12
|
+
last_modified: 2026-03-21
|
|
13
|
+
source: ace-task
|
|
14
|
+
skill:
|
|
15
|
+
kind: workflow
|
|
16
|
+
execution:
|
|
17
|
+
workflow: wfi://task/update
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
Load and run `ace-bundle wfi://task/update` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-task-work
|
|
3
|
+
description: Execute task implementation with context loading and change commits
|
|
4
|
+
# bundle: wfi://task/work
|
|
5
|
+
# agent: general-purpose
|
|
6
|
+
user-invocable: true
|
|
7
|
+
allowed-tools:
|
|
8
|
+
- Bash(ace-task:*)
|
|
9
|
+
- Bash(ace-bundle:*)
|
|
10
|
+
- Bash(ace-git-commit:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- TodoWrite
|
|
15
|
+
- Task
|
|
16
|
+
argument-hint: [task-id like 123]
|
|
17
|
+
last_modified: 2026-02-17
|
|
18
|
+
source: ace-task
|
|
19
|
+
assign:
|
|
20
|
+
source: wfi://task/work
|
|
21
|
+
steps:
|
|
22
|
+
- name: work-on-task
|
|
23
|
+
description: Implement task changes following project conventions
|
|
24
|
+
intent:
|
|
25
|
+
phrases:
|
|
26
|
+
- "work on task"
|
|
27
|
+
- "implement task"
|
|
28
|
+
- "task work"
|
|
29
|
+
- "build feature"
|
|
30
|
+
tags: [implementation, core-workflow]
|
|
31
|
+
context:
|
|
32
|
+
default: fork
|
|
33
|
+
skill:
|
|
34
|
+
kind: workflow
|
|
35
|
+
execution:
|
|
36
|
+
workflow: wfi://task/work
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Instructions
|
|
40
|
+
|
|
41
|
+
- read and run `ace-bundle wfi://task/work`
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
id:
|
|
3
|
+
id:
|
|
4
|
+
status: draft
|
|
5
|
+
priority:
|
|
6
|
+
priority:
|
|
7
|
+
estimate: TBD
|
|
8
|
+
dependencies:
|
|
9
|
+
dependencies:
|
|
10
|
+
bundle:
|
|
11
|
+
presets:
|
|
12
|
+
- project
|
|
13
|
+
files: []
|
|
14
|
+
commands: []
|
|
15
|
+
doc-type: template
|
|
16
|
+
purpose: Template for drafting task definitions
|
|
17
|
+
ace-docs:
|
|
18
|
+
last-updated: '2026-03-21'
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# {title}
|
|
22
|
+
|
|
23
|
+
## Behavioral Specification
|
|
24
|
+
|
|
25
|
+
### User Experience
|
|
26
|
+
- **Input**: [What users provide - data, commands, interactions]
|
|
27
|
+
- **Process**: [What users experience during interaction - feedback, states, flows]
|
|
28
|
+
- **Output**: [What users receive - results, confirmations, artifacts]
|
|
29
|
+
|
|
30
|
+
### Expected Behavior
|
|
31
|
+
<!-- Describe WHAT the system should do from the user's perspective -->
|
|
32
|
+
<!-- Focus on observable outcomes, system responses, and user experience -->
|
|
33
|
+
<!-- Avoid implementation details - no mention of files, code structure, or technical approaches -->
|
|
34
|
+
|
|
35
|
+
[Describe the desired behavior, user experience, and system responses]
|
|
36
|
+
|
|
37
|
+
### Interface Contract
|
|
38
|
+
<!-- Define all external interfaces, APIs, and interaction points -->
|
|
39
|
+
<!-- Include normal operations, error conditions, and edge cases -->
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# CLI Interface (if applicable)
|
|
43
|
+
command-name [options] <arguments>
|
|
44
|
+
# Expected outputs, error messages, and status codes
|
|
45
|
+
|
|
46
|
+
# API Interface (if applicable)
|
|
47
|
+
GET/POST/PUT/DELETE /endpoint
|
|
48
|
+
# Request/response formats, error responses, status codes
|
|
49
|
+
|
|
50
|
+
# UI Interface (if applicable)
|
|
51
|
+
# User interactions, form behaviors, navigation flows
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Exit Codes** (CLI tasks):
|
|
55
|
+
<!-- Define exit code semantics - what each code means -->
|
|
56
|
+
| Code | Meaning |
|
|
57
|
+
|------|---------|
|
|
58
|
+
| 0 | Success |
|
|
59
|
+
| 1 | General error |
|
|
60
|
+
| 2 | Invalid arguments/usage |
|
|
61
|
+
| 130 | Interrupted (Ctrl+C) |
|
|
62
|
+
|
|
63
|
+
**Error Handling:**
|
|
64
|
+
- [Error condition 1]: [Expected system response]
|
|
65
|
+
- [Error condition 2]: [Expected system response]
|
|
66
|
+
|
|
67
|
+
**Input Validation** (data-driven features):
|
|
68
|
+
<!-- Define what validation is required for input data -->
|
|
69
|
+
- [Required field 1]: [Validation rule and error if missing]
|
|
70
|
+
- [Required field 2]: [Validation rule and error if missing]
|
|
71
|
+
|
|
72
|
+
**Edge Cases:**
|
|
73
|
+
- [Edge case 1]: [Expected behavior]
|
|
74
|
+
- [Edge case 2]: [Expected behavior]
|
|
75
|
+
|
|
76
|
+
**Concurrency Considerations** (if applicable):
|
|
77
|
+
<!-- Document multi-process safety requirements -->
|
|
78
|
+
- [ ] File operations: [Atomic write requirements]
|
|
79
|
+
- [ ] ID generation: [Uniqueness guarantees under concurrent access]
|
|
80
|
+
- [ ] State management: [Race condition handling]
|
|
81
|
+
|
|
82
|
+
**Cleanup Behavior:**
|
|
83
|
+
<!-- What happens to resources on success, failure, and interruption -->
|
|
84
|
+
- Success: [Expected cleanup]
|
|
85
|
+
- Failure: [Expected cleanup - no orphan temp files]
|
|
86
|
+
- Interruption: [Expected cleanup on SIGINT]
|
|
87
|
+
|
|
88
|
+
### Success Criteria
|
|
89
|
+
<!-- Define measurable, observable criteria that indicate successful completion -->
|
|
90
|
+
<!-- Focus on behavioral outcomes and user experience, not implementation artifacts -->
|
|
91
|
+
|
|
92
|
+
- [ ] **Behavioral Outcome 1**: [Observable user/system behavior or capability]
|
|
93
|
+
- [ ] **User Experience Goal 2**: [Measurable user experience improvement]
|
|
94
|
+
- [ ] **System Performance 3**: [Measurable system behavior or performance metric]
|
|
95
|
+
|
|
96
|
+
### Validation Questions
|
|
97
|
+
<!-- Questions to clarify requirements, resolve ambiguities, and validate understanding -->
|
|
98
|
+
<!-- Ask about unclear requirements, edge cases, and user expectations -->
|
|
99
|
+
|
|
100
|
+
- [ ] **Requirement Clarity**: [Question about unclear or ambiguous requirements]
|
|
101
|
+
- [ ] **Edge Case Handling**: [Question about boundary conditions or unusual scenarios]
|
|
102
|
+
- [ ] **User Experience**: [Question about user expectations, workflows, or interactions]
|
|
103
|
+
- [ ] **Success Definition**: [Question about how success will be measured or validated]
|
|
104
|
+
|
|
105
|
+
### Vertical Slice Decomposition (Task/Subtask Model)
|
|
106
|
+
<!-- Describe end-to-end slices using task/subtask structure -->
|
|
107
|
+
<!-- Use orchestrator + subtasks for multiple slices; use standalone task for one slice -->
|
|
108
|
+
|
|
109
|
+
- **Slice Type**: [Standalone task | Orchestrator | Subtask]
|
|
110
|
+
- **Slice Outcome**: [Observable end-to-end capability delivered by this task/subtask]
|
|
111
|
+
- **Advisory Size**: [small | medium | large]
|
|
112
|
+
- **Context Dependencies**: [Critical files/presets/commands this slice needs in fresh sessions]
|
|
113
|
+
|
|
114
|
+
### Verification Plan
|
|
115
|
+
<!-- Define verification strategy before implementation -->
|
|
116
|
+
<!-- Include unit/equivalent checks, integration/e2e where applicable, and failure-path validation -->
|
|
117
|
+
|
|
118
|
+
#### Unit / Component Validation
|
|
119
|
+
- [ ] [Scenario]: [Expected observable result]
|
|
120
|
+
|
|
121
|
+
#### Integration / E2E Validation (if cross-boundary behavior exists)
|
|
122
|
+
- [ ] [Scenario]: [Expected observable result]
|
|
123
|
+
|
|
124
|
+
#### Failure / Invalid-Path Validation
|
|
125
|
+
- [ ] [Scenario]: [Expected error handling behavior]
|
|
126
|
+
|
|
127
|
+
#### Verification Commands
|
|
128
|
+
- [ ] [Command/check]: [Expected outcome]
|
|
129
|
+
|
|
130
|
+
## Objective
|
|
131
|
+
|
|
132
|
+
Why are we doing this? Focus on user value and behavioral outcomes.
|
|
133
|
+
|
|
134
|
+
## Scope of Work
|
|
135
|
+
<!-- Define the behavioral scope - what user experiences and system behaviors are included -->
|
|
136
|
+
|
|
137
|
+
- **User Experience Scope**: [Which user interactions, workflows, and experiences are included]
|
|
138
|
+
- **System Behavior Scope**: [Which system capabilities, responses, and behaviors are included]
|
|
139
|
+
- **Interface Scope**: [Which APIs, commands, or interfaces are included]
|
|
140
|
+
|
|
141
|
+
### Deliverables
|
|
142
|
+
<!-- Focus on behavioral and experiential deliverables, not implementation artifacts -->
|
|
143
|
+
|
|
144
|
+
#### Behavioral Specifications
|
|
145
|
+
- User experience flow definitions
|
|
146
|
+
- System behavior specifications
|
|
147
|
+
- Interface contract definitions
|
|
148
|
+
|
|
149
|
+
#### Validation Artifacts
|
|
150
|
+
- Success criteria validation methods
|
|
151
|
+
- User acceptance criteria
|
|
152
|
+
- Behavioral test scenarios
|
|
153
|
+
|
|
154
|
+
## Out of Scope
|
|
155
|
+
<!-- Explicitly exclude implementation concerns to maintain behavioral focus -->
|
|
156
|
+
|
|
157
|
+
- ❌ **Implementation Details**: File structures, code organization, technical architecture
|
|
158
|
+
- ❌ **Technology Decisions**: Tool selections, library choices, framework decisions
|
|
159
|
+
- ❌ **Performance Optimization**: Specific performance improvement strategies
|
|
160
|
+
- ❌ **Future Enhancements**: Related features or capabilities not in current scope
|
|
161
|
+
|
|
162
|
+
## References
|
|
163
|
+
|
|
164
|
+
- Related capture-it output (if applicable)
|
|
165
|
+
- User experience requirements
|
|
166
|
+
- Interface specification examples
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: template
|
|
3
|
+
purpose: Checklist template for tracking file changes in task and code reviews
|
|
4
|
+
ace-docs:
|
|
5
|
+
last-updated: '2026-03-21'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## File Modifications
|
|
9
|
+
|
|
10
|
+
### Create
|
|
11
|
+
- path/to/new/file.ext
|
|
12
|
+
- Purpose: [why this file]
|
|
13
|
+
- Key components: [what it contains]
|
|
14
|
+
- Dependencies: [what it depends on]
|
|
15
|
+
|
|
16
|
+
### Modify
|
|
17
|
+
- path/to/existing/file.ext
|
|
18
|
+
- Changes: [what to modify]
|
|
19
|
+
- Impact: [effects on system]
|
|
20
|
+
- Integration points: [how it connects]
|
|
21
|
+
|
|
22
|
+
### Delete
|
|
23
|
+
- path/to/obsolete/file.ext
|
|
24
|
+
- Reason: [why removing]
|
|
25
|
+
- Dependencies: [what depends on this]
|
|
26
|
+
- Migration strategy: [how to handle removal]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: template
|
|
3
|
+
purpose: Technical approach template for implementation planning and architecture
|
|
4
|
+
decisions
|
|
5
|
+
ace-docs:
|
|
6
|
+
last-updated: '2026-03-21'
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Technical Approach
|
|
10
|
+
|
|
11
|
+
### Architecture Pattern
|
|
12
|
+
- [ ] Pattern selection and rationale
|
|
13
|
+
- [ ] Integration with existing architecture
|
|
14
|
+
- [ ] Impact on system design
|
|
15
|
+
|
|
16
|
+
### Technology Stack
|
|
17
|
+
- [ ] Libraries/frameworks needed
|
|
18
|
+
- [ ] Version compatibility checks
|
|
19
|
+
- [ ] Performance implications
|
|
20
|
+
- [ ] Security considerations
|
|
21
|
+
|
|
22
|
+
### Implementation Strategy
|
|
23
|
+
- [ ] Step-by-step approach
|
|
24
|
+
- [ ] Rollback considerations
|
|
25
|
+
- [ ] Testing strategy
|
|
26
|
+
- [ ] Performance monitoring
|