@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.
- package/dist/config-set.js +33 -82
- package/dist/config-set.js.map +1 -1
- package/dist/init-templates.js +5 -1
- package/dist/init-templates.js.map +1 -1
- package/dist/initiative-plan.js +126 -17
- package/dist/initiative-plan.js.map +1 -1
- package/dist/lane-health.js +88 -19
- package/dist/lane-health.js.map +1 -1
- package/dist/public-manifest.js +7 -0
- package/dist/public-manifest.js.map +1 -1
- package/dist/wu-done-check.js +9 -1
- package/dist/wu-done-check.js.map +1 -1
- package/dist/wu-spawn-prompt-builders.js +3 -3
- package/dist/wu-spawn-prompt-builders.js.map +1 -1
- package/dist/wu-verify.js +41 -0
- package/dist/wu-verify.js.map +1 -0
- package/package.json +9 -8
- package/packs/sidekick/.turbo/turbo-build.log +1 -1
- package/packs/sidekick/package.json +1 -1
- package/packs/software-delivery/.turbo/turbo-build.log +1 -1
- package/packs/software-delivery/package.json +1 -1
- package/templates/core/ai/onboarding/quick-ref-commands.md.template +19 -8
- package/templates/core/ai/onboarding/starting-prompt.md.template +1 -0
- package/templates/vendors/claude/.claude/skills/lumenflow-gates/SKILL.md.template +11 -6
- package/templates/vendors/cursor/.cursor/rules/lumenflow.md.template +1 -0
- package/templates/vendors/windsurf/.windsurf/rules/lumenflow.md.template +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @lumenflow/packs-software-delivery@3.12.
|
|
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
|
|
|
@@ -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
|
-
|
|
197
|
-
`pnpm prettier --write <changed-
|
|
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>` |
|
|
334
|
-
| `pnpm initiative:plan --initiative INIT-XXX --create` |
|
|
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
|
-
**
|
|
355
|
+
**initiative:plan command (supports external import):**
|
|
352
356
|
|
|
353
357
|
```bash
|
|
354
|
-
#
|
|
355
|
-
|
|
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
|
|
37
|
-
| --------- |
|
|
38
|
-
| Format | `pnpm
|
|
39
|
-
| Lint | `pnpm lint:fix`
|
|
40
|
-
| Typecheck | -
|
|
41
|
-
| Tests | -
|
|
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
|