| 📦 Turbo Go 85cf23f k33g 12h ago | 1 | # Handoff — 2026-09-20 — `-load-config` (needs turbo-core v1.0.3) |
| 2 | |
| 3 | ## State |
| 4 | |
| 5 | - `-load-config <url>` wired in `main.go`, three tests in `main_test.go`, docs EN+FR updated. Green under the umbrella `go.work` (`turbo-editors/`), which resolves turbo-core to the local checkout. |
| 6 | - **`go.mod` still says turbo-core v1.0.2** — `GOWORK=off make check` fails until turbo-core v1.0.3 is tagged and this is re-pinned. Even under the workspace, the two release-script tests (`TestTheTagScript…`) fail for the same reason: they build a copy of the module outside it. Everything else is green. |
| 7 | |
| 8 | ## Next steps |
| 9 | |
| 10 | 1. When turbo-core v1.0.3 is tagged: `go get rickub.com/turbo-editors/turbo-core@v1.0.3 && go mod tidy && GOWORK=off make check`. |
| 11 | 2. Try it for real: in an empty directory, `turbo-go -load-config https://rickub.com/turbo-editors/configs/tree/main/golang-init` (the sample repository holds `.turbo-go` only — for this editor a directory with a `.turbo-go` is needed), then start `turbo-go` and check the settings took. |
| 12 | 3. Then `./01-release.tag.sh` as usual. |
| 13 | |
| 14 | ## Traps |
| 15 | |
| 16 | - The sample configs repository is `rickub.com/turbo-editors/configs`; its git address is `git.rickub.com`, which `configrepo` tries second. A wrong first candidate costs one `ls-remote`, not the load. |
| 17 | - The editor refuses when `.turbo-go` already exists (`configrepo.ErrExists`); there is deliberately no `--force`. |
| 18 | |
| 19 | ## Observed at the end of the session |
| 20 | |
| 21 | `demo/README.md`, `demo/go.mod`, `demo/index.html`, `demo/index.js`, `demo/main.go` are deleted in the working tree (`git status` shows `D`), and an untracked `demo-golang` binary (6.9 MB) sits at the module root. No test or script here deletes `demo/` (grep of `*.sh`, `Makefile`, `*_test.go`), the reflog shows no git operation, and the folder is kDrive-synced — most likely something done on the host. Not restored by this session; `git checkout -- demo` brings the files back if that was not intended. Note `demo/go.mod` is also what a root `go.work` must list to run `go` inside `demo/`. |
| 22 | |