@auto-engineer/server-implementer 1.87.0 → 1.88.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.
package/ketchup-plan.md CHANGED
@@ -2,11 +2,12 @@
2
2
 
3
3
  ## TODO
4
4
 
5
- - [x] Burst 4: Merge co-firing GWT conditions in gwt.ts (TDD) [depends: none]
6
- - [x] Burst 5: Fix singleton projection instructions in projection.ts.ejs [depends: none]
7
-
8
5
  ## DONE
9
6
 
10
- - [x] Burst 1: Detection utility detectImportedTypeShadowing with TypeScript AST [depends: none] (afff6f0f)
11
- - [x] Burst 2: Integrate shadow detection into runSlice.ts and implement-slice.ts [depends: 1] (b47ae539)
12
- - [x] Burst 3: Clarify Internal State Pattern in projection template + update snapshots [depends: none] (pending)
7
+ - [x] Burst 7: Add implementer prompt guardrails for phantom enums and hardcoded projections (14d8cbda)
8
+ - [x] Burst 6: Fix `_state` reference in decide.ts.ejs instruction comment (dff8f329)
9
+ - [x] Burst 5: Fix singleton projection instructions in projection.ts.ejs (3271cfe4)
10
+ - [x] Burst 4: Merge co-firing GWT conditions in gwt.ts (ba4b32f2)
11
+ - [x] Burst 3: Clarify Internal State Pattern in projection template + update snapshots (pending)
12
+ - [x] Burst 2: Integrate shadow detection into runSlice.ts and implement-slice.ts (b47ae539)
13
+ - [x] Burst 1: Detection utility — detectImportedTypeShadowing with TypeScript AST (afff6f0f)
package/package.json CHANGED
@@ -18,8 +18,8 @@
18
18
  "debug": "^4.3.4",
19
19
  "fast-glob": "^3.3.3",
20
20
  "vite": "^5.4.1",
21
- "@auto-engineer/model-factory": "1.87.0",
22
- "@auto-engineer/message-bus": "1.87.0"
21
+ "@auto-engineer/model-factory": "1.88.0",
22
+ "@auto-engineer/message-bus": "1.88.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/fs-extra": "^11.0.4",
@@ -29,9 +29,9 @@
29
29
  "glob": "^11.0.3",
30
30
  "tsx": "^4.20.3",
31
31
  "typescript": "^5.8.3",
32
- "@auto-engineer/cli": "1.87.0"
32
+ "@auto-engineer/cli": "1.88.0"
33
33
  },
34
- "version": "1.87.0",
34
+ "version": "1.88.0",
35
35
  "scripts": {
36
36
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
37
37
  "test": "vitest run --reporter=dot",
@@ -173,12 +173,14 @@ Key rules:
173
173
  - If a test exists, make it pass.
174
174
  - Keep implementations minimal and idiomatic.
175
175
  - CRITICAL: When assigning values to enum-typed fields, use the enum constant name from domain-shared-types.ts. For example, if Status enum has IN_PROGRESS = 'in_progress', use Status.IN_PROGRESS not 'in_progress'.
176
+ - In projections, derive all values from event data or existing document state. Never hardcode constant values that should come from events.
176
177
 
177
178
  Avoid:
178
179
  - Adding new dependencies.
179
180
  - Refactoring unrelated code.
180
181
  - Changing the structure of already scaffolded files unless instructed.
181
182
  - Using string literals for enum-typed fields. ALWAYS use the enum constant from domain-shared-types.ts (e.g., if status field type is Status and Status enum defines IN_PROGRESS = 'in_progress', use Status.IN_PROGRESS not the string 'in_progress').
183
+ - Importing enum types that do not appear in domain-shared-types.ts. If a field type is plain \`string\` (not an enum type), use a string literal.
182
184
 
183
185
  You will receive:
184
186
  - The path of the file to implement.
@@ -26,11 +26,13 @@ Key rules:
26
26
  - All code must be TypeScript compliant and follow functional patterns.
27
27
  - If a test exists, make it pass.
28
28
  - Keep implementations minimal and idiomatic.
29
+ - In projections, derive all values from event data or existing document state. Never hardcode constant values that should come from events.
29
30
 
30
31
  Avoid:
31
32
  - Adding new dependencies.
32
33
  - Refactoring unrelated code.
33
34
  - Changing the structure of already scaffolded files unless instructed.
35
+ - Inventing or importing types (e.g. enums) not already present in the provided files. If a field type is \`string\`, use a string literal.
34
36
 
35
37
  You will receive:
36
38
  - The path of the file to implement.