88 lines
2.1 KiB
Markdown
88 lines
2.1 KiB
Markdown
# Antfarm Workflow - Echo
|
|
|
|
**Instalat:** github.com/snarktank/antfarm
|
|
**CLI:** `antfarm` (în PATH, global)
|
|
**Dashboard:** https://moltbot.tailf7372d.ts.net:3333
|
|
**Docs:** ~/clawd/antfarm/README.md, ~/clawd/antfarm/docs/creating-workflows.md
|
|
|
|
---
|
|
|
|
## Flux rapid (pentru Echo)
|
|
|
|
### 1. Primesc request de la Marius
|
|
**EX:** "Vreau să construiesc un Habit tracker în dashboard"
|
|
|
|
### 2. Lansez direct workflow-ul cu promptul lui Marius
|
|
```bash
|
|
cd ~/clawd
|
|
antfarm workflow run feature-dev "<prompt exact de la Marius>"
|
|
```
|
|
|
|
**NU:**
|
|
- ✗ Verific dacă e instalat (e instalat, permanent)
|
|
- ✗ Fac eu requirements/acceptance criteria (planner-ul face asta)
|
|
- ✗ Complicez task string-ul (simplitate = mai bine)
|
|
|
|
**DA:**
|
|
- ✓ Trimit prompt-ul EXACT cum îl primesc de la Marius
|
|
- ✓ Planner-ul descompune în stories automat
|
|
- ✓ Developer-ul decide tehnologii/structură
|
|
|
|
### 3. Monitorez progres
|
|
```bash
|
|
antfarm workflow status <run-id sau substring>
|
|
antfarm workflow runs # listă toate
|
|
```
|
|
|
|
### 4. Raportez când e gata
|
|
Agenții lucrează autonom (polling 15 min). Raportez când:
|
|
- Stories finalizate
|
|
- Erori care necesită intervenție
|
|
- PR creat pentru review
|
|
|
|
---
|
|
|
|
## Workflows disponibile
|
|
|
|
| Workflow | Când să-l folosesc |
|
|
|----------|-------------------|
|
|
| `feature-dev` | Features noi, refactoring, îmbunătățiri |
|
|
| `bug-fix` | Bug-uri cu pași de reproducere |
|
|
| `security-audit` | Audit securitate codebase |
|
|
|
|
---
|
|
|
|
## Comenzi utile
|
|
|
|
```bash
|
|
# Status rapid
|
|
antfarm workflow status <query>
|
|
|
|
# Force trigger agent (skip 15min wait)
|
|
cron action=run jobId=antfarm/feature-dev/developer
|
|
|
|
# Logs
|
|
antfarm logs 50
|
|
|
|
# Resume dacă failuit
|
|
antfarm workflow resume <run-id>
|
|
|
|
# Dashboard
|
|
antfarm dashboard status
|
|
```
|
|
|
|
---
|
|
|
|
## Reguli importante
|
|
|
|
1. **Task string = prompt exact de la Marius** (nu complica)
|
|
2. **Planner face requirements** (nu tu)
|
|
3. **Agenții sunt autonomi** (polling 15 min, nu trebuie să-i controlezi)
|
|
4. **Monitor dashboard** (https://moltbot.tailf7372d.ts.net:3333)
|
|
5. **Raportează doar când e relevant** (finalizare, erori, PR)
|
|
|
|
---
|
|
|
|
**Creat:** 2026-02-10
|
|
**Update:** După ce învăț fluxul mai bine
|