Update memory, root, tools (+2 ~2)
This commit is contained in:
69
AGENTS.md
69
AGENTS.md
@@ -53,48 +53,61 @@ When I receive errors, bugs, or new feature requests:
|
||||
|
||||
**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
|
||||
**A. Planning cu OPUS (eu, Echo) - pe moltbot:**
|
||||
```python
|
||||
from tools.ralph_workflow import create_prd, convert_prd, run_ralph
|
||||
|
||||
**B. Implementare cu Ralph (Sonnet):**
|
||||
- Rulează `./scripts/ralph/ralph.sh 20` (max 20 iterații)
|
||||
- Ralph loop autonom:
|
||||
# Pentru PROIECTE NOI
|
||||
prd_file = create_prd(
|
||||
project_name="project-name", # kebab-case
|
||||
description="Descriere completă feature/proiect"
|
||||
)
|
||||
prd_json = convert_prd(prd_file) # → prd.json + configurare
|
||||
run_ralph(prd_json, max_iterations=20, background=True)
|
||||
|
||||
# Pentru FEATURES EXISTENTE
|
||||
# Citesc PRD existent, generez noi stories, actualizez prd.json
|
||||
# Apoi run_ralph() pentru implementare
|
||||
```
|
||||
|
||||
- Workspace: `~/workspace/PROJECT-NAME/`
|
||||
- Git init + commit + push către gitea.romfast.ro
|
||||
- Marchează [x] în approved-tasks.md
|
||||
|
||||
**B. Implementare cu Ralph (Sonnet) - automat în background:**
|
||||
- Ralph loop autonom (ralph.sh):
|
||||
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
|
||||
6. Repetă până toate complete sau max 20 iterații
|
||||
- Git push toate commit-urile automat
|
||||
|
||||
**3. DIMINEAȚĂ (08:30) - morning-report:**
|
||||
- Raportez ce proiecte/features s-au realizat
|
||||
```python
|
||||
from tools.ralph_workflow import check_status
|
||||
from pathlib import Path
|
||||
|
||||
status = check_status(Path.home() / "workspace" / "PROJECT-NAME")
|
||||
# Raportez: stories complete/incomplete, learnings, link gitea
|
||||
```
|
||||
|
||||
- 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
|
||||
**moltbot (LXC 110) - LOCAL:**
|
||||
- User: moltbot
|
||||
- Workspace: `~/workspace/`
|
||||
- Claude Code: `~/.local/bin/claude` (v2.1.37)
|
||||
- Ralph skill: `~/.claude/skills/ralph/`
|
||||
- Comenzi: `/ralph:prd` (generare PRD) + `/ralph:convert` (conversie prd.json)
|
||||
- Templates: ralph.sh, prompt.md (copiate automat)
|
||||
- Helper Python: `~/clawd/tools/ralph_workflow.py`
|
||||
- `create_prd()`, `convert_prd()`, `run_ralph()`, `check_status()`
|
||||
|
||||
### Model Strategy (OBLIGATORIU)
|
||||
- **Opus** → Planning, PRD, stories (eu, Echo în night-execute)
|
||||
|
||||
Reference in New Issue
Block a user