fix: convert antfarm from broken submodule to regular directory

Fixes Gitea 500 error caused by invalid submodule reference.
Converted antfarm from pseudo-submodule (missing .gitmodules) to
regular directory with all source files.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Echo
2026-02-11 16:03:37 +00:00
parent 43f441c8ae
commit dc64d18224
102 changed files with 9049 additions and 1 deletions

24
antfarm/AGENTS.md Normal file
View File

@@ -0,0 +1,24 @@
# Antfarm Agents
Antfarm provisions multi-agent workflows for OpenClaw. It installs workflow agent workspaces, wires agents into the OpenClaw config, and keeps a run record per task.
## Why Antfarm
- **Repeatable workflow execution**: Start the same set of agents with a consistent prompt and workspace every time.
- **Structured collaboration**: Each workflow defines roles (lead, developer, verifier, reviewer) and how they hand off work.
- **Traceable runs**: Runs are stored by task title so you can check status without hunting through logs.
- **Clean lifecycle**: Install, update, or uninstall workflows without manual cleanup.
## What it changes in OpenClaw
- Adds workflow agents to `openclaw.json`.
- Creates workflow workspaces under `~/.openclaw/workspaces/workflows`.
- Stores workflow definitions and run state under `~/.openclaw/antfarm`.
- Inserts an Antfarm guidance block into the main agents `AGENTS.md` and `TOOLS.md`.
## Uninstalling
- `antfarm workflow uninstall <workflow-id>` removes the workflows agents, workspaces, and run records.
- `antfarm workflow uninstall --all` wipes all Antfarm-installed workflows and their state.
If something fails, report the exact error and ask the user to resolve it before continuing.