Add Claude Code web SessionStart hook (canonical Tap House setup)#21
Merged
Conversation
Same canonical hook as the sibling repos: recursive submodule init (the dsptap kernel dependency), pre-commit install against the pinned config, and a hook-environment warm for the container snapshot. Web-only, synchronous, idempotent. Candidate for the taphouse sync set. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BuUawafae7RR2ySWabuJcs
The kernel conventions (prepare/process shape, allocation-free setters, ramp house pattern, provenance and published-literature-only policy, honest limits), the style gates (pre-commit + the web SessionStart hook; tidy as a second compiler), the test house patterns (oracle-based measurement, material contracts), the capi/notebook verification layer, the book's measured-claims promise, and the cross-repo pin flow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BuUawafae7RR2ySWabuJcs
TapHouse has adopted the hook into its sync set; this re-sync updates the header to the canonical provenance wording so the copy is byte-identical and passes the drift guard once the TapHouse tag advances past v4. No functional change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BuUawafae7RR2ySWabuJcs
v5 canonicalizes the Claude Code web SessionStart hook (tap/TapHouse#4 merged); this branch already carries the synced hook, so the v5 drift guard — which now covers it — passes by construction. Both the reusable workflow ref and the comparison ref move together. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BuUawafae7RR2ySWabuJcs
The style workflow references taphouse@v5, which did not exist when the ref bump was pushed; this empty commit re-triggers the runs now that the tag is live. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BuUawafae7RR2ySWabuJcs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The same canonical hook as tap/DspTap#4: fresh web-session containers clone bare (no submodules, no pre-commit hook), so commits can run unformatted past the local gate and fail clang-format only in CI. At session start the hook does a recursive submodule init (the dsptap kernel dependency), installs
pre-commitagainst the pinned canonical config, and warms the hook environment into the container snapshot.Web-only (
CLAUDE_CODE_REMOTEguard), synchronous, idempotent. Validated by running the hook,pre-commit run clang-formaton a kernel header, and a single Catch2 scenario.Candidate for the taphouse sync set so the whole Tap family carries the identical hook; the TapTools-Max copy rides tap/TapTools-Max#56.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BuUawafae7RR2ySWabuJcs
Generated by Claude Code