Skip to content

docs: translate the first four ADRs to english - #14

Merged
Madeuss merged 1 commit into
mainfrom
docs/english-adrs
Aug 29, 2026
Merged

docs: translate the first four ADRs to english#14
Madeuss merged 1 commit into
mainfrom
docs/english-adrs

Conversation

@Madeuss

@Madeuss Madeuss commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Point 4, closing the internationalisation sequence started in #12.

Four, not three

ADR-0006 made English the language of decision records from that point forward,
which left four Portuguese documents behind, not three — 0004 predates the
rule by a few hours. They are also the ones a reader opens first.

ADR
0001 One repository for app, infrastructure, evals and docs
0002 Postgres with pgvector instead of a dedicated vector database
0003 Python/FastAPI for the AI core, Next.js as the BFF
0004 Case structure generated by code, veneer generated by a model

Filenames follow the content. Meeting
0003-python-fastapi-no-core-de-ia-e-next-como-bff.md while browsing a
directory of English documents is exactly the half-migrated look ADR-0006 argues
against. All references updated.

Two things found on the way

A broken link. docs/02-regras-de-negocio.md pointed at
05-threat-model.md, which does not exist yet. It was marked "(a escrever)" in
the text, but it was still a 404 for anyone who clicked it.

So there is now a test for that. test_docs_links.py walks every Markdown
file in the repository and asserts every relative link resolves. It lives in the
API suite deliberately: that is the only runner CI has, so it rides the existing
test check instead of adding another required one. It also asserts the glob
found documents at all — a glob that silently matches nothing makes every other
assertion pass.

In a repository where the documentation is part of what is being judged, a dead
link is small and reads as carelessness.

One content change, not just translation

ADR-0002 gained a consequence discovered when the stack first came up: the
container image ships pgvector 0.8.6 while the managed instance is on
0.8.2. A new index feature has to be checked against production before it is
used.

48 passed · ruff clean · mypy strict: 12 files, no issues

What stays in Portuguese

The design documents — plan, domain, business rules. They are the ones almost
nobody opens, the glossary maps both vocabularies, and the two days are better
spent on the game.

ADR-0006 made English the language of the ADRs, but only from that point on.
Four Portuguese documents were left behind, and they are the ones a reader
opens first: monorepo, pgvector, the Python/TypeScript boundary, deterministic
generation. A decision record nobody in the audience can read is not a record.

Filenames follow the content, so a reader browsing docs/adr/ does not meet a
Portuguese filename holding an English document. Every reference was updated.

Two fixes found on the way. The rules document linked to a threat model that
does not exist yet, which was a 404 rather than a note. And there is now a test
that walks every Markdown file in the repository and asserts its relative links
resolve — it lives in the API suite because that is the only runner CI has, and
a separate workflow would be another required check to keep green.

ADR-0002 also gained the version drift discovered when the stack first came up:
the container image ships pgvector 0.8.6 while the managed instance is on 0.8.2.
@Madeuss Madeuss self-assigned this Aug 29, 2026
@Madeuss
Madeuss merged commit 4f29ac2 into main Aug 29, 2026
4 checks passed
@Madeuss
Madeuss deleted the docs/english-adrs branch August 29, 2026 22:05
@Madeuss Madeuss added this to the Phase 0 — Foundation milestone Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant