release: Themiz на Gitea
This commit is contained in:
+121
-116
@@ -1,95 +1,4 @@
|
||||
{
|
||||
"disableBundledSkills": true,
|
||||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Agent",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks claude-code post-task'"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "TaskCreate|TaskUpdate",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks claude-code post-todo'"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Read|Write|Edit|NotebookEdit|Bash|Agent|WebFetch|WebSearch",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/claude_guard.py\""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "Agent",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks claude-code pre-task'"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionEnd": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks claude-code session-end'"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then printf \"%s\\n\" \"{\\\"systemMessage\\\":\\\"\\\\n\\\\nEntire CLI is enabled but not installed or not on PATH.\\\\nInstallation guide: https://docs.entire.io/cli/installation#installation-methods\\\"}\"; exit 0; fi; exec entire hooks claude-code session-start'"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "mkdir -p \"$CLAUDE_PROJECT_DIR/cases/_logs\" && echo \"Session ended: $(date '+%d.%m.%Y %H:%M')\" >> \"$CLAUDE_PROJECT_DIR/cases/_logs/_session_history.txt\""
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks claude-code stop'"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"UserPromptSubmit": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks claude-code user-prompt-submit'"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"permissions": {
|
||||
"deny": [
|
||||
"Read(./.entire/metadata/**)",
|
||||
@@ -97,11 +6,15 @@
|
||||
"Edit(/.autoloop/stage5.json)",
|
||||
"Edit(/.claude/settings.json)",
|
||||
"Edit(/.claude/skills/humanizer-legal/scripts/scan_legal.sh)",
|
||||
"Edit(/.claude/workflows/themiz-pipeline.js)",
|
||||
"Edit(/config/verdict.json)",
|
||||
"Edit(/scripts/_obshee.py)",
|
||||
"Edit(/scripts/case_graph.py)",
|
||||
"Edit(/scripts/case_paths.py)",
|
||||
"Edit(/scripts/case_paths.py)",
|
||||
"Edit(/scripts/channels.py)",
|
||||
"Edit(/scripts/claude_guard.py)",
|
||||
"Edit(/scripts/themiz_guard.py)",
|
||||
"Edit(/scripts/cli_registry.py)",
|
||||
"Edit(/scripts/cli_router.py)",
|
||||
"Edit(/scripts/context_guard.py)",
|
||||
"Edit(/scripts/document_guard.py)",
|
||||
"Edit(/scripts/gate.sh)",
|
||||
@@ -110,20 +23,13 @@
|
||||
"Edit(/scripts/model_policy.py)",
|
||||
"Edit(/scripts/money_rule.py)",
|
||||
"Edit(/scripts/pd_guard.py)",
|
||||
"Edit(/scripts/personas.py)",
|
||||
"Edit(/scripts/pii_gate.py)",
|
||||
"Edit(/scripts/channels.py)",
|
||||
"Edit(/scripts/preflight_search.py)",
|
||||
"Edit(/scripts/priemka_remont.sh)",
|
||||
"Edit(/scripts/quality_gate.py)",
|
||||
"Edit(/scripts/sreda.py)",
|
||||
"Edit(/scripts/review_packet.py)",
|
||||
"Edit(/scripts/session_log.py)",
|
||||
"Edit(/scripts/spawn_registry.py)",
|
||||
"Edit(/scripts/stage4_spec.py)",
|
||||
"Edit(/scripts/stage5_spec.py)",
|
||||
"Edit(/scripts/stage65_spec.py)",
|
||||
"Edit(/scripts/stage6_spec.py)",
|
||||
"Edit(/scripts/stage7_spec.py)",
|
||||
"Edit(/scripts/stage8_spec.py)",
|
||||
"Edit(/scripts/stage9_spec.py)",
|
||||
"Edit(/scripts/sreda.py)",
|
||||
"Edit(/scripts/swarm_contract.py)",
|
||||
"Edit(/scripts/table_guard.py)",
|
||||
"Edit(/scripts/themiz_status.py)",
|
||||
@@ -131,18 +37,6 @@
|
||||
"Edit(/scripts/verdict.py)"
|
||||
]
|
||||
},
|
||||
"sandbox": {
|
||||
"enabled": true,
|
||||
"failIfUnavailable": true,
|
||||
"autoAllowBashIfSandboxed": false,
|
||||
"allowUnsandboxedCommands": false,
|
||||
"filesystem": {
|
||||
"denyWrite": [
|
||||
"./.claude/settings.json",
|
||||
"./scripts/claude_guard.py"
|
||||
]
|
||||
}
|
||||
},
|
||||
"skillOverrides": {
|
||||
"3-statement-model": "off",
|
||||
"3d-visualizer": "off",
|
||||
@@ -1034,5 +928,116 @@
|
||||
"skill-development": "off",
|
||||
"watch": "off",
|
||||
"writing-rules": "off"
|
||||
},
|
||||
"disableBundledSkills": true,
|
||||
"hooks": {
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Read|Write|Edit|NotebookEdit|Bash|Agent|WebFetch|WebSearch",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/themiz_guard.py\""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "mkdir -p \"$CLAUDE_PROJECT_DIR/cases/_logs\" && echo \"Session ended: $(date '+%d.%m.%Y %H:%M')\" >> \"$CLAUDE_PROJECT_DIR/cases/_logs/_session_history.txt\""
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/session_log.py\""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "[ -f \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" ] || exit 0; exec node \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" hook --agent claude-code",
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "[ -f \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" ] || exit 0; exec node \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" hook --agent claude-code",
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionEnd": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "[ -f \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" ] || exit 0; exec node \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" hook --agent claude-code",
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SubagentStop": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "[ -f \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" ] || exit 0; exec node \"$HOME/.agents/skills/session-capture/scripts/session-capture.mjs\" hook --agent claude-code",
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"enabledPlugins": {
|
||||
"femida-lineup@themiz": true
|
||||
},
|
||||
"extraKnownMarketplaces": {
|
||||
"themiz": {
|
||||
"source": {
|
||||
"source": "directory",
|
||||
"path": "."
|
||||
}
|
||||
}
|
||||
},
|
||||
"sandbox": {
|
||||
"enabled": false,
|
||||
"failIfUnavailable": false,
|
||||
"autoAllowBashIfSandboxed": false,
|
||||
"allowUnsandboxedCommands": true,
|
||||
"filesystem": {
|
||||
"denyWrite": [
|
||||
"./.claude/settings.json",
|
||||
"./scripts/claude_guard.py",
|
||||
"./scripts/themiz_guard.py",
|
||||
"./scripts/context_guard.py",
|
||||
"./scripts/pd_guard.py"
|
||||
]
|
||||
},
|
||||
"excludedCommands": [
|
||||
"python3 scripts/sign_and_pdf.py *",
|
||||
"python3 scripts/practice_search.py *",
|
||||
"python3 scripts/markdown_extract.py *",
|
||||
"python3 themiz-next/run.py *",
|
||||
"bash themiz-next/priemka.sh",
|
||||
"bash themiz-next/priemka.sh *",
|
||||
"python3 themiz-next/priemka_check.py",
|
||||
"python3 themiz-next/priemka_check.py *"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user