Commit Graph

5 Commits

Author SHA1 Message Date
Claude c9fa698884
feat: SEO audit fixes — meta description, robots.txt, sitemap, noindex
- Add <meta name="description"> block to base template
- Add <meta name="robots" content="noindex, nofollow"> on preview, error,
  flow-step, and not-available pages (ephemeral content)
- Add og:locale meta tag for pt_BR
- Add robots block and canonical block to base layout
- Create robots.txt (disallow /health, reference sitemap)
- Add dynamic /sitemap.xml route from flow registry
- Create SVG favicon and update link tag
- All 60 tests passing

https://claude.ai/code/session_01CvrcMDqfCKWV2hC3xpRbx3
2026-03-09 00:38:37 +00:00
Claude 2a05f926ab
chore: add seo-audit skill configuration
https://claude.ai/code/session_01CvrcMDqfCKWV2hC3xpRbx3
2026-03-09 00:31:51 +00:00
Claude 014c4b3bf5
feat: Prepare Vercel deployment with serverless adapter
- Extract buildApp() from server.ts into app.ts for reuse
- Create api/index.ts as Vercel serverless function entry point
- Add vercel.json with rewrites (static assets + catch-all to API)
- Build script now copies static assets to public/ and templates to dist/
- Include src/templates/** in serverless function bundle
- Local dev and tests continue to work unchanged (60/60 passing)

https://claude.ai/code/session_01CvrcMDqfCKWV2hC3xpRbx3
2026-03-09 00:18:29 +00:00
Claude e966049169
feat: Complete all 10 legal flows, OpenRouter/Gemini integration, and tests
- Switch LLM provider to OpenRouter with Gemini 2.5 Flash as default
- Add 4 trabalhista flows: rescisão indireta, dano moral, acúmulo de
  função, contestação trabalhista
- Add 5 cível flows: cobrança, indenização, obrigação de fazer,
  contestação cível, contrato (revisão)
- Register all 10 flows in the flow registry
- Write 36 unit tests (sanitize, parse-flow-state, prompt-builder,
  url-builder, flow-engine, llm-client)
- Write 24 integration tests (all routes, deep links, step flow)
- All 60 tests passing, all 12 routes verified at runtime

https://claude.ai/code/session_01CvrcMDqfCKWV2hC3xpRbx3
2026-03-09 00:12:08 +00:00
Claude 001bd7de0a
feat: Add Jus IA Start Kit — MPA wizard for legal prompt assembly
Fastify v5 + TypeScript + Nunjucks + Tailwind CSS v4 application that
guides Brazilian lawyers through a step-by-step flow to collect case
details and assemble optimized prompts for Jus IA.

Includes:
- Flow engine with registry pattern for area/subtipo flows
- Complete trabalhista/horas-extras flow (2 steps, legal references)
- MPA state management via hidden form fields
- Chip-selector UI with 44px touch targets
- Optional LLM integration for contextual refinement questions
- Prompt builder with template interpolation and URL delivery
- Progressive enhancement JS (copy-to-clipboard)
- Deep link support (/:area/:subtipo)
- Brand design tokens from Jusbrasil guidelines

https://claude.ai/code/session_01CvrcMDqfCKWV2hC3xpRbx3
2026-03-09 00:00:28 +00:00