@lumenflow/core 4.23.0 → 5.0.0
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/arg-parser.d.ts.map +1 -1
- package/dist/arg-parser.js +16 -0
- package/dist/arg-parser.js.map +1 -1
- package/dist/atomic-merge.d.ts.map +1 -1
- package/dist/atomic-merge.js +25 -18
- package/dist/atomic-merge.js.map +1 -1
- package/dist/client-ids.d.ts +1 -15
- package/dist/client-ids.d.ts.map +1 -1
- package/dist/client-ids.js +4 -13
- package/dist/client-ids.js.map +1 -1
- package/dist/code-path-validator.d.ts.map +1 -1
- package/dist/code-path-validator.js +6 -3
- package/dist/code-path-validator.js.map +1 -1
- package/dist/config-contract.d.ts +1 -30
- package/dist/config-contract.d.ts.map +1 -1
- package/dist/config-contract.js +4 -60
- package/dist/config-contract.js.map +1 -1
- package/dist/constants/backlog-patterns.d.ts +1 -20
- package/dist/constants/backlog-patterns.d.ts.map +1 -1
- package/dist/constants/backlog-patterns.js +2 -23
- package/dist/constants/backlog-patterns.js.map +1 -1
- package/dist/constants/dora-constants.d.ts +19 -2
- package/dist/constants/dora-constants.d.ts.map +1 -1
- package/dist/constants/dora-constants.js +20 -2
- package/dist/constants/dora-constants.js.map +1 -1
- package/dist/constants/duration-constants.d.ts +1 -28
- package/dist/constants/duration-constants.d.ts.map +1 -1
- package/dist/constants/duration-constants.js +4 -28
- package/dist/constants/duration-constants.js.map +1 -1
- package/dist/constants/gate-constants.d.ts +1 -23
- package/dist/constants/gate-constants.d.ts.map +1 -1
- package/dist/constants/gate-constants.js +4 -23
- package/dist/constants/gate-constants.js.map +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/lock-constants.d.ts +1 -28
- package/dist/constants/lock-constants.d.ts.map +1 -1
- package/dist/constants/lock-constants.js +2 -28
- package/dist/constants/lock-constants.js.map +1 -1
- package/dist/core/tool.schemas.d.ts +11 -11
- package/dist/core/worktree-guard.js +2 -2
- package/dist/core/worktree-guard.js.map +1 -1
- package/dist/cycle-detector.d.ts +4 -48
- package/dist/cycle-detector.d.ts.map +1 -1
- package/dist/cycle-detector.js +4 -78
- package/dist/cycle-detector.js.map +1 -1
- package/dist/date-utils.d.ts +1 -65
- package/dist/date-utils.d.ts.map +1 -1
- package/dist/date-utils.js +4 -140
- package/dist/date-utils.js.map +1 -1
- package/dist/delegation-monitor.d.ts +2 -0
- package/dist/delegation-monitor.d.ts.map +1 -1
- package/dist/delegation-monitor.js +29 -2
- package/dist/delegation-monitor.js.map +1 -1
- package/dist/delegation-recovery.d.ts +36 -17
- package/dist/delegation-recovery.d.ts.map +1 -1
- package/dist/delegation-recovery.js +285 -82
- package/dist/delegation-recovery.js.map +1 -1
- package/dist/delegation-registry-schema.d.ts +257 -31
- package/dist/delegation-registry-schema.d.ts.map +1 -1
- package/dist/delegation-registry-schema.js +43 -34
- package/dist/delegation-registry-schema.js.map +1 -1
- package/dist/delegation-registry-store.d.ts +4 -128
- package/dist/delegation-registry-store.d.ts.map +1 -1
- package/dist/delegation-registry-store.js +39 -178
- package/dist/delegation-registry-store.js.map +1 -1
- package/dist/delegation-tree.d.ts +12 -20
- package/dist/delegation-tree.d.ts.map +1 -1
- package/dist/delegation-tree.js +40 -29
- package/dist/delegation-tree.js.map +1 -1
- package/dist/delivery-review-contract.d.ts +1 -1
- package/dist/delivery-review-contract.d.ts.map +1 -1
- package/dist/docs-layout-presets.d.ts +1 -30
- package/dist/docs-layout-presets.d.ts.map +1 -1
- package/dist/docs-layout-presets.js +4 -38
- package/dist/docs-layout-presets.js.map +1 -1
- package/dist/domain/context.schemas.d.ts +3 -3
- package/dist/domain/orchestration.constants.d.ts +1 -110
- package/dist/domain/orchestration.constants.d.ts.map +1 -1
- package/dist/domain/orchestration.constants.js +2 -127
- package/dist/domain/orchestration.constants.js.map +1 -1
- package/dist/domain/orchestration.schemas.d.ts +1 -306
- package/dist/domain/orchestration.schemas.d.ts.map +1 -1
- package/dist/domain/orchestration.schemas.js +2 -211
- package/dist/domain/orchestration.schemas.js.map +1 -1
- package/dist/domain/orchestration.types.d.ts +1 -133
- package/dist/domain/orchestration.types.d.ts.map +1 -1
- package/dist/domain/orchestration.types.js +2 -2
- package/dist/domain/orchestration.types.js.map +1 -1
- package/dist/domain/recovery.schemas.d.ts +3 -3
- package/dist/domain/validation.schemas.d.ts +4 -4
- package/dist/error-handler.d.ts +4 -173
- package/dist/error-handler.d.ts.map +1 -1
- package/dist/error-handler.js +4 -244
- package/dist/error-handler.js.map +1 -1
- package/dist/file-classifiers.d.ts.map +1 -1
- package/dist/file-classifiers.js +26 -0
- package/dist/file-classifiers.js.map +1 -1
- package/dist/git-adapter.d.ts +4 -448
- package/dist/git-adapter.d.ts.map +1 -1
- package/dist/git-adapter.js +4 -772
- package/dist/git-adapter.js.map +1 -1
- package/dist/git-context-extractor.d.ts +4 -98
- package/dist/git-context-extractor.d.ts.map +1 -1
- package/dist/git-context-extractor.js +4 -563
- package/dist/git-context-extractor.js.map +1 -1
- package/dist/git-staged-validator.d.ts +4 -29
- package/dist/git-staged-validator.d.ts.map +1 -1
- package/dist/git-staged-validator.js +4 -46
- package/dist/git-staged-validator.js.map +1 -1
- package/dist/incremental-lint.d.ts.map +1 -1
- package/dist/incremental-lint.js +3 -2
- package/dist/incremental-lint.js.map +1 -1
- package/dist/incremental-test.d.ts +1 -32
- package/dist/incremental-test.d.ts.map +1 -1
- package/dist/incremental-test.js +4 -61
- package/dist/incremental-test.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/integration-target.d.ts +30 -0
- package/dist/integration-target.d.ts.map +1 -0
- package/dist/integration-target.js +51 -0
- package/dist/integration-target.js.map +1 -0
- package/dist/lane-checker.d.ts.map +1 -1
- package/dist/lane-checker.js +8 -0
- package/dist/lane-checker.js.map +1 -1
- package/dist/lumenflow-config-schema.d.ts +73 -29
- package/dist/lumenflow-config-schema.d.ts.map +1 -1
- package/dist/lumenflow-config-schema.js +1 -1
- package/dist/lumenflow-config-schema.js.map +1 -1
- package/dist/lumenflow-config.d.ts +10 -34
- package/dist/lumenflow-config.d.ts.map +1 -1
- package/dist/lumenflow-config.js +32 -142
- package/dist/lumenflow-config.js.map +1 -1
- package/dist/manual-test-validator.d.ts +1 -96
- package/dist/manual-test-validator.d.ts.map +1 -1
- package/dist/manual-test-validator.js +4 -245
- package/dist/manual-test-validator.js.map +1 -1
- package/dist/micro-worktree-shared.d.ts.map +1 -1
- package/dist/micro-worktree-shared.js +10 -9
- package/dist/micro-worktree-shared.js.map +1 -1
- package/dist/micro-worktree.d.ts.map +1 -1
- package/dist/micro-worktree.js +26 -23
- package/dist/micro-worktree.js.map +1 -1
- package/dist/normalize-config-keys.d.ts +1 -10
- package/dist/normalize-config-keys.d.ts.map +1 -1
- package/dist/normalize-config-keys.js +7 -73
- package/dist/normalize-config-keys.js.map +1 -1
- package/dist/object-guards.d.ts +1 -10
- package/dist/object-guards.d.ts.map +1 -1
- package/dist/object-guards.js +7 -20
- package/dist/object-guards.js.map +1 -1
- package/dist/ports/config.ports.d.ts +1 -82
- package/dist/ports/config.ports.d.ts.map +1 -1
- package/dist/ports/config.ports.js +2 -1
- package/dist/ports/config.ports.js.map +1 -1
- package/dist/ports/dashboard-renderer.port.d.ts +1 -112
- package/dist/ports/dashboard-renderer.port.d.ts.map +1 -1
- package/dist/ports/dashboard-renderer.port.js +2 -1
- package/dist/ports/dashboard-renderer.port.js.map +1 -1
- package/dist/ports/git-validator.ports.d.ts +5 -110
- package/dist/ports/git-validator.ports.d.ts.map +1 -1
- package/dist/ports/git-validator.ports.js +8 -1
- package/dist/ports/git-validator.ports.js.map +1 -1
- package/dist/ports/sync-validator.ports.d.ts +1 -51
- package/dist/ports/sync-validator.ports.d.ts.map +1 -1
- package/dist/ports/sync-validator.ports.js +2 -1
- package/dist/ports/sync-validator.ports.js.map +1 -1
- package/dist/ports/wu-helpers.ports.d.ts +1 -156
- package/dist/ports/wu-helpers.ports.d.ts.map +1 -1
- package/dist/ports/wu-helpers.ports.js +2 -1
- package/dist/ports/wu-helpers.ports.js.map +1 -1
- package/dist/ports/wu-state.ports.d.ts +1 -208
- package/dist/ports/wu-state.ports.d.ts.map +1 -1
- package/dist/ports/wu-state.ports.js +2 -1
- package/dist/ports/wu-state.ports.js.map +1 -1
- package/dist/rebase-artifact-cleanup.d.ts.map +1 -1
- package/dist/rebase-artifact-cleanup.js +6 -3
- package/dist/rebase-artifact-cleanup.js.map +1 -1
- package/dist/sandbox-allowlist.d.ts +1 -15
- package/dist/sandbox-allowlist.d.ts.map +1 -1
- package/dist/sandbox-allowlist.js +4 -74
- package/dist/sandbox-allowlist.js.map +1 -1
- package/dist/sandbox-backend-linux.d.ts +1 -5
- package/dist/sandbox-backend-linux.d.ts.map +1 -1
- package/dist/sandbox-backend-linux.js +4 -64
- package/dist/sandbox-backend-linux.js.map +1 -1
- package/dist/sandbox-backend-macos.d.ts +1 -5
- package/dist/sandbox-backend-macos.d.ts.map +1 -1
- package/dist/sandbox-backend-macos.js +4 -109
- package/dist/sandbox-backend-macos.js.map +1 -1
- package/dist/sandbox-backend-windows.d.ts +1 -5
- package/dist/sandbox-backend-windows.d.ts.map +1 -1
- package/dist/sandbox-backend-windows.js +4 -27
- package/dist/sandbox-backend-windows.js.map +1 -1
- package/dist/sandbox-profile.d.ts +1 -57
- package/dist/sandbox-profile.d.ts.map +1 -1
- package/dist/sandbox-profile.js +4 -65
- package/dist/sandbox-profile.js.map +1 -1
- package/dist/schemas/agents-config.d.ts +47 -0
- package/dist/schemas/agents-config.d.ts.map +1 -1
- package/dist/schemas/agents-config.js +59 -0
- package/dist/schemas/agents-config.js.map +1 -1
- package/dist/schemas/command-schemas.d.ts +4 -4
- package/dist/schemas/flow-arg-validators.d.ts +2 -2
- package/dist/schemas/flow-schemas.d.ts +4 -4
- package/dist/schemas/gates-section-config.d.ts +32 -13
- package/dist/schemas/gates-section-config.d.ts.map +1 -1
- package/dist/schemas/gates-section-config.js +16 -1
- package/dist/schemas/gates-section-config.js.map +1 -1
- package/dist/schemas/initiative-arg-validators.d.ts +2 -2
- package/dist/schemas/initiative-schemas.d.ts +12 -12
- package/dist/schemas/lanes-config.d.ts +5 -5
- package/dist/schemas/memory-arg-validators.d.ts +6 -0
- package/dist/schemas/memory-arg-validators.d.ts.map +1 -1
- package/dist/schemas/memory-config.d.ts +4 -4
- package/dist/schemas/memory-schemas.d.ts +12 -0
- package/dist/schemas/memory-schemas.d.ts.map +1 -1
- package/dist/schemas/memory-schemas.js +12 -0
- package/dist/schemas/memory-schemas.js.map +1 -1
- package/dist/schemas/operational-config.d.ts +4 -4
- package/dist/schemas/setup-arg-validators.d.ts +3 -3
- package/dist/schemas/setup-schemas.d.ts +8 -8
- package/dist/schemas/wu-config.d.ts +3 -3
- package/dist/schemas/wu-lifecycle-arg-validators.d.ts +2 -2
- package/dist/schemas/wu-lifecycle-schemas.d.ts +4 -4
- package/dist/section-headings.d.ts +1 -34
- package/dist/section-headings.d.ts.map +1 -1
- package/dist/section-headings.js +2 -51
- package/dist/section-headings.js.map +1 -1
- package/dist/spawn-constraints-generator.js +3 -3
- package/dist/spawn-constraints-generator.js.map +1 -1
- package/dist/spawn-guidance-generators.d.ts +1 -1
- package/dist/spawn-guidance-generators.d.ts.map +1 -1
- package/dist/spawn-policy-resolver.d.ts +1 -1
- package/dist/spawn-policy-resolver.d.ts.map +1 -1
- package/dist/spawn-task-builder.d.ts +17 -1
- package/dist/spawn-task-builder.d.ts.map +1 -1
- package/dist/spawn-task-builder.js +63 -1
- package/dist/spawn-task-builder.js.map +1 -1
- package/dist/spawn-template-assembler.d.ts +1 -1
- package/dist/spawn-template-assembler.d.ts.map +1 -1
- package/dist/state-machine.d.ts +1 -9
- package/dist/state-machine.d.ts.map +1 -1
- package/dist/state-machine.js +2 -86
- package/dist/state-machine.js.map +1 -1
- package/dist/sync-validator.d.ts.map +1 -1
- package/dist/sync-validator.js +15 -12
- package/dist/sync-validator.js.map +1 -1
- package/dist/telemetry.d.ts +20 -6
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +27 -6
- package/dist/telemetry.js.map +1 -1
- package/dist/work-classifier.d.ts +1 -102
- package/dist/work-classifier.d.ts.map +1 -1
- package/dist/work-classifier.js +2 -424
- package/dist/work-classifier.js.map +1 -1
- package/dist/worktree-symlink.d.ts +2 -2
- package/dist/worktree-symlink.d.ts.map +1 -1
- package/dist/worktree-symlink.js +37 -12
- package/dist/worktree-symlink.js.map +1 -1
- package/dist/wu-cli-constants.d.ts +1 -433
- package/dist/wu-cli-constants.d.ts.map +1 -1
- package/dist/wu-cli-constants.js +4 -436
- package/dist/wu-cli-constants.js.map +1 -1
- package/dist/wu-consistency-file-repairs.d.ts.map +1 -1
- package/dist/wu-consistency-file-repairs.js +5 -3
- package/dist/wu-consistency-file-repairs.js.map +1 -1
- package/dist/wu-context-constants.d.ts +22 -0
- package/dist/wu-context-constants.d.ts.map +1 -1
- package/dist/wu-context-constants.js +22 -0
- package/dist/wu-context-constants.js.map +1 -1
- package/dist/wu-doc-types.d.ts +1 -47
- package/dist/wu-doc-types.d.ts.map +1 -1
- package/dist/wu-domain-constants.d.ts +1 -295
- package/dist/wu-domain-constants.d.ts.map +1 -1
- package/dist/wu-domain-constants.js +4 -397
- package/dist/wu-domain-constants.js.map +1 -1
- package/dist/wu-done-branch-only.d.ts +1 -1
- package/dist/wu-done-branch-only.d.ts.map +1 -1
- package/dist/wu-done-branch-only.js +22 -13
- package/dist/wu-done-branch-only.js.map +1 -1
- package/dist/wu-done-branch-utils.d.ts.map +1 -1
- package/dist/wu-done-branch-utils.js +5 -3
- package/dist/wu-done-branch-utils.js.map +1 -1
- package/dist/wu-done-cleanup.d.ts.map +1 -1
- package/dist/wu-done-cleanup.js +66 -22
- package/dist/wu-done-cleanup.js.map +1 -1
- package/dist/wu-done-concurrent-merge.d.ts.map +1 -1
- package/dist/wu-done-concurrent-merge.js +9 -6
- package/dist/wu-done-concurrent-merge.js.map +1 -1
- package/dist/wu-done-errors.d.ts +3 -3
- package/dist/wu-done-errors.d.ts.map +1 -1
- package/dist/wu-done-inputs.d.ts.map +1 -1
- package/dist/wu-done-inputs.js +3 -0
- package/dist/wu-done-inputs.js.map +1 -1
- package/dist/wu-done-merge-phase.d.ts.map +1 -1
- package/dist/wu-done-merge-phase.js +4 -2
- package/dist/wu-done-merge-phase.js.map +1 -1
- package/dist/wu-done-merge.d.ts.map +1 -1
- package/dist/wu-done-merge.js +16 -8
- package/dist/wu-done-merge.js.map +1 -1
- package/dist/wu-done-merged-worktree.d.ts.map +1 -1
- package/dist/wu-done-merged-worktree.js +7 -8
- package/dist/wu-done-merged-worktree.js.map +1 -1
- package/dist/wu-done-messages.d.ts.map +1 -1
- package/dist/wu-done-messages.js +12 -5
- package/dist/wu-done-messages.js.map +1 -1
- package/dist/wu-done-metadata.d.ts.map +1 -1
- package/dist/wu-done-metadata.js +3 -8
- package/dist/wu-done-metadata.js.map +1 -1
- package/dist/wu-done-preflight-checks.d.ts.map +1 -1
- package/dist/wu-done-preflight-checks.js +21 -15
- package/dist/wu-done-preflight-checks.js.map +1 -1
- package/dist/wu-done-rebase.d.ts.map +1 -1
- package/dist/wu-done-rebase.js +10 -8
- package/dist/wu-done-rebase.js.map +1 -1
- package/dist/wu-done-retry-helpers.d.ts.map +1 -1
- package/dist/wu-done-retry-helpers.js +13 -11
- package/dist/wu-done-retry-helpers.js.map +1 -1
- package/dist/wu-done-validation.d.ts.map +1 -1
- package/dist/wu-done-validation.js +4 -2
- package/dist/wu-done-validation.js.map +1 -1
- package/dist/wu-done-worktree-services.d.ts.map +1 -1
- package/dist/wu-done-worktree-services.js +4 -2
- package/dist/wu-done-worktree-services.js.map +1 -1
- package/dist/wu-done-worktree.d.ts.map +1 -1
- package/dist/wu-done-worktree.js +4 -2
- package/dist/wu-done-worktree.js.map +1 -1
- package/dist/wu-git-constants.d.ts +1 -175
- package/dist/wu-git-constants.d.ts.map +1 -1
- package/dist/wu-git-constants.js +4 -175
- package/dist/wu-git-constants.js.map +1 -1
- package/dist/wu-helpers.d.ts +24 -0
- package/dist/wu-helpers.d.ts.map +1 -1
- package/dist/wu-helpers.js +37 -4
- package/dist/wu-helpers.js.map +1 -1
- package/dist/wu-id-format.d.ts +1 -137
- package/dist/wu-id-format.d.ts.map +1 -1
- package/dist/wu-id-format.js +2 -249
- package/dist/wu-id-format.js.map +1 -1
- package/dist/wu-id-generator.d.ts.map +1 -1
- package/dist/wu-id-generator.js +8 -5
- package/dist/wu-id-generator.js.map +1 -1
- package/dist/wu-paths-constants.d.ts +1 -253
- package/dist/wu-paths-constants.d.ts.map +1 -1
- package/dist/wu-paths-constants.js +4 -273
- package/dist/wu-paths-constants.js.map +1 -1
- package/dist/wu-paths.d.ts +1 -274
- package/dist/wu-paths.d.ts.map +1 -1
- package/dist/wu-paths.js +4 -236
- package/dist/wu-paths.js.map +1 -1
- package/dist/wu-rules-resolvers.d.ts.map +1 -1
- package/dist/wu-rules-resolvers.js +11 -6
- package/dist/wu-rules-resolvers.js.map +1 -1
- package/dist/wu-schema.d.ts +1 -830
- package/dist/wu-schema.d.ts.map +1 -1
- package/dist/wu-schema.js +4 -929
- package/dist/wu-schema.js.map +1 -1
- package/dist/wu-spawn-helpers.d.ts.map +1 -1
- package/dist/wu-spawn-helpers.js +5 -2
- package/dist/wu-spawn-helpers.js.map +1 -1
- package/dist/wu-spawn.d.ts +2 -2
- package/dist/wu-spawn.d.ts.map +1 -1
- package/dist/wu-spawn.js +2 -2
- package/dist/wu-spawn.js.map +1 -1
- package/dist/wu-state-schema.d.ts +1 -291
- package/dist/wu-state-schema.d.ts.map +1 -1
- package/dist/wu-state-schema.js +4 -212
- package/dist/wu-state-schema.js.map +1 -1
- package/dist/wu-status-transition.d.ts +3 -1
- package/dist/wu-status-transition.d.ts.map +1 -1
- package/dist/wu-status-transition.js +9 -24
- package/dist/wu-status-transition.js.map +1 -1
- package/dist/wu-statuses.d.ts +1 -208
- package/dist/wu-statuses.d.ts.map +1 -1
- package/dist/wu-statuses.js +4 -242
- package/dist/wu-statuses.js.map +1 -1
- package/dist/wu-transaction-collectors.d.ts +1 -0
- package/dist/wu-transaction-collectors.d.ts.map +1 -1
- package/dist/wu-transaction-collectors.js +13 -8
- package/dist/wu-transaction-collectors.js.map +1 -1
- package/dist/wu-type-helpers.d.ts +1 -27
- package/dist/wu-type-helpers.d.ts.map +1 -1
- package/dist/wu-type-helpers.js +4 -46
- package/dist/wu-type-helpers.js.map +1 -1
- package/dist/wu-ui-constants.d.ts +1 -235
- package/dist/wu-ui-constants.d.ts.map +1 -1
- package/dist/wu-ui-constants.js +5 -235
- package/dist/wu-ui-constants.js.map +1 -1
- package/dist/wu-validation-constants.d.ts +1 -60
- package/dist/wu-validation-constants.d.ts.map +1 -1
- package/dist/wu-validation-constants.js +4 -66
- package/dist/wu-validation-constants.js.map +1 -1
- package/dist/wu-yaml.d.ts +1 -112
- package/dist/wu-yaml.d.ts.map +1 -1
- package/dist/wu-yaml.js +4 -304
- package/dist/wu-yaml.js.map +1 -1
- package/package.json +12 -9
- package/dist/coverage-gate.d.ts +0 -128
- package/dist/coverage-gate.d.ts.map +0 -1
- package/dist/coverage-gate.js +0 -211
- package/dist/coverage-gate.js.map +0 -1
- package/dist/gates-agent-mode.d.ts +0 -108
- package/dist/gates-agent-mode.d.ts.map +0 -1
- package/dist/gates-agent-mode.js +0 -138
- package/dist/gates-agent-mode.js.map +0 -1
- package/dist/gates-config-internal.d.ts +0 -54
- package/dist/gates-config-internal.d.ts.map +0 -1
- package/dist/gates-config-internal.js +0 -107
- package/dist/gates-config-internal.js.map +0 -1
- package/dist/gates-config.d.ts +0 -68
- package/dist/gates-config.d.ts.map +0 -1
- package/dist/gates-config.js +0 -193
- package/dist/gates-config.js.map +0 -1
- package/dist/gates-coverage.d.ts +0 -42
- package/dist/gates-coverage.d.ts.map +0 -1
- package/dist/gates-coverage.js +0 -162
- package/dist/gates-coverage.js.map +0 -1
- package/dist/gates-presets.d.ts +0 -52
- package/dist/gates-presets.d.ts.map +0 -1
- package/dist/gates-presets.js +0 -117
- package/dist/gates-presets.js.map +0 -1
- package/dist/gates-schemas.d.ts +0 -143
- package/dist/gates-schemas.d.ts.map +0 -1
- package/dist/gates-schemas.js +0 -67
- package/dist/gates-schemas.js.map +0 -1
- package/dist/package-manager-resolver.d.ts +0 -80
- package/dist/package-manager-resolver.d.ts.map +0 -1
- package/dist/package-manager-resolver.js +0 -245
- package/dist/package-manager-resolver.js.map +0 -1
- package/dist/resolve-policy.d.ts +0 -293
- package/dist/resolve-policy.d.ts.map +0 -1
- package/dist/resolve-policy.js +0 -303
- package/dist/resolve-policy.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Copyright (c) 2026 Hellmai Ltd
|
|
2
2
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
-
//
|
|
4
|
-
export
|
|
3
|
+
// WU-2717 (INIT-058 prep-E): Shim — authoritative types moved to pack.
|
|
4
|
+
export * from '@lumenflow/packs-software-delivery/domain/orchestration.types';
|
|
5
5
|
//# sourceMappingURL=orchestration.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration.types.js","sourceRoot":"","sources":["../../src/domain/orchestration.types.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,yCAAyC;
|
|
1
|
+
{"version":3,"file":"orchestration.types.js","sourceRoot":"","sources":["../../src/domain/orchestration.types.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,yCAAyC;AACzC,uEAAuE;AACvE,cAAc,+DAA+D,CAAC"}
|
|
@@ -85,9 +85,9 @@ export declare const RecoveryActionType: {
|
|
|
85
85
|
* Schema for recovery action types
|
|
86
86
|
*/
|
|
87
87
|
export declare const RecoveryActionTypeSchema: z.ZodEnum<{
|
|
88
|
-
reset: "reset";
|
|
89
88
|
cleanup: "cleanup";
|
|
90
89
|
resume: "resume";
|
|
90
|
+
reset: "reset";
|
|
91
91
|
nuke: "nuke";
|
|
92
92
|
}>;
|
|
93
93
|
/**
|
|
@@ -114,9 +114,9 @@ export declare const RecoveryIssueSchema: z.ZodObject<{
|
|
|
114
114
|
*/
|
|
115
115
|
export declare const RecoveryActionSchema: z.ZodObject<{
|
|
116
116
|
type: z.ZodEnum<{
|
|
117
|
-
reset: "reset";
|
|
118
117
|
cleanup: "cleanup";
|
|
119
118
|
resume: "resume";
|
|
119
|
+
reset: "reset";
|
|
120
120
|
nuke: "nuke";
|
|
121
121
|
}>;
|
|
122
122
|
description: z.ZodString;
|
|
@@ -145,9 +145,9 @@ export declare const RecoveryAnalysisSchema: z.ZodObject<{
|
|
|
145
145
|
}, z.core.$strip>>;
|
|
146
146
|
actions: z.ZodArray<z.ZodObject<{
|
|
147
147
|
type: z.ZodEnum<{
|
|
148
|
-
reset: "reset";
|
|
149
148
|
cleanup: "cleanup";
|
|
150
149
|
resume: "resume";
|
|
150
|
+
reset: "reset";
|
|
151
151
|
nuke: "nuke";
|
|
152
152
|
}>;
|
|
153
153
|
description: z.ZodString;
|
|
@@ -22,8 +22,8 @@ export declare const VALIDATION_ERROR_CODE_VALUES: readonly ["WRONG_LOCATION", "
|
|
|
22
22
|
* Schema for validation error codes
|
|
23
23
|
*/
|
|
24
24
|
export declare const ValidationErrorCodeSchema: z.ZodEnum<{
|
|
25
|
-
WU_NOT_FOUND: "WU_NOT_FOUND";
|
|
26
25
|
WRONG_LOCATION: "WRONG_LOCATION";
|
|
26
|
+
WU_NOT_FOUND: "WU_NOT_FOUND";
|
|
27
27
|
WU_ALREADY_EXISTS: "WU_ALREADY_EXISTS";
|
|
28
28
|
WRONG_WU_STATUS: "WRONG_WU_STATUS";
|
|
29
29
|
LANE_OCCUPIED: "LANE_OCCUPIED";
|
|
@@ -52,8 +52,8 @@ export declare const PredicateSeveritySchema: z.ZodEnum<{
|
|
|
52
52
|
*/
|
|
53
53
|
export declare const ValidationErrorSchema: z.ZodObject<{
|
|
54
54
|
code: z.ZodEnum<{
|
|
55
|
-
WU_NOT_FOUND: "WU_NOT_FOUND";
|
|
56
55
|
WRONG_LOCATION: "WRONG_LOCATION";
|
|
56
|
+
WU_NOT_FOUND: "WU_NOT_FOUND";
|
|
57
57
|
WU_ALREADY_EXISTS: "WU_ALREADY_EXISTS";
|
|
58
58
|
WRONG_WU_STATUS: "WRONG_WU_STATUS";
|
|
59
59
|
LANE_OCCUPIED: "LANE_OCCUPIED";
|
|
@@ -85,8 +85,8 @@ export declare const ValidationResultSchema: z.ZodObject<{
|
|
|
85
85
|
valid: z.ZodBoolean;
|
|
86
86
|
errors: z.ZodArray<z.ZodObject<{
|
|
87
87
|
code: z.ZodEnum<{
|
|
88
|
-
WU_NOT_FOUND: "WU_NOT_FOUND";
|
|
89
88
|
WRONG_LOCATION: "WRONG_LOCATION";
|
|
89
|
+
WU_NOT_FOUND: "WU_NOT_FOUND";
|
|
90
90
|
WU_ALREADY_EXISTS: "WU_ALREADY_EXISTS";
|
|
91
91
|
WRONG_WU_STATUS: "WRONG_WU_STATUS";
|
|
92
92
|
LANE_OCCUPIED: "LANE_OCCUPIED";
|
|
@@ -131,8 +131,8 @@ export declare const CommandDefinitionConfigSchema: z.ZodObject<{
|
|
|
131
131
|
description: z.ZodString;
|
|
132
132
|
requiredLocation: z.ZodNullable<z.ZodEnum<{
|
|
133
133
|
unknown: "unknown";
|
|
134
|
-
worktree: "worktree";
|
|
135
134
|
main: "main";
|
|
135
|
+
worktree: "worktree";
|
|
136
136
|
detached: "detached";
|
|
137
137
|
}>>;
|
|
138
138
|
requiredWuStatus: z.ZodNullable<z.ZodString>;
|
package/dist/error-handler.d.ts
CHANGED
|
@@ -1,178 +1,9 @@
|
|
|
1
1
|
/// <reference path="./types.d.ts" />
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* WU-1538: Core modules throw this instead of calling process.exit directly.
|
|
5
|
-
* CLI entry boundaries catch this and call process.exit with the exitCode.
|
|
3
|
+
* Error Handler — Re-export shim (ADR-012, INIT-058 Layer 1, WU-2671).
|
|
6
4
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* Moved to `@lumenflow/kernel/primitives/error-handler`. This shim preserves
|
|
6
|
+
* the legacy import path for in-repo consumers until the barrel slim in Layer 7.
|
|
9
7
|
*/
|
|
10
|
-
export
|
|
11
|
-
/** Process exit code to use when caught at CLI boundary */
|
|
12
|
-
exitCode: number;
|
|
13
|
-
/**
|
|
14
|
-
* Create a process exit error
|
|
15
|
-
* @param {string} message - Error message (already formatted by die() or caller)
|
|
16
|
-
* @param {number} [exitCode=1] - Process exit code
|
|
17
|
-
*/
|
|
18
|
-
constructor(message: string, exitCode?: number);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Structured error class with error codes and details
|
|
22
|
-
* @class WUError
|
|
23
|
-
* @extends Error
|
|
24
|
-
*/
|
|
25
|
-
export declare class WUError extends Error {
|
|
26
|
-
/** Error code (e.g., 'WU_NOT_FOUND') */
|
|
27
|
-
code: string;
|
|
28
|
-
/** Additional error context */
|
|
29
|
-
details: Record<string, unknown>;
|
|
30
|
-
/** Suggested commands or actions to try (optional) */
|
|
31
|
-
tryNext?: string[];
|
|
32
|
-
/** Alias for details for agent-friendly access */
|
|
33
|
-
context?: Record<string, unknown>;
|
|
34
|
-
/**
|
|
35
|
-
* Create a WU error
|
|
36
|
-
* @param {string} code - Error code (e.g., 'WU_NOT_FOUND')
|
|
37
|
-
* @param {string} message - Human-readable error message
|
|
38
|
-
* @param {object} [details={}] - Additional error context
|
|
39
|
-
*/
|
|
40
|
-
constructor(code: string, message: string, details?: Record<string, unknown>);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Normalize unknown thrown values into Error instances.
|
|
44
|
-
*
|
|
45
|
-
* This is the strict-mode-safe boundary helper for `catch (err: unknown)`.
|
|
46
|
-
* Consumers should call this before accessing `.message`.
|
|
47
|
-
*
|
|
48
|
-
* @param {unknown} error - Unknown thrown value
|
|
49
|
-
* @param {string} [fallbackMessage='Unknown error'] - Message used when value has no message
|
|
50
|
-
* @returns {Error} Normalized Error instance
|
|
51
|
-
*/
|
|
52
|
-
export declare function toError(error: unknown, fallbackMessage?: string): Error;
|
|
53
|
-
/**
|
|
54
|
-
* Strict-safe helper for extracting error messages from unknown values.
|
|
55
|
-
*
|
|
56
|
-
* @param {unknown} error - Unknown thrown value
|
|
57
|
-
* @param {string} [fallbackMessage='Unknown error'] - Message used when value has no message
|
|
58
|
-
* @returns {string} Resolved error message
|
|
59
|
-
*/
|
|
60
|
-
export declare function getErrorMessage(error: unknown, fallbackMessage?: string): string;
|
|
61
|
-
/**
|
|
62
|
-
* Throw typed error with formatted message (replaces process.exit calls)
|
|
63
|
-
* Auto-detects script name from process.argv[1] - no string literals needed!
|
|
64
|
-
*
|
|
65
|
-
* WU-1538: Now throws ProcessExitError instead of calling process.exit directly.
|
|
66
|
-
* The CLI entry boundary (runCLI) catches ProcessExitError and maps to process.exit.
|
|
67
|
-
*
|
|
68
|
-
* @param {string} message - Error message to log
|
|
69
|
-
* @param {number} [exitCode=1] - Process exit code
|
|
70
|
-
* @throws {ProcessExitError} Always throws with the formatted message and exit code
|
|
71
|
-
* @example
|
|
72
|
-
* die('WU file not found');
|
|
73
|
-
* die('Gates failed', 2);
|
|
74
|
-
*/
|
|
75
|
-
export declare function die(message: string, exitCode?: number): never;
|
|
76
|
-
/**
|
|
77
|
-
* Create a WUError instance (factory function)
|
|
78
|
-
* @param {string} code - Error code
|
|
79
|
-
* @param {string} message - Error message
|
|
80
|
-
* @param {object} [details={}] - Error details
|
|
81
|
-
* @returns {WUError} Structured error instance
|
|
82
|
-
* @example
|
|
83
|
-
* throw createError('WU_NOT_FOUND', 'WU-123 not found', { id: 'WU-123' });
|
|
84
|
-
*/
|
|
85
|
-
export declare function createError(code: string, message: string, details?: Record<string, unknown>): WUError;
|
|
86
|
-
/**
|
|
87
|
-
* Options for creating agent-friendly errors
|
|
88
|
-
*/
|
|
89
|
-
export interface AgentFriendlyErrorOptions {
|
|
90
|
-
/** Array of suggested commands or actions to try */
|
|
91
|
-
tryNext?: string[];
|
|
92
|
-
/** Additional context information */
|
|
93
|
-
context?: Record<string, unknown>;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Create an agent-friendly error with try-next command suggestions
|
|
97
|
-
* WU-1339: Agent-friendly error messages and hints (AX3)
|
|
98
|
-
*
|
|
99
|
-
* @param {string} code - Error code from ErrorCodes
|
|
100
|
-
* @param {string} message - Human-readable error message
|
|
101
|
-
* @param {AgentFriendlyErrorOptions} options - Options object
|
|
102
|
-
* @returns {WUError} Error instance with tryNext property and context
|
|
103
|
-
* @example
|
|
104
|
-
* throw createAgentFriendlyError(
|
|
105
|
-
* ErrorCodes.WU_NOT_FOUND,
|
|
106
|
-
* 'WU-1234 not found',
|
|
107
|
-
* {
|
|
108
|
-
* tryNext: ['pnpm wu:create --id WU-1234 --lane "<lane>" --title "..."'],
|
|
109
|
-
* context: { wuId: 'WU-1234' }
|
|
110
|
-
* }
|
|
111
|
-
* );
|
|
112
|
-
*/
|
|
113
|
-
export declare function createAgentFriendlyError(code: string, message: string, options?: AgentFriendlyErrorOptions): WUError;
|
|
114
|
-
/**
|
|
115
|
-
* Common error codes for WU operations
|
|
116
|
-
*/
|
|
117
|
-
export declare const ErrorCodes: {
|
|
118
|
-
PROCESS_EXIT: string;
|
|
119
|
-
WU_NOT_FOUND: string;
|
|
120
|
-
WU_ALREADY_CLAIMED: string;
|
|
121
|
-
WU_NOT_CLAIMED: string;
|
|
122
|
-
INVALID_WU_ID: string;
|
|
123
|
-
INVALID_LANE: string;
|
|
124
|
-
GATES_FAILED: string;
|
|
125
|
-
GIT_ERROR: string;
|
|
126
|
-
VALIDATION_ERROR: string;
|
|
127
|
-
FILE_NOT_FOUND: string;
|
|
128
|
-
YAML_PARSE_ERROR: string;
|
|
129
|
-
PARSE_ERROR: string;
|
|
130
|
-
WORKTREE_ERROR: string;
|
|
131
|
-
BRANCH_ERROR: string;
|
|
132
|
-
STATE_ERROR: string;
|
|
133
|
-
SECTION_NOT_FOUND: string;
|
|
134
|
-
INTERNAL_ERROR: string;
|
|
135
|
-
RECOVERY_ERROR: string;
|
|
136
|
-
TRANSACTION_ERROR: string;
|
|
137
|
-
LOCK_ERROR: string;
|
|
138
|
-
INIT_NOT_FOUND: string;
|
|
139
|
-
INIT_ALREADY_EXISTS: string;
|
|
140
|
-
INVALID_INIT_ID: string;
|
|
141
|
-
INVALID_SLUG: string;
|
|
142
|
-
INVALID_PHASE: string;
|
|
143
|
-
DEPENDENCY_CYCLE: string;
|
|
144
|
-
MERGE_EXHAUSTION: string;
|
|
145
|
-
REBASE_CONFLICT: string;
|
|
146
|
-
DELEGATION_NOT_FOUND: string;
|
|
147
|
-
DELEGATION_ALREADY_ESCALATED: string;
|
|
148
|
-
SIGNAL_UNAVAILABLE: string;
|
|
149
|
-
ID_GENERATION_FAILED: string;
|
|
150
|
-
SCOPE_VIOLATION: string;
|
|
151
|
-
TOOL_ALREADY_REGISTERED: string;
|
|
152
|
-
INVALID_ARGUMENT: string;
|
|
153
|
-
DEPRECATED_API: string;
|
|
154
|
-
CONFIG_ERROR: string;
|
|
155
|
-
TEMPLATE_VALIDATION_ERROR: string;
|
|
156
|
-
INVARIANT_ERROR: string;
|
|
157
|
-
RETRY_EXHAUSTION: string;
|
|
158
|
-
PREFLIGHT_ERROR: string;
|
|
159
|
-
INVALID_DURATION: string;
|
|
160
|
-
NODE_NOT_FOUND: string;
|
|
161
|
-
SESSION_ERROR: string;
|
|
162
|
-
ALREADY_EXISTS: string;
|
|
163
|
-
COMMAND_EXECUTION_FAILED: string;
|
|
164
|
-
PACK_ALREADY_EXISTS: string;
|
|
165
|
-
CANCELLED_BY_USER: string;
|
|
166
|
-
REGISTRY_UPLOAD_FAILED: string;
|
|
167
|
-
WORKSPACE_NOT_FOUND: string;
|
|
168
|
-
WORKSPACE_MALFORMED: string;
|
|
169
|
-
ORPHAN_WU_ERROR: string;
|
|
170
|
-
REPAIR_FAILED: string;
|
|
171
|
-
ONBOARD_FAILED: string;
|
|
172
|
-
DIRECTORY_NOT_EMPTY: string;
|
|
173
|
-
AMBIGUOUS_MATCH: string;
|
|
174
|
-
STRING_NOT_FOUND: string;
|
|
175
|
-
FILE_SIZE_EXCEEDED: string;
|
|
176
|
-
PARENT_DIR_NOT_FOUND: string;
|
|
177
|
-
};
|
|
8
|
+
export * from '@lumenflow/kernel/primitives/error-handler';
|
|
178
9
|
//# sourceMappingURL=error-handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handler.d.ts","sourceRoot":"","sources":["../src/error-handler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"error-handler.d.ts","sourceRoot":"","sources":["../src/error-handler.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH,cAAc,4CAA4C,CAAC"}
|
package/dist/error-handler.js
CHANGED
|
@@ -1,250 +1,10 @@
|
|
|
1
1
|
// Copyright (c) 2026 Hellmai Ltd
|
|
2
2
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* @description Structured error handling with error codes
|
|
6
|
-
* WU-1082: Extract shared utilities (eliminate die() duplication)
|
|
7
|
-
* WU-1006: Library-First - use path.basename() instead of manual split
|
|
4
|
+
* Error Handler — Re-export shim (ADR-012, INIT-058 Layer 1, WU-2671).
|
|
8
5
|
*
|
|
9
|
-
*
|
|
10
|
-
* -
|
|
11
|
-
* - tools/wu-done.ts
|
|
12
|
-
* - tools/wu-block.ts
|
|
13
|
-
* - tools/wu-unblock.ts
|
|
14
|
-
* - tools/wu-create.ts
|
|
15
|
-
* - tools/wu-cleanup.ts
|
|
16
|
-
* - tools/gates-pre-commit.ts
|
|
17
|
-
* - tools/validate.ts
|
|
18
|
-
* - tools/guard-worktree-commit.ts
|
|
6
|
+
* Moved to `@lumenflow/kernel/primitives/error-handler`. This shim preserves
|
|
7
|
+
* the legacy import path for in-repo consumers until the barrel slim in Layer 7.
|
|
19
8
|
*/
|
|
20
|
-
|
|
21
|
-
const UNKNOWN_ERROR_MESSAGE = 'Unknown error';
|
|
22
|
-
function hasMessage(value) {
|
|
23
|
-
return (typeof value === 'object' &&
|
|
24
|
-
value !== null &&
|
|
25
|
-
'message' in value &&
|
|
26
|
-
typeof value.message === 'string');
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Typed error for process exit signals from library code.
|
|
30
|
-
* WU-1538: Core modules throw this instead of calling process.exit directly.
|
|
31
|
-
* CLI entry boundaries catch this and call process.exit with the exitCode.
|
|
32
|
-
*
|
|
33
|
-
* @class ProcessExitError
|
|
34
|
-
* @extends Error
|
|
35
|
-
*/
|
|
36
|
-
export class ProcessExitError extends Error {
|
|
37
|
-
/** Process exit code to use when caught at CLI boundary */
|
|
38
|
-
exitCode;
|
|
39
|
-
/**
|
|
40
|
-
* Create a process exit error
|
|
41
|
-
* @param {string} message - Error message (already formatted by die() or caller)
|
|
42
|
-
* @param {number} [exitCode=1] - Process exit code
|
|
43
|
-
*/
|
|
44
|
-
constructor(message, exitCode = 1) {
|
|
45
|
-
super(message);
|
|
46
|
-
this.name = 'ProcessExitError';
|
|
47
|
-
this.exitCode = exitCode;
|
|
48
|
-
// Maintains proper stack trace for where error was thrown (V8 only)
|
|
49
|
-
if (Error.captureStackTrace) {
|
|
50
|
-
Error.captureStackTrace(this, ProcessExitError);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Structured error class with error codes and details
|
|
56
|
-
* @class WUError
|
|
57
|
-
* @extends Error
|
|
58
|
-
*/
|
|
59
|
-
export class WUError extends Error {
|
|
60
|
-
/** Error code (e.g., 'WU_NOT_FOUND') */
|
|
61
|
-
code;
|
|
62
|
-
/** Additional error context */
|
|
63
|
-
details;
|
|
64
|
-
/** Suggested commands or actions to try (optional) */
|
|
65
|
-
tryNext;
|
|
66
|
-
/** Alias for details for agent-friendly access */
|
|
67
|
-
context;
|
|
68
|
-
/**
|
|
69
|
-
* Create a WU error
|
|
70
|
-
* @param {string} code - Error code (e.g., 'WU_NOT_FOUND')
|
|
71
|
-
* @param {string} message - Human-readable error message
|
|
72
|
-
* @param {object} [details={}] - Additional error context
|
|
73
|
-
*/
|
|
74
|
-
constructor(code, message, details = {}) {
|
|
75
|
-
super(message);
|
|
76
|
-
this.name = 'WUError';
|
|
77
|
-
this.code = code;
|
|
78
|
-
this.details = details;
|
|
79
|
-
// Maintains proper stack trace for where error was thrown (V8 only)
|
|
80
|
-
if (Error.captureStackTrace) {
|
|
81
|
-
Error.captureStackTrace(this, WUError);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Normalize unknown thrown values into Error instances.
|
|
87
|
-
*
|
|
88
|
-
* This is the strict-mode-safe boundary helper for `catch (err: unknown)`.
|
|
89
|
-
* Consumers should call this before accessing `.message`.
|
|
90
|
-
*
|
|
91
|
-
* @param {unknown} error - Unknown thrown value
|
|
92
|
-
* @param {string} [fallbackMessage='Unknown error'] - Message used when value has no message
|
|
93
|
-
* @returns {Error} Normalized Error instance
|
|
94
|
-
*/
|
|
95
|
-
export function toError(error, fallbackMessage = UNKNOWN_ERROR_MESSAGE) {
|
|
96
|
-
if (error instanceof Error) {
|
|
97
|
-
return error;
|
|
98
|
-
}
|
|
99
|
-
if (typeof error === 'string' && error.length > 0) {
|
|
100
|
-
return new Error(error);
|
|
101
|
-
}
|
|
102
|
-
if (hasMessage(error)) {
|
|
103
|
-
return new Error(error.message);
|
|
104
|
-
}
|
|
105
|
-
return new Error(fallbackMessage);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Strict-safe helper for extracting error messages from unknown values.
|
|
109
|
-
*
|
|
110
|
-
* @param {unknown} error - Unknown thrown value
|
|
111
|
-
* @param {string} [fallbackMessage='Unknown error'] - Message used when value has no message
|
|
112
|
-
* @returns {string} Resolved error message
|
|
113
|
-
*/
|
|
114
|
-
export function getErrorMessage(error, fallbackMessage = UNKNOWN_ERROR_MESSAGE) {
|
|
115
|
-
return toError(error, fallbackMessage).message;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Throw typed error with formatted message (replaces process.exit calls)
|
|
119
|
-
* Auto-detects script name from process.argv[1] - no string literals needed!
|
|
120
|
-
*
|
|
121
|
-
* WU-1538: Now throws ProcessExitError instead of calling process.exit directly.
|
|
122
|
-
* The CLI entry boundary (runCLI) catches ProcessExitError and maps to process.exit.
|
|
123
|
-
*
|
|
124
|
-
* @param {string} message - Error message to log
|
|
125
|
-
* @param {number} [exitCode=1] - Process exit code
|
|
126
|
-
* @throws {ProcessExitError} Always throws with the formatted message and exit code
|
|
127
|
-
* @example
|
|
128
|
-
* die('WU file not found');
|
|
129
|
-
* die('Gates failed', 2);
|
|
130
|
-
*/
|
|
131
|
-
export function die(message, exitCode = 1) {
|
|
132
|
-
// Auto-detect script name from process.argv[1] (eliminates string literal duplication)
|
|
133
|
-
// WU-1006: Use path.basename() instead of manual split (Library-First principle)
|
|
134
|
-
const scriptPath = process.argv[1] || 'unknown';
|
|
135
|
-
const scriptName = path.basename(scriptPath, '.js');
|
|
136
|
-
const formattedMessage = `[${scriptName}] ${message}`;
|
|
137
|
-
console.error(formattedMessage);
|
|
138
|
-
throw new ProcessExitError(formattedMessage, exitCode);
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Create a WUError instance (factory function)
|
|
142
|
-
* @param {string} code - Error code
|
|
143
|
-
* @param {string} message - Error message
|
|
144
|
-
* @param {object} [details={}] - Error details
|
|
145
|
-
* @returns {WUError} Structured error instance
|
|
146
|
-
* @example
|
|
147
|
-
* throw createError('WU_NOT_FOUND', 'WU-123 not found', { id: 'WU-123' });
|
|
148
|
-
*/
|
|
149
|
-
export function createError(code, message, details = {}) {
|
|
150
|
-
return new WUError(code, message, details);
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Create an agent-friendly error with try-next command suggestions
|
|
154
|
-
* WU-1339: Agent-friendly error messages and hints (AX3)
|
|
155
|
-
*
|
|
156
|
-
* @param {string} code - Error code from ErrorCodes
|
|
157
|
-
* @param {string} message - Human-readable error message
|
|
158
|
-
* @param {AgentFriendlyErrorOptions} options - Options object
|
|
159
|
-
* @returns {WUError} Error instance with tryNext property and context
|
|
160
|
-
* @example
|
|
161
|
-
* throw createAgentFriendlyError(
|
|
162
|
-
* ErrorCodes.WU_NOT_FOUND,
|
|
163
|
-
* 'WU-1234 not found',
|
|
164
|
-
* {
|
|
165
|
-
* tryNext: ['pnpm wu:create --id WU-1234 --lane "<lane>" --title "..."'],
|
|
166
|
-
* context: { wuId: 'WU-1234' }
|
|
167
|
-
* }
|
|
168
|
-
* );
|
|
169
|
-
*/
|
|
170
|
-
export function createAgentFriendlyError(code, message, options = {}) {
|
|
171
|
-
const { tryNext, context = {} } = options;
|
|
172
|
-
const error = createError(code, message, context);
|
|
173
|
-
// Add tryNext suggestions if provided
|
|
174
|
-
if (tryNext && Array.isArray(tryNext) && tryNext.length > 0) {
|
|
175
|
-
error.tryNext = tryNext;
|
|
176
|
-
}
|
|
177
|
-
// Expose details as context for agent-friendly access
|
|
178
|
-
// (WUError stores context in details property, but we expose it as context for clarity)
|
|
179
|
-
error.context = error.details;
|
|
180
|
-
return error;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Common error codes for WU operations
|
|
184
|
-
*/
|
|
185
|
-
export const ErrorCodes = {
|
|
186
|
-
PROCESS_EXIT: 'PROCESS_EXIT', // WU-1538: Typed exit signal from library code
|
|
187
|
-
WU_NOT_FOUND: 'WU_NOT_FOUND',
|
|
188
|
-
WU_ALREADY_CLAIMED: 'WU_ALREADY_CLAIMED',
|
|
189
|
-
WU_NOT_CLAIMED: 'WU_NOT_CLAIMED',
|
|
190
|
-
INVALID_WU_ID: 'INVALID_WU_ID',
|
|
191
|
-
INVALID_LANE: 'INVALID_LANE',
|
|
192
|
-
GATES_FAILED: 'GATES_FAILED',
|
|
193
|
-
GIT_ERROR: 'GIT_ERROR',
|
|
194
|
-
VALIDATION_ERROR: 'VALIDATION_ERROR',
|
|
195
|
-
FILE_NOT_FOUND: 'FILE_NOT_FOUND',
|
|
196
|
-
YAML_PARSE_ERROR: 'YAML_PARSE_ERROR',
|
|
197
|
-
PARSE_ERROR: 'PARSE_ERROR',
|
|
198
|
-
WORKTREE_ERROR: 'WORKTREE_ERROR',
|
|
199
|
-
BRANCH_ERROR: 'BRANCH_ERROR',
|
|
200
|
-
STATE_ERROR: 'STATE_ERROR',
|
|
201
|
-
SECTION_NOT_FOUND: 'SECTION_NOT_FOUND',
|
|
202
|
-
INTERNAL_ERROR: 'INTERNAL_ERROR',
|
|
203
|
-
RECOVERY_ERROR: 'RECOVERY_ERROR',
|
|
204
|
-
TRANSACTION_ERROR: 'TRANSACTION_ERROR', // WU-1369: Atomic transaction errors
|
|
205
|
-
LOCK_ERROR: 'LOCK_ERROR', // WU-1747: Merge lock errors
|
|
206
|
-
// Initiative system error codes (WU-1247)
|
|
207
|
-
INIT_NOT_FOUND: 'INIT_NOT_FOUND',
|
|
208
|
-
INIT_ALREADY_EXISTS: 'INIT_ALREADY_EXISTS',
|
|
209
|
-
INVALID_INIT_ID: 'INVALID_INIT_ID',
|
|
210
|
-
INVALID_SLUG: 'INVALID_SLUG',
|
|
211
|
-
INVALID_PHASE: 'INVALID_PHASE',
|
|
212
|
-
DEPENDENCY_CYCLE: 'DEPENDENCY_CYCLE',
|
|
213
|
-
// WU-2116: Structured error codes for migrated throw new Error() sites
|
|
214
|
-
MERGE_EXHAUSTION: 'MERGE_EXHAUSTION',
|
|
215
|
-
REBASE_CONFLICT: 'REBASE_CONFLICT',
|
|
216
|
-
DELEGATION_NOT_FOUND: 'DELEGATION_NOT_FOUND',
|
|
217
|
-
DELEGATION_ALREADY_ESCALATED: 'DELEGATION_ALREADY_ESCALATED',
|
|
218
|
-
SIGNAL_UNAVAILABLE: 'SIGNAL_UNAVAILABLE',
|
|
219
|
-
ID_GENERATION_FAILED: 'ID_GENERATION_FAILED',
|
|
220
|
-
SCOPE_VIOLATION: 'SCOPE_VIOLATION',
|
|
221
|
-
TOOL_ALREADY_REGISTERED: 'TOOL_ALREADY_REGISTERED',
|
|
222
|
-
INVALID_ARGUMENT: 'INVALID_ARGUMENT',
|
|
223
|
-
DEPRECATED_API: 'DEPRECATED_API',
|
|
224
|
-
CONFIG_ERROR: 'CONFIG_ERROR',
|
|
225
|
-
TEMPLATE_VALIDATION_ERROR: 'TEMPLATE_VALIDATION_ERROR',
|
|
226
|
-
INVARIANT_ERROR: 'INVARIANT_ERROR',
|
|
227
|
-
RETRY_EXHAUSTION: 'RETRY_EXHAUSTION',
|
|
228
|
-
PREFLIGHT_ERROR: 'PREFLIGHT_ERROR',
|
|
229
|
-
INVALID_DURATION: 'INVALID_DURATION',
|
|
230
|
-
// WU-2118: Structured error codes for memory/agent/mcp package migrations
|
|
231
|
-
NODE_NOT_FOUND: 'NODE_NOT_FOUND',
|
|
232
|
-
SESSION_ERROR: 'SESSION_ERROR',
|
|
233
|
-
ALREADY_EXISTS: 'ALREADY_EXISTS',
|
|
234
|
-
// WU-2117: Structured error codes for CLI throw new Error() migration
|
|
235
|
-
COMMAND_EXECUTION_FAILED: 'COMMAND_EXECUTION_FAILED',
|
|
236
|
-
PACK_ALREADY_EXISTS: 'PACK_ALREADY_EXISTS',
|
|
237
|
-
CANCELLED_BY_USER: 'CANCELLED_BY_USER',
|
|
238
|
-
REGISTRY_UPLOAD_FAILED: 'REGISTRY_UPLOAD_FAILED',
|
|
239
|
-
WORKSPACE_NOT_FOUND: 'WORKSPACE_NOT_FOUND',
|
|
240
|
-
WORKSPACE_MALFORMED: 'WORKSPACE_MALFORMED',
|
|
241
|
-
ORPHAN_WU_ERROR: 'ORPHAN_WU_ERROR',
|
|
242
|
-
REPAIR_FAILED: 'REPAIR_FAILED',
|
|
243
|
-
ONBOARD_FAILED: 'ONBOARD_FAILED',
|
|
244
|
-
DIRECTORY_NOT_EMPTY: 'DIRECTORY_NOT_EMPTY',
|
|
245
|
-
AMBIGUOUS_MATCH: 'AMBIGUOUS_MATCH',
|
|
246
|
-
STRING_NOT_FOUND: 'STRING_NOT_FOUND',
|
|
247
|
-
FILE_SIZE_EXCEEDED: 'FILE_SIZE_EXCEEDED',
|
|
248
|
-
PARENT_DIR_NOT_FOUND: 'PARENT_DIR_NOT_FOUND',
|
|
249
|
-
};
|
|
9
|
+
export * from '@lumenflow/kernel/primitives/error-handler';
|
|
250
10
|
//# sourceMappingURL=error-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handler.js","sourceRoot":"","sources":["../src/error-handler.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"error-handler.js","sourceRoot":"","sources":["../src/error-handler.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,yCAAyC;AAEzC;;;;;GAKG;AAEH,cAAc,4CAA4C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-classifiers.d.ts","sourceRoot":"","sources":["../src/file-classifiers.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"file-classifiers.d.ts","sourceRoot":"","sources":["../src/file-classifiers.ts"],"names":[],"mappings":";AA+CA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE;IACP,WAAW,CAAC,EAAE,MAAM,CAAC;CACjB,GACL,SAAS,MAAM,EAAE,CAOnB;AAED;;;GAGG;AACH,QAAA,MAAM,kBAAkB,mBAMtB,CAAC;AAEH;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,WAO1C;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,WAO9C;AAWD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,WA6BnD;AAGD,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
package/dist/file-classifiers.js
CHANGED
|
@@ -15,6 +15,25 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { getConfig } from './lumenflow-config.js';
|
|
17
17
|
const MARKDOWN_TEMPLATE_SUFFIXES = ['.md.template', '.mdx.template'];
|
|
18
|
+
/**
|
|
19
|
+
* WU-2669: Built-in Starlight documentation paths.
|
|
20
|
+
*
|
|
21
|
+
* The Software Delivery Pack ships a Starlight docs site under
|
|
22
|
+
* apps/docs/. The public content source tree at
|
|
23
|
+
* apps/docs/src/content/docs/** and the Astro config file at
|
|
24
|
+
* apps/docs/astro.config.mjs are documentation artefacts, not runtime
|
|
25
|
+
* code, but they sit outside the configurable docs-only prefixes
|
|
26
|
+
* (docs/, ai/, .claude/, memory-bank/). Without this allowlist
|
|
27
|
+
* extension, every Starlight-touching WU has to type-swap from
|
|
28
|
+
* documentation to refactor/chore to pass gate preflight
|
|
29
|
+
* (precedent: WU-2633, WU-2644, WU-2648, WU-2652).
|
|
30
|
+
*
|
|
31
|
+
* These defaults are additive to the config-driven prefixes; projects
|
|
32
|
+
* with a different docs layout can still override via
|
|
33
|
+
* software_delivery.directories.* without touching this list.
|
|
34
|
+
*/
|
|
35
|
+
const STARLIGHT_CONTENT_PREFIX = 'apps/docs/src/content/docs/';
|
|
36
|
+
const STARLIGHT_ASTRO_CONFIG = 'apps/docs/astro.config.mjs';
|
|
18
37
|
function ensureTrailingSlash(pathValue) {
|
|
19
38
|
const normalized = pathValue.replace(/\\/g, '/').trim();
|
|
20
39
|
if (!normalized) {
|
|
@@ -121,6 +140,13 @@ export function isDocumentationPath(filePath) {
|
|
|
121
140
|
return true;
|
|
122
141
|
}
|
|
123
142
|
}
|
|
143
|
+
// WU-2669: Built-in Starlight content tree and Astro config are
|
|
144
|
+
// documentation artefacts. Declared as defaults so projects using
|
|
145
|
+
// the Software Delivery Pack's Starlight docs site do not have to
|
|
146
|
+
// type-swap every documentation WU.
|
|
147
|
+
if (path.startsWith(STARLIGHT_CONTENT_PREFIX) || path === STARLIGHT_ASTRO_CONFIG) {
|
|
148
|
+
return true;
|
|
149
|
+
}
|
|
124
150
|
// Any markdown doc or markdown template doc is documentation. Mirrors
|
|
125
151
|
// docs-path-validator.ts so the preflight never rejects a path the
|
|
126
152
|
// commit-time gate would accept.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-classifiers.js","sourceRoot":"","sources":["../src/file-classifiers.ts"],"names":[],"mappings":";AACA,iCAAiC;AACjC,yCAAyC;AACzC;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,0BAA0B,GAAG,CAAC,cAAc,EAAE,eAAe,CAAU,CAAC;AAE9E,SAAS,mBAAmB,CAAC,SAAiB;IAC5C,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;IACxD,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,GAAG,CAAC;AAClE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CACjC,UAEI,EAAE;IAEN,MAAM,WAAW,GAAG,SAAS,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,WAAW,CAAC;IAChF,MAAM,QAAQ,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,EAAE,WAAW,CAAC,MAAM,EAAE,WAAW,CAA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