bots-garden/razorbillpublic Fork
⑂ 9901280
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/razorbill.git
git clone ssh://git@rickub.com/bots-garden/razorbill.git

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

Download ZIP

memory: compat/test_qwen ok on the Mac, release.sh dist/ ownership

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k33g committed 2026-11-26T18:30:47+01:00 Browse files
9901280 parent: 284b684
modified .memory/handoffs/2026-11-26-v0-2-release-and-tooling.md +6 -0
@@ -35,3 +35,9 @@
3535 proven, to interfere).
3636 - Qwen3.5 is hybrid: prompt cache never reused (documented); it reasons >1000 tokens on small
3737 prompts, so low max_tokens gives no answer.
38+
39+## Update (later session, 2026-11-26)
40+- compat.sh and test_qwen.py ok on the Mac (speed drop gone). Steps 1 and 3 done.
41+- release.sh failed: root-owned `dist/` from an earlier sudo run. Fixed check in 284b684; tag
42+ v0.2.0 now on 284b684. Next: user runs `sudo chown -R "$(whoami)" dist .build`, then
43+ `scripts/release.sh`; then decide whether to push main + tag and publish the archive; then #46.
@@ -35,3 +35,9 @@
35 proven, to interfere).35 proven, to interfere).
36 - Qwen3.5 is hybrid: prompt cache never reused (documented); it reasons >1000 tokens on small36 - Qwen3.5 is hybrid: prompt cache never reused (documented); it reasons >1000 tokens on small
37 prompts, so low max_tokens gives no answer.37 prompts, so low max_tokens gives no answer.
38+
39+## Update (later session, 2026-11-26)
40+- compat.sh and test_qwen.py ok on the Mac (speed drop gone). Steps 1 and 3 done.
41+- release.sh failed: root-owned `dist/` from an earlier sudo run. Fixed check in 284b684; tag
42+ v0.2.0 now on 284b684. Next: user runs `sudo chown -R "$(whoami)" dist .build`, then
43+ `scripts/release.sh`; then decide whether to push main + tag and publish the archive; then #46.
modified .memory/history.md +8 -0
@@ -427,3 +427,11 @@ Session end (user restarts Claude): summary "Not yet established" updated; new h
427427 ## 2026-11-26 — status check
428428
429429 User asked where things stood: read-only session, reported the handoff `2026-11-26-v0-2-release-and-tooling.md` (tag v0.2.0 on cce9761, only memory commits after it). Nothing changed.
430+
431+Then: user reports compat.sh ok and test_qwen.py ok on the Mac, release.sh failing with `tar: Failed
432+to open 'dist/razorbill-0.2.0-macos-arm64.tar.gz'`. Cause: dist/ and the archive from a 16:54 run
433+under sudo are root-owned (archive entries root/wheel, chmod refused even from the sandbox).
434+release.sh now checks dist/ and its two outputs are writable and prints the chown command
435+(tested on a scratch copy: read-only archive → message, exit 1; writable → archive); troubleshooting
436+row in the build how-to EN+FR. Tag v0.2.0 moved to 284b684. User to run `sudo chown -R "$(whoami)"
437+dist .build` then release.sh.
@@ -427,3 +427,11 @@ Session end (user restarts Claude): summary "Not yet established" updated; new h
427 ## 2026-11-26 — status check427 ## 2026-11-26 — status check
428 428
429 User asked where things stood: read-only session, reported the handoff `2026-11-26-v0-2-release-and-tooling.md` (tag v0.2.0 on cce9761, only memory commits after it). Nothing changed.429 User asked where things stood: read-only session, reported the handoff `2026-11-26-v0-2-release-and-tooling.md` (tag v0.2.0 on cce9761, only memory commits after it). Nothing changed.
430+
431+Then: user reports compat.sh ok and test_qwen.py ok on the Mac, release.sh failing with `tar: Failed
432+to open 'dist/razorbill-0.2.0-macos-arm64.tar.gz'`. Cause: dist/ and the archive from a 16:54 run
433+under sudo are root-owned (archive entries root/wheel, chmod refused even from the sandbox).
434+release.sh now checks dist/ and its two outputs are writable and prints the chown command
435+(tested on a scratch copy: read-only archive → message, exit 1; writable → archive); troubleshooting
436+row in the build how-to EN+FR. Tag v0.2.0 moved to 284b684. User to run `sudo chown -R "$(whoami)"
437+dist .build` then release.sh.
modified .memory/summary.md +6 -3
@@ -250,10 +250,13 @@ of the resolved version.
250250 ## Not yet established
251251
252252 - `rzb serve` on the Mac answers over HTTP (user, 2026-11-26: Qwen3.5-9B-MLX-4bit streamed through
253- `demos/test-qwen`, ~15–20 tok/s, reasoning ok). Not explained: speed fell 20.1 → 18.3 → 14.6 tok/s
254- over 3 identical runs (build was still coverage-instrumented then; chip unknown). Whether dropping
253+ `demos/test-qwen`, ~15–20 tok/s, reasoning ok). The speed drop across runs (20.1 → 18.3 → 14.6
254+ tok/s, instrumented build) is gone with the uninstrumented build (user: `test_qwen.py --runs 3
255+ --no-think --max-tokens 400` "ok", 2026-11-26; figures not seen). Whether dropping
255256 `MLXEngine`'s container frees GPU memory promptly (no `MLX.GPU.clearCache` call) is unverified.
256-- Not yet run on the Mac: `scripts/compat.sh` (last Mac run before #44), `scripts/release.sh`.
257+- `scripts/compat.sh` passes on the Mac (user, 2026-11-26, counts not seen). `scripts/release.sh`
258+ has not completed on the Mac yet: the first try failed in tar because `dist/` was root-owned from
259+ a 16:54 run under sudo (the archive lists root/wheel); the script now stops with a chown hint.
257260 - Cause of the "Operation not permitted" build failures (2026-11-26): root-owned files in `.build`
258261 from a build run with sudo is the working hypothesis (fixed by chown; not confirmed with `find
259262 -user root`). Whether rzb finds its bundles when started through a symlink: unverified (the
@@ -250,10 +250,13 @@ of the resolved version.
250 ## Not yet established250 ## Not yet established
251 251
252 - `rzb serve` on the Mac answers over HTTP (user, 2026-11-26: Qwen3.5-9B-MLX-4bit streamed through252 - `rzb serve` on the Mac answers over HTTP (user, 2026-11-26: Qwen3.5-9B-MLX-4bit streamed through
253- `demos/test-qwen`, ~15–20 tok/s, reasoning ok). Not explained: speed fell 20.1 → 18.3 → 14.6 tok/s253+ `demos/test-qwen`, ~15–20 tok/s, reasoning ok). The speed drop across runs (20.1 → 18.3 → 14.6
254- over 3 identical runs (build was still coverage-instrumented then; chip unknown). Whether dropping254+ tok/s, instrumented build) is gone with the uninstrumented build (user: `test_qwen.py --runs 3
255+ --no-think --max-tokens 400` "ok", 2026-11-26; figures not seen). Whether dropping
255 `MLXEngine`'s container frees GPU memory promptly (no `MLX.GPU.clearCache` call) is unverified.256 `MLXEngine`'s container frees GPU memory promptly (no `MLX.GPU.clearCache` call) is unverified.
256-- Not yet run on the Mac: `scripts/compat.sh` (last Mac run before #44), `scripts/release.sh`.257+- `scripts/compat.sh` passes on the Mac (user, 2026-11-26, counts not seen). `scripts/release.sh`
258+ has not completed on the Mac yet: the first try failed in tar because `dist/` was root-owned from
259+ a 16:54 run under sudo (the archive lists root/wheel); the script now stops with a chown hint.
257 - Cause of the "Operation not permitted" build failures (2026-11-26): root-owned files in `.build`260 - Cause of the "Operation not permitted" build failures (2026-11-26): root-owned files in `.build`
258 from a build run with sudo is the working hypothesis (fixed by chown; not confirmed with `find261 from a build run with sudo is the working hypothesis (fixed by chown; not confirmed with `find
259 -user root`). Whether rzb finds its bundles when started through a symlink: unverified (the262 -user root`). Whether rzb finds its bundles when started through a symlink: unverified (the