@lumenflow/cli 3.12.8 → 3.12.10

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @lumenflow/packs-sidekick@3.12.8 build /home/runner/work/lumenflow-dev/lumenflow-dev/packages/@lumenflow/packs/sidekick
2
+ > @lumenflow/packs-sidekick@3.12.10 build /home/runner/work/lumenflow-dev/lumenflow-dev/packages/@lumenflow/packs/sidekick
3
3
  > tsc
4
4
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumenflow/packs-sidekick",
3
- "version": "3.12.8",
3
+ "version": "3.12.10",
4
4
  "description": "Sidekick personal assistant pack for LumenFlow — 16 tools for task management, typed memory, channels, routines, and audit",
5
5
  "keywords": [
6
6
  "lumenflow",
@@ -1,4 +1,4 @@
1
1
 
2
- > @lumenflow/packs-software-delivery@3.12.8 build /home/runner/work/lumenflow-dev/lumenflow-dev/packages/@lumenflow/packs/software-delivery
2
+ > @lumenflow/packs-software-delivery@3.12.10 build /home/runner/work/lumenflow-dev/lumenflow-dev/packages/@lumenflow/packs/software-delivery
3
3
  > tsc
4
4
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumenflow/packs-software-delivery",
3
- "version": "3.12.8",
3
+ "version": "3.12.10",
4
4
  "description": "Software delivery pack for LumenFlow — work units, gates, lanes, initiatives, and agent coordination",
5
5
  "keywords": [
6
6
  "lumenflow",
@@ -158,6 +158,7 @@ automatically, and `.lumenflow/templates/` remains optional unless you want cust
158
158
  | -------------------------------- | ---------------------------------------- |
159
159
  | `pnpm wu:validate --id WU-XXX` | Validate WU spec |
160
160
  | `pnpm wu:preflight --id WU-XXX` | Pre-flight checks before wu:done |
161
+ | `pnpm wu:verify --id WU-XXX` | Verify WU completion (stamp, commit, clean tree) |
161
162
  | `pnpm wu:recover --id WU-XXX` | Analyze and fix WU state inconsistencies |
162
163
  | `pnpm wu:repair --id WU-XXX` | Repair WU state issues |
163
164
  | `pnpm wu:prune` | Clean stale worktrees |
@@ -193,8 +194,10 @@ automatically, and `.lumenflow/templates/` remains optional unless you want cust
193
194
  ¹ **Script aliases:** `spec:linter` and `tasks:validate` are pnpm script aliases
194
195
  for `wu:validate --all`. They are not standalone CLI commands.
195
196
 
196
- Before rerunning `wu:prep` after docs-heavy edits, format touched docs first:
197
- `pnpm prettier --write <changed-doc-paths...>`.
197
+ **Formatting: always scope to changed files only.**
198
+ Use `pnpm prettier --write <changed-files...>` — never unscoped `pnpm format`.
199
+ Running `pnpm format` reformats every file in the repo, creating hundreds of
200
+ dirty YAML/initiative changes that pollute the worktree and block `wu:done`.
198
201
 
199
202
  ---
200
203
 
@@ -330,8 +333,9 @@ stub in `$LUMENFLOW_HOME/plans/` and automatically set the WU's `plan` field to
330
333
  | `pnpm plan:edit --id INIT-XXX --section Goal --content "..."` | Edit a section in a plan file |
331
334
  | `pnpm plan:link --id INIT-XXX --plan lumenflow://plans/INIT-XXX-plan.md` | Link plan URI to initiative or WU |
332
335
  | `pnpm plan:promote --id INIT-XXX` | Promote plan status to approved |
333
- | `pnpm initiative:plan --initiative INIT-XXX --plan <path>` | Legacy-compatible initiative linking command |
334
- | `pnpm initiative:plan --initiative INIT-XXX --create` | Legacy-compatible create-and-link flow |
336
+ | `pnpm initiative:plan --initiative INIT-XXX --plan <path>` | Link plan to initiative (auto-imports external files into repo) |
337
+ | `pnpm initiative:plan --initiative INIT-XXX --create` | Create blank plan template and link to initiative |
338
+ | `pnpm initiative:plan --initiative INIT-XXX --create --plan <path>` | Import external plan content into new template and link |
335
339
 
336
340
  ### Linking Plans
337
341
 
@@ -348,14 +352,21 @@ pnpm plan:create --id INIT-001 --title "Auth System Rollout" --from ~/.claude/pl
348
352
  pnpm plan:link --id INIT-001 --plan lumenflow://plans/INIT-001-plan.md
349
353
  ```
350
354
 
351
- **Legacy-compatible initiative command:**
355
+ **initiative:plan command (supports external import):**
352
356
 
353
357
  ```bash
354
- # Create a new plan template
355
- pnpm initiative:plan --initiative INIT-001 --create
358
+ # Import an external plan (e.g. from ~/.claude/plans/) and link to initiative
359
+ # The file is copied into the repo's configured plansDir automatically
360
+ pnpm initiative:plan --initiative INIT-001 --plan ~/.claude/plans/my-plan.md
356
361
 
357
- # Link an existing plan file
362
+ # Link an existing repo plan file
358
363
  pnpm initiative:plan --initiative INIT-001 --plan docs/plans/my-plan.md
364
+
365
+ # Create a blank plan template and link
366
+ pnpm initiative:plan --initiative INIT-001 --create
367
+
368
+ # Import external file content into a new initiative plan file
369
+ pnpm initiative:plan --initiative INIT-001 --create --plan ~/.claude/plans/my-plan.md
359
370
  ```
360
371
 
361
372
  **To a WU (via `plan` field, WU-1683):**
@@ -561,6 +561,7 @@ Domain-specific commands must come from local configuration, not core framework
561
561
  | `pnpm wu:cleanup --id WU-XXX` | Post-merge cleanup (branch-pr) | After PR merge (cloud only) |
562
562
  | `pnpm wu:escalate --id WU-XXX` | Show or resolve escalation status | Escalation-triggered WUs |
563
563
  | `pnpm wu:escalate --resolve --id WU-XXX` | Resolve human escalation | Before wu:done (escalation) |
564
+ | `pnpm wu:verify --id WU-XXX` | Verify WU completion (stamp, commit, clean tree) | After wu:done |
564
565
  | `pnpm wu:delete --id WU-XXX` | Delete WU spec and cleanup | Cancel stale/throwaway WUs |
565
566
  | `pnpm wu:recover --id WU-XXX` | Fix inconsistent WU state | When state is broken |
566
567
 
@@ -33,12 +33,17 @@ pnpm gates = format:check → lint → typecheck → spec:linter → tests
33
33
 
34
34
  ## Fix Patterns
35
35
 
36
- | Gate | Auto-fix | Manual |
37
- | --------- | --------------- | ----------------------------------- |
38
- | Format | `pnpm format` | - |
39
- | Lint | `pnpm lint:fix` | Fix reported issues |
40
- | Typecheck | - | Fix type errors (first error first) |
41
- | Tests | - | Debug, fix mocks, update snapshots |
36
+ | Gate | Auto-fix | Manual |
37
+ | --------- | ------------------------------------------ | ----------------------------------- |
38
+ | Format | `pnpm prettier --write <changed-files...>` | - |
39
+ | Lint | `pnpm lint:fix` | Fix reported issues |
40
+ | Typecheck | - | Fix type errors (first error first) |
41
+ | Tests | - | Debug, fix mocks, update snapshots |
42
+
43
+ > **NEVER run `pnpm format` (unscoped).** It reformats every file in the repo,
44
+ > creating hundreds of dirty changes that pollute your worktree. Always scope
45
+ > formatting to your changed files only:
46
+ > `pnpm prettier --write src/my-file.ts src/other-file.ts`
42
47
 
43
48
  ## Decision Tree
44
49
 
@@ -47,6 +47,7 @@ pnpm wu:done --id WU-XXX
47
47
  | `pnpm wu:delegate --id WU-XXX --parent-wu <P>` | Generate prompt + record delegation lineage |
48
48
  | `pnpm wu:recover --id WU-XXX` | Fix WU state inconsistencies |
49
49
  | `pnpm wu:escalate --id WU-XXX` | Show or resolve WU escalation status |
50
+ | `pnpm wu:verify --id WU-XXX` | Verify WU completion (stamp, commit, clean tree) |
50
51
  | `pnpm wu:delete --id WU-XXX` | Delete WU spec and cleanup |
51
52
 
52
53
  ### Gates & Orchestration
@@ -47,6 +47,7 @@ pnpm wu:done --id WU-XXX
47
47
  | `pnpm wu:delegate --id WU-XXX --parent-wu <P>` | Generate prompt + record delegation lineage |
48
48
  | `pnpm wu:recover --id WU-XXX` | Fix WU state inconsistencies |
49
49
  | `pnpm wu:escalate --id WU-XXX` | Show or resolve WU escalation status |
50
+ | `pnpm wu:verify --id WU-XXX` | Verify WU completion (stamp, commit, clean tree) |
50
51
  | `pnpm wu:delete --id WU-XXX` | Delete WU spec and cleanup |
51
52
 
52
53
  ### Gates & Orchestration