bots-garden/razorbillpublic Fork
⑂ 601aaa2
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: v0.3 spike #46 started (/v1/systemone, shape not agreed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k33g committed 2026-11-26T18:51:06+01:00 Browse files
601aaa2 parent: a823757
added .memory/handoffs/2026-11-26-v0-3-systemone-spike.md +20 -0
new file mode 100644
@@ -0,0 +1,20 @@
1+# Handoff 2026-11-26 — v0.3 spike #46, /v1/systemone
2+
3+## Where things stand
4+- v0.2.0 pushed (main + tag) by the user. Branch `feature/v0.2-openai-server` == main.
5+- #46 task 1 in progress: the user wants **one endpoint, `/v1/systemone`**, covering
6+ classifiers/guards and LLM routers/deciders. Its request/response shape is **not agreed**: the
7+ user stopped my proposal (closed choices → chosen label + per-option probabilities, no reasoning)
8+ to clarify something first. Ask what they meant before writing anything.
9+- Task 2 done (findings in history.md, 2026-11-26 "v0.3 spike #46 started"); not yet written as a
10+ comment on #46.
11+
12+## Next steps
13+1. Get the user's definition of /v1/systemone (inputs, outputs, which models).
14+2. Write the spike report as comment 1 on #46, close tasks 1–2, then propose the v0.3 tickets
15+ (task 3) for approval — methodical-dev, approval-gated.
16+3. Work on a new branch (e.g. `feature/v0.3-systemone`) from main.
17+
18+## Traps
19+- mlx-swift-lm's reranker/classifier scoring is `package` scope: cannot be called from razorbill.
20+- `logprobs` is currently refused with 400 on /v1/completions (CompletionsRoute.swift).
new file mode 100644
@@ -0,0 +1,20 @@
1+# Handoff 2026-11-26 — v0.3 spike #46, /v1/systemone
2+
3+## Where things stand
4+- v0.2.0 pushed (main + tag) by the user. Branch `feature/v0.2-openai-server` == main.
5+- #46 task 1 in progress: the user wants **one endpoint, `/v1/systemone`**, covering
6+ classifiers/guards and LLM routers/deciders. Its request/response shape is **not agreed**: the
7+ user stopped my proposal (closed choices → chosen label + per-option probabilities, no reasoning)
8+ to clarify something first. Ask what they meant before writing anything.
9+- Task 2 done (findings in history.md, 2026-11-26 "v0.3 spike #46 started"); not yet written as a
10+ comment on #46.
11+
12+## Next steps
13+1. Get the user's definition of /v1/systemone (inputs, outputs, which models).
14+2. Write the spike report as comment 1 on #46, close tasks 1–2, then propose the v0.3 tickets
15+ (task 3) for approval — methodical-dev, approval-gated.
16+3. Work on a new branch (e.g. `feature/v0.3-systemone`) from main.
17+
18+## Traps
19+- mlx-swift-lm's reranker/classifier scoring is `package` scope: cannot be called from razorbill.
20+- `logprobs` is currently refused with 400 on /v1/completions (CompletionsRoute.swift).
modified .memory/history.md +12 -0
@@ -439,3 +439,15 @@ dist .build` then release.sh.
439439 Then: user confirms release.sh ok and asks to push main + tag v0.2.0 (not the archive, gitignored).
440440 Push impossible from the sandbox: origin is ssh://git@rickub.com (SSH, "Host key verification
441441 failed"; the proxy only handles HTTPS GitHub). Handed the commands to the user to run on the Mac.
442+
443+## 2026-11-26 — v0.3 spike #46 started
444+
445+User pushed main + tag v0.2.0 from the Mac and asked to start v0.3. Task 1 (meaning): user picked
446+classifiers/guards and LLM routers/deciders (not rerankers), then answered the scope question with
447+"le endpoint à implementer c'est /v1/systemone". The shape of /v1/systemone is not agreed yet: my
448+reading (Kahneman's System 1 = fast decision among closed options, with probabilities) was put to
449+the user, who wants to clarify first. Task 2 findings (mlx-swift-lm 3.32.3): encoder
450+sequence classification exists only as BERT/XLM-R rerankers in MLXEmbedders, its scoring API is
451+`package` (not usable from razorbill); guard models (Llama Guard 3, Qwen3Guard-Gen) are generative
452+LLMs; no logprobs API, but a LogitProcessor sees the logits. Proposed mechanism: score each closed
453+option by log P(option | prompt) in one prefill. Nothing written in the tickets yet.
@@ -439,3 +439,15 @@ dist .build` then release.sh.
439 Then: user confirms release.sh ok and asks to push main + tag v0.2.0 (not the archive, gitignored).439 Then: user confirms release.sh ok and asks to push main + tag v0.2.0 (not the archive, gitignored).
440 Push impossible from the sandbox: origin is ssh://git@rickub.com (SSH, "Host key verification440 Push impossible from the sandbox: origin is ssh://git@rickub.com (SSH, "Host key verification
441 failed"; the proxy only handles HTTPS GitHub). Handed the commands to the user to run on the Mac.441 failed"; the proxy only handles HTTPS GitHub). Handed the commands to the user to run on the Mac.
442+
443+## 2026-11-26 — v0.3 spike #46 started
444+
445+User pushed main + tag v0.2.0 from the Mac and asked to start v0.3. Task 1 (meaning): user picked
446+classifiers/guards and LLM routers/deciders (not rerankers), then answered the scope question with
447+"le endpoint à implementer c'est /v1/systemone". The shape of /v1/systemone is not agreed yet: my
448+reading (Kahneman's System 1 = fast decision among closed options, with probabilities) was put to
449+the user, who wants to clarify first. Task 2 findings (mlx-swift-lm 3.32.3): encoder
450+sequence classification exists only as BERT/XLM-R rerankers in MLXEmbedders, its scoring API is
451+`package` (not usable from razorbill); guard models (Llama Guard 3, Qwen3Guard-Gen) are generative
452+LLMs; no logprobs API, but a LogitProcessor sees the logits. Proposed mechanism: score each closed
453+option by log P(option | prompt) in one prefill. Nothing written in the tickets yet.