@rse/ase 0.9.7 → 0.9.9

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 (85) hide show
  1. package/dst/ase-getopt.js +71 -5
  2. package/dst/ase-hook.js +6 -21
  3. package/dst/ase-markdown.js +32 -11
  4. package/dst/ase-mcp.js +22 -8
  5. package/dst/ase-notify.js +32 -0
  6. package/dst/ase-service.js +5 -2
  7. package/dst/ase-setup.js +45 -131
  8. package/dst/ase-skills.js +17 -13
  9. package/dst/ase-statusline.js +8 -12
  10. package/dst/ase-task.js +32 -23
  11. package/package.json +3 -3
  12. package/plugin/.claude-plugin/plugin.json +1 -1
  13. package/plugin/.github/plugin/plugin.json +1 -1
  14. package/plugin/agents/ase-docs-proofread.md +2 -2
  15. package/plugin/meta/ase-constitution.md +7 -0
  16. package/plugin/meta/ase-control.md +24 -3
  17. package/plugin/meta/ase-dialog.md +105 -7
  18. package/plugin/meta/ase-format-task.md +2 -2
  19. package/plugin/meta/ase-getopt.md +31 -22
  20. package/plugin/meta/ase-skill.md +87 -12
  21. package/plugin/package.json +2 -2
  22. package/plugin/skills/ase-arch-analyze/SKILL.md +88 -89
  23. package/plugin/skills/ase-arch-analyze/help.md +2 -2
  24. package/plugin/skills/ase-arch-discover/SKILL.md +56 -34
  25. package/plugin/skills/ase-arch-discover/help.md +1 -1
  26. package/plugin/skills/ase-code-analyze/SKILL.md +6 -5
  27. package/plugin/skills/ase-code-analyze/help.md +2 -2
  28. package/plugin/skills/ase-code-craft/SKILL.md +83 -71
  29. package/plugin/skills/ase-code-craft/help.md +2 -2
  30. package/plugin/skills/ase-code-explain/SKILL.md +1 -1
  31. package/plugin/skills/ase-code-explain/help.md +1 -1
  32. package/plugin/skills/ase-code-insight/SKILL.md +1 -1
  33. package/plugin/skills/ase-code-insight/help.md +1 -1
  34. package/plugin/skills/ase-code-lint/SKILL.md +35 -18
  35. package/plugin/skills/ase-code-lint/help.md +2 -2
  36. package/plugin/skills/ase-code-refactor/SKILL.md +81 -70
  37. package/plugin/skills/ase-code-refactor/help.md +2 -2
  38. package/plugin/skills/ase-code-resolve/SKILL.md +83 -70
  39. package/plugin/skills/ase-code-resolve/help.md +3 -3
  40. package/plugin/skills/ase-docs-distill/SKILL.md +1 -1
  41. package/plugin/skills/ase-docs-distill/help.md +4 -4
  42. package/plugin/skills/ase-docs-proofread/SKILL.md +36 -19
  43. package/plugin/skills/ase-docs-proofread/help.md +1 -1
  44. package/plugin/skills/ase-meta-brainstorm/SKILL.md +29 -8
  45. package/plugin/skills/ase-meta-brainstorm/help.md +7 -11
  46. package/plugin/skills/ase-meta-changelog/help.md +1 -1
  47. package/plugin/skills/ase-meta-chat/help.md +1 -1
  48. package/plugin/skills/ase-meta-commit/help.md +1 -1
  49. package/plugin/skills/ase-meta-diaboli/help.md +2 -2
  50. package/plugin/skills/ase-meta-diff/SKILL.md +6 -5
  51. package/plugin/skills/ase-meta-diff/help.md +11 -12
  52. package/plugin/skills/ase-meta-evaluate/SKILL.md +10 -9
  53. package/plugin/skills/ase-meta-evaluate/help.md +2 -2
  54. package/plugin/skills/ase-meta-persona/help.md +1 -1
  55. package/plugin/skills/ase-meta-quorum/SKILL.md +15 -5
  56. package/plugin/skills/ase-meta-quorum/help.md +1 -1
  57. package/plugin/skills/ase-meta-review/SKILL.md +3 -4
  58. package/plugin/skills/ase-meta-review/help.md +5 -5
  59. package/plugin/skills/ase-meta-search/SKILL.md +9 -8
  60. package/plugin/skills/ase-meta-search/help.md +1 -1
  61. package/plugin/skills/ase-meta-steelman/SKILL.md +1 -1
  62. package/plugin/skills/ase-meta-steelman/help.md +2 -2
  63. package/plugin/skills/ase-meta-why/SKILL.md +16 -10
  64. package/plugin/skills/ase-meta-why/help.md +1 -1
  65. package/plugin/skills/ase-task-condense/SKILL.md +36 -19
  66. package/plugin/skills/ase-task-condense/help.md +3 -3
  67. package/plugin/skills/ase-task-delete/SKILL.md +6 -3
  68. package/plugin/skills/ase-task-delete/help.md +2 -2
  69. package/plugin/skills/ase-task-edit/SKILL.md +61 -36
  70. package/plugin/skills/ase-task-edit/help.md +4 -4
  71. package/plugin/skills/ase-task-grill/SKILL.md +57 -26
  72. package/plugin/skills/ase-task-grill/help.md +3 -3
  73. package/plugin/skills/ase-task-id/SKILL.md +11 -2
  74. package/plugin/skills/ase-task-id/help.md +2 -2
  75. package/plugin/skills/ase-task-implement/SKILL.md +40 -17
  76. package/plugin/skills/ase-task-implement/help.md +2 -2
  77. package/plugin/skills/ase-task-list/SKILL.md +1 -1
  78. package/plugin/skills/ase-task-list/help.md +2 -2
  79. package/plugin/skills/ase-task-preflight/SKILL.md +44 -22
  80. package/plugin/skills/ase-task-preflight/help.md +3 -3
  81. package/plugin/skills/ase-task-reboot/SKILL.md +31 -20
  82. package/plugin/skills/ase-task-reboot/help.md +2 -2
  83. package/plugin/skills/ase-task-rename/SKILL.md +5 -3
  84. package/plugin/skills/ase-task-rename/help.md +2 -2
  85. package/plugin/skills/ase-task-view/help.md +26 -7
@@ -21,7 +21,7 @@ Reboot a Task Plan
21
21
 
22
22
  <expand name="getopt"
23
23
  arg1="ase-task-reboot"
24
- arg2="--next|-n=(none|DONE|EDIT)...">
24
+ arg2="--next|-n=(none|DONE|EDIT|IMPLEMENT|PREFLIGHT)...">
25
25
  $ARGUMENTS
26
26
  </expand>
27
27
 
@@ -65,7 +65,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
65
65
  </template>
66
66
  </if>
67
67
 
68
- 2. else <if condition="<instruction/> is NOT empty">
68
+ 2. <elseif condition="<instruction/> is NOT empty">
69
69
  The argument is neither empty nor a valid task id. As this
70
70
  skill only accepts an optional `[<id>]` argument and *never*
71
71
  a free-text instruction, only output the following <template/>
@@ -74,7 +74,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
74
74
  <template>
75
75
  ⧉ **ASE**: ☻ skill: **ase-task-reboot**, ▶ ERROR: expected single `[<id>]` argument
76
76
  </template>
77
- </if>
77
+ </elseif>
78
78
 
79
79
  2. **Determine Operation:**
80
80
 
@@ -119,10 +119,10 @@ explicitly requested by this procedure via outputs based on a <template/>!
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. <elseif 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
- </if>
125
+ </elseif>
126
126
 
127
127
  6. <if condition="<content/> contains 'Created: <text/>'">
128
128
  Set <timestamp-created><text/></timestamp-created> (set
@@ -137,7 +137,10 @@ explicitly requested by this procedure via outputs based on a <template/>!
137
137
 
138
138
  8. Call the `ase_timestamp(format: "yyyy-LL-dd HH:mm")` tool of the
139
139
  `ase` MCP server and use the `text` field of its response for
140
- <timestamp-modified/> information. Then insert the current
140
+ <timestamp-modified/> information. If <timestamp-created/> is
141
+ still unset (because the previous <content/> had no `Created:`
142
+ line), set <timestamp-created><timestamp-modified/></timestamp-created>
143
+ (fall back to the modified timestamp). Then insert the current
141
144
  <ase-task-id/>, previous <timestamp-created/>, and refreshed
142
145
  <timestamp-modified/> information and calculate the number of
143
146
  words <words/> of <content/>.
@@ -178,9 +181,11 @@ explicitly requested by this procedure via outputs based on a <template/>!
178
181
  </template>
179
182
 
180
183
  - If <getopt-option-next/> is equal to `none`:
181
- Let the *user interactively choose* what to do as the next step.
184
+ Let the *user interactively choose* what to do as the next
185
+ step. For this you *MUST* use the custom `custom-dialog` and
186
+ *NOT* the `AskUserQuestion` based "user-dialog":
182
187
 
183
- <expand name="user-dialog">
188
+ <expand name="custom-dialog">
184
189
  Next Step: How would you like to proceed with the plan?
185
190
  DONE: Stop processing.
186
191
  EDIT: Hand off plan to editing.
@@ -198,13 +203,12 @@ explicitly requested by this procedure via outputs based on a <template/>!
198
203
  </template>
199
204
 
200
205
  - If <result/> is `EDIT`:
201
- Set <args></args> (empty).
206
+ Set <args>--int-reuse-task</args>.
202
207
  <if condition="<getopt-option-next/> is not equal `none`">
203
- Set <args>--next <getopt-option-next/></args> (forward
204
- remaining list tokens to the downstream skill).
208
+ Set <args><args/> --next <getopt-option-next/></args>
205
209
  </if>
206
210
  Only output the following <template/> and then call the
207
- tool `Skill(skill: "ase:ase-task-edit", args: <args/>)`
211
+ tool `Skill(skill: "ase:ase-task-edit", args: "<args/>")`
208
212
  to invoke the `ase:ase-task-edit` skill in order to *edit*
209
213
  the updated plan. Immediately stop processing the current
210
214
  skill once the `Skill` tool was used.
@@ -214,13 +218,12 @@ explicitly requested by this procedure via outputs based on a <template/>!
214
218
  </template>
215
219
 
216
220
  - If <result/> is `IMPLEMENT`:
217
- Set <args></args> (empty).
221
+ Set <args>--int-reuse-task</args>.
218
222
  <if condition="<getopt-option-next/> is not equal `none`">
219
- Set <args>--next <getopt-option-next/></args> (forward
220
- remaining list tokens to the downstream skill).
223
+ Set <args><args/> --next <getopt-option-next/></args>
221
224
  </if>
222
225
  Only output the following <template/> and then call the
223
- `Skill(skill: "ase:ase-task-implement", args: <args/>)` tool
226
+ `Skill(skill: "ase:ase-task-implement", args: "<args/>")` tool
224
227
  to *apply* the plan.
225
228
 
226
229
  <template>
@@ -228,16 +231,24 @@ explicitly requested by this procedure via outputs based on a <template/>!
228
231
  </template>
229
232
 
230
233
  - If <result/> is `PREFLIGHT`:
231
- Set <args></args> (empty).
234
+ Set <args>--int-reuse-task</args>.
232
235
  <if condition="<getopt-option-next/> is not equal `none`">
233
- Set <args>--next <getopt-option-next/></args> (forward
234
- remaining list tokens to the downstream skill).
236
+ Set <args><args/> --next <getopt-option-next/></args>
235
237
  </if>
236
238
  Only output the following <template/> and then call the
237
- `Skill(skill: "ase:ase-task-preflight", args: <args/>)` tool
239
+ `Skill(skill: "ase:ase-task-preflight", args: "<args/>")` tool
238
240
  to *apply* the plan.
239
241
 
240
242
  <template>
241
243
  ⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan updated -- hand-off to pre-flight**
242
244
  </template>
243
245
 
246
+ - If <result/> matches `OTHER: <text/>` or is any other
247
+ unrecognized value:
248
+ Treat it as `DONE` (the updated plan is already saved):
249
+ only output the following <template/> and then *STOP*.
250
+
251
+ <template>
252
+ ⧉ **ASE**: ◉ task: **<ase-task-id/>**, ✪ plan: **<words/>** words, ▶ status: **plan updated -- done**
253
+ </template>
254
+
@@ -58,5 +58,5 @@ Reboot a specific task and hand off to editing:
58
58
 
59
59
  ## SEE ALSO
60
60
 
61
- `ase-task-edit`, `ase-task-preflight`, `ase-task-implement`,
62
- `ase-task-view`, `ase-task-delete`.
61
+ [`ase-task-edit`](../ase-task-edit/help.md), [`ase-task-preflight`](../ase-task-preflight/help.md), [`ase-task-implement`](../ase-task-implement/help.md),
62
+ [`ase-task-view`](../ase-task-view/help.md), [`ase-task-delete`](../ase-task-delete/help.md).
@@ -33,8 +33,8 @@ explicitly requested by this procedure via outputs based on a <template/>!
33
33
  1. **Determine Task:**
34
34
 
35
35
  1. Parse <arguments>$ARGUMENTS</arguments> into a whitespace-separated
36
- list of tokens. Inherit the always existing <ase-task-id/> from
37
- the current context. Do not output anything.
36
+ list of tokens. Inherit the always existing <ase-task-id/> and
37
+ <ase-session-id/> from the current context. Do not output anything.
38
38
 
39
39
  2. <if condition="<arguments/> contains two tokens">
40
40
  Set <old/> to the first token of <arguments/>.
@@ -65,6 +65,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
65
65
  output anything related to this MCP tool call.
66
66
 
67
67
  - If <text/> starts with `ERROR:` or `WARNING:`:
68
+ Set <renamed/> to `false`.
68
69
  Only output the following <template/>:
69
70
 
70
71
  <template>
@@ -72,13 +73,14 @@ explicitly requested by this procedure via outputs based on a <template/>!
72
73
  </template>
73
74
 
74
75
  - If <text/> starts NOT with `ERROR:` and NOT with `WARNING:`:
76
+ Set <renamed/> to `true`.
75
77
  Only output the following <template/>:
76
78
 
77
79
  <template>
78
80
  ⧉ **ASE**: ◉ task: **<new/>**, ▶ status: **task renamed**
79
81
  </template>
80
82
 
81
- 2. <if condition="<old/> is equal <ase-task-id/>">
83
+ 2. <if condition="<renamed/> is `true` AND <old/> is equal <ase-task-id/>">
82
84
  Set <ase-task-id><new/></ase-task-id>. Call the `ase_task_id(id:
83
85
  "<ase-task-id/>", session: "<ase-session-id/>")` tool from the `ase`
84
86
  MCP server to switch the task to the renamed task. Only output
@@ -40,5 +40,5 @@ Rename a specific task:
40
40
 
41
41
  ## SEE ALSO
42
42
 
43
- `ase-task-list`, `ase-task-id`, `ase-task-edit`,
44
- `ase-task-view`, `ase-task-delete`.
43
+ [`ase-task-list`](../ase-task-list/help.md), [`ase-task-id`](../ase-task-id/help.md), [`ase-task-edit`](../ase-task-edit/help.md),
44
+ [`ase-task-view`](../ase-task-view/help.md), [`ase-task-delete`](../ase-task-delete/help.md).
@@ -7,15 +7,28 @@
7
7
 
8
8
  `ase-task-view`
9
9
  [`--help`|`-h`]
10
+ [`--full`|`-f`]
10
11
  [*id*]
11
12
 
12
13
  ## DESCRIPTION
13
14
 
14
- The `ase-task-view` skill renders the *task plan* identified by *id*
15
- in full, without truncation or summarization. The plan is loaded via
16
- the `ase_task_load` MCP tool and shown between `TASK-PLAN-BEGIN` and
17
- `TASK-PLAN-END` markers. If *id* is omitted, the *current* task id
18
- (inherited from the session context) is used.
15
+ The `ase-task-view` skill renders the *task plan* identified by *id*.
16
+ The plan is loaded via the `ase_task_load` MCP tool and shown framed
17
+ between a `( TASK )` header and footer rule. If *id* is omitted, the
18
+ *current* task id (inherited from the session context) is used.
19
+
20
+ By default, when the plan is longer than 90 lines and contains an
21
+ `IMPLEMENTATION DRAFT` section (produced by `ase-task-preflight`), the
22
+ content of that section is collapsed to `[...]` to keep the view
23
+ compact. The `--full`|`-f` option suppresses this collapsing and renders
24
+ the plan in full, without any truncation or summarization.
25
+
26
+ ## OPTIONS
27
+
28
+ `--full`|`-f`:
29
+ Render the plan in full, without collapsing the `IMPLEMENTATION
30
+ DRAFT` section. By default, that section is replaced with `[...]`
31
+ for plans longer than 90 lines.
19
32
 
20
33
  ## ARGUMENTS
21
34
 
@@ -37,7 +50,13 @@ View a specific task plan:
37
50
  ❯ /ase-task-view hello
38
51
  ```
39
52
 
53
+ View a plan in full, including its `IMPLEMENTATION DRAFT` section:
54
+
55
+ ```text
56
+ ❯ /ase-task-view --full hello
57
+ ```
58
+
40
59
  ## SEE ALSO
41
60
 
42
- `ase-task-list`, `ase-task-edit`, `ase-task-id`,
43
- `ase-task-rename`, `ase-task-delete`.
61
+ [`ase-task-list`](../ase-task-list/help.md), [`ase-task-edit`](../ase-task-edit/help.md), [`ase-task-id`](../ase-task-id/help.md),
62
+ [`ase-task-rename`](../ase-task-rename/help.md), [`ase-task-delete`](../ase-task-delete/help.md).