diff --git a/.gitignore b/.gitignore index 1679fe2..3541803 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,4 @@ .openclaw/workspace/*.env .idea +.openclaw/subagents/runs.json \ No newline at end of file diff --git a/.openclaw/memory/main.sqlite b/.openclaw/memory/main.sqlite deleted file mode 100644 index d56f8eb..0000000 Binary files a/.openclaw/memory/main.sqlite and /dev/null differ diff --git a/.openclaw/tasks/.gitkeep b/.openclaw/tasks/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/.openclaw/workspace/.learnings/LEARNINGS.md b/.openclaw/workspace/.learnings/LEARNINGS.md index 1b7fc7d..518755a 100644 --- a/.openclaw/workspace/.learnings/LEARNINGS.md +++ b/.openclaw/workspace/.learnings/LEARNINGS.md @@ -174,4 +174,29 @@ User explicitly stated: "với mọi dự án thì tôi đều muốn mọi th - First-Seen: 2026-03-31 - Last-Seen: 2026-03-31 +--- +## New Learnings — 2026-04-03 (ClawTeam Deep Dive) + +### [LRN-20260403-001] no_sessions_spawn_for_multi_agent + +**Logged**: 2026-04-03T09:30:00Z +**Priority**: critical +**Status**: resolved +**Area**: orchestration + +### Summary +NEVER use sessions_spawn for multi-agent coordination. ALWAYS use clawteam CLI. + +### Suggested Action +- Never call sessions_spawn for multi-agent work +- If used by mistake → immediately kill and redo with clawteam + +### Metadata +- Source: user_correction +- Related Files: AGENTS.md, RULES.md +- Tags: clawteam, orchestration, sessions_spawn +- Pattern-Key: clawteam.no_subagent +- Recurrence-Count: 3 +- First-Seen: 2026-04-03 + --- \ No newline at end of file diff --git a/.openclaw/workspace/AGENTS.md b/.openclaw/workspace/AGENTS.md index 45f8d4f..f36edf7 100644 --- a/.openclaw/workspace/AGENTS.md +++ b/.openclaw/workspace/AGENTS.md @@ -178,16 +178,16 @@ No peer or leader review should begin until the worker has completed their self- Enforce this sequence in your task board by marking statuses appropriately (e.g., `needs-self-review` → `needs-peer-review` → `needs-leader-review` → `completed`). ClawTeam enables you to: -- Spawn teams of specialized agents via `oh team spawn-team -n ` -- Create tasks with dependencies using `oh task create "..." -o ` -- Spawn workers with `oh spawn tmux openclaw --team --agent-name --task "..."` -- Monitor progress via `oh board show/attach ` -- Coordinate via `oh inbox send/receive "..."` +- Spawn teams of specialized agents via `clawteam team spawn-team -n ` +- Create tasks with dependencies using `clawteam task create "..." -o ` +- Spawn workers with `clawteam spawn tmux openclaw --team --agent-name --task "..."` +- Monitor progress via `clawteam board show/attach ` +- Coordinate via `clawteam inbox send/receive "..."` - Isolate work via git worktrees (no merge conflicts between parallel agents) -- Wait for sub-agents with `oh task wait ` -- Launch pre-built template teams with `oh launch