singularity-forge/src/resources
Tom Boucher 75a5dd08ad fix: add anti-pattern rule against bash with & to prevent agent hangs (#733)
The bash tool waits for stdout/stderr file descriptors to close. When the
LLM runs 'python -m http.server 8080 &', the backgrounded process inherits
stdout and keeps it open — the bash call hangs indefinitely.

The bg_shell tool exists for exactly this purpose (detached process groups,
readiness detection, lifecycle management). The system prompt already said
to use bg_shell for servers but didn't explicitly warn against bash with &.

Added:
- Explicit anti-pattern: 'Never use bash with & to background a process'
- Expanded background processes section explaining why & hangs
- Both reference bg_shell start as the correct alternative
2026-03-16 19:20:09 -04:00
..
agents fix: type errors in claude-import.ts and marketplace-discovery.ts 2026-03-16 14:46:31 -04:00
extensions fix: add anti-pattern rule against bash with & to prevent agent hangs (#733) 2026-03-16 19:20:09 -04:00
skills feat: add MCP server mode, /lint skill, E2E smoke tests 2026-03-16 13:56:31 -05:00
GSD-WORKFLOW.md docs: sync GSD workflow resource (#476) 2026-03-15 18:23:52 -06:00