fix: use resolved ipc dirs for recovery flow

This commit is contained in:
Eyejoker
2026-03-23 07:18:47 +09:00
parent 9def49f7fb
commit f5eae07657
6 changed files with 35 additions and 13 deletions

View File

@@ -53,7 +53,9 @@ describe('group folder validation', () => {
it('throws for unsafe folder names', () => {
expect(() => resolveGroupFolderPath('../../etc')).toThrow();
expect(() => resolveGroupIpcPath('/tmp')).toThrow();
expect(() => resolveTaskRuntimeIpcPath('family-chat', '../../etc')).toThrow();
expect(() =>
resolveTaskRuntimeIpcPath('family-chat', '../../etc'),
).toThrow();
expect(() => resolveTaskSessionsPath('family-chat', '/tmp')).toThrow();
});
});