Skip to content

install: wire ui-input-guard and hook-freshness into the inventories - #294

Closed
EdbertChan wants to merge 1 commit into
stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/catch-you-re-right-opener-plus-self-correction--50137440from
stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/wire-ui-input-guard-hook-freshness-inventories--09cebee8
Closed

install: wire ui-input-guard and hook-freshness into the inventories#294
EdbertChan wants to merge 1 commit into
stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/catch-you-re-right-opener-plus-self-correction--50137440from
stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/wire-ui-input-guard-hook-freshness-inventories--09cebee8

Conversation

@EdbertChan

@EdbertChan EdbertChan commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Both hooks join install.sh (link plus settings merge), the README hook table,
the ecosystem ownership table, and test_install's per-hook link and event
assertions.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01KU2pPKob4MJ1NqjsfTNyYJ

Depends-On: #293


Note

Low Risk
Documentation and install/test wiring only; hook behavior lives in separate hook packages (depends on #293).

Overview
Wires ui-input-guard and hook-freshness into the standard install path so they ship with ./install.sh, not only as hook directories in the repo.

install.sh now symlinks ui-input-guard into Claude, Cursor, and Codex hook dirs, and hook-freshness into Claude only. It also runs each hook’s install_claude_hook.py so Claude settings.json gets PreToolUse for ui-input-guard and UserPromptSubmit for hook-freshness. The README hooks table and docs/ecosystem.md inventory list both hooks with their behavior summaries.

tests/test_install.py adds the usual per-hook assertions: symlink targets and the correct Claude event wiring for each hook.

Reviewed by Cursor Bugbot for commit f114441. Bugbot is set up for automated code reviews on this repo. Configure here.

@EdbertChan

EdbertChan commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 hook: hook-freshness warns when the checkout behind the hooks is stale #290
2 hook: ui-input-guard blocks synthetic input at the user's live session #291
3 docs: prove UI work on a disposable surface, not the user's session #292
4 hook(wrong-check-reflect): catch a "You're right" opener plus a self-correction #293
5 install: wire ui-input-guard and hook-freshness into the inventories #294 👈
6 gate: an unchecked file is not a clean file #296

@cursor

cursor Bot commented Sep 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_72ecd66a-e810-4048-8c54-30748f23b591)

@EdbertChan
EdbertChan force-pushed the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/wire-ui-input-guard-hook-freshness-inventories--09cebee8 branch from 6038a41 to e7e0018 Compare September 9, 2026 05:09
@EdbertChan
EdbertChan force-pushed the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/catch-you-re-right-opener-plus-self-correction--50137440 branch from 369c6f3 to 8fa0126 Compare September 9, 2026 05:09
@cursor

cursor Bot commented Sep 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_dde02430-1f56-4a47-affd-04e593c4382f)

@EdbertChan

EdbertChan commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

Revision history

# Type Changes Reason Date
1 initial 6038a41 2026-09-09 05:10 UTC
2 rebase 6038a41 → e7e0018 (rebase only) 2026-09-09 05:10 UTC
3 rebase e7e0018 → 4edc06d (rebase only) 2026-09-09 05:39 UTC
4 rebase 4edc06d → f114441 (rebase only) 2026-09-09 05:49 UTC

@EdbertChan
EdbertChan force-pushed the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/wire-ui-input-guard-hook-freshness-inventories--09cebee8 branch from e7e0018 to 4edc06d Compare September 9, 2026 05:39
@EdbertChan
EdbertChan force-pushed the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/catch-you-re-right-opener-plus-self-correction--50137440 branch from 8fa0126 to 24b8b1c Compare September 9, 2026 05:39
@cursor

cursor Bot commented Sep 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_3b45de74-ee13-4da8-bd99-d5131f31689f)

Both hooks join install.sh (link plus settings merge), the README hook table,
the ecosystem ownership table, and test_install's per-hook link and event
assertions.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KU2pPKob4MJ1NqjsfTNyYJ
Change-Id: I09cebee8542c340a89165d7691256797e13fe7e6
@EdbertChan
EdbertChan force-pushed the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/catch-you-re-right-opener-plus-self-correction--50137440 branch from 24b8b1c to ef70455 Compare September 9, 2026 05:49
@EdbertChan
EdbertChan force-pushed the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/wire-ui-input-guard-hook-freshness-inventories--09cebee8 branch from 4edc06d to f114441 Compare September 9, 2026 05:49
@cursor

cursor Bot commented Sep 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_de51013e-a7e9-4cc5-af7f-68d05890c1e3)

@EdbertChan
EdbertChan deleted the branch stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/catch-you-re-right-opener-plus-self-correction--50137440 September 9, 2026 06:22
@EdbertChan EdbertChan closed this Sep 9, 2026
@EdbertChan
EdbertChan deleted the stack/EdbertChan/reflect/ui-input-guard-hook-freshness-20260908/wire-ui-input-guard-hook-freshness-inventories--09cebee8 branch September 9, 2026 06:22
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