fix(project-manager): remover Dify KB das descriptions, marcar nota TODO

Dify foi removido 06-03-2026. Skills brainstorm/discover ainda referenciam-no
no corpo. Bump v1.2 + nota top-of-file. Reescrita workflow para próxima sessão.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 04:52:03 +01:00
parent 6285be6c2e
commit faef9b47dc
185 changed files with 9238 additions and 589 deletions
@@ -91,20 +91,29 @@ Especialista em optimizacao de performance WordPress responsavel por maximizar v
### Workflow 2: Implementar Caching Strategy
1. Browser cache: .htaccess headers (1 ano para static assets)
2. Object cache: Redis ou Memcached para DB queries
3. Page cache: WP Rocket, W3 Total Cache ou LiteSpeed
3. Page cache: WP Rocket, W3 Total Cache, LiteSpeed ou WP Fastest Cache
4. CDN: Cloudflare para assets estaticos
5. Exclusoes: Carrinho, checkout, user dashboards (dynamic)
6. Invalidation: Purge automatico apos updates
#### WP Fastest Cache — problemas conhecidos
- **NUNCA usar `wp fastest-cache clear all`** — apaga ficheiros minificados e bloqueia cache de pagina
- Usar `wp fastest-cache clear` (sem all) para limpar apenas paginas cached
- Se cache parar: verificar `tail -3` do HTML por "Cache has NOT been created due to optimized resource"
- Fix: `rm -rf wp-content/cache/wpfc-minified/*` → visitar site 1x (gera minificados) → 2a visita tem cache
- Permissoes: `wp-content/cache/` deve ser do user PHP-FPM (no CWP = user do dominio)
- TTFB esperado com cache: <25ms (sem cache: 2-5s)
### Workflow 3: Optimizar Core Web Vitals
1. LCP (Largest Contentful Paint <2.5s):
- Optimizar imagem hero (WebP, dimensoes correctas)
- Server response time (upgrade hosting se necessario)
- Preload critical resources
2. FID (First Input Delay <100ms):
2. INP (Interaction to Next Paint <200ms):
- Defer JS non-critical
- Code splitting
- Remove unused CSS/JS
- Nota: FID foi substituido por INP em Marco 2024
3. CLS (Cumulative Layout Shift <0.1):
- Width/height em images
- Font display swap
@@ -132,7 +141,7 @@ Especialista em optimizacao de performance WordPress responsavel por maximizar v
| Metrica | Target | Critico |
|---------|--------|---------|
| LCP | <2.5s | <4s |
| FID | <100ms | <300ms |
| INP | <200ms | <500ms |
| CLS | <0.1 | <0.25 |
| TTFB | <600ms | <1.8s |
| PageSpeed Score | >90 | >50 |