olympus-ai 4.4.17 → 4.4.18
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/.claude-plugin/plugin.json +1 -1
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.js +1 -1
- package/package.json +1 -1
- package/resources/rules/construction/build-and-test.md +15 -1
- package/resources/rules/construction/code-generation.md +29 -2
- package/resources/rules/inception/workflow-planning.md +22 -0
|
@@ -24,7 +24,7 @@ export declare const HOOKS_DIR: string;
|
|
|
24
24
|
export declare const SETTINGS_FILE: string;
|
|
25
25
|
export declare const VERSION_FILE: string;
|
|
26
26
|
/** Current version - MUST match package.json */
|
|
27
|
-
export declare const VERSION = "4.4.
|
|
27
|
+
export declare const VERSION = "4.4.18";
|
|
28
28
|
/** Installation result */
|
|
29
29
|
export interface InstallResult {
|
|
30
30
|
success: boolean;
|
package/dist/installer/index.js
CHANGED
|
@@ -40,7 +40,7 @@ export const HOOKS_DIR = join(CLAUDE_CONFIG_DIR, 'hooks');
|
|
|
40
40
|
export const SETTINGS_FILE = join(CLAUDE_CONFIG_DIR, 'settings.json');
|
|
41
41
|
export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.olympus-version.json');
|
|
42
42
|
/** Current version - MUST match package.json */
|
|
43
|
-
export const VERSION = '4.4.
|
|
43
|
+
export const VERSION = '4.4.18';
|
|
44
44
|
/**
|
|
45
45
|
* Read a content file from the resources/ directory.
|
|
46
46
|
*
|
package/package.json
CHANGED
|
@@ -384,7 +384,21 @@ Create `aidlc-docs/construction/build-and-test/build-and-test-summary.md`:
|
|
|
384
384
|
1. Update `aidlc-docs/{workflow-id}/aidlc-state.md`:
|
|
385
385
|
- Mark Build and Test stage as complete
|
|
386
386
|
- Update current status
|
|
387
|
-
2. Update `aidlc-docs/{workflow-id}/checkpoint.json` —
|
|
387
|
+
2. Update `aidlc-docs/{workflow-id}/checkpoint.json` — mark the workflow as complete:
|
|
388
|
+
|
|
389
|
+
```json
|
|
390
|
+
{
|
|
391
|
+
"current_stage": "complete",
|
|
392
|
+
"status": "complete",
|
|
393
|
+
"active_unit_id": null,
|
|
394
|
+
"units_completed": N
|
|
395
|
+
}
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
- `current_stage` MUST be `"complete"` (not `"build-and-test"`)
|
|
399
|
+
- `status` MUST be `"complete"` (not `"in_progress"`)
|
|
400
|
+
- Verify `units_completed` equals `units_total`
|
|
401
|
+
- Verify all units in `construction_units` have `"code_generation_status": "completed"`
|
|
388
402
|
- **Do NOT proceed to the next stage without completing this step**
|
|
389
403
|
|
|
390
404
|
---
|
|
@@ -214,7 +214,21 @@ You may:
|
|
|
214
214
|
|
|
215
215
|
## Step 9: MANDATORY: Update Progress
|
|
216
216
|
- [ ] **MANDATORY**: Mark Code Planning complete in `aidlc-docs/{workflow-id}/aidlc-state.md`
|
|
217
|
-
- [ ] **MANDATORY**: Update `aidlc-docs/{workflow-id}/checkpoint.json`
|
|
217
|
+
- [ ] **MANDATORY**: Update `aidlc-docs/{workflow-id}/checkpoint.json` — update the unit entry using the `ConstructionUnitProgress` schema:
|
|
218
|
+
|
|
219
|
+
```json
|
|
220
|
+
"u-nnn-unit-name": {
|
|
221
|
+
"unitId": "u-nnn-unit-name",
|
|
222
|
+
"stages": {
|
|
223
|
+
"code-generation": { "status": "in_progress", "artifact_path": null, "completed_at": null }
|
|
224
|
+
},
|
|
225
|
+
"code_plan_path": "construction/plans/u-nnn-unit-name-code-generation-plan.md",
|
|
226
|
+
"code_generation_status": "awaiting_approval"
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
- Set `active_unit_id` to the current unit ID
|
|
231
|
+
- Increment design stage statuses to `"skipped"` for stages that were skipped per the execution plan
|
|
218
232
|
- [ ] Prepare for transition to Code Generation
|
|
219
233
|
- **Do NOT proceed without completing state updates**
|
|
220
234
|
|
|
@@ -304,7 +318,20 @@ This ensures the summary always exists regardless of agent compliance.
|
|
|
304
318
|
- Record the user's approval response with timestamp
|
|
305
319
|
- **MANDATORY**: Update BOTH state files in the SAME interaction:
|
|
306
320
|
1. Mark Code Generation stage as complete for this unit in `aidlc-docs/{workflow-id}/aidlc-state.md`
|
|
307
|
-
2. Update `aidlc-docs/{workflow-id}/checkpoint.json` —
|
|
321
|
+
2. Update `aidlc-docs/{workflow-id}/checkpoint.json` — update the unit entry:
|
|
322
|
+
|
|
323
|
+
```json
|
|
324
|
+
"u-nnn-unit-name": {
|
|
325
|
+
"stages": {
|
|
326
|
+
"code-generation": { "status": "completed", "artifact_path": "construction/u-nnn-unit-name/", "completed_at": "ISO-TIMESTAMP" }
|
|
327
|
+
},
|
|
328
|
+
"code_generation_status": "completed"
|
|
329
|
+
}
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
- Increment `units_completed`
|
|
333
|
+
- If this is the last unit: set `active_unit_id` to `null`
|
|
334
|
+
- If more units remain: set `active_unit_id` to the next unit ID
|
|
308
335
|
- **Do NOT proceed to the next stage without completing state updates**
|
|
309
336
|
|
|
310
337
|
---
|
|
@@ -443,6 +443,28 @@ flowchart TD
|
|
|
443
443
|
2. Update `aidlc-docs/{workflow-id}/checkpoint.json` — initialize workflow state with all stage statuses, current_inception_stage set to next stage after Workflow Planning
|
|
444
444
|
- **Skipped stages MUST use `"status": "skipped"`** (not `"completed"`) with a `skip_reason` field. This distinguishes stages that were intentionally excluded from stages that ran and produced artifacts.
|
|
445
445
|
- If Unit Registration (Step 3.5) was executed, include `"unit_registration_completed": true` on the units-generation entry.
|
|
446
|
+
- **CRITICAL: `construction_units` schema** — When initializing units, use the `ConstructionUnitProgress` object format keyed by unit folder name. Each unit MUST include the full `stages` record:
|
|
447
|
+
|
|
448
|
+
```json
|
|
449
|
+
"construction_units": {
|
|
450
|
+
"u-001-unit-name": {
|
|
451
|
+
"unitId": "u-001-unit-name",
|
|
452
|
+
"stages": {
|
|
453
|
+
"functional-design": { "status": "not_started", "artifact_path": null, "completed_at": null },
|
|
454
|
+
"nfr-requirements": { "status": "not_started", "artifact_path": null, "completed_at": null },
|
|
455
|
+
"nfr-design": { "status": "not_started", "artifact_path": null, "completed_at": null },
|
|
456
|
+
"infrastructure-design": { "status": "not_started", "artifact_path": null, "completed_at": null },
|
|
457
|
+
"code-generation": { "status": "not_started", "artifact_path": null, "completed_at": null },
|
|
458
|
+
"test-generation": { "status": "not_started", "artifact_path": null, "completed_at": null }
|
|
459
|
+
},
|
|
460
|
+
"code_plan_path": null,
|
|
461
|
+
"code_generation_status": "not_started"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
- Also include these top-level fields: `"active_unit_id": null`, `"units_total": N`, `"units_completed": 0`
|
|
467
|
+
- When design stages are skipped per the execution plan, set their status to `"skipped"` (not `"not_started"`)
|
|
446
468
|
- **Do NOT proceed to the next stage without completing this step**
|
|
447
469
|
|
|
448
470
|
## Step 9: Present Plan to User
|