- Register Impeccable's design-detector PostToolUse and Stop hooks in the Codex config through new no-op-safe wrappers; Claude already gets them from the Impeccable plugin. - Make Caveman Claude-only: a '-' codex_method marks Claude-only entries, which the Codex selector omits and sync removes from owned Codex installs. Drop the thinkhome Caveman Windows hook repair. - Remove Anthropic Frontend Design from the manifest, plugin workflow, and docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
454 B
Bash
8 lines
454 B
Bash
#!/usr/bin/env bash
|
|
# Codex PostToolUse/Stop: run the Impeccable design detector when its Codex skill is installed; otherwise a no-op.
|
|
# Claude receives the same hooks from the Impeccable plugin. Projects can still opt out with `impeccable hooks off`.
|
|
for skill in "$HOME/.agents/skills/impeccable" "${CODEX_HOME:-$HOME/.codex}/skills/impeccable"; do
|
|
if [ -f "$skill/scripts/impeccable" ]; then exec sh "$skill/scripts/impeccable" hook; fi
|
|
done
|
|
exit 0
|