Skip to content

Feature: Maps of Content (MOCs)

Maps of Content — MOCs (F09, F10, F11, F19)

Section titled “Maps of Content — MOCs (F09, F10, F11, F19)”

knowledge/mocs/MOC_*.md — The second layer of the skill graph. Each MOC catalogs all books within a legal domain, organizing them by sub-topic with wikilinks to book entries, processing statistics, and cross-domain connections.

A Map of Content (MOC) is a curated index file that serves as the entry point for a specific legal domain. Unlike a flat list, MOCs organize books thematically (e.g., “Doutrina Brasileira”, “Drafting e Redacao Contratual”, “Doutrina Internacional”) so researchers can navigate by sub-topic rather than alphabetically.

Each MOC answers three questions:

  1. What books do we have in this domain?
  2. How are they organized thematically?
  3. What other domains does this one connect to?

All MOCs follow a standard structure defined in CLAUDE.md:

---
type: moc
domain: civil
description: Direito Civil — teoria geral dos contratos, obrigacoes,
responsabilidade civil, interpretacao contratual
key_authors: [Orlando Gomes, Fabio Ulhoa Coelho, Pontes de Miranda,
Melvin Eisenberg]
total_obras: 35
total_chunks: ~9365
---
FieldTypeDescription
typestrAlways "moc"
domainstrDomain identifier (matches INDEX_DOUTO.md)
descriptionstrBrief description of the domain coverage
key_authorslist[str]Principal authors in the domain
total_obrasintNumber of cataloged books
total_chunksstrApproximate chunk count (prefixed with ~)
key_legislationlist[str]Key statutes (used in MOC_CONSUMIDOR)
# Domain Title
Brief description of the domain and its focus.
## Sub-topic 1
- [[book-slug]] — Author, brief description
## Sub-topic 2
- [[book-slug]] — Author, brief description
## Conexoes
- -> [[MOC_OTHER]] (relationship description)

Books are referenced via wikilinks ([[book-slug]]) that resolve to book directories in the vault staging area.


File: knowledge/mocs/MOC_CIVIL.md

PropertyValue
Books cataloged35
Approximate chunks~9,365
Key authorsOrlando Gomes, Fabio Ulhoa Coelho, Pontes de Miranda, Melvin Eisenberg
StatusActive — largest by book count

The largest MOC by number of books. Organized into 5 thematic sub-sections:

Sub-sectionBooksCoverage
Doutrina Brasileira8Orlando Gomes, Fabio Ulhoa Coelho, factoring, opcoes, GVLaw, compilacoes
Doutrina Internacional — Teoria14Chitty on Contracts, Anson’s Law, McKendrick, Eisenberg, Benson, Singh, choice of law
Interpretacao e Hermeneutica3Contract interpretation, Scalia, UNIDROIT Principles
Drafting e Redacao Contratual8Kenneth Adams, Fontaine (international), copyright drafting, legal writing
Gestao e Negociacao Contratual5IACCM, contract management, financial elements, negotiation

Cross-domain connections:

  • MOC_EMPRESARIAL (contratos empresariais, venture capital)
  • MOC_PROCESSUAL (cumprimento de sentenca, execucao contratual)
  • MOC_COMPLIANCE (smart contracts, legal tech)

File: knowledge/mocs/MOC_PROCESSUAL.md

PropertyValue
Books cataloged8
Approximate chunks~22,182
Key authorsNelson Nery Jr., Wambier, Marinoni, Mitidiero, Arenhart
StatusActive — largest by chunk count

The largest MOC by chunk count. CPC commentaries are massive multi-volume works that produce many chunks per book. Organized into 4 sub-sections:

Sub-sectionBooksCoverage
CPC Comentado2Gaio Jr./Cleyson Mello, Nelson Nery Jr./Rosa Maria Nery
Teoria Geral do Processo2Wambier vol. 1, Marinoni/Mitidiero vol. 1
Cognicao e Procedimento Comum2Wambier vol. 2, Marinoni et al. vol. 2
Procedimentos Diferenciados e Tutelas1Marinoni et al. vol. 3
Estrategia Processual1Serie GVLaw

Cross-domain connections:

  • MOC_CIVIL (direito material subjacente)
  • MOC_CONSUMIDOR (inversao do onus, tutelas de urgencia em consumo)

File: knowledge/mocs/MOC_EMPRESARIAL.md

PropertyValue
Books cataloged7
Approximate chunks
Key authorsPaula Forgioni, Doug Cumming
StatusActive

Organized into 4 sub-sections:

Sub-sectionBooksCoverage
Venture Capital e Private Equity2Doug Cumming (international), economic valuation
Contratos Empresariais Especializados4Agile contracts, construction claims, commercial drafting, international contracts
Legal Tech3Smart contracts/blockchain, IT acquisitions, contract design
Litigio Comercial1Fentiman (international commercial litigation)

Cross-domain connections:

  • MOC_CIVIL (teoria geral dos contratos)
  • MOC_COMPLIANCE (governanca, LGPD em contratos tech)

File: knowledge/mocs/MOC_CONSUMIDOR.md

PropertyValue
Books cataloged0
Approximate chunks0
Key legislationCDC (Lei 8.078/90)
StatusIn Progress (~10%) — placeholder with structure only

The file exists with the correct frontmatter and section structure but no books have been cataloged:

## Fundamentos
(a preencher -- relacao de consumo, principios do CDC)
## Responsabilidade Civil
(a preencher -- fato/vicio do produto/servico)
## Praticas Abusivas
(a preencher -- clausulas abusivas, publicidade enganosa)

Cross-domain connections (defined):

  • MOC_CIVIL (responsabilidade civil geral)
  • MOC_PROCESSUAL (inversao do onus, tutela de urgencia)

To complete: Identify and catalog consumer law books in the existing vault, or process new PDFs through the pipeline.


Planned Feature — These MOCs are on the roadmap (F25, P1, milestone v0.3) but have not been created yet.

MOCDomainDescriptionKnown Books
MOC_TRIBUTARIODireito TributarioObrigacao tributaria, credito tributario, processo administrativo fiscal
MOC_CONSTITUCIONALDireito ConstitucionalDireitos fundamentais, controle de constitucionalidade, hermeneutica constitucional
MOC_COMPLIANCECompliance & GovernancaLGPD, governanca corporativa, due diligence, anticorrupcao
MOC_SUCESSOESSucessoes & Planejamento PatrimonialInventario, testamento, holdings familiares, planejamento sucessorio

Create knowledge/mocs/MOC_{DOMAIN}.md with the standard frontmatter:

---
type: moc
domain: {domain_id}
description: {brief description of the domain}
key_authors: []
total_obras: 0
total_chunks: 0
---

Define thematic sub-sections relevant to the domain. Use other MOCs as templates.

If books for this domain already exist in the vault (processed and enriched), add wikilinks:

## Sub-topic
- [[book-slug]] — Author, brief description

Verify that INDEX_DOUTO.md already has a wikilink [[MOC_{DOMAIN}]] pointing to the new file. All 8 domains are already listed in the index.

For new PDFs:

Terminal window
# Place PDF in staging
cp new-book.pdf $VAULT_PATH/Knowledge/_staging/input/
# Run the full pipeline
python3 pipeline/process_books.py
python3 pipeline/rechunk_v3.py
python3 pipeline/enrich_chunks.py all
python3 pipeline/embed_doutrina.py

Then add the book entry to the MOC file and update total_obras and total_chunks in the frontmatter.


MOCBooksChunks% of Total Chunks
MOC_CIVIL35~9,365~30%
MOC_PROCESSUAL8~22,182~70%
MOC_EMPRESARIAL7
MOC_CONSUMIDOR000%
Total (active)50~31,547100%