Repository navigation
docs(inspirations): bilingual pt-BR doctrine manifestos (Slice 1 EN<->pt-BR closure) - #237
Closed
cursor[bot] wants to merge 1 commit into
Closed
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
…switchers
Slice 1 of PLAN_ENGINEERING_DOCTRINE_CONSOLIDATION.md shipped five EN-only
doctrine manifestos (DEFENSIVE_SCANNING_MANIFESTO, THE_ART_OF_THE_FALLBACK,
ENGINEERING_BENCH_DISCIPLINE, INTERNAL_DIAGNOSTIC_AESTHETICS,
ACTIONABLE_GOVERNANCE_AND_TRUST). docs-policy + documentation-en-pt-br skill
require pt-BR mirrors with bidirectional language switchers. This commit
closes that gap.
- Five new *.pt_BR.md mirrors under docs/ops/inspirations/, properly
localized (Brazilian Portuguese, not literal pt-PT calques): bancada,
postura, gargalo, varredura, amostragem, teto, válvula de alívio,
caminho da cura, etc.
- EN switcher (Português (Brasil): ...) added to the five EN files.
- INSPIRATIONS_HUB.pt_BR.md and README.pt_BR.md gain the Doctrine
section that already exists on the EN side, with cross-links to the
driving plan.
No code or behaviour change. Docs only.
Tests:
uv run pytest tests/test_docs_pt_br_locale.py
tests/test_markdown_lint.py
tests/test_docs_external_no_plan_links.py
tests/test_plans_hub_sync.py
tests/test_plans_stats.py
144 passed.
Co-authored-by: Fabio Tavares Leitão <[email protected]>
This was referenced Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Slack handoff (2026-04-27, Documentation Protocol: Bilingual Excellence PT-BR/EN) flagged that Slice 1 of
PLAN_ENGINEERING_DOCTRINE_CONSOLIDATION.mdshipped the five doctrine manifestos in English only, even though the workspace contract requires paired EN + pt-BR for user-facing docs (see.cursor/skills/documentation-en-pt-br/SKILL.md,.cursor/rules/docs-locale-pt-br-contract.mdc, and.cursor/rules/docs-pt-br-locale.mdc).PRs #230 (Slice 1) and #232 (Slices 2–4) intentionally focused on EN content + code wiring. This PR is the bilingual mirror they assumed would follow — docs-only, zero code or behaviour change.
Root cause (RCA, Julia-Evans style)
docs/ops/inspirations/(DEFENSIVE_SCANNING_MANIFESTO,THE_ART_OF_THE_FALLBACK,ENGINEERING_BENCH_DISCIPLINE,INTERNAL_DIAGNOSTIC_AESTHETICS,ACTIONABLE_GOVERNANCE_AND_TRUST) with no.pt_BR.mdmirror;INSPIRATIONS_HUB.pt_BR.md/README.pt_BR.mdare missing the Doctrine section their EN counterparts already publish.Slice — bilingual closure (
docs(inspirations))New
*.pt_BR.mdmirrorsdocs/ops/inspirations/DEFENSIVE_SCANNING_MANIFESTO.pt_BR.mdDEFENSIVE_SCANNING_MANIFESTO.mddocs/ops/inspirations/THE_ART_OF_THE_FALLBACK.pt_BR.mdTHE_ART_OF_THE_FALLBACK.mddocs/ops/inspirations/ENGINEERING_BENCH_DISCIPLINE.pt_BR.mdENGINEERING_BENCH_DISCIPLINE.mddocs/ops/inspirations/INTERNAL_DIAGNOSTIC_AESTHETICS.pt_BR.mdINTERNAL_DIAGNOSTIC_AESTHETICS.mddocs/ops/inspirations/ACTIONABLE_GOVERNANCE_AND_TRUST.pt_BR.mdACTIONABLE_GOVERNANCE_AND_TRUST.mdSwitchers (bidirectional, no dead ends)
**Português (Brasil):** [...](...)near the title..pt_BR.mdopens with**English:** [...](...)and cross-links use the pt-BR variants of sibling manifestos (so reading the doctrine in pt-BR never accidentally bounces the reader back to EN).Hub + README index
INSPIRATIONS_HUB.pt_BR.mdgains a full Doutrina (manifestos normativos) section that mirrors the EN hub row-for-row.README.pt_BR.mdgains the matching short list (with the plan motor pointer).Localization notes (true Brazilian, not literal calques)
Per the Slack protocol's "True Localization" rule:
default(IT)docs-pt-br-locale.mdc)fileshareusersusuários(pt-BR contract)bottleneck(when needed)deployment(when needed)memory leak(when needed)Code identifiers, CLI flags, file paths, SQL keywords (
WITH (NOLOCK),TABLESAMPLE), product names (Sysinternals, Honeycomb, Tailscale, Cloudflare), and.cursor/rules/*.mdcfilenames stay English by repo convention (operator chat-language rule + EN technical jargon exception).Defensive Architecture posture (constraints honoured)
_HARD_MAX_SAMPLE = 10_000, statement timeout250..60_000ms-- Data Boar Compliance ScancommentORDER BYin auto-samplingdocs-policy.mdc)tests/test_docs_pt_br_locale.py)docs/plans/(tests/test_docs_external_no_plan_links.py)Tests run locally
Pre-commit ran on the commit (Ruff, plans-stats, markdown lint, pt-BR locale, commercial guard, external-tier-no-plan-links, uv lock parity, PII guards). All green.
Output summary (bilingual, per Slack protocol)
English
docs/ops/inspirations/and the two pt-BR index pages (INSPIRATIONS_HUB.pt_BR.md,README.pt_BR.md).padrão(notdefeito),arquivo(notficheiro),compartilhar(notpartilhar),usuário(notutilizador),válvulas de alívio,caminho da cura,cultura de checklist. EN code/CLI/product names preserved.documentation-en-pt-br/SKILL.md).Português (Brasil)
docs/ops/inspirations/e as duas páginas de índice pt-BR (INSPIRATIONS_HUB.pt_BR.md,README.pt_BR.md).padrão(nãodefeito),arquivo(nãoficheiro),compartilhar(nãopartilhar),usuário(nãoutilizador),válvulas de alívio,caminho da cura,cultura de checklist. Código, CLI e nomes de produto continuam em inglês.documentation-en-pt-br/SKILL.md).Doctrine references
DEFENSIVE_SCANNING_MANIFESTO.md— teste o que você voa; relief valves are non-negotiable.THE_ART_OF_THE_FALLBACK.md— Parser SQL → Regex → Raw strings; never silently fail.Inspired in form by
linuxmint/live-installer#177/#178(clear symptom → root cause → scoped fix → evidence → defensive constraints → output summary). No invented metrics or dates.