deepflow 0.1.98 → 0.1.100

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.
@@ -268,8 +268,7 @@ function main() {
268
268
  const plansDir = path.resolve(process.cwd(), args.plansDir);
269
269
 
270
270
  if (!fs.existsSync(plansDir)) {
271
- process.stderr.write(`plan-consolidator: plans directory not found: ${plansDir}\n`);
272
- process.exit(1);
271
+ process.exit(0);
273
272
  }
274
273
 
275
274
  // Collect mini-plan files: doing-{name}.md, sorted alphabetically for determinism
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepflow",
3
- "version": "0.1.98",
3
+ "version": "0.1.100",
4
4
  "description": "Doing reveals what thinking can't predict — spec-driven iterative development for Claude Code",
5
5
  "keywords": [
6
6
  "claude",
@@ -244,7 +244,7 @@ Then apply §5.5 routing matrix. Continue to §6.
244
244
 
245
245
  Shell-inject the consolidator output:
246
246
 
247
- `` !`node bin/plan-consolidator.js --plans-dir .deepflow/plans/ 2>/dev/null` ``
247
+ `` !`node bin/plan-consolidator.js --plans-dir .deepflow/plans/ 2>/dev/null || true` ``
248
248
 
249
249
  This produces the `## Tasks` section with:
250
250
  - Globally sequential T-ids (no gaps, no duplicates) — AC-4
@@ -196,4 +196,4 @@ Objective: ... | Approach: ... | Why it worked: ... | Files: ...
196
196
  5. **Extract decisions:** Read done spec, extract `[APPROACH]`/`[ASSUMPTION]`/`[PROVISIONAL]` decisions, append to `.deepflow/decisions.md` as `### {date} — {spec}\n- [TAG] decision — rationale`. Delete done spec after successful write; preserve on failure.
197
197
  6. **Clean PLAN.md:** Find the `### {spec-name}` section (match on name stem, strip `doing-`/`done-` prefix). Delete from header through the line before the next `### ` header (or EOF). Recalculate Summary table (recount `### ` headers for spec count, `- [ ]`/`- [x]` for task counts). If no spec sections remain, delete PLAN.md entirely. Skip silently if PLAN.md missing or section already gone.
198
198
 
199
- Output: `✓ Merged → main | ✓ Cleaned worktree | ✓ Spec complete | ✓ Cleaned PLAN.md | Workflow complete! Ready: /df:spec <name>`
199
+ Output: `✓ Merged → main | ✓ Cleaned worktree | ✓ Spec done | ✓ Decisions extracted | ✓ Cleaned PLAN.md | Workflow complete! Ready: /df:spec <name>`