@rse/ase 0.9.17 → 0.9.19

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.
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "homepage": "http://github.com/rse/ase",
7
7
  "repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
8
8
  "bugs": { "url": "http://github.com/rse/ase/issues" },
9
- "version": "0.9.17",
9
+ "version": "0.9.19",
10
10
  "license": "GPL-3.0-only",
11
11
  "author": {
12
12
  "name": "Dr. Ralf S. Engelschall",
@@ -18,15 +18,15 @@
18
18
  "devDependencies": {
19
19
  "eslint": "9.39.4",
20
20
  "@eslint/js": "9.39.4",
21
- "@typescript-eslint/parser": "8.61.0",
22
- "@typescript-eslint/eslint-plugin": "8.61.0",
21
+ "@typescript-eslint/parser": "8.61.1",
22
+ "@typescript-eslint/eslint-plugin": "8.61.1",
23
23
  "eslint-plugin-promise": "7.3.0",
24
24
  "eslint-plugin-import": "2.32.0",
25
25
  "neostandard": "0.13.0",
26
26
  "globals": "17.6.0",
27
27
  "typescript": "6.0.3",
28
28
 
29
- "@rse/stx": "1.1.5",
29
+ "@rse/stx": "1.1.6",
30
30
  "nodemon": "3.1.14",
31
31
  "shx": "0.4.0",
32
32
 
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "commander": "15.0.0",
45
- "@dotenvx/dotenvx": "1.71.3",
45
+ "@dotenvx/dotenvx": "1.73.1",
46
46
  "yaml": "2.9.0",
47
47
  "valibot": "1.4.1",
48
48
  "execa": "9.6.1",
@@ -61,7 +61,7 @@
61
61
  "get-stdin": "10.0.0",
62
62
  "proper-lockfile": "4.1.2",
63
63
  "write-file-atomic": "8.0.0",
64
- "pacote": "21.5.1",
64
+ "pacote": "22.0.0",
65
65
  "ofetch": "1.5.1",
66
66
  "picomatch": "4.0.4"
67
67
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ase",
3
- "version": "0.9.17",
3
+ "version": "0.9.19",
4
4
  "description": "Agentic Software Engineering (ASE)",
5
5
  "keywords": [ "agentic", "software", "engineering" ],
6
6
  "homepage": "https://ase.tools",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ase",
3
- "version": "0.9.17",
3
+ "version": "0.9.19",
4
4
  "description": "Agentic Software Engineering (ASE)",
5
5
  "keywords": [ "agentic", "software", "engineering" ],
6
6
  "homepage": "https://ase.tools",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ase",
3
- "version": "0.9.17",
3
+ "version": "0.9.19",
4
4
  "description": "Agentic Software Engineering (ASE)",
5
5
  "keywords": [ "agentic", "software", "engineering" ],
6
6
  "homepage": "https://ase.tools",
@@ -66,58 +66,7 @@ Commandments
66
66
  primary programming language* (e.g., TypeScript for TS/JS projects,
67
67
  Python for Python projects, Go for Go projects).
68
68
 
69
- Tenets
70
- ------
71
-
72
- - **Think Before Coding**:
73
- *Don't assume. Don't hide confusion. Surface tradeoffs.*
74
- Before implementing:
75
- - State your assumptions explicitly. If uncertain, ask.
76
- - If multiple interpretations exist, present them - don't pick silently.
77
- - If a simpler approach exists, say so. Push back when warranted.
78
- - If something is unclear, stop. Name what's confusing. Ask.
79
-
80
- - **Simplicity First**:
81
- *Minimum code that solves the problem. Nothing speculative.*
82
- - No features beyond what was asked.
83
- - No abstractions for single-use code.
84
- - No "flexibility" or "configurability" that wasn't requested.
85
- - No error handling for impossible scenarios.
86
- - If you write 200 lines and it could be 50, rewrite it.
87
- Ask yourself: "Would a senior software developer say this is overcomplicated?" If yes, simplify.
88
-
89
- - **Practical Relevance**:
90
- *Error handling for practically relevant cases only. No theoretical assumptions.*
91
- - Handle obvious or expected errors near the origin.
92
- - Handle theoretical or unexpected errors in parent scopes.
93
- - Avoid introducing dedicated state variables for individual error cases.
94
- - If state variables are needed to detect error cases, use minimum number of those variables only.
95
- - Use minimum number of state variables to span the maximum of error space.
96
-
97
- - **Surgical Changes**:
98
- *Touch only what you must. Clean up only your own mess.*
99
- When editing existing code:
100
- - Don't "improve" adjacent code, comments, or formatting.
101
- - Don't refactor things that aren't broken.
102
- - Match existing style, even if you'd do it differently.
103
- - If you notice unrelated dead code, mention it - don't delete it.
104
- When your changes create orphans:
105
- - Remove imports/variables/functions that YOUR changes made unused.
106
- - Don't remove pre-existing dead code unless asked.
107
- The test: Every changed line should trace directly to the user's request.
108
-
109
- - **Goal-Driven Execution**:
110
- *Define success criteria. Loop until verified.*
111
- Transform tasks into verifiable goals:
112
- - "Add validation" → "Write tests for invalid inputs, then make them pass"
113
- - "Fix the bug" → "Write a test that reproduces it, then make it pass"
114
- - "Refactor X" → "Ensure tests pass before and after"
115
- Strong success criteria let you loop independently.
116
- Weak criteria ("make it work") require constant clarification.
117
-
118
- Persona
119
- -------
69
+ @./ase-tenets.md
120
70
 
121
71
  @./ase-control.md
122
72
  @./ase-persona.md
123
-
@@ -0,0 +1,220 @@
1
+
2
+ The following are the **ASE Tenets** -- the guiding principles you
3
+ *MUST* internalize and *honor at any time*. They are organized into
4
+ *Generic Tenets*, which always apply, and *Operation-Specific Tenets*,
5
+ which apply only to a particular kind of operation (Crafting, Aligning,
6
+ Refactoring, Resolving).
7
+
8
+ GENERIC TENETS
9
+ --------------
10
+
11
+ At any time and for all kinds of operations,
12
+ you *MUST* honor the following so-called **GENERIC TENETS**:
13
+
14
+ - **Think Before Acting**:
15
+ *Don't assume. Don't hide confusion. Surface trade-offs.*
16
+ Before implementing:
17
+ - State your assumptions explicitly. If uncertain, ask.
18
+ - If multiple interpretations exist, present them - don't pick silently.
19
+ - If a simpler approach exists, say so. Push back when warranted.
20
+ - If something is unclear, stop. Name what's confusing. Ask.
21
+
22
+ - **Simplicity First**:
23
+ *Minimum solution that solves the problem. Nothing speculative.*
24
+ - No features beyond what was asked.
25
+ - No abstractions for single-use code.
26
+ - No "flexibility" or "configurability" that wasn't requested.
27
+ - No error handling for impossible scenarios.
28
+ - If you write 200 lines and it could be 50, rewrite it.
29
+ Ask yourself: "Would a senior software developer say this is
30
+ overcomplicated?" If yes, simplify.
31
+
32
+ - **Practical Relevance**:
33
+ *Error handling for practically relevant cases only. No theoretical assumptions.*
34
+ - Handle obvious or expected errors near the origin.
35
+ - Handle theoretical or unexpected errors in parent scopes.
36
+ - Avoid introducing dedicated state variables for individual error cases.
37
+ - If state variables are needed to detect error cases, use minimum
38
+ number of those variables only.
39
+ - Use minimum number of state variables to span the maximum of error space.
40
+
41
+ - **Surgical Changes**:
42
+ *Keep changes as small as possible.*
43
+ When editing existing code:
44
+ - Touch only what you must. Clean up only your own mess.
45
+ - Don't "improve" adjacent code, comments, or formatting.
46
+ - Don't refactor things that aren't broken.
47
+ - Match existing style, even if you'd do it differently.
48
+ - If you notice unrelated dead code, mention it - don't delete it.
49
+ When your changes create orphans:
50
+ - Remove imports/variables/functions that YOUR changes made unused.
51
+ - Don't remove pre-existing dead code unless asked.
52
+ The test: Every changed line should trace directly to the user's request.
53
+
54
+ - **Separation of Concerns**:
55
+ *One concern per part; keep distinct concerns apart.*
56
+ - Give each module, function, or layer a single, well-defined concern.
57
+ - Don't entangle policy with mechanism, or business logic with I/O.
58
+ - When one concern changes, the change should not ripple into unrelated ones.
59
+
60
+ - **Code Base Alignment**:
61
+ *Blend in. New aspect should read as if the existing aspects wrote it.*
62
+ - Follow the established coding style, formatting, and idioms exactly.
63
+ - Mirror the existing structure, layering, and file organization.
64
+ - Reuse the prevailing naming conventions, patterns, and libraries.
65
+ - When in doubt, imitate the nearest similar code rather than inventing anew.
66
+
67
+ - **Goal-Driven Execution**:
68
+ *Define success criteria. Loop until verified.*
69
+ Transform tasks into verifiable goals:
70
+ - "Add validation" → "Write tests for invalid inputs, then make them pass"
71
+ - "Fix the bug" → "Write a test that reproduces it, then make it pass"
72
+ - "Refactor X" → "Ensure tests pass before and after"
73
+ Strong success criteria let you loop independently.
74
+ Weak criteria ("make it work") require constant clarification.
75
+
76
+ CRAFTING TENETS
77
+ ---------------
78
+
79
+ When *crafting* from scratch a new artifact, a feature, or an aspect,
80
+ you *MUST* honor the following so-called "CRAFTING TENETS":
81
+
82
+ - **Clear Minimal Scope**:
83
+ Establish explicit boundaries for the new feature.
84
+ Avoid feature scope creep and over-engineering.
85
+
86
+ - **Keep it Simple, Stupid (KISS)**:
87
+ Build with the simplest design that solves the real problem.
88
+ Avoid over-engineering.
89
+
90
+ - **You Aren't Gonna Need It (YAGNI)**:
91
+ Build for today's actual needs, not speculative futures.
92
+ Avoid premature optimizations, premature abstractions,
93
+ over-configurability, etc.
94
+
95
+ - **Don't Repeat Yourself (DRY)**:
96
+ Avoid redundancies, but honor the *Rule of Three*: Don't
97
+ abstract on the first occurrence -- tolerate (small)
98
+ duplication on the second -- factor out on the third only.
99
+
100
+ - **Single Responsibility Principle (SRP)**:
101
+ Every module, class, or function should have only one reason
102
+ to change.
103
+
104
+ - **Loose Coupling, High Cohesion**:
105
+ Strive for good modularity by a set of small, focused parts
106
+ (high cohesion), connected by thin, explicit wires and
107
+ interfaces (loose coupling).
108
+
109
+ - **Clear Interfaces**:
110
+ Design clear interfaces, contracts, and data models --
111
+ with high attention to boundaries and modularity.
112
+
113
+ - **Non-Functional Requirements**:
114
+ Honor the non-functional requirements Performance, Security,
115
+ Scalability, Comprehensibility.
116
+
117
+ RECONCILIATION TENETS
118
+ ---------------------
119
+
120
+ When *reconcile* a set of target artifacts to a set of source artifacts,
121
+ you *MUST* honor the following so-called **ALIGNING TENETS**:
122
+
123
+ - **Directional Authority**:
124
+ The *source* artifacts are the single source of truth; only the
125
+ *target* artifacts are ever mutated. Never edit the source to fit
126
+ the target, and never let a stale target override a current source.
127
+
128
+ - **Faithful Reflection**:
129
+ The target *MUST* reflect the current source state *exactly* -- no
130
+ more, no less. Do not enrich the target with content the source does
131
+ not warrant, and do not silently drop source facts the target should
132
+ carry.
133
+
134
+ - **Drift Completeness**:
135
+ Detect *every* divergence between source and target, not just the
136
+ obvious additions: reconcile changed content, *and* remove or mark
137
+ target content that the source no longer supports (stale statements,
138
+ orphaned sections, dangling references).
139
+
140
+ - **No Fabrication**:
141
+ Never invent target content that the source does not support. If the
142
+ source is silent, ambiguous, or contradictory on something the target
143
+ needs, surface the gap explicitly rather than papering over it with a
144
+ plausible guess.
145
+
146
+ - **Level-Appropriate Translation**:
147
+ Re-express source facts at the *target's* level of abstraction and
148
+ altitude; do not copy verbatim across artifact levels. A SPEC states
149
+ intent, an ARCH states structure, CODE states realization, DOCS
150
+ states facts, etc -- align the *meaning*, not the wording.
151
+
152
+ - **Format Conformance**:
153
+ Keep every formatted target (SPEC, ARCH, TASK) conformant to its
154
+ format contract (headings, structure, identifiers). Treat CODE,
155
+ DOCS, INFR, and OTHR kinds of artifacts as foreign defined, but not
156
+ as free-form.
157
+
158
+ - **Alignment Traceability**:
159
+ Every target change *MUST* trace back to a concrete source fact. If
160
+ you cannot point to the source statement that justifies a target
161
+ edit, do not make that edit.
162
+
163
+ REFACTORING TENETS
164
+ ------------------
165
+
166
+ When *refactoring* existing artifacts or aspects,
167
+ you *MUST* honor the following so-called **REFACTORING TENETS**
168
+
169
+ - **Behavior Preservation**:
170
+ Refactoring changes only re-structure, never change any
171
+ observable behavior at all. Especially, do not mix with
172
+ problem resolving and feature crafting.
173
+
174
+ - **Boy Scout Rule**:
175
+ After the refactoring, leave the source code base cleaner
176
+ than you found it.
177
+
178
+ - **Don't Repeat Yourself (DRY)**:
179
+ Avoid redundancies, but honor the *Rule of Three*: Don't
180
+ abstract on the first occurrence -- tolerate (small)
181
+ duplication on the second -- factor out on the third only.
182
+
183
+ - **Single Responsibility Principle (SRP)**:
184
+ Every module, class, or function should have only one reason
185
+ to change.
186
+
187
+ - **Loose Coupling, High Cohesion**:
188
+ Strive for good modularity by a set of small, focused parts
189
+ (high cohesion), connected by thin, explicit wires and
190
+ interfaces (loose coupling).
191
+
192
+ - **Clear Interfaces**:
193
+ Design clear interfaces, contracts, and data models -- with high
194
+ attention to boundaries and modularity.
195
+
196
+ RESOLVING TENETS
197
+ ----------------
198
+
199
+ When *resolving* a problem or challenge (bug-fixing),
200
+ you *MUST* honor the following so-called **RESOLVING TENETS**
201
+
202
+ - **No Cleanups**:
203
+ Strictly focus on resolving the problem and do not mix the task with
204
+ any other necessary code cleanups, unless they are really necessary
205
+ for resolving the task.
206
+
207
+ - **Minimum Flags**:
208
+ Use the absolute minimum total number of flags (boolean variables) to
209
+ span the entire space of scenarios. Prefer the adjustment of existing
210
+ flags over the introduction of new flags.
211
+
212
+ - **Code Adequacy**:
213
+ As little increase in overall source code complexity as possible, as
214
+ much new problem resolution source code as necessary.
215
+
216
+ - **Origin Proximity**:
217
+ Problems for *obvious, particular, or expected* errors *should* be
218
+ handled *near the origin*. Problems for *theoretical, fictive, or
219
+ unexpected* errors *should* be handled more generally and in parent
220
+ scopes.
@@ -6,7 +6,7 @@
6
6
  "homepage": "http://github.com/rse/ase",
7
7
  "repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
8
8
  "bugs": { "url": "http://github.com/rse/ase/issues" },
9
- "version": "0.9.17",
9
+ "version": "0.9.19",
10
10
  "license": "GPL-3.0-only",
11
11
  "author": {
12
12
  "name": "Dr. Ralf S. Engelschall",
@@ -14,10 +14,10 @@
14
14
  "url": "http://engelschall.com"
15
15
  },
16
16
  "devDependencies": {
17
- "@rse/stx": "1.1.5",
17
+ "@rse/stx": "1.1.6",
18
18
  "markdownlint": "0.41.0",
19
19
  "markdownlint-cli2": "0.22.1",
20
- "eslint": "10.4.1",
20
+ "eslint": "10.5.0",
21
21
  "@eslint/markdown": "8.0.2",
22
22
  "eslint-markdown": "0.11.0"
23
23
  },
@@ -132,58 +132,11 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
132
132
 
133
133
  3. <step id="STEP 3: Internalize Crafting Tenets">
134
134
 
135
- You *MUST* internalize and honor the following tenets when crafting the new feature.
136
- Do not output anything.
135
+ 1. You *MUST* internalize and strictly honor the **GENERIC TENETS**,
136
+ and the **CRAFTING TENETS** of the **ASE Tenets** when updating
137
+ in the following. Do not output anything.
137
138
 
138
- 1. Generic Tenets:
139
-
140
- - **Separation of Concerns**:
141
- Clearly separate all individual concerns as well as possible.
142
-
143
- - **Code Base Alignment**:
144
- Strictly align with the existing source code base by exactly
145
- following its coding style, its structure, its naming
146
- conventions, etc.
147
-
148
- 2. Specific Tenets:
149
-
150
- - **Surgical Changes**:
151
- Keep source code changes always as small as possible.
152
-
153
- - **Clear Minimal Scope**:
154
- Establish explicit boundaries for the new feature.
155
- Avoid feature scope creep and over-engineering.
156
-
157
- - **Keep it Simple, Stupid (KISS)**:
158
- Build with the simplest design that solves the real problem.
159
- Avoid over-engineering.
160
-
161
- - **You Aren't Gonna Need It (YAGNI)**:
162
- Build for today's actual needs, not speculative futures.
163
- Avoid premature optimizations, premature abstractions,
164
- over-configurability, etc.
165
-
166
- - **Don't Repeat Yourself (DRY)**:
167
- Avoid redundancies, but honor the *Rule of Three*: Don't
168
- abstract on the first occurrence -- tolerate (small)
169
- duplication on the second -- factor out on the third only.
170
-
171
- - **Single Responsibility Principle (SRP)**:
172
- Every module, class, or function should have only one reason
173
- to change.
174
-
175
- - **Loose Coupling, High Cohesion**:
176
- Strive for good modularity by a set of small, focused parts
177
- (high cohesion), connected by thin, explicit wires and
178
- interfaces (loose coupling).
179
-
180
- - **Clear Interfaces**:
181
- Design clear interfaces, contracts, and data models --
182
- with high attention to boundaries and modularity.
183
-
184
- - **Non-Functional Requirements**:
185
- Honor the non-functional requirements Performance, Security,
186
- Scalability, Comprehensibility.
139
+ 2. Do not output anything in this STEP 3.
187
140
 
188
141
  </step>
189
142
 
@@ -132,47 +132,11 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
132
132
 
133
133
  3. <step id="STEP 3: Internalize Refactoring Tenets">
134
134
 
135
- You *MUST* internalize and honor the following tenets when refactoring.
136
- Do not output anything.
135
+ 1. You *MUST* internalize and strictly honor the **GENERIC TENETS**,
136
+ and the **REFACTORING TENETS** of the **ASE Tenets** when updating
137
+ in the following. Do not output anything.
137
138
 
138
- 1. Generic Tenets:
139
-
140
- - **Separation of Concerns**:
141
- Clearly separate all individual concerns as well as possible.
142
-
143
- - **Code Base Alignment**:
144
- Strictly align with the existing source code base by exactly
145
- following its coding style, its structure, its naming
146
- conventions, etc.
147
-
148
- 2. Specific Tenets:
149
-
150
- - **Behavior Preservation**:
151
- Refactoring changes only re-structure, never change any
152
- observable behavior at all. Especially, do not mix with
153
- problem resolving and feature crafting.
154
-
155
- - **Boy Scout Rule**:
156
- After the refactoring, leave the source code base cleaner
157
- than you found it.
158
-
159
- - **Don't Repeat Yourself (DRY)**:
160
- Avoid redundancies, but honor the *Rule of Three*: Don't
161
- abstract on the first occurrence -- tolerate (small)
162
- duplication on the second -- factor out on the third only.
163
-
164
- - **Single Responsibility Principle (SRP)**:
165
- Every module, class, or function should have only one reason
166
- to change.
167
-
168
- - **Loose Coupling, High Cohesion**:
169
- Strive for good modularity by a set of small, focused parts
170
- (high cohesion), connected by thin, explicit wires and
171
- interfaces (loose coupling).
172
-
173
- - **Clear Interfaces**:
174
- Design clear interfaces, contracts, and data models --
175
- with high attention to boundaries and modularity.
139
+ 2. Do not output anything in this STEP 3.
176
140
 
177
141
  </step>
178
142
 
@@ -186,45 +186,11 @@ permitted way to persist artifacts is via `ase_task_save(...)`.
186
186
 
187
187
  3. <step id="STEP 3: Internalize Problem Resolution Tenets">
188
188
 
189
- You *MUST* internalize and honor the following tenets when resolving the problem.
190
- Do not output anything.
189
+ 1. You *MUST* internalize and strictly honor the **GENERIC TENETS**,
190
+ and the **RESOLVING TENETS** of the **ASE Tenets** when updating
191
+ in the following. Do not output anything.
191
192
 
192
- 1. Generic Tenets:
193
-
194
- - **Separation of Concerns**:
195
- Clearly separate all individual concerns as well as possible.
196
-
197
- - **Code Base Alignment**:
198
- Strictly align with the existing source code base by exactly
199
- following its coding style, its structure, its naming
200
- conventions, etc.
201
-
202
- 2. Specific Tenets:
203
-
204
- - **Surgical Changes**:
205
- Keep source code changes always as small as possible.
206
-
207
- - **No Cleanups**:
208
- Strictly focus on resolving the problem and do not mix this
209
- task with any other necessary code cleanups, unless they are
210
- really necessary for resolving the task.
211
-
212
- - **Minimum Flags**:
213
- Use the absolute minimum total number of flags (boolean
214
- variables) to span the entire space of scenarios. Prefer the
215
- adjustment of existing flags over the introduction of new
216
- flags.
217
-
218
- - **Code Adequacy**:
219
- As little increase in overall source code complexity as
220
- possible, as much new problem resolution source code as
221
- necessary.
222
-
223
- - **Origin Proximity**:
224
- Problems for *obvious, particular, or expected* errors
225
- *should* be handled *near the origin*. Problems for
226
- *theoretical, fictive, or unexpected* errors *should* be
227
- handled more generally and in parent scopes.
193
+ 2. Do not output anything in this STEP 3.
228
194
 
229
195
  </step>
230
196
 
@@ -1,34 +1,30 @@
1
1
  ---
2
- name: ase-meta-update
2
+ name: ase-sync-reconcile
3
3
  argument-hint: "[--help|-h] <target>[,...] [<source>[,...]]"
4
4
  description: >
5
- Update one set of artifact kinds (the target) to reflect the current
5
+ Reconcile one set of artifact kinds (the target) to reflect the current
6
6
  state of another set of artifact kinds (the source). Use when the
7
- user wants to "update", "reconcile", or "sync" artifacts like SPEC,
8
- ARCH, CODE, DOCS, TASK, INFR, or OTHR against each other.
7
+ user wants to "reconcile", "sync", "align", or "update" artifacts like
8
+ SPEC, ARCH, CODE, DOCS, TASK, INFR, or OTHR against each other.
9
9
  user-invocable: true
10
10
  disable-model-invocation: false
11
11
  effort: xhigh
12
- allowed-tools:
13
- - "Read"
14
- - "Write"
15
- - "Edit"
16
12
  ---
17
13
 
18
14
  @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
19
15
  @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
20
16
  @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
21
17
 
22
- <skill name="ase-meta-update">
23
- Update Artifacts from Artifacts
18
+ <skill name="ase-sync-reconcile">
19
+ Reconcile Artifacts from Artifacts
24
20
  </skill>
25
21
 
26
- <expand name="getopt" arg1="ase-meta-update">
22
+ <expand name="getopt" arg1="ase-sync-reconcile">
27
23
  $ARGUMENTS
28
24
  </expand>
29
25
 
30
26
  <objective>
31
- *Update* the *target* artifact kinds to *reflect* the *current
27
+ *Reconcile* the *target* artifact kinds to *reflect* the *current
32
28
  state* of the *source* artifact kinds, by reading the source
33
29
  artifacts and adjusting the target artifacts accordingly:
34
30
  <request><getopt-arguments/></request>.
@@ -65,7 +61,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
65
61
  processing the entire current skill:
66
62
 
67
63
  <template>
68
- ⧉ **ASE**: ☻ skill: **ase-meta-update**, ▶ ERROR: missing target argument
64
+ ⧉ **ASE**: ☻ skill: **ase-sync-reconcile**, ▶ ERROR: missing target argument
69
65
  </template>
70
66
 
71
67
  </if>
@@ -76,7 +72,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
76
72
  *STOP* processing the entire current skill:
77
73
 
78
74
  <template>
79
- ⧉ **ASE**: ☻ skill: **ase-meta-update**, ▶ ERROR: unknown artifact kind: **<kind/>**
75
+ ⧉ **ASE**: ☻ skill: **ase-sync-reconcile**, ▶ ERROR: unknown artifact kind: **<kind/>**
80
76
  </template>
81
77
 
82
78
  4. <if condition="<source/> is empty">
@@ -94,34 +90,38 @@ explicitly requested by this procedure via outputs based on a <template/>!
94
90
  processing the entire current skill:
95
91
 
96
92
  <template>
97
- ⧉ **ASE**: ☻ skill: **ase-meta-update**, ▶ ERROR: empty source -- nothing to update from
93
+ ⧉ **ASE**: ☻ skill: **ase-sync-reconcile**, ▶ ERROR: empty source -- nothing to update from
98
94
  </template>
99
95
 
100
96
  6. Report the resolved target and source with the following <template/>:
101
97
 
102
98
  <template>
103
- <ase-tpl-bullet-normal/> **TARGET**: <target/>
99
+ <ase-tpl-bullet-signal/> **TARGET**: <target/>
104
100
  <ase-tpl-bullet-normal/> **SOURCE**: <source/>
105
101
  </template>
106
102
 
107
103
  </step>
108
104
 
109
- 2. <step id="STEP 2: Resolve Artifact Files">
105
+ 2. <step id="STEP 2: Resolve and Read Artifact Files">
110
106
 
111
- 1. For all kinds in the union of <target/> and <source/>,
107
+ 1. Do not output anything in this STEP 2.
108
+
109
+ 2. For all kinds in the union of <target/> and <source/>,
112
110
  call the `ase_artifact_list(kind: [ ... ])` tool of the `ase`
113
111
  MCP server *once*, passing the lower-cased `kind` tokens, and
114
112
  read the returned `artifacts` array of `{ kind, files }` objects
115
113
  to obtain the project-relative file list per kind.
116
114
 
117
- 2. Do not output anything in this STEP 2.
115
+ 3. Read all <source/> artifact files previously resolved and build a
116
+ precise understanding of the *current state* they represent.
118
117
 
119
118
  </step>
120
119
 
121
120
  3. <step id="STEP 3: Internalize Artifact Formats">
122
121
 
123
- 1. Internalize and honor the artifact-format conventions imported above:
122
+ 1. Do not output anything in this STEP 3.
124
123
 
124
+ 2. Internalize and honor the artifact-format conventions imported above:
125
125
  - the artifact-set/artifact/aspect meta information of `ase-format-meta.md`,
126
126
  - the `SPEC` format of `ase-format-spec.md`,
127
127
  - the `ARCH` format of `ase-format-arch.md`,
@@ -134,22 +134,16 @@ explicitly requested by this procedure via outputs based on a <template/>!
134
134
  and `OTHR` have no dedicated format contract and are treated as
135
135
  free-form.
136
136
 
137
- 2. Do not output anything in this STEP 3.
138
-
139
137
  </step>
140
138
 
141
- 4. <step id="STEP 4: Read Source Artifacts">
142
-
143
- 1. Read all <source/> artifact files resolved in STEP 2 and build a
144
- precise understanding of the *current state* they represent.
145
-
146
- 2. Do not output anything in this STEP 4.
147
-
148
- </step>
139
+ 4. <step id="STEP 4: Update Target Artifacts">
149
140
 
150
- 5. <step id="STEP 5: Update Target Artifacts">
141
+ 1. You *MUST* internalize and strictly honor the **GENERIC TENETS**,
142
+ the **RECONCILIATION TENETS**, the **REFACTORING TENETS**, and the
143
+ **CRAFTING TENETS** of the **ASE Tenets** when updating in the following. Do not
144
+ output anything.
151
145
 
152
- 1. *Update* the <target/> artifact files so that they faithfully
146
+ 2. *Update* the <target/> artifact files so that they faithfully
153
147
  *reflect the current state* of the <source/> artifacts. Apply the
154
148
  update *directly* to the target files via `Write`/`Edit`, keeping
155
149
  changes as *surgical* as possible: change only what the source
@@ -162,7 +156,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
162
156
  the `ase_timestamp(format: "yyyy-LL-dd HH:mm")` tool of the
163
157
  `ase` MCP server.
164
158
 
165
- 2. Report the performed update with the following <template/>, listing
159
+ 3. Report the performed update with the following <template/>, listing
166
160
  one bullet line per changed target file (with <file/> its
167
161
  project-relative path and <note/> an ultra-brief description of
168
162
  what was reconciled):
@@ -1,18 +1,18 @@
1
1
 
2
2
  ## NAME
3
3
 
4
- `ase-meta-update` - Update Artifacts from Artifacts
4
+ `ase-sync-reconcile` - Reconcile Artifacts from Artifacts
5
5
 
6
6
  ## SYNOPSIS
7
7
 
8
- `ase-meta-update`
8
+ `ase-sync-reconcile`
9
9
  [`--help`|`-h`]
10
10
  *target*[,...]
11
11
  [*source*[,...]]
12
12
 
13
13
  ## DESCRIPTION
14
14
 
15
- The `ase-meta-update` skill updates one set of artifact kinds (the
15
+ The `ase-sync-reconcile` skill reconciles one set of artifact kinds (the
16
16
  *target*) to *reflect* the *current state* of another set of artifact
17
17
  kinds (the *source*). It reads the source artifacts and then adjusts the
18
18
  target artifacts *directly* and *surgically* to match the source state.
@@ -27,7 +27,7 @@ present in *target* is never used as its own source.
27
27
  The file lists for the kinds `SPEC`, `ARCH`, `CODE`, `DOCS`, `INFR`, and
28
28
  `OTHR` are resolved via the `ase_artifact_list` MCP tool; the `TASK` kind
29
29
  is resolved generically from the `.ase/task/*/plan.md` task plans. While
30
- updating, the skill honors the artifact-format conventions of
30
+ reconciling, the skill honors the artifact-format conventions of
31
31
  `ase-format-meta.md`, `ase-format-spec.md`, `ase-format-arch.md`, and
32
32
  `ase-format-task.md`; the kinds `CODE`, `DOCS`, `INFR`, and `OTHR` are
33
33
  treated as free-form.
@@ -43,22 +43,22 @@ treated as free-form.
43
43
 
44
44
  ## EXAMPLES
45
45
 
46
- Update the specification to reflect the current source code:
46
+ Reconcile the specification to reflect the current source code:
47
47
 
48
48
  ```text
49
- ❯ /ase-meta-update SPEC CODE
49
+ ❯ /ase-sync-reconcile SPEC CODE
50
50
  ```
51
51
 
52
- Update specification and architecture from everything else:
52
+ Reconcile specification and architecture from everything else:
53
53
 
54
54
  ```text
55
- ❯ /ase-meta-update SPEC,ARCH
55
+ ❯ /ase-sync-reconcile SPEC,ARCH
56
56
  ```
57
57
 
58
- Update the documentation from the code and the architecture:
58
+ Reconcile the documentation from the code and the architecture:
59
59
 
60
60
  ```text
61
- ❯ /ase-meta-update DOCS CODE,ARCH
61
+ ❯ /ase-sync-reconcile DOCS CODE,ARCH
62
62
  ```
63
63
 
64
64
  ## SEE ALSO
package/dst/ase-notify.js DELETED
@@ -1,32 +0,0 @@
1
- /*
2
- ** Agentic Software Engineering (ASE)
3
- ** Copyright (c) 2025-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
4
- ** Licensed under GPL 3.0 <https://spdx.org/licenses/GPL-3.0-only>
5
- */
6
- import { z } from "zod";
7
- /* MCP registration entry point for user notification tool */
8
- export class NotifyMCP {
9
- register(mcp) {
10
- mcp.registerTool("ase_notify", {
11
- title: "ASE user notification",
12
- description: "Display a `message` to the user in the terminal of the agent harness. " +
13
- "The display happens deterministically through the accompanying PostToolUse hook, " +
14
- "independent of any assistant text output. " +
15
- "Use this to surface intermediate skill progress or status information " +
16
- "which otherwise would not be visible to the user before the final response. " +
17
- "Returns a status `text` acknowledging the notification.",
18
- inputSchema: {
19
- message: z.string().min(1).max(4096)
20
- .describe("message to display to the user (plain text, up to 4096 characters)")
21
- }
22
- }, async (args) => {
23
- /* the tool itself is a deliberate no-op: the user-visible display
24
- happens in the PostToolUse hook ("ase hook post-tool-use"),
25
- which receives this tool call's input from the agent harness
26
- and reflects the message back as a "systemMessage" */
27
- return {
28
- content: [{ type: "text", text: "notify: OK: message displayed to user" }]
29
- };
30
- });
31
- }
32
- }