agent-orchestrator/packages/cli
Prateek 6a2be7ebeb fix: agent hook metadata path and test directory leakage
Addresses two bugbot findings:

1. HIGH SEVERITY: Agent hook constructs wrong metadata path
   - Simplified hook path logic since AO_DATA_DIR now points to project-specific sessions directory
   - Removed conditional nesting that created non-existent double-nested paths
   - Changed from: $AO_DATA_DIR/${AO_PROJECT_ID}-sessions/$AO_SESSION
   - Changed to: $AO_DATA_DIR/$AO_SESSION

2. MEDIUM SEVERITY: Tests leak directories to user's home directory
   - Fixed status.test.ts to use tmpDir instead of hardcoded /home/user/my-app
   - Fixed plugin-integration.test.ts to use tmpDir instead of hardcoded /tmp/test-app
   - Both tests now create directories only in temporary test directories

All tests pass, lint and typecheck clean.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-17 23:36:24 +05:30
..
__tests__ fix: agent hook metadata path and test directory leakage 2026-02-17 23:36:24 +05:30
src fix: address bugbot issues (project ID mismatch, prefix collision, redundant computation) 2026-02-17 22:39:05 +05:30
templates/rules feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
package.json feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
tsconfig.json feat: scaffold TypeScript monorepo with all plugin interfaces 2026-02-13 17:02:42 +05:30
vitest.config.ts feat: implement CLI with all commands (init, status, spawn, session, send, review-check, dashboard, open) (#6) 2026-02-14 16:14:27 +05:30