PY4 P4-A6-WP1: Annotate Every HookDef Entry with Codex Compatibility Status#3023
Merged
Trecek merged 1 commit intoMay 26, 2026
Conversation
…status Add # codex: <status> trailing inline comments on all 25 HookDef entries in HOOK_REGISTRY. Add module-level docstring block above the registry with a complete per-hook Codex compatibility table and legend. Status distribution: 18 works-as-is, 3 not-applicable, 2 degraded, 2 fix-required. Add four new structural tests to test_hook_registry.py: - test_hook_registry_has_codex_comments: every HookDef has a codex comment - test_degraded_hooks_are_expected: degraded set matches expected set - test_skill_load_guard_has_codex_bypass: AUTOSKILLIT_AGENT_BACKEND in source - test_write_guard_handles_apply_patch: apply_patch in source No changes to HookDef dataclass fields; HOOK_REGISTRY_HASH unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
Add a
# codex: <status>trailing inline comment on the openingHookDef(line of each of the 25 entries inHOOK_REGISTRY, and insert a module-level docstring block above the list constant that reproduces the complete per-hook Codex compatibility table with a legend. Add four new test functions totests/hooks/test_hook_registry.pythat structurally verify the annotations. No HookDef dataclass fields are added; no hash-influencing changes are made (comments are not serialized by_canonical_registry_payload()).Requirements
Conflict Resolution Decisions
The following files had merge conflicts that were automatically resolved.
Implementation Plan
Plan file:
/home/talon/projects/autoskillit-runs/impl-20260525-235308-030488/.autoskillit/temp/make-plan/py4_p4_a6_wp1_annotate_hookdef_codex_plan_2026-05-25_235700.md🤖 Generated with Claude Code via AutoSkillit
Token Usage Summary
* Step used a non-Anthropic provider; caching behavior may differ.
Token Efficiency
Model Usage Breakdown