@auto-engineer/server-implementer 1.104.0 → 1.106.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
@@ -6,6 +6,7 @@
6
6
 
7
7
  ## DONE
8
8
 
9
+ - [x] Burst 10: Add strict array/object typing rules to implementer prompts
9
10
  - [x] Burst 9: Add discriminated union narrowing guidance to prompts (f43a84c9)
10
11
  - [x] Burst 8: Load full shared directory into implementer context (e8f42abf)
11
12
 
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.104.0",
22
- "@auto-engineer/message-bus": "1.104.0"
21
+ "@auto-engineer/model-factory": "1.106.0",
22
+ "@auto-engineer/message-bus": "1.106.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.104.0"
32
+ "@auto-engineer/cli": "1.106.0"
33
33
  },
34
- "version": "1.104.0",
34
+ "version": "1.106.0",
35
35
  "scripts": {
36
36
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
37
37
  "test": "vitest run --reporter=dot",
@@ -174,7 +174,8 @@ Key rules:
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
176
  - Derive all output values from inputs (event.data, command.data, state) or generate at runtime. Never reproduce literal values from test examples.
177
- - When the State type is a discriminated union (e.g., type State = NotInitialized | Initialized), narrow the discriminant before accessing variant-specific properties. Example: if (_state.status === 'initialized') { ... _state.goalId ... }
177
+ - Always annotate array literals with explicit types: \`const items: SomeType[] = []\`, never \`const items = []\`.
178
+ - When mapping objects to a typed array, include ALL required fields in each object literal. TypeScript requires every field — omitting one and assigning it later causes a type error.
178
179
 
179
180
  Avoid:
180
181
  - Adding new dependencies.
@@ -27,7 +27,8 @@ Key rules:
27
27
  - If a test exists, make it pass.
28
28
  - Keep implementations minimal and idiomatic.
29
29
  - Derive all output values from inputs (event.data, command.data, state) or generate at runtime. Never reproduce literal values from test examples.
30
- - When the State type is a discriminated union (e.g., type State = NotInitialized | Initialized), narrow the discriminant before accessing variant-specific properties. Example: if (_state.status === 'initialized') { ... _state.goalId ... }
30
+ - Always annotate array literals with explicit types: \`const items: SomeType[] = []\`, never \`const items = []\`.
31
+ - When mapping objects to a typed array, include ALL required fields in each object literal. TypeScript requires every field — omitting one and assigning it later causes a type error.
31
32
 
32
33
  Avoid:
33
34
  - Adding new dependencies.