File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,12 @@ def main() -> int:
110110 response = {
111111 "hookSpecificOutput" : {
112112 "hookEventName" : "Stop" ,
113- "decision" : "block " ,
113+ "decision" : "warn " ,
114114 "reason" : (
115115 "You have uncommitted TypeScript changes. "
116- "Before finishing, use the run-pre-commit-checks skill "
116+ "Before finishing, consider using the run-pre-commit-checks skill "
117117 "or manually run: npm run lint && npm run compile-tests && npm run unittest. "
118- "If checks pass and changes are ready, commit them. "
119- "If this session is just research/exploration, you can proceed without committing."
118+ "Ask the user whether to commit or leave changes uncommitted."
120119 ),
121120 }
122121 }
@@ -128,10 +127,10 @@ def main() -> int:
128127 response = {
129128 "hookSpecificOutput" : {
130129 "hookEventName" : "Stop" ,
131- "decision" : "block " ,
130+ "decision" : "warn " ,
132131 "reason" : (
133132 "You have staged changes that haven't been committed. "
134- "Either commit them with a proper message or unstage them before finishing ."
133+ "Ask the user whether to commit them or leave them staged ."
135134 ),
136135 }
137136 }
You can’t perform that action at this time.
0 commit comments