Skip to content

fix: keep private registry hash out of Claude hook documents - #5320

Merged
Trecek merged 10 commits into
developfrom
impl-consumer-owned-hooks-20261025-5268652f
Oct 25, 2026
Merged

Trecek merged 10 commits into
developfrom
impl-consumer-owned-hooks-20261025-5268652f

Conversation

@Trecek

@Trecek Trecek commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Claude Code warns about the private _autoskillit_registry_hash key in plugin hook documents. Stop emitting it in generated hooks.json and settings contributions, remove the legacy settings key during eviction, and restrict repair output to the hooks wrapper while preserving nested hook payloads. In-process registry hashing and attestation remain intact.

Add independent consumer-key contract tests for rendered hook documents, settings preservation, legacy-key cleanup, repair, and startup healing. Remove obsolete embedded-hash assertions and their stale test-filter entry.

Fixes #5156.

Validation:

  • The red run reproduced all five intended regression failures.
  • Final task test-local-gate through MCP: 38,437 passed, 368 skipped, 25 xfailed; no failures.
  • pre-commit run --all-files passed.

Rollout: autoskillit install or autoskillit update republishes marketplace and generation copies. autoskillit init removes the stale key from the settings scopes it visits.

@Trecek
Trecek added this pull request to the merge queue Oct 25, 2026
Merged via the queue into develop with commit c293642 Oct 25, 2026
10 checks passed
@Trecek
Trecek deleted the impl-consumer-owned-hooks-20261025-5268652f branch October 25, 2026 22:57
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