/**
 * Multi-session Orchestration — Core Types
 *
 * Global task references across sessions,
 * status/dependency propagation, and scoped cancellation semantics.
 */
/**
 * The set of valid cancellation scope values — exported for use in command
 * handlers to avoid duplication.
 */
export const VALID_SCOPES = ['task', 'subtree', 'session'];
// ── Graph key helper ──────────────────────────────────────────────────────────
/**
 * Build a stable composite key for a cross-session task ref.
 *
 * @param sessionId - The owning session ID.
 * @param taskId - The task ID within that session.
 * @returns A colon-delimited composite key suitable for Map/Record keying.
 */
export function makeRefKey(sessionId, taskId) {
    return `${sessionId}:${taskId}`;
}
