From a422eb1b6be865aa4a50a7bdc6c79f80e0aca36c Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 22 Mar 2026 10:18:57 +0000 Subject: [PATCH] feat(lib): add go.work.tmpl to workspace template Codex agents are sandboxed to src/ and don't get ~/Code/go.work. This template creates a go.work with `use .` so the Go toolchain works in workspace mode inside the sandbox. Co-Authored-By: Virgil --- pkg/lib/workspace/default/go.work.tmpl | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pkg/lib/workspace/default/go.work.tmpl diff --git a/pkg/lib/workspace/default/go.work.tmpl b/pkg/lib/workspace/default/go.work.tmpl new file mode 100644 index 0000000..957f5b9 --- /dev/null +++ b/pkg/lib/workspace/default/go.work.tmpl @@ -0,0 +1,3 @@ +go 1.26.0 + +use .