Glossary (PT ↔ EN)
The domain is Portuguese labour law; the code mixes Portuguese domain terms with English identifiers. This is the decoder ring.
Process & phases
| Portuguese | English / meaning | In code |
|---|---|---|
| Processo disciplinar | The disciplinary process itself | the cases row |
| Abertura | Opening / intake | INTAKE |
| Inquérito Prévio (IP) | Preliminary inquiry (investigate before charging) | PRELIMINARY_INQUIRY |
| Nota de Culpa | The formal written accusation | CHARGES_ISSUED |
| Consulta do Processo | Employee's consultation of the case file | CONSULTATION_PORTAL |
| Resposta do Arguido | The accused's written response | RESPONSE_WINDOW |
| Fase de Prova | Evidence / proof phase | EVIDENCE_PHASE |
| Pareceres / Intervenções obrigatórias | Mandatory opinions (CT/union) | BODIES_OPINION |
| Relatório Final e Decisão | Final report and decision | FINAL_REPORT |
| Encerrado / Arquivado / Suspenso | Closed / archived / suspended | CLOSED / ARCHIVED / SUSPENDED |
People
| Portuguese | English / meaning |
|---|---|
| Arguido | The accused employee (the subject of the process) |
| Trabalhador | Worker / employee |
| Instrutor | Appointed instructor who investigates (internal or external) |
| Decisor | The decision-maker who imposes the sanction |
| Revisor Jurídico | Legal reviewer |
| Testemunha | Witness |
| Mandatário / Advogado | The employee's legal representative / lawyer |
| Comissão de Trabalhadores (CT) | Works council |
| Sindicato | Trade union |
Legal concepts (the ones that bite)
| Term | Meaning | Note |
|---|---|---|
| Caducidade | Lapse — the process becomes void if a deadline is missed (e.g. Nota de Culpa >30 days after IP) | → |
| Prescrição | Time-bar — the infraction can no longer be pursued after a period from knowledge (~60 days) | modelled? open Q |
| Diligência | An investigative act (a witness hearing, document collection, analysis…) | inquiry_actions |
| Ata da Inquirição | The formal minutes of a witness hearing | witness deliverable |
| Dias úteis / Dias de calendário | Working days / calendar days — the distinction is legally load-bearing | → |
| Dossiê | The final case dossier (the exportable legal record) | case_dossier_exports |
| Sanção | The disciplinary sanction (outcome) | see below |
Sanctions (outcomes)
| Portuguese | English | outcome value |
|---|---|---|
| Arquivado | Dropped / no sanction | ARCHIVED |
| Advertência | Warning / reprimand | WARNING |
| Suspensão | Suspension | SUSPENSION |
| Despedimento | Dismissal | TERMINATION |
| Outro | Other | OTHER |
System / build terms
| Term | Meaning |
|---|---|
| Lovable | The AI app-builder this PoC was generated with |
| Supabase | The backend platform (Postgres + Auth + Storage + Edge Functions) |
| RLS | Row-Level Security — Postgres per-row access policies |
| Edge function | A Deno/TypeScript serverless function on Supabase |
| PGMQ | Postgres message queue (used for email) |
| Portal | The external, token-based view for the arguido |
| Gate | A required approval to leave a phase |
| Deliverable | A formal document produced within a phase |