/** * Workstream utility functions for multi-workstream project support. * * When --ws is provided, all .planning/ paths are routed to * .planning/workstreams// instead. */ export { validateWorkstreamName, toWorkstreamSlug } from './workstream-name-policy.js'; /** * Return the relative planning directory path. * * - Without workstream: `.planning` * - With workstream: `.planning/workstreams/` * * #3589 (security): validates the explicit workstream name against the * shared `validateWorkstreamName` policy before path construction. Path * traversal segments (`..`, `/`, `\\`) and other invalid identifiers throw * synchronously, so every caller — direct SDK use, `planningPaths`, * `ContextEngine` — fails closed at the same seam. Env-sourced workstreams * are still pre-filtered to `null` by `planningPaths` (the #2791 silent * fallback contract), so this guard does NOT change env-sourced behaviour. */ export declare function relPlanningPath(workstream?: string): string; //# sourceMappingURL=workstream-utils.d.ts.map