Skip to content

chore(claude): remove custom Claude Code hook gates (codex + hfs-policy)#156

Merged
smunini merged 2 commits into
mainfrom
chore/remove-codex-gate
Jun 14, 2026
Merged

chore(claude): remove custom Claude Code hook gates (codex + hfs-policy)#156
smunini merged 2 commits into
mainfrom
chore/remove-codex-gate

Conversation

@smunini

@smunini smunini commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

What

Removes all custom Claude Code hooks added in #147 and their config:

Codex plan/final review gate (fail-closed; blocks ExitPlanMode/Stop when no Codex binary is present):

  • .claude/hooks/codex-verify-plan.sh, codex-final-plan-review.sh, codex-gate-log.sh
  • .claude/schemas/codex-plan-review.schema.json, codex-final-review.schema.json

hfs-policy.sh (fmt/clippy/test completion gate, [skip ci] commit guard, long-build confirmations, prompt/session context):

  • .claude/hooks/hfs-policy.sh

Plus the now-empty .claude/settings.json (all hook wiring removed).

Why

The Codex gates fail closed and block planning/stop; the team opted to drop the custom hook layer entirely.

Scope

Untouched: all .claude/skills and .agents/skills, AGENTS.md, and CLAUDE.md. No source code changes.

smunini added 2 commits June 13, 2026 21:06
The Codex plan/final review gates (codex-verify-plan.sh, codex-final-plan-review.sh,
codex-gate-log.sh + the two schemas) fail closed when no Codex binary is present,
blocking ExitPlanMode and Stop. Removes the hooks, schemas, and their settings.json
wiring. The hfs-policy.sh hooks, shared .claude/.agents skills, AGENTS.md, and
CLAUDE.md are untouched.
Removes the remaining custom hook (fmt/clippy/test completion gate, [skip ci]
commit guard, long-build confirmations, prompt/session context) and the now-empty
.claude/settings.json. No custom Claude Code hooks remain; .claude/skills, .agents,
AGENTS.md, and CLAUDE.md are untouched.
@smunini smunini changed the title chore(claude): remove Codex plan-review gate hooks chore(claude): remove custom Claude Code hook gates (codex + hfs-policy) Jun 14, 2026
@smunini smunini merged commit 1cd9053 into main Jun 14, 2026
@smunini smunini deleted the chore/remove-codex-gate branch June 14, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant