feat: re-review on post-approval changes, container improvements

- Compare git HEAD at reviewer approval vs owner finalize to detect
  new code changes after DONE verdict. Re-trigger reviewer if changed,
  complete if unchanged (commit-only is fine).
- Record approved HEAD in source_ref when reviewer says DONE
- Add pnpm store mount, pre-flight checks, idle timeout for containers
- Clean up orphaned containers on shutdown
This commit is contained in:
Eyejoker
2026-03-29 23:00:56 +09:00
parent b965a7e43d
commit c28fba0478
2 changed files with 43 additions and 10 deletions

View File

@@ -87,7 +87,13 @@ function detectPnpmStorePath(workspaceDir: string): string | null {
/* pnpm not available */
}
// Fallback to default location
const defaultStore = path.join(os.homedir(), '.local', 'share', 'pnpm', 'store');
const defaultStore = path.join(
os.homedir(),
'.local',
'share',
'pnpm',
'store',
);
if (fs.existsSync(defaultStore)) return defaultStore;
return null;
}