@lumenflow/core 3.19.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 (313) 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 +8 -4
  109. package/dist/micro-worktree-shared.d.ts.map +1 -1
  110. package/dist/micro-worktree-shared.js +7 -4
  111. package/dist/micro-worktree-shared.js.map +1 -1
  112. package/dist/micro-worktree.d.ts +1 -0
  113. package/dist/micro-worktree.d.ts.map +1 -1
  114. package/dist/micro-worktree.js +12 -1
  115. package/dist/micro-worktree.js.map +1 -1
  116. package/dist/normalize-config-keys.d.ts +1 -0
  117. package/dist/object-guards.d.ts +1 -0
  118. package/dist/orchestration-advisory-loader.d.ts +1 -0
  119. package/dist/orchestration-advisory.d.ts +1 -0
  120. package/dist/orchestration-di.d.ts +1 -0
  121. package/dist/orchestration-rules.d.ts +1 -0
  122. package/dist/orphan-detector.d.ts +1 -0
  123. package/dist/pack-authoring-template-engine.d.ts +1 -0
  124. package/dist/package-manager-resolver.d.ts +1 -0
  125. package/dist/path-classifiers.d.ts +1 -0
  126. package/dist/path-factory.d.ts +1 -0
  127. package/dist/patrol-loop.d.ts +1 -0
  128. package/dist/piped-command-detector.d.ts +1 -0
  129. package/dist/ports/config.ports.d.ts +1 -0
  130. package/dist/ports/context.ports.d.ts +1 -0
  131. package/dist/ports/core-tools.ports.d.ts +1 -0
  132. package/dist/ports/dashboard-renderer.port.d.ts +1 -0
  133. package/dist/ports/git-validator.ports.d.ts +1 -0
  134. package/dist/ports/index.d.ts +1 -0
  135. package/dist/ports/metrics-collector.port.d.ts +1 -0
  136. package/dist/ports/recovery.ports.d.ts +1 -0
  137. package/dist/ports/sync-validator.ports.d.ts +1 -0
  138. package/dist/ports/validation.ports.d.ts +1 -0
  139. package/dist/ports/wu-helpers.ports.d.ts +1 -0
  140. package/dist/ports/wu-state.ports.d.ts +1 -0
  141. package/dist/process-detector.d.ts +1 -0
  142. package/dist/prompt-linter.d.ts +1 -0
  143. package/dist/prompt-monitor.d.ts +1 -0
  144. package/dist/rebase-artifact-cleanup.d.ts +1 -0
  145. package/dist/recovery/index.d.ts +1 -0
  146. package/dist/recovery/recovery-analyzer.d.ts +1 -0
  147. package/dist/resolve-policy.d.ts +1 -0
  148. package/dist/retry-strategy.d.ts +1 -0
  149. package/dist/rollback-utils.d.ts +1 -0
  150. package/dist/sandbox-allowlist.d.ts +1 -0
  151. package/dist/sandbox-backend-linux.d.ts +1 -0
  152. package/dist/sandbox-backend-macos.d.ts +1 -0
  153. package/dist/sandbox-backend-windows.d.ts +1 -0
  154. package/dist/sandbox-profile.d.ts +1 -0
  155. package/dist/schemas/agents-config.d.ts +1 -0
  156. package/dist/schemas/arg-validators.d.ts +1 -0
  157. package/dist/schemas/cloud-config.d.ts +1 -0
  158. package/dist/schemas/command-schemas.d.ts +1 -0
  159. package/dist/schemas/directories-config.d.ts +1 -0
  160. package/dist/schemas/flow-arg-validators.d.ts +1 -0
  161. package/dist/schemas/flow-schemas.d.ts +1 -0
  162. package/dist/schemas/gates-section-config.d.ts +1 -0
  163. package/dist/schemas/git-config.d.ts +1 -0
  164. package/dist/schemas/index.d.ts +1 -0
  165. package/dist/schemas/initiative-arg-validators.d.ts +1 -0
  166. package/dist/schemas/initiative-schemas.d.ts +1 -0
  167. package/dist/schemas/lanes-config.d.ts +1 -0
  168. package/dist/schemas/memory-arg-validators.d.ts +1 -0
  169. package/dist/schemas/memory-config.d.ts +1 -0
  170. package/dist/schemas/memory-schemas.d.ts +1 -0
  171. package/dist/schemas/operational-config.d.ts +1 -0
  172. package/dist/schemas/schema-utils.d.ts +1 -0
  173. package/dist/schemas/setup-arg-validators.d.ts +1 -0
  174. package/dist/schemas/setup-schemas.d.ts +1 -0
  175. package/dist/schemas/validation-arg-validators.d.ts +1 -0
  176. package/dist/schemas/validation-schemas.d.ts +1 -0
  177. package/dist/schemas/workspace-config.d.ts +1 -0
  178. package/dist/schemas/wu-config.d.ts +1 -0
  179. package/dist/schemas/wu-lifecycle-arg-validators.d.ts +1 -0
  180. package/dist/schemas/wu-lifecycle-schemas.d.ts +1 -0
  181. package/dist/section-headings.d.ts +1 -0
  182. package/dist/spawn-agent-guidance.d.ts +1 -0
  183. package/dist/spawn-constraints-generator.d.ts +1 -0
  184. package/dist/spawn-guidance-generators.d.ts +1 -0
  185. package/dist/spawn-policy-resolver.d.ts +1 -0
  186. package/dist/spawn-prompt-helpers.d.ts +1 -0
  187. package/dist/spawn-prompt-schema.d.ts +1 -0
  188. package/dist/spawn-strategy.d.ts +1 -0
  189. package/dist/spawn-task-builder.d.ts +1 -0
  190. package/dist/spawn-template-assembler.d.ts +1 -0
  191. package/dist/stamp-status-validator.d.ts +1 -0
  192. package/dist/stamp-tracking.d.ts +1 -0
  193. package/dist/stamp-utils.d.ts +1 -0
  194. package/dist/startup-env-validation.d.ts +1 -0
  195. package/dist/state-cleanup-core.d.ts +1 -0
  196. package/dist/state-doctor-core.d.ts +1 -0
  197. package/dist/state-machine.d.ts +1 -0
  198. package/dist/stream-error-handler.d.ts +1 -0
  199. package/dist/sync-validator.d.ts +1 -0
  200. package/dist/telemetry.d.ts +1 -0
  201. package/dist/template-loader.d.ts +1 -0
  202. package/dist/test-baseline.d.ts +1 -0
  203. package/dist/token-counter.d.ts +1 -0
  204. package/dist/types.d.ts +67 -0
  205. package/dist/usecases/analyze-recovery.usecase.d.ts +1 -0
  206. package/dist/usecases/compute-context.usecase.d.ts +1 -0
  207. package/dist/usecases/get-dashboard-data.usecase.d.ts +1 -0
  208. package/dist/usecases/get-suggestions.usecase.d.ts +1 -0
  209. package/dist/usecases/index.d.ts +1 -0
  210. package/dist/usecases/validate-command.usecase.d.ts +1 -0
  211. package/dist/user-normalizer.d.ts +1 -0
  212. package/dist/validation/command-registry.d.ts +1 -0
  213. package/dist/validation/index.d.ts +1 -0
  214. package/dist/validation/types.d.ts +1 -0
  215. package/dist/validation/validate-command.d.ts +1 -0
  216. package/dist/validators/backlog-sync.d.ts +1 -0
  217. package/dist/validators/claim-validation.d.ts +1 -0
  218. package/dist/validators/supabase-docs-linter.d.ts +1 -0
  219. package/dist/validators/wu-tasks.d.ts +1 -0
  220. package/dist/work-classifier.d.ts +1 -0
  221. package/dist/worktree-ownership.d.ts +1 -0
  222. package/dist/worktree-scanner.d.ts +1 -0
  223. package/dist/worktree-symlink.d.ts +1 -0
  224. package/dist/wu-backlog-updater.d.ts +1 -0
  225. package/dist/wu-checkpoint.d.ts +1 -0
  226. package/dist/wu-claim-helpers.d.ts +1 -0
  227. package/dist/wu-claim-resume.d.ts +1 -0
  228. package/dist/wu-cli-constants.d.ts +1 -0
  229. package/dist/wu-consistency-checker.d.ts +1 -0
  230. package/dist/wu-consistency-detector.d.ts +1 -0
  231. package/dist/wu-consistency-file-repairs.d.ts +1 -0
  232. package/dist/wu-constants.d.ts +1 -0
  233. package/dist/wu-context-constants.d.ts +1 -0
  234. package/dist/wu-create-defaults.d.ts +1 -0
  235. package/dist/wu-create-validators.d.ts +1 -0
  236. package/dist/wu-doc-types.d.ts +1 -0
  237. package/dist/wu-domain-constants.d.ts +1 -0
  238. package/dist/wu-done-branch-only.d.ts +1 -0
  239. package/dist/wu-done-branch-utils.d.ts +1 -0
  240. package/dist/wu-done-cleanup.d.ts +1 -0
  241. package/dist/wu-done-cleanup.js +14 -13
  242. package/dist/wu-done-cleanup.js.map +1 -1
  243. package/dist/wu-done-concurrent-merge.d.ts +1 -0
  244. package/dist/wu-done-docs-generate.d.ts +1 -0
  245. package/dist/wu-done-docs-only.d.ts +1 -0
  246. package/dist/wu-done-error-handling.d.ts +1 -0
  247. package/dist/wu-done-errors.d.ts +1 -0
  248. package/dist/wu-done-initiative-sync.d.ts +1 -0
  249. package/dist/wu-done-inputs.d.ts +1 -0
  250. package/dist/wu-done-machine.d.ts +1 -0
  251. package/dist/wu-done-main-sync.d.ts +1 -0
  252. package/dist/wu-done-merge-phase.d.ts +1 -0
  253. package/dist/wu-done-merge.d.ts +1 -0
  254. package/dist/wu-done-merged-worktree.d.ts +1 -0
  255. package/dist/wu-done-messages.d.ts +1 -0
  256. package/dist/wu-done-metadata.d.ts +1 -0
  257. package/dist/wu-done-paths.d.ts +1 -0
  258. package/dist/wu-done-pr.d.ts +1 -0
  259. package/dist/wu-done-preflight-checks.d.ts +1 -0
  260. package/dist/wu-done-preflight.d.ts +1 -0
  261. package/dist/wu-done-rebase.d.ts +1 -0
  262. package/dist/wu-done-retry-helpers.d.ts +1 -0
  263. package/dist/wu-done-ui.d.ts +1 -0
  264. package/dist/wu-done-utils.d.ts +1 -0
  265. package/dist/wu-done-validation.d.ts +1 -0
  266. package/dist/wu-done-validation.d.ts.map +1 -1
  267. package/dist/wu-done-validation.js +8 -2
  268. package/dist/wu-done-validation.js.map +1 -1
  269. package/dist/wu-done-validators.d.ts +1 -0
  270. package/dist/wu-done-worktree-services.d.ts +1 -0
  271. package/dist/wu-done-worktree.d.ts +1 -0
  272. package/dist/wu-done-zombie-recovery.d.ts +1 -0
  273. package/dist/wu-duplicate-id-detector.d.ts +1 -0
  274. package/dist/wu-event-sourcer.d.ts +1 -0
  275. package/dist/wu-events-cleanup.d.ts +1 -0
  276. package/dist/wu-git-constants.d.ts +1 -0
  277. package/dist/wu-helpers.d.ts +1 -0
  278. package/dist/wu-id-generator.d.ts +1 -0
  279. package/dist/wu-inconsistency-repairer.d.ts +1 -0
  280. package/dist/wu-lint.d.ts +1 -0
  281. package/dist/wu-list.d.ts +1 -0
  282. package/dist/wu-lock-manager.d.ts +1 -0
  283. package/dist/wu-paths-constants.d.ts +1 -0
  284. package/dist/wu-paths.d.ts +1 -0
  285. package/dist/wu-preflight-validators.d.ts +1 -0
  286. package/dist/wu-recovery.d.ts +1 -0
  287. package/dist/wu-repair-core.d.ts +1 -0
  288. package/dist/wu-repair-service.d.ts +1 -0
  289. package/dist/wu-rules-core.d.ts +1 -0
  290. package/dist/wu-rules-engine.d.ts +1 -0
  291. package/dist/wu-rules-resolvers.d.ts +1 -0
  292. package/dist/wu-schema-normalization.d.ts +1 -0
  293. package/dist/wu-schema.d.ts +1 -0
  294. package/dist/wu-spawn-context.d.ts +1 -0
  295. package/dist/wu-spawn-helpers.d.ts +1 -0
  296. package/dist/wu-spawn-skills.d.ts +1 -0
  297. package/dist/wu-spawn.d.ts +1 -0
  298. package/dist/wu-state-indexer.d.ts +1 -0
  299. package/dist/wu-state-schema.d.ts +1 -0
  300. package/dist/wu-state-store.d.ts +1 -0
  301. package/dist/wu-status-transition.d.ts +1 -0
  302. package/dist/wu-status-updater.d.ts +1 -0
  303. package/dist/wu-statuses.d.ts +1 -0
  304. package/dist/wu-transaction-collectors.d.ts +1 -0
  305. package/dist/wu-transaction.d.ts +1 -0
  306. package/dist/wu-type-helpers.d.ts +1 -0
  307. package/dist/wu-ui-constants.d.ts +1 -0
  308. package/dist/wu-validation-constants.d.ts +1 -0
  309. package/dist/wu-validation.d.ts +1 -0
  310. package/dist/wu-validator.d.ts +1 -0
  311. package/dist/wu-yaml-fixer.d.ts +1 -0
  312. package/dist/wu-yaml.d.ts +1 -0
  313. package/package.json +5 -4
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Remediation message shown in summary for orphan WU warnings
3
4
  * @type {string}
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Context Adapters
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { IMetricsCollector } from '../ports/metrics-collector.port.js';
2
3
  import type { GlobalStatus, AgentMetric, WUProgress, TimelineEvent, Alert } from '../domain/orchestration.types.js';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Adapters Index
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Mock Dashboard Renderer Adapter
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Recovery Adapters
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { IDashboardRenderer } from '../ports/dashboard-renderer.port.js';
2
3
  import type { DashboardData, Suggestion, ExecutionPlan, UserChoice } from '../domain/orchestration.types.js';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Validation Adapters
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /** Default agent branch patterns (narrow: just agent/*) */
2
3
  export declare const DEFAULT_AGENT_PATTERNS: string[];
3
4
  /** Remote registry URL */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type OptionValues } from 'commander';
2
3
  /**
3
4
  * Predefined option configurations for WU management scripts.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { GitAdapter } from './git-adapter.js';
2
3
  export interface AtomicMergeCallbackContext {
3
4
  worktreePath: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Backlog/Status file editor module.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { WUStateEntry } from './wu-state-store.js';
2
3
  interface BacklogYamlOptions {
3
4
  wuDir?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Parse YAML frontmatter from backlog.md
3
4
  * @param {string} backlogPath - Path to backlog.md file
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare function validateBacklogSync(backlogPath: string): {
2
3
  valid: boolean;
3
4
  errors: string[];
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type AgentPatternResult } from './agent-patterns-registry.js';
2
3
  /**
3
4
  * Check if branch is an agent branch that can bypass worktree requirements.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Drift level constants
3
4
  * Used as return values from getDriftLevel()
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Timeout for cleanup install operation (ms)
3
4
  * @constant {number}
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /** Cleanup lock file info */
2
3
  interface CleanupLockInfo {
3
4
  wuId: string;
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="../types.d.ts" />
2
3
  /**
3
4
  * CLI helper for bash hooks and scripts to resolve the configured wuDir.
4
5
  * Single source of truth — reads workspace.yaml via getConfig().
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="../types.d.ts" />
2
3
  /**
3
4
  * CLI helper for bash hooks to check if branch is an agent branch.
4
5
  * Uses the same isAgentBranch() logic as TypeScript code.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Canonical client IDs for client-specific integrations and config keys.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * @file cloud-detect.ts
3
4
  * @description Cloud mode activation and branch-aware guard logic
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Unified Code Path Validator (WU-1825)
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Check for code path overlap between two sets of glob patterns
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Get the current color level.
3
4
  * @returns Color level 0-3 (0 = no colors, 3 = full 16m colors)
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Command logging constants (WU-1552)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU-2278: Commit Message Utilities
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare const WORKSPACE_CONFIG_FILE_NAME: "workspace.yaml";
2
3
  export declare const GIT_DIRECTORY_NAME: ".git";
3
4
  export declare const GIT_WORKTREES_SEGMENT: ".git/worktrees";
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Backlog Parsing Patterns
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Display Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * DORA Metrics Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Duration Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Gate Configuration Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Git-Related Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Constants Barrel Export
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Linter Configuration Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Shared Lock Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Tokenizer Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Validation Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import type { WuContext } from '../validation/types.js';
2
3
  /**
3
4
  * Options for computing context.
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Git state information for WU operations.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Context Module
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import { type LocationType } from '../wu-constants.js';
2
3
  /**
3
4
  * Location context information for WU operations.
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Result of reading WU state.
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Context Dependency Injection
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { WuContext, ValidationResult } from './validation/types.js';
2
3
  declare const COMMANDS: {
3
4
  readonly WU_CREATE: "wu:create";
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  import { getWUContext } from './worktree-guard.js';
2
3
  /**
3
4
  * Load WU YAML data for a given WU ID
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  interface ToolMetadata {
2
3
  name: string;
3
4
  description: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file tool.constants.ts
3
4
  * @description Shared constants for tool abstraction layer (WU-1394)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * @file tool.schemas.ts
3
4
  * @description Zod schemas for tool abstraction layer (WU-1394)
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Git adapter interface for worktree operations
3
4
  */
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Coverage Gate for Quality Gates
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Cycle Detection Module (WU-1088)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Get current date in ISO format (YYYY-MM-DD)
3
4
  * @returns {string} Current date in YYYY-MM-DD format
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Delegation barrel exports for @lumenflow/core.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Signal type for delegation failures.
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type DelegationEvent } from './delegation-registry-schema.js';
2
3
  /**
3
4
  * Default threshold for stuck delegation detection (in minutes)
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Recovery action constants
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { z } from 'zod';
2
3
  /**
3
4
  * Delegation status values.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type DelegationEvent, type DelegationBriefAttestation, type DelegationIntentValue } from './delegation-registry-schema.js';
2
3
  /** Delegation registry file name constant */
3
4
  export declare const DELEGATION_REGISTRY_FILE_NAME = "delegation-registry.jsonl";
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { DelegationStatus } from './delegation-registry-schema.js';
2
3
  interface DelegationRecord {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export interface DependencyNode {
2
3
  id: string;
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * pnpm subcommands that mutate dependencies.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Map of tools to their required npm packages.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare const DOCS_LAYOUT_PRESETS: {
2
3
  readonly simple: {
3
4
  readonly operations: string;
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Validate a list of staged files for docs-only WU
4
5
  * @param {string[]} stagedFiles - Array of file paths
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Context Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Domain Schemas Index
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Total number of Definition of Done checkpoints.
3
4
  * Used by dashboard to show DoD progress (X/11).
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Orchestration Domain Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Orchestration Domain Types
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Recovery Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Result Type - Discriminated Union for Error Contracts
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Validation Schemas
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { EnvVarName } from './wu-context-constants.js';
2
3
  export interface GetEnvOptions {
3
4
  env?: NodeJS.ProcessEnv;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Typed error for process exit signals from library code.
3
4
  * WU-1538: Core modules throw this instead of calling process.exit directly.
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Build docs-only path prefixes from workspace config.
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Environment variable names for force bypass
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Options for agent mode detection
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export declare const GATES_RUNTIME_DEFAULTS: {
2
3
  readonly COMMAND_TIMEOUT_MS: 120000;
3
4
  readonly MAX_ESLINT_WARNINGS: 100;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { GateCommandConfig, GatesExecutionConfig, ParsedGateCommand, LaneHealthMode } from './gates-schemas.js';
2
3
  export type { GateCommandConfig, GatesExecutionConfig, ParsedGateCommand, LaneHealthMode, CoverageConfig, CoveragePolicy, TestRunnerPolicy, TestPolicy, GatesCommands, } from './gates-schemas.js';
3
4
  export { GateCommandConfigSchema, GatesExecutionConfigSchema, LaneHealthModeSchema, DEFAULT_LANE_HEALTH_MODE, } from './gates-schemas.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { CoverageConfig, TestPolicy } from './gates-schemas.js';
2
3
  /**
3
4
  * WU-1262: Resolve coverage configuration from methodology policy
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Gates Presets
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Gates Schemas and Types
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export interface ControlDefinition {
2
3
  id: string;
3
4
  description: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * @file git-adapter.ts
3
4
  * @description Git operations adapter using simple-git library
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * A pair of files frequently changed together
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Git Staged Files Validator
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Hardcoded String Detection Module
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * File extensions that should be linted by ESLint
3
4
  * @type {string[]}
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Glob patterns to exclude slow integration/golden tests from changed runs.
3
4
  * @type {string[]}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * @lumenflow/core - Battle-tested LumenFlow workflow framework
3
4
  * @module @lumenflow/core
@@ -1,3 +1,4 @@
1
+ /// <reference path="../types.d.ts" />
1
2
  /**
2
3
  * Invariant metadata
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Invariant type constants
3
4
  */
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * Lane Occupancy Checker
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  interface LaneInferenceResult {
2
3
  lane: string;
3
4
  confidence: number;