diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..66ecaab --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,84 @@ +{ + "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": "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": "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/**)" + ] + } +} diff --git a/.codex/hooks.json b/.codex/hooks.json new file mode 100644 index 0000000..79c5f77 --- /dev/null +++ b/.codex/hooks.json @@ -0,0 +1,88 @@ +{ + "hooks": { + "PostToolUse": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks codex post-tool-use'", + "timeout": 30 + } + ] + } + ], + "SessionEnd": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks codex session-end'", + "timeout": 3 + } + ] + } + ], + "SessionStart": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then printf \"%s\\n\" \"{\\\"systemMessage\\\":\\\"Entire CLI is enabled but not installed or not on PATH. Installation guide: https://docs.entire.io/cli/installation#installation-methods\\\"}\"; exit 0; fi; exec entire hooks codex session-start'", + "timeout": 30 + } + ] + } + ], + "Stop": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks codex stop'", + "timeout": 30 + } + ] + } + ], + "SubagentStart": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks codex subagent-start'", + "timeout": 30 + } + ] + } + ], + "SubagentStop": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks codex subagent-stop'", + "timeout": 30 + } + ] + } + ], + "UserPromptSubmit": [ + { + "matcher": null, + "hooks": [ + { + "type": "command", + "command": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks codex user-prompt-submit'", + "timeout": 30 + } + ] + } + ] + } +} diff --git a/.entire/.gitignore b/.entire/.gitignore new file mode 100644 index 0000000..e66987d --- /dev/null +++ b/.entire/.gitignore @@ -0,0 +1,5 @@ +tmp/ +settings.local.json +metadata/ +logs/ +redactors/local/ diff --git a/.entire/settings.json b/.entire/settings.json new file mode 100644 index 0000000..851d217 --- /dev/null +++ b/.entire/settings.json @@ -0,0 +1,14 @@ +{ + "enabled": true, + "strategy_options": { + "checkpoint_remote": { + "provider": "github", + "repo": "zarubinvibe/zeuz-checkpoints" + } + }, + "checkpoints": { + "primary": { + "type": "git-refs" + } + } +} diff --git a/AGENTS.md b/AGENTS.md index f9dc3c1..05fc0d0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,3 +40,6 @@ The smoke test must end with `ГЕЙТ ПРОЙДЕН ✓`. Review the diff befo - `AGENTS.md` holds the rules; `CLAUDE.md`, `GEMINI.md`, `.github/copilot-instructions.md`, and `.cursor/rules/*.mdc` only point here. - Run `public-repo-gate check --repo . --release-intent public` before any push, and fix every blocker. +- Agent work here is tracked by Entire, and its checkpoints go to the separate private repository + `zarubinvibe/zeuz-checkpoints`. Session capture stays on: a public repository never stores its own + checkpoints, and the release gate blocks a push when tracking is disabled or the checkpoint repository is public.