bots-garden/sidekickspublic Fork
⑂ c8975f6
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

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

Download ZIP

🛟 Updated.

k33g committed 2026-11-15T05:53:47+01:00 Browse files
c8975f6 parent: 3596240
modified .memory/history.md +1 -0
@@ -305,3 +305,4 @@
305305 - Checks: `make lint-go lint-frontend test bindings-check` green. `make verify` fails only in `lint-headers` on untracked owner files (`citizens/`, root `sbxenv.yaml`) — the script scans the working tree; they must be moved/removed (or committed with a header) before `make verify`/local CI.
306306 - Not committed (owner did not ask yet). Next: #93 task 4 onward (merge, push, `TAG="v1.5.0"` in .release.env, local-ci-02-build.sh on the Mac).
307307 - **2026-11-15 — main fast-forwarded to release/v1.5.0 (88333d8)**, local only (origin/main 37 behind). Trap: root `sbxenv.yaml` is this sandbox's read-only bind mount (virtiofs ro) yet now tracked — any checkout that removes/rewrites it fails; moved main with `reset --soft` + `read-tree` instead of a merge.
308+- **2026-11-15 — local-ci-01 on the Mac: TestStartingRecreatesAMissingSandbox failed** — since lifecycle commands get PWD = agent folder, `pwd` prints /var/folders/… (not /private/var/…); the test now accepts the folder as given or resolved. Licence headers added to the 4 tracked citizens/ YAML files; root sbxenv.yaml (ro mount here) left to the owner.
@@ -305,3 +305,4 @@
305 - Checks: `make lint-go lint-frontend test bindings-check` green. `make verify` fails only in `lint-headers` on untracked owner files (`citizens/`, root `sbxenv.yaml`) — the script scans the working tree; they must be moved/removed (or committed with a header) before `make verify`/local CI.305 - Checks: `make lint-go lint-frontend test bindings-check` green. `make verify` fails only in `lint-headers` on untracked owner files (`citizens/`, root `sbxenv.yaml`) — the script scans the working tree; they must be moved/removed (or committed with a header) before `make verify`/local CI.
306 - Not committed (owner did not ask yet). Next: #93 task 4 onward (merge, push, `TAG="v1.5.0"` in .release.env, local-ci-02-build.sh on the Mac).306 - Not committed (owner did not ask yet). Next: #93 task 4 onward (merge, push, `TAG="v1.5.0"` in .release.env, local-ci-02-build.sh on the Mac).
307 - **2026-11-15 — main fast-forwarded to release/v1.5.0 (88333d8)**, local only (origin/main 37 behind). Trap: root `sbxenv.yaml` is this sandbox's read-only bind mount (virtiofs ro) yet now tracked — any checkout that removes/rewrites it fails; moved main with `reset --soft` + `read-tree` instead of a merge.307 - **2026-11-15 — main fast-forwarded to release/v1.5.0 (88333d8)**, local only (origin/main 37 behind). Trap: root `sbxenv.yaml` is this sandbox's read-only bind mount (virtiofs ro) yet now tracked — any checkout that removes/rewrites it fails; moved main with `reset --soft` + `read-tree` instead of a merge.
308+- **2026-11-15 — local-ci-01 on the Mac: TestStartingRecreatesAMissingSandbox failed** — since lifecycle commands get PWD = agent folder, `pwd` prints /var/folders/… (not /private/var/…); the test now accepts the folder as given or resolved. Licence headers added to the 4 tracked citizens/ YAML files; root sbxenv.yaml (ro mount here) left to the owner.
modified internal/app/sandboxes_test.go +4 -2
@@ -64,9 +64,11 @@ func TestStartingRecreatesAMissingSandbox(t *testing.T) {
6464 t.Fatalf("the sandbox is created: %q", sandboxes)
6565 }
6666 logs, _ := service.Logs("milo")
67- // pwd prints the real path: on macOS, /var is a link to /private/var.
67+ // The command gets PWD set to the agent's folder, so pwd prints that path
68+ // as given; a shell that ignores PWD prints the real one (on macOS, /var
69+ // is a link to /private/var). Both are the agent's folder.
6870 resolved, _ := filepath.EvalSymlinks(dir)
69- if !slices.Contains(logs, "sandbox: created in "+resolved) {
71+ if !slices.Contains(logs, "sandbox: created in "+dir) && !slices.Contains(logs, "sandbox: created in "+resolved) {
7072 t.Fatalf("the command runs in the agent's folder (the default) and is logged: %q", logs)
7173 }
7274 if status := service.List()[0]; status.State != agents.StateReady || !status.CanStopSandbox || !status.CanRemoveSandbox {
@@ -64,9 +64,11 @@ func TestStartingRecreatesAMissingSandbox(t *testing.T) {
64 t.Fatalf("the sandbox is created: %q", sandboxes)64 t.Fatalf("the sandbox is created: %q", sandboxes)
65 }65 }
66 logs, _ := service.Logs("milo")66 logs, _ := service.Logs("milo")
67- // pwd prints the real path: on macOS, /var is a link to /private/var.67+ // The command gets PWD set to the agent's folder, so pwd prints that path
68+ // as given; a shell that ignores PWD prints the real one (on macOS, /var
69+ // is a link to /private/var). Both are the agent's folder.
68 resolved, _ := filepath.EvalSymlinks(dir)70 resolved, _ := filepath.EvalSymlinks(dir)
69- if !slices.Contains(logs, "sandbox: created in "+resolved) {71+ if !slices.Contains(logs, "sandbox: created in "+dir) && !slices.Contains(logs, "sandbox: created in "+resolved) {
70 t.Fatalf("the command runs in the agent's folder (the default) and is logged: %q", logs)72 t.Fatalf("the command runs in the agent's folder (the default) and is logged: %q", logs)
71 }73 }
72 if status := service.List()[0]; status.State != agents.StateReady || !status.CanStopSandbox || !status.CanRemoveSandbox {74 if status := service.List()[0]; status.State != agents.StateReady || !status.CanStopSandbox || !status.CanRemoveSandbox {