chore(hooks): vendor _bootstrap.py + re-sync canonical hooks (attune-ai #1313)#98
Merged
Merged
Conversation
…ai #1313) attune-ai PR #1313 (cross-platform hook layer) added _bootstrap.py to the canonical plugin/hooks/ — stdlib-only UTF-8 stdio hardening + repo-src sys.path bootstrap — and format_on_save.py now imports it (with a graceful ImportError fallback, so vendored copies without it silently skip the UTF-8 hardening). - Add _bootstrap.py to HOOK_FILES in the Makefile sync-hooks section - make sync-hooks ATTUNE_AI_ROOT=~/attune-ai against post-#1313 main (56f84f25e): vendors _bootstrap.py and re-syncs the full hook closure (_state, compact_warning, format_on_save, security_guard, spec_audit, spec_orient) + refreshed .canonical-sha256 Mirrors the spec-status-integrity task-7 sync PRs (rag #192, gui #86, help #23, author #97). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
What
attune-ai PR #1313 (cross-platform hook layer) added
_bootstrap.pyto the canonicalplugin/hooks/— stdlib-only UTF-8 stdio hardening + repo-srcsys.pathbootstrap.format_on_save.pynow imports it with a graceful ImportError fallback, so vendored copies without it silently skip the UTF-8 hardening._bootstrap.pytoHOOK_FILESin the Makefile sync-hooks sectionmake sync-hooksagainst post-#1313 attune-ai main (56f84f25e): vendors_bootstrap.pyand re-syncs the full hook closure (_state,compact_warning,format_on_save,security_guard,spec_audit,spec_orient) + refreshed.canonical-sha256Mirrors the spec-status-integrity task-7 sync PRs (rag #192, gui #86, help #23, author #97).
Tests
Full suite in a fresh worktree venv: 1242 passed, 38 skipped. Drift-guard tests (
test_claude_hooks_drift) pass against the refreshed manifest.🤖 Generated with Claude Code