Fix Docker test infrastructure

Fixed multiple issues in docker/test-env:
- Changed Node.js installation to use official NodeSource repo (fixes npm compatibility)
- Made repository volume mounts writable (removed :ro flag)
- Fixed agents copy path (removed incorrect /agents/ subdirectory)
- Fixed critical agent paths (studio-coach in bonus/, removed agent-updater)
- Added explicit log file creation to fix permission errors
- Removed test-results volume mount (caused permission issues)

Test results: Manual installation now shows 28/35 tests passing
- All 38 agents install correctly
- All critical agents verified
- MCP tools accessible via npx
- Minor: Claude Code verification script has false negative
- Minor: MCP global npm installs fail (network issue, npx works)
This commit is contained in:
uroma
2026-01-16 10:45:39 +00:00
Unverified
parent 699087342f
commit 18fa867922
6 changed files with 325 additions and 16 deletions

View File

@@ -18,6 +18,7 @@ mkdir -p "$RESULTS_DIR"
# Log file
LOG_FILE="$RESULTS_DIR/test-$(date +%Y%m%d-%H%M%S).log"
touch "$LOG_FILE"
# Logging functions
log_info() {
@@ -201,8 +202,8 @@ verify_agents() {
"engineering/frontend-developer.md"
"engineering/backend-architect.md"
"marketing/tiktok-strategist.md"
"project-management/studio-coach.md"
"bonus/agent-updater.md"
"bonus/studio-coach.md"
"project-management/experiment-tracker.md"
)
for agent in "${CRITICAL_AGENTS[@]}"; do