Handoff — 2026-09-20 — -load-config (needs turbo-core v1.0.3)
State
-load-config <url>wired inmain.go, three tests inmain_test.go, docs EN+FR updated. Green under the umbrellago.work(turbo-editors/), which resolves turbo-core to the local checkout.go.modstill says turbo-core v1.0.2 —GOWORK=off make checkfails 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.
Next steps
- 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. - 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-goonly — for this editor a directory with a.turbo-gois needed), then startturbo-goand check the settings took. - Then
./01-release.tag.shas usual.
Traps
- The sample configs repository is
rickub.com/turbo-editors/configs; its git address isgit.rickub.com, whichconfigrepotries second. A wrong first candidate costs onels-remote, not the load. - The editor refuses when
.turbo-goalready exists (configrepo.ErrExists); there is deliberately no--force.
Observed at the end of the session
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/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|