feat: Add projects/features workflow with Ralph integration
- Update AGENTS.md: Add complete projects/features workflow section - Criterii propuneri 80/20 strict - Evening report propune P1, P2 + F1, F2, F3 - Night jobs: Opus planning (PRD + stories) + Ralph loop (Sonnet) - Morning report: status stories + learnings + gitea links - Update TOOLS.md: Add claude-agent + Ralph plugin section - SSH access, workspace structure - /prd and /ralph skills documentation - Complete project workflow (Opus → Ralph → gitea) - Update cron jobs: - evening-report: Section 4 Programe/Proiecte (P + F proposals) - night-execute: Opus model + Ralph workflow (projects priority #1) - night-execute-late: Continue projects/features execution - morning-report: Section 2 Projects status report with stories - Add memory/2026-02-08.md: Discussion notes + workflow decisions Claude Code installed on claude-agent (LXC 171, 10.0.20.171) Ralph autonomous loop: /workspace/ralph-claude/
This commit is contained in:
93
AGENTS.md
93
AGENTS.md
@@ -32,6 +32,99 @@ When I receive errors, bugs, or new feature requests:
|
||||
1. **Planning → Opus**: Architecture, strategy, design decisions
|
||||
2. **Execution → Sonnet**: Implementation, coding, debugging, testing
|
||||
|
||||
## Proiecte/Features Workflow (MANDATORY)
|
||||
|
||||
**Scop:** Propun și creez programe/proiecte în cod care îl ajută pe Marius (80/20), inspirate din Discovery (YouTube, articole, bloguri).
|
||||
|
||||
### Criterii Propuneri (80/20 STRICT)
|
||||
- Impact mare pentru Marius → apoi pentru clienți
|
||||
- Proiecte de "joacă" pentru el mai întâi (să vadă cum îl ajută)
|
||||
- Din ce îl interesează (USER.md)
|
||||
- Inspirat din conținut procesat (memory/kb/youtube/, articole/, insights/)
|
||||
- **NU orice** - doar cu valoare concretă
|
||||
|
||||
### Workflow Complet
|
||||
|
||||
**1. SEARA (20:00) - evening-report:**
|
||||
- Propun 1-2 proiecte NOI (P1, P2)
|
||||
- Propun 2-3 features pentru proiecte EXISTENTE (F1, F2, F3)
|
||||
- Format: context, impact, efort, stack simplu
|
||||
- Marius aprobă: "P pentru P1,P2" sau "F pentru F1,F3"
|
||||
|
||||
**2. NOAPTE (23:00, 03:00) - night-execute:**
|
||||
|
||||
**A. Planning cu OPUS (eu, Echo):**
|
||||
- SSH claude-agent: `ssh echo@10.0.20.201 "sudo pct exec 171 -- su - claude -c 'cd /workspace && bash'"`
|
||||
- Pentru PROIECTE NOI:
|
||||
1. Folosesc skill `/prd` → PRD markdown (scop, obiective, user stories, acceptance criteria)
|
||||
2. Salvez în `/workspace/PROJECT-NAME/tasks/prd-PROJECT-NAME.md`
|
||||
3. Folosesc skill `/ralph` → prd.json (stories prioritizate)
|
||||
4. Salvez în `/workspace/PROJECT-NAME/scripts/ralph/prd.json`
|
||||
5. Git init + push la gitea.romfast.ro
|
||||
- Pentru FEATURES EXISTENTE:
|
||||
1. Citesc PRD existent
|
||||
2. Generez noi user stories (ID consecutive, priority logică)
|
||||
3. Actualizez prd.json
|
||||
4. Git commit + push
|
||||
|
||||
**B. Implementare cu Ralph (Sonnet):**
|
||||
- Rulează `./scripts/ralph/ralph.sh 20` (max 20 iterații)
|
||||
- Ralph loop autonom:
|
||||
1. Selectează story (priority minimă, passes=false)
|
||||
2. Rulează Claude Code (Sonnet) pentru implementare
|
||||
3. Quality checks: typecheck, lint, test
|
||||
4. Commit dacă OK → passes: true
|
||||
5. Update progress.txt cu learnings
|
||||
6. Repetă până toate complete
|
||||
- Git push toate commit-urile
|
||||
- Marchează [x] în approved-tasks.md
|
||||
|
||||
**3. DIMINEAȚĂ (08:30) - morning-report:**
|
||||
- Raportez ce proiecte/features s-au realizat
|
||||
- Status per story: ✅ complet / 🔄 în progres / ⚠️ blocat
|
||||
- Learnings din progress.txt
|
||||
- Link gitea: `https://gitea.romfast.ro/romfast/PROJECT-NAME`
|
||||
|
||||
### Mașină Development
|
||||
|
||||
**claude-agent (LXC 171):**
|
||||
- IP: 10.0.20.171
|
||||
- User: claude
|
||||
- Workspace: `/workspace/`
|
||||
- Claude Code instalat + Git configurat pentru gitea
|
||||
- Ralph plugin: `/workspace/ralph-claude/`
|
||||
- Skills: `/prd` (generare PRD) + `/ralph` (conversie prd.json)
|
||||
- Script: `ralph.sh` - loop autonom
|
||||
|
||||
### Model Strategy (OBLIGATORIU)
|
||||
- **Opus** → Planning, PRD, stories (eu, Echo în night-execute)
|
||||
- **Sonnet** → Coding, debugging, implementare (Ralph loop)
|
||||
|
||||
### Structură Proiect
|
||||
```
|
||||
/workspace/PROJECT-NAME/
|
||||
├── tasks/
|
||||
│ └── prd-PROJECT-NAME.md # PRD generat de /prd skill
|
||||
├── scripts/
|
||||
│ └── ralph/
|
||||
│ ├── prd.json # Stories pentru Ralph
|
||||
│ ├── progress.txt # Learnings per iterație
|
||||
│ └── ralph.sh # Loop autonom
|
||||
├── src/ # Cod implementat de Ralph
|
||||
└── .git/ # Git repo → gitea
|
||||
```
|
||||
|
||||
### Tracking
|
||||
- `memory/approved-tasks.md` - include proiecte (P1, P2) și features (F1, F2)
|
||||
- Secțiuni: "Noaptea asta" + "Nopțile următoare"
|
||||
- Format: `[ ] P1 - Nume Proiect: descriere scurtă`
|
||||
|
||||
### Exemple Domenii
|
||||
- Automatizări pentru ROA (scripturile lui Marius)
|
||||
- Unelte productivitate (task tracking, reminder-uri)
|
||||
- Mini-tools pentru clienți (rapoarte, validări)
|
||||
- Experimente NLP/coaching (exerciții interactive)
|
||||
- Tracking sănătate (dureri, pauze respirație)
|
||||
|
||||
## Memory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user