Skip to content

chore(hooks): re-vendor Claude-hooks to attune-ai canonical#186

Merged
silversurfer562 merged 1 commit into
mainfrom
chore/vendor-spec-status-integrity
Jun 18, 2026
Merged

chore(hooks): re-vendor Claude-hooks to attune-ai canonical#186
silversurfer562 merged 1 commit into
mainfrom
chore/vendor-spec-status-integrity

Conversation

@silversurfer562

Copy link
Copy Markdown
Member

Re-syncs _state.py, spec_orient.py, and new spec_audit.py to the attune-ai canonical (plugin/hooks/). attune-rag was behind by both the self-truthing reconciler and spec-status-integrity, so this is a fuller re-sync to a byte-match (larger diff than the other layers).

Also vendors _sdk_gate.py — a transitive dependency of the updated spec_orient.py that attune-rag had never picked up (without it the hook ModuleNotFoundErrors).

test_claude_hooks_behavior.py passes 7/7; spec_orient/spec_audit smoke clean (exit 0).

Source: Smart-AI-Memory/attune-ai#933 (spec-status-integrity, task 7).

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
attune-rag Ready Ready Preview, Comment Jun 17, 2026 7:45pm

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Perf delta — within baseline

Blocking on regression in: keyword_retriever_retrieve.cpu, rag_pipeline_run.cpu. Other metrics are advisory and don't block merge.

Metric Baseline mean (s) Current mean (s) Δ Threshold (s) Status
directory_corpus_load.cpu 0.000055 0.000050 -9.1% 0.000059 ok
directory_corpus_load.wall 0.000054 0.000050 -7.4% 0.000058 ok
keyword_retriever_retrieve.cpu 0.005437 0.003544 -34.8% 0.005631 ok
keyword_retriever_retrieve.wall 0.005437 0.003544 -34.8% 0.005632 ok
rag_pipeline_run.cpu 0.000633 0.000603 -4.7% 0.000793 ok
rag_pipeline_run.wall 0.000632 0.000602 -4.7% 0.000793 ok

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Downstream attune-gui — green

Blocking gate (Phase 4 W3.2 onwards). Failure here fails the job and blocks merge.

Field Value
attune-rag PR SHA 03c8fd1fec3c6060f25ddcdedbf6e0362952400a
attune-gui ref feature/attune-rag-0.2-editor-rename
Test selector pytest sidecar/tests -k 'editor or rag'
Status ✅ pass
Workflow run link

Re-syncs the vendored Claude session-hooks to the attune-ai canonical
(plugin/hooks/) via make sync-hooks. attune-rag was behind by the self-truthing
reconciler, spec-status-integrity, and several other hooks, so this is a fuller
re-sync: updates _state.py, spec_orient.py, compact_warning.py, format_on_save.py,
security_guard.py; adds new spec_audit.py and the missing _sdk_gate.py (a
transitive dep of spec_orient.py). Registers both new hooks in HOOK_FILES and
refreshes .canonical-sha256 so the hook-drift guard passes. Source: attune-ai#933.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 17, 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 54ae62c into main Jun 18, 2026
22 checks passed
@silversurfer562 silversurfer562 deleted the chore/vendor-spec-status-integrity branch June 18, 2026 02:08
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