Automate venv creation for installed marketplace #98
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Claude Code copies files to ~/.claude/plugins/marketplaces/ but does NOT create venvs. Users must manually run setup.sh, causing 'X MCP servers failed' errors.
Current Workaround
Options to Investigate
Acceptance Criteria
Implementation: Self-Healing SessionStart Hook
Approach Selected
Option: SessionStart Hook with Warning (safer than auto-execution)
The hooks for
projmanandpr-reviewnow include a check at session start:Files Modified
plugins/projman/hooks/hooks.json- Added venv checkplugins/pr-review/hooks/hooks.json- Added venv checkplugins/projman/README.md- Updated SessionStart hook documentationscripts/check-venv.sh- New script for programmatic venv checkingWhy Warning Instead of Auto-Fix
The security hooks flagged automatic script execution from user-installed paths as potentially unsafe. The warning approach:
Acceptance Criteria Status
Next Steps
If fully automatic setup is desired, options include: