Files
Зарубин Филипп 8c7eb255fc chore: track agent sessions in a private Entire checkpoint repository
A public repository must never hold its own agent sessions, and the work still
has to be reproducible. Entire is enabled here with a separate private
checkpoint repository, hooks for Claude Code and Codex, and the git-refs
checkpoint backend.

The release gate now enforces this before any public push: tracked
.entire/settings.json, tracking enabled, automatic session pushing on, and a
checkpoint repository that exists, is separate from this repository, and is
private. Unknown visibility fails closed.
2026-08-29 19:09:17 +03:00

89 lines
2.3 KiB
JSON

{
"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
}
]
}
]
}
}