sillyspec 3.23.3 → 3.23.4

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/run.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sillyspec",
3
- "version": "3.23.3",
3
+ "version": "3.23.4",
4
4
  "description": "SillySpec CLI — 流程状态机,让 AI 严格按步骤来",
5
5
  "icon": "logo.jpg",
6
6
  "homepage": "https://sillyspec.ppdmq.top/",
package/src/run.js CHANGED
@@ -1645,11 +1645,11 @@ export async function runCommand(args, cwd, specDir = null) {
1645
1645
  // 这里复用同一值写 current-quick-run-id,保证两处一致。
1646
1646
  // 旧 quick-YYYYMMDD-HHMMSS 时间戳已摒弃(D-003@v1:同秒并发撞)。
1647
1647
  if (stageName === 'quick' && !isDone && !isStatus && !isSkip && !isReset && !isReopen) {
1648
- const qStage = progress.stages?.quick
1649
- if (qStage?.steps?.length) {
1650
- qStage.steps = qStage.steps.map(s => ({ ...s, status: 'pending', completedAt: null }))
1651
- qStage.status = 'in-progress'
1652
- }
1648
+ // 不再无条件 reset steps:原逻辑把任何 quick 非 --done 启动都重置为 pending,致 in-progress
1649
+ // quick 中途查 prompt(sillyspec run quick)丢已 done 的 step 进度(报告
1650
+ // quick-state-reset-platform-mode)。现保留进度——completed 重跑由 runStage
1651
+ // currentIdx === -1 自动重置(~1944 行);in-progress 输出当前 step;全新由
1652
+ // ensureStageSteps 初始化;显式从头用 --reset(已由 !isReset 排除出本分支)。
1653
1653
  try {
1654
1654
  const runtimeRoot = platformOpts.runtimeRoot || join(specRoot, '.runtime')
1655
1655
  mkdirSync(runtimeRoot, { recursive: true })