@coralai/sps-cli 0.37.0 → 0.37.2

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.
Files changed (40) hide show
  1. package/dist/commands/agentCommand.js +1 -1
  2. package/dist/commands/agentCommand.js.map +1 -1
  3. package/dist/commands/doctor.js +2 -12
  4. package/dist/commands/doctor.js.map +1 -1
  5. package/dist/commands/projectInit.d.ts.map +1 -1
  6. package/dist/commands/projectInit.js +41 -96
  7. package/dist/commands/projectInit.js.map +1 -1
  8. package/dist/commands/reset.d.ts.map +1 -1
  9. package/dist/commands/reset.js +4 -85
  10. package/dist/commands/reset.js.map +1 -1
  11. package/dist/commands/tick.d.ts +1 -1
  12. package/dist/commands/tick.d.ts.map +1 -1
  13. package/dist/commands/tick.js +22 -5
  14. package/dist/commands/tick.js.map +1 -1
  15. package/dist/core/projectPipelineAdapter.js +2 -2
  16. package/dist/core/projectPipelineAdapter.js.map +1 -1
  17. package/dist/core/sessionLiveness.d.ts.map +1 -1
  18. package/dist/core/sessionLiveness.js.map +1 -1
  19. package/dist/core/taskPrompts.d.ts.map +1 -1
  20. package/dist/core/taskPrompts.js +18 -73
  21. package/dist/core/taskPrompts.js.map +1 -1
  22. package/dist/engines/EventHandler.d.ts +0 -1
  23. package/dist/engines/EventHandler.d.ts.map +1 -1
  24. package/dist/engines/EventHandler.js +1 -33
  25. package/dist/engines/EventHandler.js.map +1 -1
  26. package/dist/engines/MonitorEngine.js +1 -1
  27. package/dist/engines/MonitorEngine.js.map +1 -1
  28. package/dist/engines/StageEngine.d.ts +3 -3
  29. package/dist/engines/StageEngine.d.ts.map +1 -1
  30. package/dist/engines/StageEngine.js +20 -23
  31. package/dist/engines/StageEngine.js.map +1 -1
  32. package/dist/manager/runtime-coordinator.d.ts +11 -16
  33. package/dist/manager/runtime-coordinator.d.ts.map +1 -1
  34. package/dist/manager/runtime-coordinator.js +20 -330
  35. package/dist/manager/runtime-coordinator.js.map +1 -1
  36. package/dist/manager/worker-manager-impl.d.ts.map +1 -1
  37. package/dist/manager/worker-manager-impl.js +2 -3
  38. package/dist/manager/worker-manager-impl.js.map +1 -1
  39. package/package.json +1 -1
  40. package/skills/sps-pipeline/SKILL.md +18 -10
@@ -7,7 +7,7 @@ description: |
7
7
  Proactively use when the user discusses project setup, task planning, or CI/CD automation. (🪸 Coral SPS)
8
8
  ---
9
9
 
10
- # SPS Pipeline Management (v0.34.0)
10
+ # SPS Pipeline Management (v0.37.0 — Single Worker Model)
11
11
 
12
12
  Manage the full lifecycle of SPS development pipelines: project setup, YAML configuration, task cards, memory system, and pipeline execution.
13
13
 
@@ -242,27 +242,35 @@ Workers receive memory in their prompt and can write new memories directly to `~
242
242
  sps skill sync
243
243
  ```
244
244
 
245
- ## Architecture
245
+ ## Architecture (Single Worker Model)
246
246
 
247
247
  ```
248
248
  SchedulerEngine (orchestration)
249
249
  → Backlog cards with AI-PIPELINE label → Ready
250
250
 
251
- StageEngine × N (execution, YAML-driven)
252
- Each stage: trigger launch worker completion → state transition
253
- First stage: creates branch + worktree
254
- Last stage: releases resources + cleans worktree
251
+ StageEngine × N (serial execution)
252
+ Single worker processes one card at a time
253
+ Each stage: launch worker wait completion → move card
254
+ Worker runs directly in PROJECT_DIR (no worktree/branch)
255
+ → Failure halts pipeline until resolved
255
256
 
256
257
  MonitorEngine (monitoring)
257
- Heartbeat / stale detection across all stages
258
+ Worker health check
258
259
  ```
259
260
 
260
- ## Card State Flow
261
+ ## Failure Handling
262
+
263
+ - Card fails → mark NEEDS-FIX → pipeline halts (halt: true)
264
+ - Retry up to N times (retryCount in card frontmatter)
265
+ - All retries exhausted → halt, wait for manual fix
266
+ - Remove NEEDS-FIX label to resume
261
267
 
262
- Fully configurable. Only 3 fixed roles:
268
+ ## Card State Flow
263
269
 
264
270
  ```
265
- Backlog → Ready → [Stage 1] → [Stage 2] → ... → Done
271
+ Planning → Backlog → Ready → [Stage 1] → [Stage 2] → ... → Done
272
+ ↓ fail
273
+ NEEDS-FIX (halt)
266
274
  ```
267
275
 
268
276
  ## Key Config Fields (conf)