fix: critical plugin structure and configuration fixes

- Fix hooks.json: use valid PostToolUse event (not invalid task-completed)
- Move projman/plugin.json to projman/.claude-plugin/plugin.json
- Fix projman/.mcp.json to use venv python paths
- Add cmdb-assistant to marketplace.json
- Update .gitignore: allow .env files (private repo)
- Fix create_labels.py: use env vars instead of hardcoded token
- Add CLAUDE.md critical rules section to prevent future mistakes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-10 23:51:43 -05:00
parent 7f20d06470
commit b6a77d9b35
7 changed files with 79 additions and 26 deletions

View File

@@ -1,9 +1,15 @@
{
"hooks": [
{
"event": "task-completed",
"script": "${CLAUDE_PLUGIN_ROOT}/hooks/cleanup.sh",
"description": "Post-task cleanup: remove temp files, warn about unexpected root files, manage orphans"
}
]
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/cleanup.sh"
}
]
}
]
}
}