turbo-editors/turbo-rustpublic Fork 0
v1.0.2
Commits
Clone
git clone https://git.rickub.com/turbo-editors/turbo-rust.git
git clone ssh://git@rickub.com/turbo-editors/turbo-rust.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

📦 Turbo Rust 713ea5c · on v1.0.2 · k33g · 13h ago
2026-09-03-defects-the-third-editor-exposed.md · 54 lines · 2.7 KBmarkdown
Blame HistoryOpen raw

Handoff — 2026-09-03 — the defects a third editor exposed here

Where this stopped

Done, nothing in flight. Documentation only; no code changed and no dependency moved.

Why this repository was touched at all

turbo-python was built by adapting this project's documentation. Adapting it found three
things that were wrong here, not just in the copy.

What changed

  • docs/en/reference/menus.md — said project menus appear "between Go and Help", twice,
    in an editor whose menu is called Rust. The French version had it right. This is the same
    mistake this project already recorded and fixed once, in the French tools reference: a
    mechanical substitution that only looked at identifiers.
  • docs/{en,fr}/reference/menus.md and docs/{en,fr}/tutorials/getting-started.md — the
    menu bar listing omitted Code.
  • docs/{en,fr}/tutorials/getting-started.md — "press four times to reach Options" has
    been five since the Code menu shipped.
  • docs/{en,fr}/explanation/architecture.md — "both editors" → "every editor built on it".

Checked by driving this editor's own binary in a pty, not by reasoning about it: the bar
reads File Edit Search Run Code Options Window Snippets Rust Help, and five
from File lands on Options.

Left undone, and cheap

docs/diagrams/packages.drawio is a file nothing imports, so nothing notices when it stops
describing the code. turbo-python's copy of it shipped labelled internal/rustlang, with
host="turbo-rust", because a diagram cannot be grepped for correctness. turbo-python now
has a diagram_test.go that parses the drawio and holds it to go list — the boxes are the
packages the module imports, every arrow out of our own packages is a real import, and no
label names another editor's language. Copying it here is perhaps twenty minutes.

Already red when I arrived — not caused here, not fixed here

go test ./... fails at HEAD on a clean tree, verified by stashing this session's
changes and running it again. Three tests in internal/rustlang/templates_test.go:

  • TestTheCreatedToolsFileHoldsTheFiveCargoCommands — the file now holds six: the five,
    plus the Echo tool the starter file gained deliberately to teach the menu key.
  • TestRunIsTheOneToolInATerminalEcho goes to terminal, on purpose.
  • TestTheCreatedToolsFileNamesTheRustMenuNotTheGoOne.

The template moved and the tests did not. The template looks right — turbo-python's
equivalent test counts its own Echo tool, and the turbo-new-editor skill prescribes
showing the menu key in the starter file — so the fix is in the assertions. Left alone
because that is the tools-template cycle's business, not a documentation session's.

State

Not committed.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Handoff — 2026-09-03 — the defects a third editor exposed here

## Where this stopped

Done, nothing in flight. **Documentation only; no code changed and no dependency moved.**

## Why this repository was touched at all

turbo-python was built by adapting this project's documentation. Adapting it found three
things that were wrong **here**, not just in the copy.

## What changed

- `docs/en/reference/menus.md` — said project menus appear **"between Go and Help"**, twice,
  in an editor whose menu is called Rust. The French version had it right. This is the same
  mistake this project already recorded and fixed once, in the French tools reference: a
  mechanical substitution that only looked at identifiers.
- `docs/{en,fr}/reference/menus.md` and `docs/{en,fr}/tutorials/getting-started.md` — the
  menu bar listing omitted **Code**.
- `docs/{en,fr}/tutorials/getting-started.md` — "press `→` four times to reach Options" has
  been **five** since the Code menu shipped.
- `docs/{en,fr}/explanation/architecture.md` — "both editors" → "every editor built on it".

Checked by driving this editor's own binary in a pty, not by reasoning about it: the bar
reads `File  Edit  Search  Run  Code  Options  Window  Snippets  Rust  Help`, and five `→`
from `File` lands on `Options`.

## Left undone, and cheap

`docs/diagrams/packages.drawio` is a file nothing imports, so nothing notices when it stops
describing the code. turbo-python's copy of it shipped labelled `internal/rustlang`, with
`host="turbo-rust"`, because a diagram cannot be grepped for correctness. turbo-python now
has a `diagram_test.go` that parses the drawio and holds it to `go list` — the boxes are the
packages the module imports, every arrow out of our own packages is a real import, and no
label names another editor's language. Copying it here is perhaps twenty minutes.

## Already red when I arrived — not caused here, not fixed here

`go test ./...` **fails at `HEAD` on a clean tree**, verified by stashing this session's
changes and running it again. Three tests in `internal/rustlang/templates_test.go`:

- `TestTheCreatedToolsFileHoldsTheFiveCargoCommands` — the file now holds **six**: the five,
  plus the `Echo` tool the starter file gained deliberately to teach the `menu` key.
- `TestRunIsTheOneToolInATerminal``Echo` goes to `terminal`, on purpose.
- `TestTheCreatedToolsFileNamesTheRustMenuNotTheGoOne`.

**The template moved and the tests did not.** The template looks right — turbo-python's
equivalent test counts its own `Echo` tool, and the `turbo-new-editor` skill prescribes
showing the `menu` key in the starter file — so the fix is in the assertions. Left alone
because that is the tools-template cycle's business, not a documentation session's.

## State

**Not committed.**