Commit Graph
6 Commits
Author SHA1 Message Date
Gustavo 0bb30696de automatic-ai-posts: raise max_tokens for reasoning models (NVIDIA Build)
Nemotron spends the token budget on reasoning_content before answering;
a 2048 budget was exhausted by ~7761 reasoning chars, returning empty
content with finish_reason=length. Topic selection and category choice go
2048 -> 8192, image plan 4000 -> 8192, article rewrite 8192 -> 16384.
max_tokens is only a cap, so concise answers cost the same as before.
2026-11-02 14:51:25 -03:00
Gustavo dc50c99dd9 docs: ignore local data folders, document production bind mounts 2026-11-02 14:37:51 -03:00
Gustavo 9f07fad41c wp-init: accept localized redis status (pt_BR prints Conectado) 2026-11-02 14:20:53 -03:00
Gustavo 4d666d1778 wp-init: provision fluent plugins via WP_EXTRA_PLUGINS
gustavoo-portfolio-core refuses to activate without fluentform, fluent-crm
and fluent-smtp, but those were gitignored and not installed by the setup:
any fresh clone ended with the core plugin inactive and the seeder skipped.
They are now part of the default WP_EXTRA_PLUGINS (verified slugs on
WordPress.org), with .env.example, compose default, README and .gitignore
updated to match.
2026-11-02 14:11:50 -03:00
Gustavo 98811a10b7 wp-init: fail fast on wrong DB password, strict theme activation
- The 'Waiting for database' loop spun forever when the .env password did
  not match the db_data volume; it now aborts with exit 1 and explains how
  to recover (put the old password back; README 'Passwords' for a real
  change), plus a 5-minute timeout for a dead database.
- Theme presence is checked on disk instead of via wp-cli (which needs the
  database), activation is always attempted and fatal on failure, so the
  script can no longer delete the active theme and report success.
- README gains a 'Passwords' section documenting the correct password-change
  procedure (ALTER USER in the running DB, then .env).
2026-11-02 13:57:31 -03:00
Gustavo 0ea3651fb5 Automatic AI Posts, setup automatizado e seeder de permalinks/avatar
Plugin automatic-ai-posts (v2.0.0)
- Pipeline completo: coleta de feeds RSS/Atom, filtro por IA, reescrita,
  categoria, imagem de capa e agendamento
- Página de configuração com teste real do provedor de IA
- Editor: botão para refazer imagem de capa e metadados, textos em PT-BR
- Ajuda com botão Pix (copia-e-cola + QR) e sem nota de avaliação
- Cache-busting por mtime nos assets do admin

Tema gustavoo-portfolio
- Marca do cabeçalho reduzida a "Gustavo"
- Suporte a título próprio da marca

Setup (docker/wp-init.sh, compose.yaml)
- Plugins de terceiros (Post Views Counter, Rank Math, Site Kit)
  instalados do WordPress.org em vez de versionados
- Falha explícita ao final se algum plugin obrigatório não instalar
- WPCLI_UID/WPCLI_GID configuráveis

Seeder do tema
- Links permanentes "Dia e nome" e avatar "Iniciais" aplicados
  apenas em instalação nova, com regravação do .htaccess
2026-11-02 13:33:30 -03:00