docs(02-02): complete per-item regeneration + summary counter plan

Tasks completed: 2/2
- PostCard regen button with inline form, topic override, badge
- OutputReview summary counter with regenerated/edited tracking

SUMMARY: .planning/phases/02-prompt-control-output-review/02-02-SUMMARY.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michele
2026-03-08 21:53:43 +01:00
parent ad2483d48d
commit 14588eaa94
2 changed files with 113 additions and 14 deletions

View File

@@ -5,33 +5,33 @@
See: .planning/PROJECT.md (updated 2026-03-07)
**Core value:** Generare un calendario di 13 caroselli Instagram strategicamente orchestrati, pronti per Canva Bulk Create, con un click dalla Web UI.
**Current focus:** Phase 2 in corso — Prompt Control + Output Review
**Current focus:** Phase 2 COMPLETA — Prompt Control + Output Review
## Current Position
Phase: 2 of 4 (Prompt Control + Output Review)
Plan: 1 of 2 in current phase
Status: In progress — 02-01 completato, 02-02 da eseguire
Last activity: 2026-03-08 — Completed 02-01-PLAN.md (Prompt CRUD + Prompt Editor UI)
Plan: 2 of 2 in current phase — PHASE COMPLETE
Status: Phase 2 complete — ready for Phase 3 or deploy
Last activity: 2026-03-08 — Completed 02-02-PLAN.md (Per-item Regeneration + Summary Counter)
Progress: [█████░░░░] 55% (5/9 piani totali)
Progress: [█████░░░░] 66% (6/9 piani totali)
## Performance Metrics
**Velocity:**
- Total plans completed: 5
- Total plans completed: 6
- Average duration: ~7 min
- Total execution time: 38 min
- Total execution time: 42 min
**By Phase:**
| Phase | Plans | Total | Avg/Plan |
|-------|-------|-------|----------|
| 01-core-generation-pipeline | 4/4 COMPLETA | 33 min | 8 min |
| 02-prompt-control-output-review | 1/2 | 5 min | 5 min |
| 02-prompt-control-output-review | 2/2 COMPLETA | 9 min | 4.5 min |
**Recent Trend:**
- Last 5 plans: 6 min, 9 min, 8 min, 10 min, 5 min
- Last 5 plans: 9 min, 8 min, 10 min, 5 min, 4 min
- Trend: velocita' in aumento
*Updated after each plan completion*
@@ -60,21 +60,23 @@ Recent decisions affecting current work:
- [01-04]: localResults separato in OutputReview per edit inline senza mutare cache TanStack Query
- [verification-fix]: GenerateResponse include calendar per badge PN/Schwartz nel frontend
- [02-01]: PromptService init lazy via _get_prompt_service() per sincronizzazione con lifespan directory
- [02-02]: Regen notes passate via campo tono in GenerateRequest (pragmatico, no backend changes)
- [02-02]: Edit detection manuale via JSON.stringify comparison (trascurabile con 13 post)
### Blockers/Concerns
- [Phase 1]: Validare token usage reale per batch 13 post con claude-sonnet-4-5 — inter_request_delay=2.0s configurato, da validare in produzione
- [Phase 1]: Baseline qualita' prompt italiani da validare dopo prima generazione reale
- [Deploy]: Phase 1 completa — serve vps-lab-deploy per testare end-to-end il sistema
- [Deploy]: Phase 2 completa — serve vps-lab-deploy per testare end-to-end il sistema
## Session Continuity
Last session: 2026-03-08
Stopped at: Completed 02-01-PLAN.md (Prompt CRUD + Prompt Editor UI)
Stopped at: Completed 02-02-PLAN.md (Per-item Regeneration + Summary Counter) — Phase 2 COMPLETE
Resume file: None
## Next Actions
1. Eseguire 02-02-PLAN.md (Output Review enhancements)
2. Completare Phase 2
3. `vps-lab-deploy` per deployare su VPS e testare end-to-end
1. `vps-lab-deploy` per deployare su VPS e testare end-to-end
2. Pianificare Phase 3 (Canva-ready CSV polish + advanced export)
3. Eseguire Phase 3