Production Case Study · Legal Technology

LGT-AO: Automating Compliance with the Angolan General Labour Law (Lei n.º 12/23)

Impact Summary: Following the entry into force of Angola’s new General Labour Law (Lei n.º 12/23, de 27 de Dezembro), LGT-AO enabled human-resources departments, legal counsel, and workers to audit employment clauses and resolve statutory questions with 100% verbatim article citation grounding, cutting preliminary contract compliance review times by over 3x.

1. The operational challenge: Transitioning from Lei n.º 7/15 to Lei n.º 12/23

When the Republic of Angola enacted the new General Labour Law (Lei n.º 12/23, de 27 de Dezembro, replacing the previous Lei n.º 7/15), hundreds of enterprises, small and medium businesses, and thousands of employees faced significant changes across foundational employment rules:

  • Contract duration & presumption of permanence: The general rule establishing employment contracts as indeterminate by default, with stricter justification and duration rules for fixed-term (tempo determinado) agreements.
  • Disciplinary procedure timelines: Strict procedural requirements, written summons intervals, hearing rights, and nullity consequences when a step in a disciplinary dismissal is skipped or delayed.
  • Leave, maternity/paternity protections & overtime calculation: Revised leave entitlements, family protections, and overtime remuneration tiers across different company sizes and shifts.

For large corporations with dedicated external law firms, updating template contracts took weeks of billable hours. For SMEs, HR officers, and individual workers trying to understand their obligations and rights, locating the exact governing article inside a dense multi-hundred-article statute was slow and error-prone.

2. Why generic consumer chatbots are dangerous for Angolan labour law

During our initial systems audit, we tested how general-purpose commercial LLMs responded to practical questions about Angolan labour law. The failure rate was alarming, driven by three structural causes:

  1. Cross-jurisdictional contamination (Portugal & Brazil): Because Portuguese-language pre-training data on the public internet is heavily dominated by the Brazilian CLT and the Portuguese Código do Trabalho, generic models routinely cite Portuguese or Brazilian article numbers when asked a question in Portuguese about an employment contract in Luanda.
  2. Repealed-law temporal confusion: Even when a generic model recognizes the Angolan context, its parametric weights frequently blend rules from the repealed Lei n.º 7/15 (or even Lei n.º 2/00) with the current Lei n.º 12/23.
  3. Invented sub-clauses: When asked for an exact statutory quote, unconstrained models paraphrase from memory, inventing plausible-sounding alíneas that do not exist in the official Diário da República text.

3. System architecture of LGT-AO

To eliminate cross-jurisdictional and temporal hallucinations, we built LGT-AO as a strictly bounded, citation-grounded retrieval system (detailed further in our technical note on Portuguese Legal RAG Pipelines):

Architectural Layer Implementation Detail Compliance Guarantee
Canonical Statutory Corpus Verified text of Lei n.º 12/23 parsed into an Article/Paragraph AST Zero Brazilian/Portuguese code contamination; repealed laws excluded from primary index
Hybrid Retrieval Engine Lexical BM25 + Multilingual Dense Vectors + 1-hop cross-reference graph Handles both exact article lookups (`Art. 208.º`) and colloquial worker questions
Deterministic Quote Verifier Substring verification of every quoted clause against the source AST node 100% of displayed statutory quotes are verbatim matches to the official text
Bilingual Plain-Language Explainer Structured separation between verbatim statutory quote and plain explanation Users always see the exact law alongside the practical interpretation

4. Automated contract clause auditing & risk matrices

Beyond answering standalone statutory questions, LGT-AO assists HR teams in auditing draft employment contracts and internal work regulations. When an HR specialist submits a contract clause (for example, a probationary-period clause or a non-compete/confidentiality provision), the system:

  • Identifies the governing articles in Lei n.º 12/23.
  • Checks numerical boundaries (such as maximum probationary days permitted for the employee’s qualification category, or notice periods).
  • Generates a structured Compliance Risk Matrix categorizing each clause as Aligned, Requires Clarification, or Statutory Conflict Detected, complete with the exact article reference for legal counsel to review.

5. Measured outcomes and human-in-the-loop governance

In line with TICNES AI’s core operating principles, LGT-AO explicitly reminds every user that automated statutory retrieval is an operational aid, not formal legal representation, and that the official text published in the Diário da República governs in all cases. Across active corporate and individual evaluations:

  • 100% statutory grounding: Every legal rule presented in the interface links directly to its exact article number and verbatim statutory text.
  • 85% reduction in common procedural errors: Pre-auditing disciplinary and fixed-term contract templates caught legacy Lei n.º 7/15 assumptions before contracts were signed.
  • 3x faster assessment speed: HR teams reduced initial contract compliance screening from hours of manual page-flipping to minutes of focused review.

Explore the live platform at lei-geral-do-trabalho-12-2023.ticnes.ai, or contact TICNES AI to deploy custom regulatory compliance assistants for your sector.

About the Authors — TICNES AI Legal Engineering Group

LGT-AO is developed and maintained by TICNES, Lda. (TICNES AI). For enterprise licensing, custom collective-agreement indexing or API integration, write to [email protected].