Files
descrybe/docs/ai-full-smoke.md
T
greeneclipse 8580c996c3 Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
2026-08-09 22:47:43 +02:00

3.5 KiB

Descrybe v2 — full AI smoke (local Green Chat)

Date: 2026-08-04
LLM: Green Chat overloaded-local (Gemma-class ~12B, n_ctx=8192) at http://192.168.50.181:8767/v1
App: API :8080 + worker with OPENAI_* loaded from root .env(or/integrations/ai)
Tenant (historical run): was demo@ on A1 — outdated. Canonical: demo@Platform Demo; A1 → a1-primary@ (safe-test-fixtures.md). Matrix below is a dated snapshot.

No secrets are recorded here (key length only: 64).

Matrix

Feature Result Sample / notes
Login PASS demo@descrybe.local
A1 dump credits PASS plan=A1, can_use_ai=true, remaining≈2284 (dump credit_balances)
Brand kit + formula tips PASS tips include tone, preferred terms (wireless,premium), donts
Brand kit in AI prompts PASS SEO/campaign/enhance copy used brand terms
SEO mode=ai PASS ~1s; title Sample Gadget | Premium Wireless Performance; credits_charged=2
Campaign mode=ai (spring) PASS ~5s; subject Upgrade your spring relaxation; status=ready; unsub footer present
Email generate (AI) PASS same Completer path as campaign generate
Processing enhance_only PASS ~4s; ai_enhance done; desc rewritten with premium/wireless framing
EPREL path PASS job accepted (eprel_only); enricher disabled in this env — non-AI step
Formula/preview AI tips PASS rule-based FormulaTips from brand kit (no LLM)

Overall: PASS against LAN Green Chat after prompt/JSON hardening.

Sample outputs (truncated, no secrets)

SEO apply

{
  "product_id": "d2c309ed-…",
  "mode": "ai",
  "meta_title": "Sample Gadget | Premium Wireless Performance",
  "meta_description": "Experience premium wireless functionality with the Sample Gadget. Designed for reliable performance …",
  "credits_charged": 2
}

Campaign generate

  • subject: Upgrade your spring relaxation
  • plain (snip): Experience premium relaxation with our latest collection. Our wireless-ready designs…

Enhance

  • name: Sample Gadget (kept)
  • description (snip): Experience premium wireless connectivity for seamless device integration…

Commands (PowerShell sketch)

# Load OPENAI_* from root `.env` (or `/integrations/ai`) — restart api.exe + worker.exe so worker logs:
#   worker: OpenAI enabled base=http://…:8767/v1 model=overloaded-local

Test-NetConnection 192.168.50.181 -Port 8767
curl.exe -sS http://192.168.50.181:8767/v1/models -H "Authorization: Bearer $env:OPENAI_API_KEY"

# Session: GET any /api/* for descrybe_csrf cookie, then:
# POST /api/auth/login with X-CSRF-Token matching cookie
# PUT  /api/brand
# POST /api/seo/apply {"product_id":"…","mode":"ai"}
# POST /api/campaigns → POST /api/campaigns/{id}/generate {"mode":"ai"}
# POST /api/processing/jobs {"raw_product_ids":["…"],"processing_type":"enhance_only"}

Cookie jar used locally: artifacts/ai-full-smoke-cookies.txt (gitignored / local only).