agent-orchestrator/packages/plugins
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
..
agent-aider feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
agent-claude-code fix: agent hook metadata path and test directory leakage 2026-02-17 23:36:24 +05:30
agent-codex feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
agent-opencode feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
notifier-composio feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
notifier-desktop feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
notifier-slack feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
notifier-webhook feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
runtime-process feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
runtime-tmux feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
scm-github fix: resolve all lint and typecheck errors 2026-02-17 22:29:46 +05:30
terminal-iterm2 feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
terminal-web feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
tracker-github feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
tracker-linear feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
workspace-clone feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
workspace-worktree feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30