@rse/ase 0.9.5 → 0.9.7

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.
@@ -38,7 +38,7 @@ to `true`, <getopt-option-dry/> to `true`, and <getopt-option-next/> to
38
38
  <request><getopt-arguments/></request>
39
39
  </objective>
40
40
 
41
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
41
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
42
42
 
43
43
  Procedure
44
44
  ---------
@@ -196,12 +196,12 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
196
196
  anything else in this step:
197
197
 
198
198
  <template>
199
- **APPROACH A<n/>**<annotation/>: *<summary/>*
200
- [...]
201
- [...]
202
- [...]
203
- *pro*: [...]
204
- *con*: [...]
199
+ **APPROACH A<n/>**<annotation/>: *<summary/>*
200
+ [...]
201
+ [...]
202
+ [...]
203
+ **PRO*: [...]
204
+ **CON*: [...]
205
205
  <optional-diagram/>
206
206
  </template>
207
207
 
@@ -269,7 +269,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
269
269
  file, aligned with its existing style and conventions.
270
270
 
271
271
  <if condition="<getopt-option-dry/> is equal `true`">
272
- You *MUST* completely omit the `##VERIFICATION` section
272
+ You *MUST* completely omit the `## VERIFICATION` section
273
273
  (including its heading and all of its bullet points) from
274
274
  <content/>.
275
275
  </if>
@@ -34,7 +34,7 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
34
34
  asking the user via the interactive dialog.
35
35
 
36
36
  `--dry`|`-d`:
37
- Compose the plan *without* the `※ VERIFICATION` section. When
37
+ Compose the plan *without* the `## VERIFICATION` section. When
38
38
  `ase-task-implement` later applies such a plan, it strictly skips
39
39
  the entire verification phase (no build, tests, linter,
40
40
  type-checker, or program execution) once the source files have
@@ -43,7 +43,7 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
43
43
  `--quick`|`-Q`:
44
44
  Shorthand alias for `-a -d -n IMPLEMENT,DELETE`: automatically pick
45
45
  the recommended refactoring approach, compose the plan *without* the
46
- `※ VERIFICATION` section, immediately hand off to `ase-task-implement`,
46
+ `## VERIFICATION` section, immediately hand off to `ase-task-implement`,
47
47
  and finally `ase-task-delete` the now-consumed plan. This gives a
48
48
  single, fast *one-shot* refactoring mode.
49
49
 
@@ -38,7 +38,7 @@ to `true`, <getopt-option-dry/> to `true`, and <getopt-option-next/> to
38
38
  <problem><getopt-arguments/></problem>
39
39
  </objective>
40
40
 
41
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
41
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
42
42
 
43
43
  Procedure
44
44
  ---------
@@ -245,12 +245,12 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
245
245
  anything else in this step:
246
246
 
247
247
  <template>
248
- **APPROACH A<n/>**<annotation/>: *<summary/>*
249
- [...]
250
- [...]
251
- [...]
252
- *pro*: [...]
253
- *con*: [...]
248
+ **APPROACH A<n/>**<annotation/>: *<summary/>*
249
+ [...]
250
+ [...]
251
+ [...]
252
+ *PRO*: [...]
253
+ *CON*: [...]
254
254
  <optional-diagram/>
255
255
  </template>
256
256
 
@@ -317,7 +317,7 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
317
317
  file, aligned with its existing style and conventions.
318
318
 
319
319
  <if condition="<getopt-option-dry/> is equal `true`">
320
- You *MUST* completely omit the `##VERIFICATION` section
320
+ You *MUST* completely omit the `## VERIFICATION` section
321
321
  (including its heading and all of its bullet points) from
322
322
  <content/>.
323
323
  </if>
@@ -39,7 +39,7 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
39
39
  asking the user via the interactive dialog.
40
40
 
41
41
  `--dry`|`-d`:
42
- Compose the plan *without* the `※ VERIFICATION` section. When
42
+ Compose the plan *without* the `## VERIFICATION` section. When
43
43
  `ase-task-implement` later applies such a plan, it strictly skips
44
44
  the entire verification phase (no build, tests, linter,
45
45
  type-checker, or program execution) once the source files have
@@ -48,7 +48,7 @@ plan via `ase_task_save` and then hands off to `ase-task-edit`,
48
48
  `--quick`|`-Q`:
49
49
  Shorthand alias for `-a -d -n IMPLEMENT,DELETE`: automatically pick
50
50
  the recommended resolution approach, compose the plan *without* the
51
- `※ VERIFICATION` section, immediately hand off to `ase-task-implement`,
51
+ `## VERIFICATION` section, immediately hand off to `ase-task-implement`,
52
52
  and finally `ase-task-delete` the now-consumed plan. This gives a
53
53
  single, fast *one-shot* resolution mode.
54
54
 
@@ -30,7 +30,7 @@ Condense a Task Plan
30
30
  semantics exactly.
31
31
  </objective>
32
32
 
33
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
33
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
34
34
 
35
35
  Procedure
36
36
  ---------
@@ -17,10 +17,6 @@ session context) is used. When the deleted task is the current task
17
17
  and not the `default` task, the current task id is automatically
18
18
  switched back to `default`.
19
19
 
20
- The task plan is stored in `.ase/tasks/`*id*`/plan.md` files of the
21
- project and can be alternatively deleted with the
22
- "`ase task delete` *id*" command from outside the agent tool.
23
-
24
20
  ## ARGUMENTS
25
21
 
26
22
  *id*:
@@ -34,7 +34,7 @@ continued refinement, finalization, or hand-off to implementation or
34
34
  preflight.
35
35
  </objective>
36
36
 
37
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
37
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
38
38
 
39
39
  Procedure
40
40
  ---------
@@ -73,7 +73,7 @@ that `CHANGELOG.md` file, aligned with its existing style
73
73
  and conventions.
74
74
 
75
75
  <if condition="<getopt-option-dry/> is equal `true`">
76
- You *MUST* completely omit the `##VERIFICATION` section
76
+ You *MUST* completely omit the `## VERIFICATION` section
77
77
  (including its heading and all of its bullet points) from
78
78
  <content/>.
79
79
  </if>
@@ -271,7 +271,7 @@ Set <content-dirty>true</content-dirty>.
271
271
  </template>
272
272
  </if>
273
273
 
274
- 4. <if condition="<content/> does not contain '# ✪ TASK PLAN:' AND <instruction/> is empty">
274
+ 4. <if condition="<content/> does not contain '# ✪ TASK' AND <instruction/> is empty">
275
275
  Set <instruction><content/></instruction> (set instruction to content).
276
276
  Set <content></content> (set content to empty).
277
277
  Set <content-dirty>true</content-dirty>.
@@ -318,18 +318,19 @@ Set <content-dirty>true</content-dirty>.
318
318
  </template>
319
319
  </if>
320
320
 
321
- 3. *Render plan*: Only output the following <template/>, so the user
321
+ 3. *Render plan*: Treat <content/> as *verbatim* Markdown.
322
+ Only output the following <template/>, so the user
322
323
  can read the plan and react to it. If <content/> is longer
323
- than 90 lines and a `※ IMPLEMENTATION DRAFT` section (from the
324
+ than 90 lines and a `## IMPLEMENTATION DRAFT` section (from the
324
325
  companion skill `ase-task-preflight`) exists, replace the entire
325
- content of the `※ IMPLEMENTATION DRAFT` section with `[...]`.
326
+ content of the `## IMPLEMENTATION DRAFT` section with `[...]`.
326
327
  Else, do *not* truncate, summarize, or partially show the plan.
327
328
  Use the following <template/>:
328
329
 
329
330
  <template>
330
- <ase-tpl-head title="TASK-PLAN"/>
331
+ <ase-tpl-head title="TASK"/>
331
332
  <content/>
332
- <ase-tpl-foot title="TASK-PLAN"/>
333
+ <ase-tpl-foot title="TASK"/>
333
334
  </template>
334
335
 
335
336
  4. *Determine next step*:
@@ -19,10 +19,6 @@ through a *chat-driven loop*. The user steers each round via an
19
19
  interactive dialog that offers continued refinement, finalization, or
20
20
  hand-off to implementation or preflight.
21
21
 
22
- The task plan is stored in `.ase/tasks/`*id*`/plan.md` files of the
23
- project and can be alternatively edited with the "`ase task edit` *id*"
24
- command from outside the agent tool.
25
-
26
22
  ## OPTIONS
27
23
 
28
24
  `--plan`|`-p` *option*:
@@ -34,7 +30,7 @@ command from outside the agent tool.
34
30
  ignoring *instruction* and stopping skill processing).
35
31
 
36
32
  `--dry`|`-d`:
37
- Generate any *new* plan *without* the `※ VERIFICATION` section.
33
+ Generate any *new* plan *without* the `## VERIFICATION` section.
38
34
  Applies only to freshly generated plans, not to existing plans
39
35
  loaded from disk. When `ase-task-implement` later applies such
40
36
  a plan, it strictly skips the entire verification phase (no
@@ -31,7 +31,7 @@ Interview the user relentlessly about every essential aspect of the
31
31
  task plan until reaching a shared understanding.
32
32
  </objective>
33
33
 
34
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
34
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
35
35
 
36
36
  Procedure
37
37
  ---------
@@ -107,6 +107,11 @@ Procedure
107
107
  *essential aspect* of the task plan in <plan/> *until* reaching a
108
108
  shared understanding and no decisions/questions are left open.
109
109
 
110
+ This especially means, you *MUST* clarify as much aspects as
111
+ necessary to ensure that for at least the most important decisions,
112
+ during a subsequent implementation, no essential freedom of choices
113
+ exist any longer.
114
+
110
115
  For this process, determine the <n/> essential aspects <aspect-N/>
111
116
  (a one or two word long short identifier like `Foo` or `Bar-Baz`)
112
117
  and the corresponding decision/question <question-N/> where a shared
@@ -224,7 +229,8 @@ Procedure
224
229
  2. Check the tool <result/> and dispatch accordingly:
225
230
 
226
231
  - If <result/> is `DONE` or `CANCEL`:
227
- Only output the following <template/> and then *STOP*.
232
+ Only output the following <template/> and then *STOP*,
233
+ without output of any further information.
228
234
 
229
235
  <template>
230
236
  ⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan updated -- done**
@@ -27,10 +27,6 @@ lets the user pick via an interactive dialog. It honors checks for
27
27
  updated and persisted, and the user is offered a hand-off to editing,
28
28
  implementation, or preflight.
29
29
 
30
- The task plan is stored in `.ase/tasks/`*id*`/plan.md` files of the
31
- project and can be alternatively edited with the "`ase task edit` *id*"
32
- command from outside the agent tool.
33
-
34
30
  ## OPTIONS
35
31
 
36
32
  `--next`|`-n` *option*[,...]:
@@ -30,7 +30,7 @@ Implement a Task Plan
30
30
  with a corresponding, complete *change set*.
31
31
  </objective>
32
32
 
33
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
33
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
34
34
 
35
35
  Procedure
36
36
  ---------
@@ -131,8 +131,8 @@ explicitly requested by this procedure via outputs based on a <template/>!
131
131
  overrules the implementation draft in the `IMPLEMENTATION DRAFT`
132
132
  section of <content/>.
133
133
 
134
- <if condition="<content/> does NOT contain a `##VERIFICATION` section heading">
135
- The task plan deliberately *omits* the `##VERIFICATION`
134
+ <if condition="<content/> does NOT contain a `## VERIFICATION` section heading">
135
+ The task plan deliberately *omits* the `## VERIFICATION`
136
136
  section. You *MUST* therefore *strictly skip* the entire
137
137
  verification phase after modifying the source files: do *NOT*
138
138
  run any build, do *NOT* run any tests, do *NOT* run any linter,
@@ -12,14 +12,13 @@
12
12
 
13
13
  ## DESCRIPTION
14
14
 
15
- The `ase-task-implement` skill performs the *final implementation*
16
- of a task plan by modifying the corresponding *artifacts* with a
17
- complete *change set*. The plan is loaded from
18
- `.ase/tasks/`*id*`/plan.md`, and any optional `IMPLEMENTATION DRAFT`
19
- section produced by `ase-task-preflight` is used as a hint - the
20
- plain plan content always overrules the draft.
21
-
22
- If the task plan deliberately *omits* the `※ VERIFICATION` section
15
+ The `ase-task-implement` skill performs the *final implementation* of
16
+ a task plan by modifying the corresponding *artifacts* with a complete
17
+ *change set*. The plan is loaded and any optional `IMPLEMENTATION DRAFT`
18
+ section produced by `ase-task-preflight` is used as a hint - the plain
19
+ plan content always overrules the draft.
20
+
21
+ If the task plan deliberately *omits* the `## VERIFICATION` section
23
22
  (as produced by `ase-code-craft`, `ase-code-refactor`,
24
23
  `ase-code-resolve`, or `ase-task-edit` when invoked with `--dry`),
25
24
  the entire verification phase is strictly skipped: no build, tests,
@@ -30,7 +30,7 @@ Preflight a Task Plan
30
30
  for a corresponding, *complete source code change set*.
31
31
  </objective>
32
32
 
33
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
33
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
34
34
 
35
35
  Procedure
36
36
  ---------
@@ -126,13 +126,13 @@ explicitly requested by this procedure via outputs based on a <template/>!
126
126
 
127
127
  2. Append this artifact change set <unified-diff/> to the end
128
128
  of the <content/> with the following <template/>. If a section
129
- named `##IMPLEMENTATION DRAFT` already exists from a
129
+ named `## IMPLEMENTATION DRAFT` already exists from a
130
130
  previous run of this skill, *replace* this entire existing
131
131
  section.
132
132
 
133
133
  <template>
134
134
 
135
- ##IMPLEMENTATION DRAFT
135
+ ## IMPLEMENTATION DRAFT
136
136
 
137
137
  ```text
138
138
  <unified-diff/>
@@ -30,7 +30,7 @@ Reboot a Task Plan
30
30
  based on the existing *WHAT* and *WHY*.
31
31
  </objective>
32
32
 
33
- @${CLAUDE_SKILL_DIR}/../../meta/ase-format-plan.md
33
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md
34
34
 
35
35
  Procedure
36
36
  ---------
@@ -107,24 +107,24 @@ explicitly requested by this procedure via outputs based on a <template/>!
107
107
 
108
108
  1. Start with <instruction></instruction> (set instruction to empty).
109
109
 
110
- 2. <if condition="<content/> contains neither '- **WHAT**:' nor '- **WHY**:'">
110
+ 2. <if condition="<content/> contains neither '- **WHAT**:' nor '- **WHY**:'">
111
111
  Set <instruction><content/></instruction> (set instruction to content).
112
112
  </if>
113
113
 
114
- 3. <if condition="<content/> contains '- **WHAT**: <text/>'">
114
+ 3. <if condition="<content/> contains '- **WHAT**: <text/>'">
115
115
  Set <instruction><text/></instruction> (set instruction to extracted text).
116
116
  </if>
117
117
 
118
- 4. <if condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is empty">
118
+ 4. <if condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is empty">
119
119
  Set <instruction><text/></instruction> (set instruction to extracted text).
120
120
  </if>
121
121
 
122
- 5. else <if condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is NOT empty">
122
+ 5. else <if condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is NOT empty">
123
123
  Set <instruction><instruction/>, BECAUSE <text/></instruction>
124
124
  (append extracted text to instruction).
125
125
  </if>
126
126
 
127
- 6. <if condition="<content/> contains 'created: **<text/>**'">
127
+ 6. <if condition="<content/> contains 'Created: <text/>'">
128
128
  Set <timestamp-created><text/></timestamp-created> (set
129
129
  timestamp-created to extracted text)
130
130
  </if>
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ase-task-view
3
- argument-hint: "[--help|-h] [<id>]"
3
+ argument-hint: "[--help|-h] [--full|-f] [<id>]"
4
4
  description: >
5
5
  View current or given task plan.
6
6
  Use when the user calls to "view", "show" or "see" the
@@ -12,11 +12,18 @@ effort: high
12
12
 
13
13
  @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
14
14
  @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
15
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
15
16
 
16
17
  <skill name="ase-task-view">
17
18
  View a Task Plan
18
19
  </skill>
19
20
 
21
+ <expand name="getopt"
22
+ arg1="ase-task-view"
23
+ arg2="--full|-f">
24
+ $ARGUMENTS
25
+ </expand>
26
+
20
27
  <objective>
21
28
  *View* the task plan.
22
29
  </objective>
@@ -32,7 +39,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
32
39
 
33
40
  1. **Determine Task:**
34
41
 
35
- 1. Set <id>$ARGUMENTS</id> initially, with any leading and trailing
42
+ 1. Set <id><getopt-arguments/></id> initially, with any leading and trailing
36
43
  whitespace stripped.
37
44
  Inherit the always existing <ase-task-id/> from the current context.
38
45
  Do not output anything.
@@ -76,15 +83,19 @@ explicitly requested by this procedure via outputs based on a <template/>!
76
83
  </template>
77
84
 
78
85
  2. <if condition="<content/> is not empty">
79
- *Render plan*: Only output the following <template/>, so the user
80
- can read the plan and react to it. Do *not* truncate, summarize,
81
- or partially show the plan -- always show the complete plan
82
- <content/> here.
86
+ Treat <content/> as *verbatim* Markdown.
87
+ *Render plan*: Only output the following <template/>. If
88
+ <getopt-option-full/> is *not* `true`, <content/> is longer than
89
+ 90 lines, and a `## IMPLEMENTATION DRAFT` section (from the
90
+ companion skill `ase-task-preflight`) exists, replace the entire
91
+ content of the `## IMPLEMENTATION DRAFT` section with `[...]`.
92
+ Else, do *not* truncate, summarize, or partially show the plan.
93
+ Use the following <template/>:
83
94
 
84
95
  <template>
85
- <ase-tpl-head title="TASK-PLAN"/>
96
+ <ase-tpl-head title="TASK"/>
86
97
  <content/>
87
- <ase-tpl-foot title="TASK-PLAN"/>
98
+ <ase-tpl-foot title="TASK"/>
88
99
  </template>
89
100
  </if>
90
101