diff --git a/build/orto-orchestratore/SKILL.md b/build/orto-orchestratore/SKILL.md index 5da2cbc..115e3d5 100644 --- a/build/orto-orchestratore/SKILL.md +++ b/build/orto-orchestratore/SKILL.md @@ -1,42 +1,42 @@ --- name: orto-orchestratore -description: Orchestrate multi-skill workflow, resolve conflicts between plans, validate data completeness, and merge into unified PlanBundle. Use when: (1) running full seasonal planning pipeline end-to-end, (2) handling conflicts (irrigation zone vs. consociations, calendar task vs. weather forecast), (3) ensuring QA checks pass before finalizing, (4) generating weekly operational briefing for users. Outputs: Merged PlanBundle (master markdown document) with all plans integrated, audit log, weekly briefing ready for publication. +description: Orchestrare workflow multi-skill, risolvere conflitti tra piani, validare completezza dati, e merge in PlanBundle unificato. Usare quando: (1) eseguire pipeline full planning stagionale end-to-end, (2) gestire conflitti (zona irrigazione vs. consociazioni, task calendario vs. previsione meteo), (3) assicurare QA checks passino prima finalizzazione, (4) generare weekly operational briefing per utenti. Output: PlanBundle unificato (documento markdown master) con tutti piani integrati, audit log, weekly briefing pronto per pubblicazione. --- -# Orto Orchestratore — Master Workflow Orchestration +# Orto Orchestratore — Orchestrazione Workflow Master -Coordinate all planning skills, resolve conflicts, validate constraints, merge into unified plan. +Coordinare tutti skill planning, risolvere conflitti, validare vincoli, merge in piano unificato. -## When to Use This Skill +## Quando Usare Questa Skill -- **Full planning:** After onboarding, run complete pipeline to generate master plan -- **Weekly briefing:** Merge calendario + meteo-decisioni + current status → actionable weekly task list -- **Conflict resolution:** When skills produce conflicting recommendations -- **Plan review:** QA validation before publishing plan to user +- **Planning completo:** Dopo onboarding, eseguire pipeline completa per generare master plan +- **Weekly briefing:** Merge calendario + meteo-decisioni + stato corrente → task list settimanale azionabile +- **Risoluzione conflitti:** Quando skill producono raccomandazioni conflittuali +- **Revisione piano:** Validazione QA prima di publicare piano a utente -## Process +## Processo -### Phase 1: Pre-Flight Checklist +### Fase 1: Checklist Pre-Volo -**Verify all prerequisite skills are complete:** +**Verificare tutti skill prerequisito sono completi:** ``` -✓ orto-init: Garden project created, config registered -✓ orto-onboarding: GardenConfig + CommunityProfile complete and validated -✓ orto-agronomo: Piano colture annuale completed -✓ orto-calendario: Calendario operativo (weekly tasks) completed -✓ orto-irrigazione: Sistema irrigazione designed -✓ orto-layout: Aiuole assigned, zones defined -✓ orto-meteo-decisioni: Weekly forecast & decisions available +✓ orto-init: Progetto orto creato, config registrato +✓ orto-onboarding: GardenConfig + CommunityProfile completo e validato +✓ orto-agronomo: Piano colture annuale completato +✓ orto-calendario: Calendario operativo (task settimanali) completato +✓ orto-irrigazione: Sistema irrigazione progettato +✓ orto-layout: Aiuole assegnate, zone definite +✓ orto-meteo-decisioni: Previsione settimanale & decisioni disponibili -If ANY skill incomplete → PAUSE and notify user (missing data) +Se QUALSIASI skill incompleto → PAUSA e notifica utente (dati mancanti) ``` -### Phase 2: Conflict Detection & Resolution +### Fase 2: Rilevazione Conflitti e Risoluzione -**Check for known conflict patterns:** +**Verificare pattern conflitti noti:** -| Conflict Type | Detection | Resolution Policy | +| Tipo Conflitto | Rilevamento | Politica Risoluzione | |---------------|-----------|-------------------| | **Irrigation zone vs. Consociations** | Crop A (ZONA ALTA) + Crop B (ZONA BASSA) same bed | Split bed OR adjust watering (ZONA ALTA priority due stress) | | **Calendar task vs. Weather** | Task "Trapianto" scheduled Tue, wind > 8kn | Auto-reschedule +2 gg (contact user) | @@ -63,26 +63,26 @@ CONFLICT: Path 0.4m (wheelchair needs 0.7m)? → OR: Escalate to user (accept smaller accessible area) ``` -### Phase 3: Data Validation (QA Checklist) +### Fase 3: Validazione Dati (Checklist QA) -**Run comprehensive checks:** +**Esegui verifiche comprehensive:** -| Check | Rule | Status | Fix | +| Verifica | Regola | Status | Fix | |-------|------|--------|-----| -| **Crop diversity** | ≥4 groups (Solanaceae, Brassica, Legume, Leafy, Aromatica) | PASS | ✓ | -| **Nutritional balance** | Diet profile coverage ≥80% | PASS | ✓ | -| **Water adequacy** | Planned rainfall + irrigation ≥ crop demand | WARN | ⚠️ Summer deficit 15%; mitigation: mulching | -| **Rotation consistency** | No same family 2+ years per bed | PASS | ✓ | -| **Accessibility** | Paths ≥ requirement (if needed) | PASS | ✓ | -| **Maintenance time** | Total weekly hours ≤ available | PASS | ✓ | -| **Consociations** | % positive > antagonismi | PASS | ✓ 85% positive | -| **Forecast accuracy** | Weather data source current | PASS | ✓ wttr.in (3-5 day high conf.) | +| **Diversità colture** | ≥4 gruppi (Solanaceae, Brassica, Legume, Leafy, Aromatica) | PASS | ✓ | +| **Bilancio nutrizionale** | Copertura profilo dieta ≥80% | PASS | ✓ | +| **Adeguatezza acqua** | Pioggia pianificata + irrigazione ≥ domanda coltura | WARN | ⚠️ Deficit estate 15%; mitigazione: mulching | +| **Coerenza rotazione** | No stessa famiglia 2+ anni per aiuola | PASS | ✓ | +| **Accessibilità** | Sentieri ≥ requisito (se necessario) | PASS | ✓ | +| **Tempo manutenzione** | Ore settimanali totali ≤ disponibili | PASS | ✓ | +| **Consociazioni** | % positivo > antagonismi | PASS | ✓ 85% positivo | +| **Accuratezza previsione** | Fonte dati meteo corrente | PASS | ✓ wttr.in (3-5 gg alta conf.) | -**Summary:** QA SCORE = 0.92 (Very Good). Proceed to merge. +**Sommario:** QA SCORE = 0.92 (Molto Buono). Procedi con merge. -### Phase 4: Merge Data Sources +### Fase 4: Merge Fonti Dati -**Aggregate outputs from all skills into unified markdown structure:** +**Aggregare output da tutti skill in struttura markdown unificata:** **File:** `dati/PlanBundle_Master.md` @@ -90,63 +90,63 @@ CONFLICT: Path 0.4m (wheelchair needs 0.7m)? # PLAN BUNDLE — [ORTO_ID] — [YEAR] **Generated:** [TODAY] -**Confidence:** 0.92 (Very Good) -**Status:** Ready for Publication +**Confidence:** 0.92 (Molto Buono) +**Status:** Pronto per Pubblicazione --- -## 1. GARDEN CONFIGURATION +## 1. CONFIGURAZIONE ORTO -(Copy from GardenConfig) -- Location: [PROVINCIA], [REGIONE] +(Copia da GardenConfig) +- Localizzazione: [PROVINCIA], [REGIONE] - Area: [AREA] m² -- Zone: [ZONE] -- Soil: [SOIL] -- Sun: [HOURS] h/day +- Zona: [ZONE] +- Suolo: [SOIL] +- Sole: [HOURS] h/gg -## 2. COMMUNITY PROFILE +## 2. PROFILO COMUNITÀ -(Copy from CommunityProfile) +(Copia da CommunityProfile) - Persone: [N] - Dieta: [DIET_LIST] - Esperienza: [LEVEL] - Tempo: [HOURS]/settimana -- Accessibility: [NEEDS] +- Accessibilità: [NEEDS] -## 3. CROP PLAN +## 3. PIANO COLTURE -(Excerpt from Piano Colture Annuale) -- Total crops: 12 varietà +(Excerpt da Piano Colture Annuale) +- Colture totali: 12 varietà - Area allocato: 25 m² -- Est. yield: 120 kg/stagione -- Rotazione: Multi-year plan included +- Resa est.: 120 kg/stagione +- Rotazione: Piano multi-anno incluso -## 4. LAYOUT PLAN +## 4. PIANO LAYOUT -(Excerpt from Aiuole Dimensioni) -- Beds: 4 (2 rialzate + 2 file) -- Zone Water: 3 (ALTA, MEDIA, BASSA) -- Paths: Main 0.7m, side 0.5m -- Accessibility: ✓ Conforme +(Excerpt da Aiuole Dimensioni) +- Aiuole: 4 (2 rialzate + 2 file) +- Zone Acqua: 3 (ALTA, MEDIA, BASSA) +- Sentieri: Main 0.7m, lato 0.5m +- Accessibilità: ✓ Conforme -## 5. IRRIGATION SYSTEM +## 5. SISTEMA IRRIGAZIONE -(Excerpt from Sistema Irrigazione) -- Emitters: Drip + microsprayers -- Zones: 3 (ALTA/MEDIA/BASSA) +(Excerpt da Sistema Irrigazione) +- Emettitori: Goccia + microspruzzatori +- Zone: 3 (ALTA/MEDIA/BASSA) - Baseline: Daily (ALTA) ~ 2-3x/sett (BASSA) -- Automation: [Timer/Smart] +- Automazione: [Timer/Smart] -## 6. SEASONAL CALENDAR +## 6. CALENDARIO STAGIONALE -(Link to Calendario Operativo) -- Weekly tasks: 52 weeks × avg 3-5 tasks = ~200 annual tasks -- Meteo-sensitive tasks: ~40 tasks (tagged for rescheduling) -- Critical dates: 12 (transplants, harvests) +(Link a Calendario Operativo) +- Task settimanali: 52 sett × media 3-5 task = ~200 task annuali +- Task meteo-sensibili: ~40 task (taggati per reschedule) +- Date critiche: 12 (trapianti, raccolte) -## 7. DISEASE PREVENTION +## 7. PREVENZIONE MALATTIE -(Excerpt from Diagnosi Problemi) +(Excerpt da Diagnosi Problemi) - High-risk crop: Pomodoro (peronospora) - Preventive schedule: Weekly rame spray (June-Sept) - Organic treatments: Rame, Bacillus subtilis, Neem @@ -357,36 +357,36 @@ Se qualcosa non è chiaro, contatta l'agronomo. Buon orto! 🌱 **Resolution:** - Reduce irrigation frequency (use deficit irrigation) → Risk: crop stress - Add rain capture tank (+100 L) → Marginal -- Shift to drought-tolerant crops (Carota, Cipolla, Legume) → Reduce Pomodoro area by 30% -- **RECOMMENDATION:** Accept 15% water deficit; use heavy mulching + soil compost (improves retention) +- Shift a colture tolleranti siccità (Carota, Cipolla, Legume) → Riduci area Pomodoro del 30% +- **RACCOMANDAZIONE:** Accetta deficit idrico 15%; usa heavy mulching + compost suolo (migliora ritenzione) --- -## Error Handling +## Gestione Errori -| Error | Fallback | +| Errore | Fallback | |-------|----------| -| Skill output missing | Use previous year plan (if available) or rule-based fallback | -| Conflicting recommendations | List top 3 options, let user choose | -| QA failure (critical) | DO NOT PUBLISH; flag and request expert review | +| Output skill mancante | Usa piano anno precedente (se disponibile) o fallback rule-based | +| Raccomandazioni conflittuali | Elenca top 3 opzioni, lascia scegliere utente | +| Fallimento QA (critico) | NON PUBLICARE; flagga e richiedi revisione esperto | -## Assumptions +## Assunzioni -1. All predecessor skills have completed -2. Data integrity: no corrupted markdown files -3. Conflict resolution policies documented and tuned -4. User notification channel available (email/chat) +1. Tutti skill predecessore hanno completato +2. Integrità dati: no file markdown corrotti +3. Politiche risoluzione conflitti documentate e tuned +4. Canale notifica utente disponibile (email/chat) -## Validation Checklist +## Checklist Validazione -- ✓ All skills outputs loaded and parsed -- ✓ Conflicts identified and resolved -- ✓ QA score ≥ 0.70 (acceptable) -- ✓ Merged PlanBundle coherent and complete -- ✓ Weekly briefing generated and actionable -- ✓ Audit trail documented -- ✓ User notification ready +- ✓ Tutti output skill caricati e parsati +- ✓ Conflitti identificati e risolti +- ✓ QA score ≥ 0.70 (accettabile) +- ✓ PlanBundle unificato coerente e completo +- ✓ Weekly briefing generato e azionabile +- ✓ Audit trail documentato +- ✓ Notifica utente pronta --- -**Skill: orto-orchestratore** | Version 1.0 | Status: Production-Ready +**Skill: orto-orchestratore** | Versione 1.0 | Status: Pronto per Produzione