feat: update .gitignore to include flows directory and adjust clawteam templates exclusion; enhance LEARNINGS.md and RULES.md with critical spawn method guidelines; revise TOOLS.md to emphasize tmux usage; modify SKILL.md files to prohibit subprocess backend; increase memory limit in docker-compose.yml

This commit is contained in:
2026-04-07 09:59:41 +07:00
parent c4c881bba2
commit 9ec15cb4ea
7 changed files with 80 additions and 11 deletions
@@ -214,9 +214,9 @@ ls ~/.clawteam/workspaces/ 2>&1 | grep -q "No such file" && echo "OK: no workspa
Add `--transport p2p` and `export CLAWTEAM_TRANSPORT=p2p` before Step 3 to test ZeroMQ direct messaging with file fallback. The rest of the steps remain the same.
### With subprocess Backend
### ⚠️ Do NOT use subprocess backend
Replace `clawteam spawn` with `clawteam spawn subprocess claude` to test the subprocess backend instead of tmux. Note: `board attach` and tmux verification steps won't apply.
The `subprocess` backend causes agents to die immediately after the shell exits. **Always use the tmux backend** for persistent agent sessions.
## What This Test Validates
@@ -224,7 +224,7 @@ Replace `clawteam spawn` with `clawteam spawn subprocess claude` to test the sub
|-----------|-----------|
| `team spawn-team` | Team creation with leader |
| `task create --blocked-by` | Task dependency chains |
| `spawn` (tmux backend) | Agent process launch with worktree isolation |
| `spawn` (tmux backend only) | Agent process launch with worktree isolation |
| Identity propagation | Env vars passed to sub-agents |
| Agent coordination | Workers update task status and send messages to leader |
| Auto-unblock | Blocked task unblocked when dependencies complete |
@@ -122,7 +122,7 @@ clawteam board live my-team --interval 3
| Setting | Default | Override |
|---------|---------|----------|
| Backend | `tmux` | `clawteam spawn subprocess ...` |
| Backend | `tmux` only | Use `clawteam spawn tmux openclaw` — subprocess NOT allowed |
| Command | `claude` (default) / `openclaw` (ours) | `clawteam spawn tmux openclaw` for our setup |
| Workspace | `auto` (git worktree) | `--no-workspace` or config `workspace=never` |
| Permissions | skip | `--no-skip-permissions` or config `skip_permissions=false` |