feat: add rule 55 (deployment cleanup), commit flex terminal + double-subscribe fix
This commit is contained in:
parent
12d96bcb84
commit
0225fdf3c9
1 changed files with 12 additions and 0 deletions
12
.claude/rules/55-deployment-cleanup.md
Normal file
12
.claude/rules/55-deployment-cleanup.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Deployment Cleanup
|
||||
|
||||
Before launching any app (Electrobun, Tauri, GPUI, Dioxus), always kill previous instances first.
|
||||
|
||||
## Rules
|
||||
|
||||
- Before `electrobun dev` or any app launch: `pkill -f "launcher\|AgentOrchestrator\|agor-ptyd" 2>/dev/null; sleep 1`
|
||||
- Before `npm run tauri dev`: kill existing tauri processes
|
||||
- Before launching GPUI/Dioxus prototypes: `pkill -f "agor-gpui\|agor-dioxus" 2>/dev/null`
|
||||
- Check for port conflicts: verify the target port is free before binding
|
||||
- Never leave orphaned daemon processes (agor-ptyd) running after testing
|
||||
- When rebuilding: kill → build → launch (in that order, never launch before kill)
|
||||
Loading…
Add table
Add a link
Reference in a new issue