@lumenflow/core 3.20.0 → 3.21.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.
Files changed (305) hide show
  1. package/dist/active-wu-detector.d.ts +1 -0
  2. package/dist/adapters/context-adapters.d.ts +1 -0
  3. package/dist/adapters/filesystem-metrics.adapter.d.ts +1 -0
  4. package/dist/adapters/index.d.ts +1 -0
  5. package/dist/adapters/mock-dashboard-renderer.adapter.d.ts +1 -0
  6. package/dist/adapters/recovery-adapters.d.ts +1 -0
  7. package/dist/adapters/terminal-renderer.adapter.d.ts +1 -0
  8. package/dist/adapters/validation-adapters.d.ts +1 -0
  9. package/dist/agent-patterns-registry.d.ts +1 -0
  10. package/dist/arg-parser.d.ts +1 -0
  11. package/dist/atomic-merge.d.ts +1 -0
  12. package/dist/backlog-editor.d.ts +1 -0
  13. package/dist/backlog-generator.d.ts +1 -0
  14. package/dist/backlog-parser.d.ts +1 -0
  15. package/dist/backlog-sync-validator.d.ts +1 -0
  16. package/dist/branch-check.d.ts +1 -0
  17. package/dist/branch-drift.d.ts +1 -0
  18. package/dist/cleanup-install-config.d.ts +1 -0
  19. package/dist/cleanup-lock.d.ts +1 -0
  20. package/dist/cli/get-wu-dir.d.ts +1 -0
  21. package/dist/cli/is-agent-branch.d.ts +1 -0
  22. package/dist/client-ids.d.ts +1 -0
  23. package/dist/cloud-detect.d.ts +1 -0
  24. package/dist/code-path-validator.d.ts +1 -0
  25. package/dist/code-paths-overlap.d.ts +1 -0
  26. package/dist/color-support.d.ts +1 -0
  27. package/dist/commands-logger.d.ts +1 -0
  28. package/dist/commit-message-utils.d.ts +1 -0
  29. package/dist/config-contract.d.ts +1 -0
  30. package/dist/constants/backlog-patterns.d.ts +1 -0
  31. package/dist/constants/display-constants.d.ts +1 -0
  32. package/dist/constants/dora-constants.d.ts +1 -0
  33. package/dist/constants/duration-constants.d.ts +1 -0
  34. package/dist/constants/gate-constants.d.ts +1 -0
  35. package/dist/constants/git-constants.d.ts +1 -0
  36. package/dist/constants/index.d.ts +1 -0
  37. package/dist/constants/linter-constants.d.ts +1 -0
  38. package/dist/constants/lock-constants.d.ts +1 -0
  39. package/dist/constants/tokenizer-constants.d.ts +1 -0
  40. package/dist/constants/validation-constants.d.ts +1 -0
  41. package/dist/context/context-computer.d.ts +1 -0
  42. package/dist/context/git-state-reader.d.ts +1 -0
  43. package/dist/context/index.d.ts +1 -0
  44. package/dist/context/location-resolver.d.ts +1 -0
  45. package/dist/context/wu-state-reader.d.ts +1 -0
  46. package/dist/context-di.d.ts +1 -0
  47. package/dist/context-validation-integration.d.ts +1 -0
  48. package/dist/core/scope-checker.d.ts +1 -0
  49. package/dist/core/tool-runner.d.ts +1 -0
  50. package/dist/core/tool.constants.d.ts +1 -0
  51. package/dist/core/tool.schemas.d.ts +1 -0
  52. package/dist/core/worktree-guard.d.ts +1 -0
  53. package/dist/coverage-gate.d.ts +1 -0
  54. package/dist/cycle-detector.d.ts +1 -0
  55. package/dist/date-utils.d.ts +1 -0
  56. package/dist/delegation/index.d.ts +1 -0
  57. package/dist/delegation-escalation.d.ts +1 -0
  58. package/dist/delegation-monitor.d.ts +1 -0
  59. package/dist/delegation-recovery.d.ts +1 -0
  60. package/dist/delegation-registry-schema.d.ts +1 -0
  61. package/dist/delegation-registry-store.d.ts +1 -0
  62. package/dist/delegation-tree.d.ts +1 -0
  63. package/dist/dependency-graph.d.ts +1 -0
  64. package/dist/dependency-guard.d.ts +1 -0
  65. package/dist/dependency-validator.d.ts +1 -0
  66. package/dist/docs-layout-presets.d.ts +1 -0
  67. package/dist/docs-path-validator.d.ts +1 -0
  68. package/dist/domain/context.schemas.d.ts +1 -0
  69. package/dist/domain/index.d.ts +1 -0
  70. package/dist/domain/orchestration.constants.d.ts +1 -0
  71. package/dist/domain/orchestration.schemas.d.ts +1 -0
  72. package/dist/domain/orchestration.types.d.ts +1 -0
  73. package/dist/domain/recovery.schemas.d.ts +1 -0
  74. package/dist/domain/result.d.ts +1 -0
  75. package/dist/domain/validation.schemas.d.ts +1 -0
  76. package/dist/env-accessors.d.ts +1 -0
  77. package/dist/error-handler.d.ts +1 -0
  78. package/dist/file-classifiers.d.ts +1 -0
  79. package/dist/force-bypass-audit.d.ts +1 -0
  80. package/dist/gates-agent-mode.d.ts +1 -0
  81. package/dist/gates-config-internal.d.ts +1 -0
  82. package/dist/gates-config.d.ts +1 -0
  83. package/dist/gates-coverage.d.ts +1 -0
  84. package/dist/gates-presets.d.ts +1 -0
  85. package/dist/gates-schemas.d.ts +1 -0
  86. package/dist/generate-traceability.d.ts +1 -0
  87. package/dist/git-adapter.d.ts +1 -0
  88. package/dist/git-context-extractor.d.ts +1 -0
  89. package/dist/git-staged-validator.d.ts +1 -0
  90. package/dist/hardcoded-strings.d.ts +1 -0
  91. package/dist/incremental-lint.d.ts +1 -0
  92. package/dist/incremental-test.d.ts +1 -0
  93. package/dist/index.d.ts +1 -0
  94. package/dist/invariants/check-automated-tests.d.ts +1 -0
  95. package/dist/invariants-runner.d.ts +1 -0
  96. package/dist/lane-checker.d.ts +1 -0
  97. package/dist/lane-inference.d.ts +1 -0
  98. package/dist/lane-lock.d.ts +1 -0
  99. package/dist/lane-suggest-prompt.d.ts +1 -0
  100. package/dist/lane-validator.d.ts +1 -0
  101. package/dist/lifecycle/index.d.ts +1 -0
  102. package/dist/logs-lib.d.ts +1 -0
  103. package/dist/lumenflow-config-schema.d.ts +1 -0
  104. package/dist/lumenflow-config.d.ts +1 -0
  105. package/dist/lumenflow-home.d.ts +1 -0
  106. package/dist/manual-test-validator.d.ts +1 -0
  107. package/dist/merge-lock.d.ts +1 -0
  108. package/dist/micro-worktree-shared.d.ts +1 -0
  109. package/dist/micro-worktree.d.ts +1 -0
  110. package/dist/normalize-config-keys.d.ts +1 -0
  111. package/dist/object-guards.d.ts +1 -0
  112. package/dist/orchestration-advisory-loader.d.ts +1 -0
  113. package/dist/orchestration-advisory.d.ts +1 -0
  114. package/dist/orchestration-di.d.ts +1 -0
  115. package/dist/orchestration-rules.d.ts +1 -0
  116. package/dist/orphan-detector.d.ts +1 -0
  117. package/dist/pack-authoring-template-engine.d.ts +1 -0
  118. package/dist/package-manager-resolver.d.ts +1 -0
  119. package/dist/path-classifiers.d.ts +1 -0
  120. package/dist/path-factory.d.ts +1 -0
  121. package/dist/patrol-loop.d.ts +1 -0
  122. package/dist/piped-command-detector.d.ts +1 -0
  123. package/dist/ports/config.ports.d.ts +1 -0
  124. package/dist/ports/context.ports.d.ts +1 -0
  125. package/dist/ports/core-tools.ports.d.ts +1 -0
  126. package/dist/ports/dashboard-renderer.port.d.ts +1 -0
  127. package/dist/ports/git-validator.ports.d.ts +1 -0
  128. package/dist/ports/index.d.ts +1 -0
  129. package/dist/ports/metrics-collector.port.d.ts +1 -0
  130. package/dist/ports/recovery.ports.d.ts +1 -0
  131. package/dist/ports/sync-validator.ports.d.ts +1 -0
  132. package/dist/ports/validation.ports.d.ts +1 -0
  133. package/dist/ports/wu-helpers.ports.d.ts +1 -0
  134. package/dist/ports/wu-state.ports.d.ts +1 -0
  135. package/dist/process-detector.d.ts +1 -0
  136. package/dist/prompt-linter.d.ts +1 -0
  137. package/dist/prompt-monitor.d.ts +1 -0
  138. package/dist/rebase-artifact-cleanup.d.ts +1 -0
  139. package/dist/recovery/index.d.ts +1 -0
  140. package/dist/recovery/recovery-analyzer.d.ts +1 -0
  141. package/dist/resolve-policy.d.ts +1 -0
  142. package/dist/retry-strategy.d.ts +1 -0
  143. package/dist/rollback-utils.d.ts +1 -0
  144. package/dist/sandbox-allowlist.d.ts +1 -0
  145. package/dist/sandbox-backend-linux.d.ts +1 -0
  146. package/dist/sandbox-backend-macos.d.ts +1 -0
  147. package/dist/sandbox-backend-windows.d.ts +1 -0
  148. package/dist/sandbox-profile.d.ts +1 -0
  149. package/dist/schemas/agents-config.d.ts +1 -0
  150. package/dist/schemas/arg-validators.d.ts +1 -0
  151. package/dist/schemas/cloud-config.d.ts +1 -0
  152. package/dist/schemas/command-schemas.d.ts +1 -0
  153. package/dist/schemas/directories-config.d.ts +1 -0
  154. package/dist/schemas/flow-arg-validators.d.ts +1 -0
  155. package/dist/schemas/flow-schemas.d.ts +1 -0
  156. package/dist/schemas/gates-section-config.d.ts +1 -0
  157. package/dist/schemas/git-config.d.ts +1 -0
  158. package/dist/schemas/index.d.ts +1 -0
  159. package/dist/schemas/initiative-arg-validators.d.ts +1 -0
  160. package/dist/schemas/initiative-schemas.d.ts +1 -0
  161. package/dist/schemas/lanes-config.d.ts +1 -0
  162. package/dist/schemas/memory-arg-validators.d.ts +1 -0
  163. package/dist/schemas/memory-config.d.ts +1 -0
  164. package/dist/schemas/memory-schemas.d.ts +1 -0
  165. package/dist/schemas/operational-config.d.ts +1 -0
  166. package/dist/schemas/schema-utils.d.ts +1 -0
  167. package/dist/schemas/setup-arg-validators.d.ts +1 -0
  168. package/dist/schemas/setup-schemas.d.ts +1 -0
  169. package/dist/schemas/validation-arg-validators.d.ts +1 -0
  170. package/dist/schemas/validation-schemas.d.ts +1 -0
  171. package/dist/schemas/workspace-config.d.ts +1 -0
  172. package/dist/schemas/wu-config.d.ts +1 -0
  173. package/dist/schemas/wu-lifecycle-arg-validators.d.ts +1 -0
  174. package/dist/schemas/wu-lifecycle-schemas.d.ts +1 -0
  175. package/dist/section-headings.d.ts +1 -0
  176. package/dist/spawn-agent-guidance.d.ts +1 -0
  177. package/dist/spawn-constraints-generator.d.ts +1 -0
  178. package/dist/spawn-guidance-generators.d.ts +1 -0
  179. package/dist/spawn-policy-resolver.d.ts +1 -0
  180. package/dist/spawn-prompt-helpers.d.ts +1 -0
  181. package/dist/spawn-prompt-schema.d.ts +1 -0
  182. package/dist/spawn-strategy.d.ts +1 -0
  183. package/dist/spawn-task-builder.d.ts +1 -0
  184. package/dist/spawn-template-assembler.d.ts +1 -0
  185. package/dist/stamp-status-validator.d.ts +1 -0
  186. package/dist/stamp-tracking.d.ts +1 -0
  187. package/dist/stamp-utils.d.ts +1 -0
  188. package/dist/startup-env-validation.d.ts +1 -0
  189. package/dist/state-cleanup-core.d.ts +1 -0
  190. package/dist/state-doctor-core.d.ts +1 -0
  191. package/dist/state-machine.d.ts +1 -0
  192. package/dist/stream-error-handler.d.ts +1 -0
  193. package/dist/sync-validator.d.ts +1 -0
  194. package/dist/telemetry.d.ts +1 -0
  195. package/dist/template-loader.d.ts +1 -0
  196. package/dist/test-baseline.d.ts +1 -0
  197. package/dist/token-counter.d.ts +1 -0
  198. package/dist/types.d.ts +67 -0
  199. package/dist/usecases/analyze-recovery.usecase.d.ts +1 -0
  200. package/dist/usecases/compute-context.usecase.d.ts +1 -0
  201. package/dist/usecases/get-dashboard-data.usecase.d.ts +1 -0
  202. package/dist/usecases/get-suggestions.usecase.d.ts +1 -0
  203. package/dist/usecases/index.d.ts +1 -0
  204. package/dist/usecases/validate-command.usecase.d.ts +1 -0
  205. package/dist/user-normalizer.d.ts +1 -0
  206. package/dist/validation/command-registry.d.ts +1 -0
  207. package/dist/validation/index.d.ts +1 -0
  208. package/dist/validation/types.d.ts +1 -0
  209. package/dist/validation/validate-command.d.ts +1 -0
  210. package/dist/validators/backlog-sync.d.ts +1 -0
  211. package/dist/validators/claim-validation.d.ts +1 -0
  212. package/dist/validators/supabase-docs-linter.d.ts +1 -0
  213. package/dist/validators/wu-tasks.d.ts +1 -0
  214. package/dist/work-classifier.d.ts +1 -0
  215. package/dist/worktree-ownership.d.ts +1 -0
  216. package/dist/worktree-scanner.d.ts +1 -0
  217. package/dist/worktree-symlink.d.ts +1 -0
  218. package/dist/wu-backlog-updater.d.ts +1 -0
  219. package/dist/wu-checkpoint.d.ts +1 -0
  220. package/dist/wu-claim-helpers.d.ts +1 -0
  221. package/dist/wu-claim-resume.d.ts +1 -0
  222. package/dist/wu-cli-constants.d.ts +1 -0
  223. package/dist/wu-consistency-checker.d.ts +1 -0
  224. package/dist/wu-consistency-detector.d.ts +1 -0
  225. package/dist/wu-consistency-file-repairs.d.ts +1 -0
  226. package/dist/wu-constants.d.ts +1 -0
  227. package/dist/wu-context-constants.d.ts +1 -0
  228. package/dist/wu-create-defaults.d.ts +1 -0
  229. package/dist/wu-create-validators.d.ts +1 -0
  230. package/dist/wu-doc-types.d.ts +1 -0
  231. package/dist/wu-domain-constants.d.ts +1 -0
  232. package/dist/wu-done-branch-only.d.ts +1 -0
  233. package/dist/wu-done-branch-utils.d.ts +1 -0
  234. package/dist/wu-done-cleanup.d.ts +1 -0
  235. package/dist/wu-done-concurrent-merge.d.ts +1 -0
  236. package/dist/wu-done-docs-generate.d.ts +1 -0
  237. package/dist/wu-done-docs-only.d.ts +1 -0
  238. package/dist/wu-done-error-handling.d.ts +1 -0
  239. package/dist/wu-done-errors.d.ts +1 -0
  240. package/dist/wu-done-initiative-sync.d.ts +1 -0
  241. package/dist/wu-done-inputs.d.ts +1 -0
  242. package/dist/wu-done-machine.d.ts +1 -0
  243. package/dist/wu-done-main-sync.d.ts +1 -0
  244. package/dist/wu-done-merge-phase.d.ts +1 -0
  245. package/dist/wu-done-merge.d.ts +1 -0
  246. package/dist/wu-done-merged-worktree.d.ts +1 -0
  247. package/dist/wu-done-messages.d.ts +1 -0
  248. package/dist/wu-done-metadata.d.ts +1 -0
  249. package/dist/wu-done-paths.d.ts +1 -0
  250. package/dist/wu-done-pr.d.ts +1 -0
  251. package/dist/wu-done-preflight-checks.d.ts +1 -0
  252. package/dist/wu-done-preflight.d.ts +1 -0
  253. package/dist/wu-done-rebase.d.ts +1 -0
  254. package/dist/wu-done-retry-helpers.d.ts +1 -0
  255. package/dist/wu-done-ui.d.ts +1 -0
  256. package/dist/wu-done-utils.d.ts +1 -0
  257. package/dist/wu-done-validation.d.ts +1 -0
  258. package/dist/wu-done-validation.d.ts.map +1 -1
  259. package/dist/wu-done-validation.js +8 -2
  260. package/dist/wu-done-validation.js.map +1 -1
  261. package/dist/wu-done-validators.d.ts +1 -0
  262. package/dist/wu-done-worktree-services.d.ts +1 -0
  263. package/dist/wu-done-worktree.d.ts +1 -0
  264. package/dist/wu-done-zombie-recovery.d.ts +1 -0
  265. package/dist/wu-duplicate-id-detector.d.ts +1 -0
  266. package/dist/wu-event-sourcer.d.ts +1 -0
  267. package/dist/wu-events-cleanup.d.ts +1 -0
  268. package/dist/wu-git-constants.d.ts +1 -0
  269. package/dist/wu-helpers.d.ts +1 -0
  270. package/dist/wu-id-generator.d.ts +1 -0
  271. package/dist/wu-inconsistency-repairer.d.ts +1 -0
  272. package/dist/wu-lint.d.ts +1 -0
  273. package/dist/wu-list.d.ts +1 -0
  274. package/dist/wu-lock-manager.d.ts +1 -0
  275. package/dist/wu-paths-constants.d.ts +1 -0
  276. package/dist/wu-paths.d.ts +1 -0
  277. package/dist/wu-preflight-validators.d.ts +1 -0
  278. package/dist/wu-recovery.d.ts +1 -0
  279. package/dist/wu-repair-core.d.ts +1 -0
  280. package/dist/wu-repair-service.d.ts +1 -0
  281. package/dist/wu-rules-core.d.ts +1 -0
  282. package/dist/wu-rules-engine.d.ts +1 -0
  283. package/dist/wu-rules-resolvers.d.ts +1 -0
  284. package/dist/wu-schema-normalization.d.ts +1 -0
  285. package/dist/wu-schema.d.ts +1 -0
  286. package/dist/wu-spawn-context.d.ts +1 -0
  287. package/dist/wu-spawn-helpers.d.ts +1 -0
  288. package/dist/wu-spawn-skills.d.ts +1 -0
  289. package/dist/wu-spawn.d.ts +1 -0
  290. package/dist/wu-state-indexer.d.ts +1 -0
  291. package/dist/wu-state-schema.d.ts +1 -0
  292. package/dist/wu-state-store.d.ts +1 -0
  293. package/dist/wu-status-transition.d.ts +1 -0
  294. package/dist/wu-status-updater.d.ts +1 -0
  295. package/dist/wu-statuses.d.ts +1 -0
  296. package/dist/wu-transaction-collectors.d.ts +1 -0
  297. package/dist/wu-transaction.d.ts +1 -0
  298. package/dist/wu-type-helpers.d.ts +1 -0
  299. package/dist/wu-ui-constants.d.ts +1 -0
  300. package/dist/wu-validation-constants.d.ts +1 -0
  301. package/dist/wu-validation.d.ts +1 -0
  302. package/dist/wu-validator.d.ts +1 -0
  303. package/dist/wu-yaml-fixer.d.ts +1 -0
  304. package/dist/wu-yaml.d.ts +1 -0
  305. package/package.json +5 -4
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Lane Lock Module
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { z } from 'zod';
2
3
  /**
3
4
  * Schema for a single lane suggestion from the LLM
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Lane-to-Code_Paths Validator (WU-1372)
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Lifecycle barrel exports for @lumenflow/core.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Log source configurations
3
4
  * Each source has a path relative to project root and a source identifier
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * LumenFlow Configuration Schema - Composition File
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type LumenFlowConfig } from './lumenflow-config-schema.js';
2
3
  /** Canonical workspace config file name (workspace-first architecture) */
3
4
  export { GIT_DIRECTORY_NAME, GIT_WORKTREES_SENTINEL, WORKSPACE_CONFIG_FILE_NAME, } from './config-contract.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Environment variable name for LumenFlow home directory
3
4
  */
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Manual Test Escape Hatch Validator
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Default timeout for waiting to acquire lock (ms)
3
4
  * After this time, acquisition fails if lock is held
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { GitAdapter } from './git-adapter.js';
2
3
  import type { PushRetryConfig } from './lumenflow-config-schema.js';
3
4
  type MicroWorktreeSyncGitAdapter = Pick<GitAdapter, 'fetch' | 'merge'>;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { MAX_MERGE_RETRIES, MAX_PUSH_RETRIES, DEFAULT_PUSH_RETRY_CONFIG, resolvePushRetryConfig, LUMENFLOW_FORCE_ENV, LUMENFLOW_FORCE_REASON_ENV, LUMENFLOW_WU_TOOL_ENV, DEFAULT_LOG_PREFIX, RetryExhaustionError, isRetryExhaustionError, formatRetryExhaustionError, shouldSkipRemoteOperations, getTempBranchName, createMicroWorktreeDir, findWorktreeByBranch, cleanupOrphanedMicroWorktree, cleanupMicroWorktree, pushRefspecWithForce, pushRefspecWithRetry } from './micro-worktree-shared.js';
2
3
  import type { GitAdapter } from './git-adapter.js';
3
4
  import type { PushRetryConfig } from './lumenflow-config-schema.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Normalize config keys from snake_case YAML convention to camelCase schema convention.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare const VALUE_TYPE: {
2
3
  readonly OBJECT: "object";
3
4
  readonly STRING: "string";
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Emit mandatory agent advisory based on code paths.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { MandatoryAgentName } from './domain/orchestration.types.js';
2
3
  /**
3
4
  * Emit a mandatory agent advisory to the terminal.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { GetDashboardDataUseCase } from './usecases/get-dashboard-data.usecase.js';
2
3
  import { GetSuggestionsUseCase } from './usecases/get-suggestions.usecase.js';
3
4
  import type { IDashboardRenderer } from './ports/dashboard-renderer.port.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type MandatoryAgentName } from './domain/orchestration.constants.js';
2
3
  type SuggestionPriority = 'high' | 'medium' | 'low';
3
4
  interface WUProgressRecord {
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Orphan Worktree Detector (WU-1476)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { z } from 'zod';
2
3
  export declare const PACK_AUTHORING_TEMPLATE_IDS: {
3
4
  readonly FILE_READ_TEXT: "file.read_text";
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { GatesCommands } from './gates-schemas.js';
2
3
  declare const SUPPORTED_PACKAGE_MANAGERS: readonly ["pnpm", "npm", "yarn", "bun"];
3
4
  declare const SUPPORTED_TEST_RUNNERS: readonly ["vitest", "jest", "mocha"];
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Prefixes for paths that should skip web app tests.
4
5
  * Combines configured docs-only prefixes with tooling/script prefixes.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { LUMENFLOW_PATHS } from './wu-paths-constants.js';
2
3
  /**
3
4
  * Valid keys for LUMENFLOW_PATHS constant lookups.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Patrol Loop Module (WU-1242)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Check if a command is a piped pnpm dependency command
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Configuration Ports (WU-2020)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Context Ports
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Core Tools Ports
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Dashboard Renderer Port
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Git Validator Ports
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Ports Index
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Metrics Collector Port
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Recovery Ports
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Sync Validator Port Interfaces
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Validation Ports
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * WU Helpers Port Interfaces
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * WU State Ports (WU-2013)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /** Process info from ps-list */
2
3
  interface ProcessEntry {
3
4
  pid: number;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare const PROMPT_LINTER_FAILURE_MESSAGE = "Prompt linter failed:";
2
3
  /**
3
4
  * Load config from YAML file with fallback to defaults
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare const PROMPT_MONITOR_FAILURE_MESSAGE = "Nightly monitor failed:";
2
3
  /**
3
4
  * Main monitor function
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  interface GitAdapterLike {
2
3
  raw(args: string[]): Promise<string>;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Recovery Module
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import { type RecoveryActionType, type RecoveryIssueCode } from '../wu-constants.js';
2
3
  import type { WuContext } from '../validation/types.js';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Resolve Policy - Single Source of Truth for Methodology Decisions
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /** Retry configuration */
2
3
  interface RetryConfig {
3
4
  maxAttempts: number;
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Rollback Utilities for WU Tooling
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export interface SandboxAllowlistEntry {
2
3
  originalPath: string;
3
4
  normalizedPath: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type SandboxBackend } from './sandbox-profile.js';
2
3
  export interface LinuxSandboxBackendOptions {
3
4
  commandExists?: (binary: string) => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type SandboxBackend } from './sandbox-profile.js';
2
3
  export interface MacosSandboxBackendOptions {
3
4
  commandExists?: (binary: string) => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type SandboxBackend } from './sandbox-profile.js';
2
3
  export interface WindowsSandboxBackendOptions {
3
4
  commandExists?: (binary: string) => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type SandboxAllowlist } from './sandbox-allowlist.js';
2
3
  export declare const SANDBOX_BACKEND_IDS: {
3
4
  readonly LINUX: "linux";
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Agents Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file arg-validators.ts
3
4
  * @description CLI argument validators using shared schemas (WU-1431)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Cloud Auto-Detection Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file command-schemas.ts
3
4
  * @description Shared Zod schemas for CLI/MCP parity (WU-1431)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Directories and State Paths Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { ValidationResult } from './arg-validators.js';
2
3
  /** Validate flow:bottlenecks arguments */
3
4
  export declare const validateFlowBottlenecksArgs: (args: Record<string, unknown>) => ValidationResult<{
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file flow-schemas.ts
3
4
  * @description Shared Zod schemas for Flow/Metrics commands (WU-1457)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Gates Section Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Git Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file schemas/index.ts
3
4
  * @description Shared command schemas and utilities for CLI/MCP parity (WU-1431, WU-1454, WU-1455, WU-1456, WU-1457)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { ValidationResult } from './arg-validators.js';
2
3
  /** Validate initiative:create arguments */
3
4
  export declare const validateInitiativeCreateArgs: (args: Record<string, unknown>) => ValidationResult<{
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file initiative-schemas.ts
3
4
  * @description Shared Zod schemas for Initiative commands (WU-1455)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Lanes Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { ValidationResult } from './arg-validators.js';
2
3
  /** Validate mem:init arguments */
3
4
  export declare const validateMemInitArgs: (args: Record<string, unknown>) => ValidationResult<{
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Memory Layer Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file memory-schemas.ts
3
4
  * @description Shared Zod schemas for Memory commands (WU-1456)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Operational Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file schema-utils.ts
3
4
  * @description Utilities for converting Zod schemas to MCP inputSchema and CLI options (WU-1431)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { ValidationResult } from './arg-validators.js';
2
3
  /** Validate lumenflow:init arguments */
3
4
  export declare const validateLumenflowInitArgs: (args: Record<string, unknown>) => ValidationResult<{
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file setup-schemas.ts
3
4
  * @description Shared Zod schemas for Setup, Agent, Orchestration, Delegation, and Coordination commands (WU-1457)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { ValidationResult } from './arg-validators.js';
2
3
  /** Validate validate arguments */
3
4
  export declare const validateValidateArgs: (args: Record<string, unknown>) => ValidationResult<{
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file validation-schemas.ts
3
4
  * @description Shared Zod schemas for Validation commands (WU-1457)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Workspace V2 Configuration Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * WU (Work Unit) Configuration Schema
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { ValidationResult } from './arg-validators.js';
2
3
  /** Validate wu:block arguments */
3
4
  export declare const validateWuBlockArgs: (args: Record<string, unknown>) => ValidationResult<{
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file wu-lifecycle-schemas.ts
3
4
  * @description Shared Zod schemas for WU lifecycle commands (WU-1454)
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Default section headings (fallbacks when frontmatter is missing)
3
4
  * Re-exports from wu-constants.ts for backwards compatibility
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { LumenFlowConfig } from './lumenflow-config-schema.js';
2
3
  import type { WUDocBase } from './wu-doc-types.js';
3
4
  export type WUDoc = WUDocBase;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU-1900: Options for constraints generation
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { ResolvedPolicy } from './resolve-policy.js';
2
3
  import { type TestMethodologyHint } from './work-classifier.js';
3
4
  /** Generate type-aware test guidance (WU-1142, WU-1192) */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * @file spawn-policy-resolver.ts
3
4
  * WU-2012: Extracted from wu-spawn.ts
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { ClientConfig } from './lumenflow-config-schema.js';
2
3
  import type { SpawnStrategy } from './spawn-strategy.js';
3
4
  import type { WUDoc } from './spawn-agent-guidance.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Spawn Prompt Schema (WU-1142)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Strategy interface for client-specific spawn behavior
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { LumenFlowConfig } from './lumenflow-config-schema.js';
2
3
  import type { SpawnStrategy } from './spawn-strategy.js';
3
4
  import { type WUDoc } from './spawn-agent-guidance.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * @file spawn-template-assembler.ts
3
4
  * WU-2012: Extracted from wu-spawn.ts
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * List of parent-only lanes that are deprecated (legacy).
3
4
  * WUs with these lanes are considered legacy artifacts and may have stamp-status mismatches.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  interface TrackedStampOptions {
2
3
  projectRoot: string;
3
4
  stampsDir: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Stamp format error types (WU-2242)
3
4
  * @readonly
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { EnvVarName } from './wu-context-constants.js';
2
3
  export declare const STARTUP_ENV_POLICY: {
3
4
  readonly ERROR: "error";
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * State Cleanup Core (WU-1208)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Issue type constants
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Validates a state transition and throws if illegal
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Stream Error Handler
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { ISyncValidatorGitAdapter } from './ports/sync-validator.ports.js';
2
3
  export type EnsureMainUpToDateGitAdapter = Pick<ISyncValidatorGitAdapter, 'fetch' | 'getCommitHash'>;
3
4
  export type MainSyncGitAdapter = Pick<ISyncValidatorGitAdapter, 'fetch' | 'getCommitHash' | 'revList'>;