Skip to content

chore(hooks): vendor _bootstrap.py + re-sync canonical hooks (attune-ai #1313)#98

Merged
silversurfer562 merged 1 commit into
mainfrom
chore/sync-bootstrap-hook
Jul 11, 2026
Merged

chore(hooks): vendor _bootstrap.py + re-sync canonical hooks (attune-ai #1313)#98
silversurfer562 merged 1 commit into
mainfrom
chore/sync-bootstrap-hook

Conversation

@silversurfer562

Copy link
Copy Markdown
Member

What

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. 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 against post-#1313 attune-ai 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).

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

…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

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@silversurfer562 silversurfer562 merged commit 56e54e2 into main Jul 11, 2026
14 checks passed
@silversurfer562 silversurfer562 deleted the chore/sync-bootstrap-hook branch July 11, 2026 15:00
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