chezmoi-source (чистая пересборка, не дамп 1.2 ГБ): - dot_claude: CLAUDE.md лин-роутер, AGENTS.md.tmpl (VPS вычищен), settings.json.tmpl (deny-щит 20 + security-guard hook), rules (structure + ECC 21 язык), 30 generic ECC-агентов, health-check - dot_codex: symlink-паритет; dot_agents: registry 13 скриптов HOME-генерик + методология docs - плагины: plugins.manifest + bootstrap Слой 1b (marketplace+install) - launchd: health.plist (PATH-фикс 127) + session-reaper.example - smoke++: secret-токен guard + канон-проверки (зелёный) - 0 hard личных данных; cut личного (kb/references/gsd/owner) → Ф4
46 lines
1.2 KiB
Cheetah
46 lines
1.2 KiB
Cheetah
{
|
|
"permissions": {
|
|
"deny": [
|
|
"Read(/{{ .chezmoi.homeDir }}/.claude/secrets/**)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.claude/server.env)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.claude/session-env/**)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.ssh/**)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.secrets/**)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.config/gh/**)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.git-credentials)",
|
|
"Read(/{{ .chezmoi.homeDir }}/.claude/mcp.json)",
|
|
"Read(**/.env)",
|
|
"Read(**/.env.*)",
|
|
"Read(**/*secret*)",
|
|
"Read(**/*credential*)",
|
|
"Read(**/id_rsa*)",
|
|
"Read(**/*.pem)",
|
|
"Read(**/.scrapegraphai/**)",
|
|
"Read(**/references/secrets-map.md)",
|
|
"Edit(**/.env)",
|
|
"Write(**/.env)",
|
|
"Edit(**/*secret*)",
|
|
"Write(**/*secret*)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Write|Edit|MultiEdit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"{{ .chezmoi.homeDir }}/.claude/hooks/security-guard.sh\"",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enabledPlugins": {
|
|
"superpowers@superpowers-dev": true,
|
|
"ui-ux-pro-max@ui-ux-pro-max-skill": true,
|
|
"caveman@caveman": true
|
|
}
|
|
}
|