diff options
| author | Morgan Lunt <morganl@anthropic.com> | 2026-09-25 16:12:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-25 16:12:23 -0700 |
| commit | fa59bc9037741ecfa131aa27938272605710d7b2 (patch) | |
| tree | 068d2fe6cb3f530c305d1e21bc129ab2c9b49dc6 /plugins/code-modernization/hooks/hooks.json | |
| parent | ca08d5e47d6402db586d37780c559a0c4c7ded9a (diff) | |
| parent | c8874f5ad883e26428f483ffa4d537cc81489e64 (diff) | |
Merge pull request #6309 from anthropics/morganl/code-modernization-consolidated
code-modernization: guided workflow with independent proof
Diffstat (limited to 'plugins/code-modernization/hooks/hooks.json')
| -rw-r--r-- | plugins/code-modernization/hooks/hooks.json | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/plugins/code-modernization/hooks/hooks.json b/plugins/code-modernization/hooks/hooks.json new file mode 100644 index 00000000..4e14b065 --- /dev/null +++ b/plugins/code-modernization/hooks/hooks.json @@ -0,0 +1,74 @@ +{ + "description": "The modernization pane and estate map, x-ray reads, the rule review deck, the sign-off dialog and the fleet view, and usage counts (whole numbers only, see the README)", + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" command", + "timeout": 10, + "asyncRewake": true + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" state", + "timeout": 10, + "asyncRewake": true + }, + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" run", + "timeout": 10, + "asyncRewake": true + } + ] + } + ], + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" health", + "timeout": 10, + "asyncRewake": true + } + ] + } + ], + "PostToolUseFailure": [ + { + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" failure", + "timeout": 10, + "asyncRewake": true + } + ] + } + ], + "StopFailure": [ + { + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" failure", + "timeout": 10, + "asyncRewake": true + } + ] + } + ] + }, + "modules": [ + "./register.ts" + ] +} |
