# Capture changes into my fork

You're integrating one or more commits from a sibling GitHub fork into
the CURRENT WORKING DIRECTORY. The CWD should already be a clean git
working tree on a branch you're willing to commit to.

## Source thread: Slm local

PR willchen96/mike ← brauliogusmao/mike #75, by brauliogusmao.

| # | SHA | Subject | Fork | Authored |
|---|-----|---------|------|----------|
| 1 | [`a096a76d`](https://github.com/brauliogusmao/mike/commit/a096a76d5f4ef1427d4f4389c69d0a36c04e012d) | chore: instala dependencias do backend e frontend | `brauliogusmao/mike` | 2026-05-11 |
| 2 | [`f12456ca`](https://github.com/brauliogusmao/mike/commit/f12456cab218908969a5137feddd9535cf7ab7ae) | feat(i18n): configura next-intl e cria traducoes pt-BR | `brauliogusmao/mike` | 2026-05-11 |
| 3 | [`1f6b1527`](https://github.com/brauliogusmao/mike/commit/1f6b152719c755e537b4230d915ec559b959b724) | feat(i18n): traduz login, signup, modais shared e componentes de diretório | `brauliogusmao/mike` | 2026-05-12 |
| 4 | [`826e25fd`](https://github.com/brauliogusmao/mike/commit/826e25fd68cf72d8b706650fa6999fb3253c935b) | feat(i18n): translate assistant and tabular components to pt-BR | `brauliogusmao/mike` | 2026-05-12 |
| 5 | [`693e2fe5`](https://github.com/brauliogusmao/mike/commit/693e2fe56400f0ab0345a692a3f547fa4b1015d6) | feat(i18n): traduz workflows, modais, páginas e hook de chat para pt-BR | `brauliogusmao/mike` | 2026-05-12 |
| 6 | [`170e7bca`](https://github.com/brauliogusmao/mike/commit/170e7bcaf7d2b6336dcf3d833468f4e75a157422) | feat(i18n): traduz menu lateral (AppSidebar) para pt-BR | `brauliogusmao/mike` | 2026-05-12 |
| 7 | [`b6ed3d1c`](https://github.com/brauliogusmao/mike/commit/b6ed3d1cd330ae0b99f3b4e22728867c1d5e9fc1) | feat(i18n): traduz botão de documentos (AddDocButton) para pt-BR | `brauliogusmao/mike` | 2026-05-12 |
| 8 | [`ab9b0d7c`](https://github.com/brauliogusmao/mike/commit/ab9b0d7ccc24b1a4e78041e4de33650500c83aa4) | feat(i18n): renomeia Revisões Tabulares para terminologia jurídica brasileira | `brauliogusmao/mike` | 2026-05-12 |
| 9 | [`50553c3c`](https://github.com/brauliogusmao/mike/commit/50553c3c1b8a1e2947023ff2c9f8761289d2fc02) | feat(i18n): traduz painel de alterações rastreadas para pt-BR | `brauliogusmao/mike` | 2026-05-12 |
| 10 | [`9dfa9ca9`](https://github.com/brauliogusmao/mike/commit/9dfa9ca96f98384869b4766d8d48f7db835aad79) | feat: centraliza configuração de marca em brand.ts + componente AppLogo | `brauliogusmao/mike` | 2026-05-12 |
| 11 | [`4556c948`](https://github.com/brauliogusmao/mike/commit/4556c948c0fed3d8253f9325ecfa8a0e2215fd5f) | feat: título da aba do navegador configurável via variáveis de ambiente | `brauliogusmao/mike` | 2026-05-12 |
| 12 | [`4872c90b`](https://github.com/brauliogusmao/mike/commit/4872c90bc1f0a9980cdd7f3389e1b1968f7c7486) | fix: corrige removeChild durante streaming do ReactMarkdown | `brauliogusmao/mike` | 2026-05-12 |
| 13 | [`78e2b036`](https://github.com/brauliogusmao/mike/commit/78e2b03629bc3430801514f7739be6dfe897bd36) | fix: desativa plugins do ReactMarkdown durante streaming para evitar conflito de | `brauliogusmao/mike` | 2026-05-12 |
| 14 | [`937d816a`](https://github.com/brauliogusmao/mike/commit/937d816a65428f4de97bb75d816f75935798324f) | feat: traduz áreas de prática para português e documenta como config de instânci | `brauliogusmao/mike` | 2026-05-12 |
| 15 | [`0aef1737`](https://github.com/brauliogusmao/mike/commit/0aef1737fd8abc7e89abfc2627487eccc4fdd100) | chore: desativa painel de dev tools do Next.js (devIndicators) | `brauliogusmao/mike` | 2026-05-12 |
| 16 | [`1dcd8a86`](https://github.com/brauliogusmao/mike/commit/1dcd8a86d40944df65b3f357e7819648eb98d7b2) | feat: renomeia Workflows para Fluxos de trabalho e adiciona label no botão Criar | `brauliogusmao/mike` | 2026-05-12 |
| 17 | [`846ce3f2`](https://github.com/brauliogusmao/mike/commit/846ce3f2e5f9cea2fbde1eac8ea282cca07783eb) | feat: atualiza modal de novo fluxo com nomenclatura em português | `brauliogusmao/mike` | 2026-05-12 |
| 18 | [`a9e0d671`](https://github.com/brauliogusmao/mike/commit/a9e0d6714143bf52701f41bcffdd3311fc8d48b4) | fix: corrige label "Workflows" → "Fluxos de trabalho" no chat input | `brauliogusmao/mike` | 2026-05-12 |
| 19 | [`61e35e23`](https://github.com/brauliogusmao/mike/commit/61e35e235eb680df26751c0da8b960ac92030101) | feat: traduz página de Configurações para português | `brauliogusmao/mike` | 2026-05-12 |
| 20 | [`fde100d5`](https://github.com/brauliogusmao/mike/commit/fde100d5c5ceb4f583e6dc11b6181a8d36a4621f) | merge: adaptação para português (pt-BR) | `brauliogusmao/mike` | 2026-05-12 |
| 21 | [`ed833e17`](https://github.com/brauliogusmao/mike/commit/ed833e17090520b3958c5b887e8470dd3d367044) | fix: exibe mensagem de erro da API no balão do chat | `brauliogusmao/mike` | 2026-05-12 |
| 22 | [`4896b8c3`](https://github.com/brauliogusmao/mike/commit/4896b8c3adfdde2a4492adf7a134d37458a7f712) | Traduz mensagens de erro do chat para português | `brauliogusmao/mike` | 2026-05-12 |
| 23 | [`454ee916`](https://github.com/brauliogusmao/mike/commit/454ee9164a9d2098b6148b7f0900d14dacd84d89) | docs: adiciona histórico de alterações do projeto | `brauliogusmao/mike` | 2026-05-12 |
| 24 | [`cb3e3b59`](https://github.com/brauliogusmao/mike/commit/cb3e3b59968f4b14be26db01a7297e0f6332842e) | feat: integração com Ollama para modelos locais | `brauliogusmao/mike` | 2026-05-13 |

### Commit URLs (for your tooling)

1. https://github.com/brauliogusmao/mike/commit/a096a76d5f4ef1427d4f4389c69d0a36c04e012d
2. https://github.com/brauliogusmao/mike/commit/f12456cab218908969a5137feddd9535cf7ab7ae
3. https://github.com/brauliogusmao/mike/commit/1f6b152719c755e537b4230d915ec559b959b724
4. https://github.com/brauliogusmao/mike/commit/826e25fd68cf72d8b706650fa6999fb3253c935b
5. https://github.com/brauliogusmao/mike/commit/693e2fe56400f0ab0345a692a3f547fa4b1015d6
6. https://github.com/brauliogusmao/mike/commit/170e7bcaf7d2b6336dcf3d833468f4e75a157422
7. https://github.com/brauliogusmao/mike/commit/b6ed3d1cd330ae0b99f3b4e22728867c1d5e9fc1
8. https://github.com/brauliogusmao/mike/commit/ab9b0d7ccc24b1a4e78041e4de33650500c83aa4
9. https://github.com/brauliogusmao/mike/commit/50553c3c1b8a1e2947023ff2c9f8761289d2fc02
10. https://github.com/brauliogusmao/mike/commit/9dfa9ca96f98384869b4766d8d48f7db835aad79
11. https://github.com/brauliogusmao/mike/commit/4556c948c0fed3d8253f9325ecfa8a0e2215fd5f
12. https://github.com/brauliogusmao/mike/commit/4872c90bc1f0a9980cdd7f3389e1b1968f7c7486
13. https://github.com/brauliogusmao/mike/commit/78e2b03629bc3430801514f7739be6dfe897bd36
14. https://github.com/brauliogusmao/mike/commit/937d816a65428f4de97bb75d816f75935798324f
15. https://github.com/brauliogusmao/mike/commit/0aef1737fd8abc7e89abfc2627487eccc4fdd100
16. https://github.com/brauliogusmao/mike/commit/1dcd8a86d40944df65b3f357e7819648eb98d7b2
17. https://github.com/brauliogusmao/mike/commit/846ce3f2e5f9cea2fbde1eac8ea282cca07783eb
18. https://github.com/brauliogusmao/mike/commit/a9e0d6714143bf52701f41bcffdd3311fc8d48b4
19. https://github.com/brauliogusmao/mike/commit/61e35e235eb680df26751c0da8b960ac92030101
20. https://github.com/brauliogusmao/mike/commit/fde100d5c5ceb4f583e6dc11b6181a8d36a4621f
21. https://github.com/brauliogusmao/mike/commit/ed833e17090520b3958c5b887e8470dd3d367044
22. https://github.com/brauliogusmao/mike/commit/4896b8c3adfdde2a4492adf7a134d37458a7f712
23. https://github.com/brauliogusmao/mike/commit/454ee9164a9d2098b6148b7f0900d14dacd84d89
24. https://github.com/brauliogusmao/mike/commit/cb3e3b59968f4b14be26db01a7297e0f6332842e

## What I want you to do

1.  **Sanity check first.**

    - Run `git status`. If the working tree is dirty (uncommitted
      changes you don't recognise, untracked stuff you don't expect),
      STOP and tell me — don't try to be helpful by stashing. I'll
      resolve it.
    - Run `git branch --show-current`. If the branch is `main` or
      `master`, confirm with me before proceeding.

2.  **For each commit URL above, in the order listed:**

    a.  Fetch the diff. Pick whichever works:
        - `gh api repos/<owner>/<repo>/commits/<sha>` returns the full
          patch in JSON.
        - WebFetch the URL with `.patch` appended, e.g.
          `https://github.com/<owner>/<repo>/commit/<sha>.patch`.

    b.  Read the original commit message. That's the AUTHOR's intent —
        respect it.

    c.  Read the diff and understand the change. **Don't blindly
        cherry-pick.** This is a sibling fork — paths, naming, and
        structure can differ. You're porting, not pasting.

    d.  Compare against THIS repo's layout:
        - File at the same path → apply the change.
        - File exists under a different name (renamed / restructured) →
          apply the equivalent change at the right location.
        - File doesn't exist here at all → decide: new file we want, or
          is the source adding something this repo already has by
          another name? Use judgement. Lean towards creating the file
          when in doubt — easier for me to delete than to recreate.

    e.  Apply the change. Run `git diff` after, eyeball it, fix
        obvious issues (lint errors, broken imports, typos in the diff
        itself).

    f.  Commit with a message that:
        - Preserves the source commit's subject line.
        - Adds a short body explaining what you adapted, if anything.
        - Includes trailers:

              Source: <commit-url>
              Source-author: <original author name>

        so the attribution stays clear.

3.  **After all commits are applied:**

    - Run `git log --oneline -<count>` showing what you produced.
    - Show `git status` final state.
    - List any files you skipped, conflicts you resolved, and any
      assumptions you made.

## Rules

- **Do not push.** Local commits only. I'll review and push.
- **Do not rebase or force.** Only fresh commits. If you'd otherwise
  need a force push, stop and explain why.
- **Don't touch `.git/config` or run `git remote add`.** Leave my
  repo's remote setup alone.
- **No package installs, build steps, or migrations** unless the
  change manifestly requires it AND you explicitly tell me what
  you're about to run first.
- **One commit per source commit.** Don't squash. Don't split. If
  porting genuinely requires either, explain.
- **Read existing code before changing it.** This isn't the source
  fork. Match the local style.

## If you get stuck

Stop and tell me. Show what you've already done (commits made, files
changed), what blocked you (conflict, missing file, ambiguous intent),
and your recommended next move. I'd rather ship 3 of 5 commits cleanly
than have you guess on the 4th and break things.
