Skip to content

Commit 9136371

Browse files
author
Ubuntu
committed
Revert "fix: Increase stop hook timeout from 30s to 2 minutes"
This reverts commit d94cae0.
1 parent b195a96 commit 9136371

File tree

4 files changed

+2227
-2264
lines changed

4 files changed

+2227
-2264
lines changed

.claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
{
5050
"type": "command",
5151
"command": ".claude/tools/amplihack/hooks/stop.py",
52-
"timeout": 120000
52+
"timeout": 30000
5353
}
5454
]
5555
}

docs/index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ amplihack copilot
120120
- [Profile Management](PROFILE_MANAGEMENT.md) - Multiple environment configurations
121121
- [Proxy Configuration](PROXY_CONFIG_GUIDE.md) - Network proxy setup (Azure OpenAI, custom endpoints)
122122
- [Hook Configuration](HOOK_CONFIGURATION_GUIDE.md) - Customize framework behavior
123-
- [Configure Hook Timeouts](howto/configure-hook-timeouts.md) - Adjust timeout thresholds for stop hook operations
124123
- [Memory Configuration Consent](features/memory-consent-prompt.md) - Intelligent memory settings with timeout protection
125124
- [Verify .claude/ Staging](howto/verify-claude-staging.md) - Check that framework files are properly staged
126125

@@ -148,7 +147,6 @@ Understand the philosophy and architecture behind amplihack.
148147
- [Project Overview](claude/context/PROJECT.md) - System architecture
149148
- [Development Patterns](claude/context/PATTERNS.md) - Proven implementation patterns
150149
- [Unified Staging Architecture](concepts/unified-staging-architecture.md) - How .claude/ staging works across all commands
151-
- [Hook Timeout Tracking](concepts/hook-timeout-tracking.md) - How stop hook manages 30s timeout budget
152150
- [Blarify Architecture](blarify_architecture.md) - Understanding the Blarify integration
153151
- [Documentation Knowledge Graph](documentation_knowledge_graph.md) - How docs connect
154152

@@ -427,8 +425,8 @@ Robust handling of conversation compaction in long sessions:
427425

428426
- [Smart Memory Management](features/smart-memory-management.md) - Automatic Node.js memory optimization for Claude Code
429427
- [Claude.md Preservation](features/claude-md-preservation.md) - Preserve custom instructions
430-
<!-- Neo4j removed - now using Kuzu embedded database (no session cleanup needed) -->
431-
<!-- - [Shutdown Detection](concepts/shutdown-detection.md) - Graceful exit handling (see stop-hook-exit-hang in Troubleshooting) -->
428+
<!-- Neo4j removed - now using Kuzu embedded database (no session cleanup needed) -->
429+
<!-- - [Shutdown Detection](concepts/shutdown-detection.md) - Graceful exit handling (see stop-hook-exit-hang in Troubleshooting) -->
432430

433431
### Third-Party Integrations
434432

@@ -557,7 +555,6 @@ Quick references, guides, and additional resources.
557555
### Quick References
558556

559557
- [Command Selection Guide](commands/COMMAND_SELECTION_GUIDE.md) - Choose the right command
560-
- [Hook Timeout API Reference](reference/hook-timeout-api.md) - TimeoutTracker implementation details
561558
- [Platform Bridge API Reference](reference/platform-bridge-api.md) - Complete API documentation
562559
- [Doc Graph Quick Reference](doc_graph_quick_reference.md) - Navigate documentation
563560
<!-- Neo4j Quick Reference removed - now using Kuzu embedded database -->

src/amplihack/utils/uvx_settings_template.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{
4747
"type": "command",
4848
"command": ".claude/tools/amplihack/hooks/stop.py",
49-
"timeout": 120000
49+
"timeout": 30000
5050
}
5151
]
5252
}
@@ -72,17 +72,6 @@
7272
}
7373
]
7474
}
75-
],
76-
"SessionEnd": [
77-
{
78-
"hooks": [
79-
{
80-
"type": "command",
81-
"command": ".claude/tools/amplihack/hooks/session_end.py",
82-
"timeout": 10000
83-
}
84-
]
85-
}
8675
]
8776
}
8877
}

0 commit comments

Comments
 (0)