@rse/ase 0.9.6 → 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.
@@ -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