Commit Graph
1834 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 ade00a01bb opencode 2: list opencode's hosted provider and its free models again (decision 1595)
From v1.56.0 the generated OpenCode 2 config denied opencode's own provider
("policies", provider.use on "opencode"), and a fresh install copied that deny
into the user's global config: the Agent tab's picker lost the free models
1.x lists beside the box's lanes, a choice nobody had made. The generated
config denies no provider now; the default and small model stay the box's
lane. An update takes the exact deny of v1.56.0 to v1.59.0 out of the global
config (oc-merge-limits.py --remove-provider-deny, after a backup); a policy
of the user's own stays, and disabled_providers is never touched.

Tests: test_oc_provider_deny.py (the tool, and install.sh's own lines on a
v1.59.0 copy), the generated config on both majors, the uninstall purge on
copies with and without the old deny. Red on the old code, green after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:55:07 +01:00
Hasan BasbunarandClaude Opus 5.5 56e6ce5fc3 docs, CHANGELOG: the code review's four findings, an image's cost and the smoke measured on the lane
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.59.0
2026-11-24 16:38:13 +01:00
Hasan BasbunarandClaude Opus 5.5 9e8dd8b608 proxy v6.62: an image costs on the Inkling 2 Mini lane what its processor counts
Its processor (SGLang's inkling2 image_processing.py in the image the lane pins) gives one token per
40-pixel cell, each side rounded up, and clamps no size; measured through the proxy on the reference
box, 64x64 to 8000x6000, an image costs that plus 3, to the token. The guard charged the Qwen-VL
sizing, 16,386 tokens at most, so past about 26 megapixels it undercounted (8000x6000: 16,172 against
30,003), the case the wedge guard exists for (code review of v1.59.0). The Qwen lanes keep their
sizing. The test fails on the code before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:38:13 +01:00
Hasan BasbunarandClaude Opus 5.5 60f6b433d7 cockpit: the smoke test gives the answer 2,048 tokens, room for a lane that reasons first
The Inkling 2 Mini lane reasons before its answer whatever enable_thinking says: on the smoke's
prompt it took up to 159 of the 200 tokens in three runs on the reference box (2026-11-24), so a
longer thought would have read as a failed smoke on a healthy lane (code review of v1.59.0). A lane
that answers at once stops after a few tokens all the same. The test fails on the code before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:38:13 +01:00
Hasan BasbunarandClaude Opus 5.5 7525869354 cockpit: the Inkling 2 Mini lane's engine is known by the version its image says, 0.0.0.dev1+inkling2
The engines table held the image's commit, 03fde9cc, as what its engine reports, which was never read:
on the reference box /server_info says 0.0.0.dev1+inkling2 (the lane's own unit, 2026-11-24). No live
version matched, and the card read "SGLang 0.0.0.dev1+inkling2", the form the page keeps for an
operator's own image, instead of "SGLang nightly 03fde9cc" (code review of v1.59.0). The test fails on
the code before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:38:13 +01:00
Hasan BasbunarandClaude Opus 5.5 4897662619 oc-fit-limits, cockpit: the cockpit's fit after a boot keeps the Inkling 2 Mini lane's answer ceiling
oc-fit-limits.py keeps a lane's pair as a ceiling on a native window, and on any window for a lane of
ANSWER_CAPPED (the Inkling 2 Mini lane, whose card asks for limits on output tokens). The cockpit's
automatic fit asked for the pair on a native window only: on a boot whose pool did not hold the
declared 871,000 + 32,000, its fit gave the answer 200,000 tokens, read that as raising a declared
limit and fitted nothing, where the Settings button fitted the lane. One rule now, cap_for, asked by
both (code review of v1.59.0). The test fails on the code before with "left alone: the fit would
raise a declared limit".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:38:13 +01:00
Hasan BasbunarandClaude Opus 5.5 b68816788c docs, CHANGELOG: the Inkling 2 Mini lane's own unit measured at 0.76, a needle found at 960,037 tokens
Installed from this tree and loaded as the cockpit loads it on the reference box (2026-11-24), the GPU clock
capped at 2,000 MHz: ready in 254 s, 83.7 GiB of GPU memory, 62.6 and 62.8 tok/s on bench.sh (a lower bound),
a needle found in prompts of 960,037 and 64,835 tokens, an image read, the effort checked, the prefix cache read
from an agent's second turn, and the clients through the proxy nine of nine. The "not measured yet" lines of the
docs keep only what was not: several requests at once at 0.76.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:13:30 +01:00
Hasan BasbunarandClaude Opus 5.5 08ecf76f1b docs, CHANGELOG: Inkling 2 Mini is a text lane like the others, at its whole 1M window, no lighter lane
Decision of Hasan (2026-11-24): the lane is no lighter option; it serves at the 27B lane's share for the most
context and speed. The README, the lane page, the model pages, the clients page, BENCHMARKS.md and the v1.59.0
section say the share of 0.76 and what it measured on 2026-11-24 (ready in 237 s, 84.4 GiB of GPU memory once ready,
MemAvailable 24.37 GiB at its lowest while it loaded, a KV cache of 1,091,200 tokens), keep the measures made at the
recipe's 0.45 under that share's name (the memory and the pool depend on it, the quality does not), and leave its
speed at 0.76 as not measured yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:20:21 +01:00
Hasan BasbunarandClaude Opus 5.5 2a437f8478 oc-limits: the Inkling 2 Mini lane's pair from its pool at 0.76, 871,000 and 32,000
Its KV cache holds 1,091,200 tokens at its share of 0.76 (2026-11-24), its window 1.04 times over. Less the proxy's
8 % and 10 % for a boot that gets less, the pool still decides (903,513 against the 1,024,713 the window leaves past
one worst agent step), by the FP4-Local lane's rule at its 1M:

    871,000 + 32,000 = 903,000  <=  1,091,200 x 0.92 x 0.90 = 903,513
    871,000 - 20,000 + 43,863 + 32,000 = 926,863  <=  1,048,576

The answer keeps its 32,000 (ANSWER_CAPPED), and oc-fit-limits.py lands on the same pair on that pool; without the
cap it would give 703,000 and 200,000. The CI gate, the tests and docs/opencode.md follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:19:09 +01:00
Hasan BasbunarandClaude Opus 5.5 22976f79a9 inkling: the lane serves at the 27B lane's share, 0.76, its KV cache holding the model's whole window
Decision of Hasan (2026-11-24): the most speed, context and intelligence the box gives, not a lighter lane. At the
cookbook's share of 0.45 the KV cache held 490,496 tokens (2026-11-22), under half the window of 1,048,576; at 0.76,
measured with the lane's command on the reference box on 2026-11-24 (~/qa-tools/etudes/inkling/essai-076.log), it
holds 1,091,200 tokens (and 109,056 in the sliding window), ready in 237 s with its kernels already compiled, 86,455
MiB of GPU memory once ready, MemAvailable 24.37 GiB at its lowest while it loaded; SGLang sets 48 requests and the
window of 1,048,576 itself there too. The unit, the installer, boxmem, lifecycle and the cockpit say it; the
cockpit's boot default follows (240 s), and its note keeps the measures made at 0.45 under that share's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:18:00 +01:00
Hasan BasbunarandClaude Opus 5.5 670304f2d9 tests: switch-model.sh fetches for eleven lanes, the Inkling 2 Mini lane's checkpoint among them
The full CI of v1.59.0 found it: the count of ckpt-fetch.py calls was still the one before the lane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:50:22 +01:00
Hasan BasbunarandClaude Opus 5.5 b3c1eb37f0 docs: Inkling 2 Mini's quality at its default effort, measured on 2026-11-24
GSM8K 0.980 and HumanEval 0.976 (164 problems, pass@1, one answer cut at 16,384 tokens) at effort 0.9 with the
card's sampling, from ~/qa-tools/etudes/inkling/qualite-20261124-0607 on the reference box; the 27B's HumanEval
cited from docs/asus-gx10.md with its own conditions (temperature 0, the reference GX10).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:20:21 +01:00
Hasan BasbunarandClaude Opus 5.5 51fd757644 CHANGELOG: v1.59.0, the Inkling 2 Mini lane, dated 2026-11-24
The lane, in every lane list, its cockpit card, its clients and the proxy's v6.62, with what the reference box
measured on 2026-11-22 and 23 and what is not measured yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:20:20 +01:00
Hasan BasbunarandClaude Opus 5.5 5601427f6b docs: the Inkling 2 Mini lane's page, its model page, and the lane in the README and the other pages
docs/inkling-lane.md says what the lane serves and why this image (the cookbook's, by digest: the model is in no
SGLang release yet), its command flag by flag, what the reference box measured on 2026-11-22 and 23 against the
27B lane the same evening, and what is not measured yet (its own unit, a longer prompt, an image in, the clients
through the proxy). docs/models/inkling.md and the models' table give its command and its headline. The README
presents it as the light text lane (decision 1566: about 60 % of the 27B's GPU memory, a 1M window, images in, the
27B still the default lane), in its install table, its 64 GB table, its disk sums and its lists. BENCHMARKS.md,
ARCHITECTURE.md, the clients, opencode, System One and cockpit pages name it where they name the other lanes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:20:13 +01:00
Hasan BasbunarandClaude Opus 5.5 fb963b0cf3 v1.59: pi and omp send the Inkling 2 Mini lane its levels by name
Its template reads reasoning_effort by the very names pi sends (none 0.0, minimal 0.1, low 0.2, medium 0.7, high
0.9, xhigh and max 0.99) and reasons at high unasked. pi-gen.py gives it an EFFORT_FIELD entry, as Ornith's: pi
sends its level as the top-level field, its off as none, and starts at high, where it sent nothing and showed off.
omp, from the provider's five variants, offers high, minimal (sent as none), low, medium and xhigh, and starts at
high. docs/pi.md has its line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:20:13 +01:00
Hasan BasbunarandClaude Opus 5.5 354431c79b v1.59: the proxy relays a none effort as it came on the Inkling 2 Mini lane and refuses System One there (v6.62)
Inkling 2 Mini's chat template reads a reasoning effort by name, none included (0.0, its lowest level), and no
enable_thinking anywhere (its chat_template.jinja at the pinned revision). qwen_effort_none turned a none on any
SGLang lane into enable_thinking false and dropped the level, which the Qwen templates need and this one does not
read: the lane reasoned at its default, high (0.9). An SGLang lane of EFFORT_NONE_NAMES, the Inkling 2 Mini lane's
name, now gets its body as it came; the Qwen lanes still get enable_thinking false.

POST /v1/systemone is refused while it serves (400, the lanes it serves on named): its card says its lowest effort
does not turn the reasoning off, so the one token System One reads is its thought's. The cockpit says it before
any probe, as on the LFM2.5 lane. Its vocabulary, 201,024 tokens, is above the floor the token-id guard holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:20:13 +01:00
Hasan BasbunarandClaude Opus 5.5 b73eac92df v1.59: the Inkling 2 Mini lane (inkling), on SGLang's own image for it, in every lane list
install-inkling.sh serves Thinking Machines' Inkling 2 Mini (thinkingmachines/Inkling-2-Mini at its pinned
revision, Apache-2.0: a looped mixture of experts, 26.4B parameters with 3.4B active, text and images in) with
the DSpark draft head its checkpoint carries, on the text port behind the proxy, as model inkling-2-mini. The
engine is SGLang from the image its cookbook gives the model (lmsysorg/sglang:inkling-2-mini, by the digest of
its arm64 build), with the cookbook's DGX Spark recipe and its DSpark arm word for word, as the reference box
measured it on 2026-11-22: a static share of 0.45, FA4, bfloat16, pages of 128, 8 draft tokens verified per
step, MAX_JOBS=4 and the four SGLANG_OPT_* variables, xgrammar, images on, the inkling reasoning and inkling2
tool-call parsers; the model's window of 1,048,576 tokens and the 48 requests SGLang set itself, said so that
no later default moves them; and what every SGLang lane of this box passes besides (the key by --config, the
scheduler parked when idle, the metrics, the cache report). Its fetch pins refs/main, through which SGLang
reads the draft head by the model's name. Its caches keep the kernels its engine compiles at its first start.

The lane in every list: the registry, boxmem (refused on a 64 GB box: measured on a 128 GB one only), every
engine unit's Conflicts= and After=, the proxy's hold units and its pair's lane names, install.sh
(--with-inkling, --no-inkling, on demand by default, its boot kept by an update, its proof, its summary line),
switch-model.sh (target inkling), prepare-lane.sh, uninstall.sh (its image is its own: the uninstall takes its
tag and a prune reclaims it), check-pins.sh, the cockpit's sudoers lines, the CI's lists and gates, and
lane-templates-check.py (its template as published, rendered for every client shape as SGLang hands them).

The cockpit follows it as an SGLang text lane (the canary, the pool guard and the autoheal are its own), with
its card, its names, its note with the reference box's measures, its engine, its boot default (222 s
measured), its journal and its container; its mark is a plain badge of Thinking Machines' initials, no icon
set having one.

Its clients: opencode's provider inkling (oc-inkling.py), images in, five variants each a level its template
reads by name, a pair of 374,000 and 32,000 that fits the pool measured at its window, and oc-fit-limits.py
keeping that output as its ceiling whatever its window (ANSWER_CAPPED), as its card recommends limits on
output tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:20:13 +01:00
Hasan BasbunarandClaude Opus 5.5 f41ce9e63c CHANGELOG: v1.58.0, dated the day it ships, and what the box proved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.58.0
2026-11-24 07:18:52 +01:00
Hasan BasbunarandClaude Fable 5.2 16ade392e9 tests: the left-out bench writes down the speech installer's call instead of running it
Its full run copies every file of the repo beside the walled install.sh: since
this version installs the speech lane, the real install-speech.sh ran in the
bench, its downloads refused (4 failures in the CI of 2026-11-23). It is now one
of the installers that only write down their call, and the run to its end checks
that call (--no-smoke beside the lane that serves) and the summary's line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:29:11 +01:00
Hasan BasbunarandClaude Fable 5.2 0f5846bd23 docs: on OpenCode 2, Auto-accept permissions approves unasked and keeps your deny rules
AGENT_AUTO=1 puts a wildcard allow after every config file, which overrides the person's own deny
rules (v1.57.0 says so). OpenCode 2's web app has a setting of its own that does what most people
want from AGENT_AUTO without that cost: "Auto-accept permissions" (Settings, General) answers the
permission requests the page would show, and a call a rule denies raises no request, so it is
still rejected. Read in the 2.3.2 source (app/src/session/requests/auto-approve.ts,
settings/model.tsx) and measured in a browser the 2026-11-23 against a 2.3.2 server of its own
with a scripted endpoint: the setting off, the page asked and the call waited; on, the call ran
unasked and a request left waiting was answered too; on, after the browser was started again, a
webfetch to a host the config denies answered permission.rejected.

SECURITY.md, docs/agents-and-network.md and docs/cockpit.md say when to prefer it; CHANGELOG.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:29:11 +01:00
Hasan BasbunarandClaude Fable 5.2 ba42220c2d speech lane: the nine findings of the release's review, before any box saw them
install.sh
- The tools the speech lane builds with (cmake, a compiler, ffmpeg, python3-venv) are asked for in
  the run's one host_packages request. That function asks once per run, so the lane's own request
  was refused and it stopped on "cmake is missing" on a box without a compiler.
- A lane whose first round trip failed has its unit; the next plain run took it for installed,
  passed --no-smoke for good and said "up to date". A marker (speech.unproved) is written when the
  installer fails and removed when the round trip passes: while it is there a plain run proves again.
- A failed update of a lane that is there no longer reads as a lane that never came.
- On a box that boots another lane than its text lane the round trip is not run beside the lane
  that serves, as for every lane on that path; said in the summary, and --with-speech runs it.

install-speech.sh
- "pip install --upgrade pip" asked PyPI at every run with nothing to say its failure: an update
  made while PyPI did not answer would have ended on a lane that served. The venv is stamped with
  the sha256 of its requirements and left alone while that has not moved; the lane restarts only
  when a package did. Run twice on the reference box while the lane served: the second run asked
  nothing, the lane kept its start time, /health answered 200.

cockpit
- The card's Journal button opened the 27B's container log: defaultLogSource had no branch for
  the unit. The toast and the dock said "speech_boot verb enable": the action has its phrases now.
- The diagnostics bundle holds the lane's journal. The collector reads the launcher once a round
  and no longer publishes two fields nobody read.

README: the four places that still described the lane as opt-in or left it out.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:29:11 +01:00
Hasan BasbunarandClaude Fable 5.2 5ab6e175b8 cockpit: the Speech card's facts fit their column, and its memory is the recognizer's
Seen on the first capture of the card in a browser, on the reference box (2026-11-23): three facts
were cut with an ellipsis (the three routes, the reach, the memory), and the card said 2.5 GB of a
box whose 1.7B recognizer holds 4.2 (docs/speech-lane.md). The facts are short now (the base URL,
"this box only, no key", "about 4.2 GB once running"), the routes are named in the card's own
paragraph, and the confirmation of Start says both figures. A test holds every fact under 36
characters and the 1.7B's figure.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:29:11 +01:00
Hasan BasbunarandClaude Fable 5.2 783f3eb38f cockpit: a Speech card in the Lanes view, to start and stop the speech lane
The cockpit did not know the speech lane existed. Its Lanes view now has a card for it under the
rack: the unit's state, where its routes listen (the launcher's last --host and --port, the
recognizer's own coming first in it), the recognizer and the default voice, whether it starts
with the box, and four buttons (Start, Stop, with the box or not, Journal).

It is no engine: its unit is in none of UNITS, SERVING_UNITS or lifecycle.ENGINE_UNITS, so no
update of it waits for a Load, no restart is owed to it by an engine's inputs, and starting it
is never blocked by the lane that serves. The "unit" action takes it beside SERVING_UNITS, a new
"speech_boot" action enables or disables it, the Logs view reads its journal (its option follows
the lane's own collector), and the sudoers template gains the five systemctl lines.

Tests: dashboard/tests/test_speech_card.py (collector, actions, sudoers lines, the card in the
page's scripts; two mutants red). The registry's checks of the page's unit constants and of the
sudoers lines now require the speech lane's. CHANGELOG v1.58.0, docs/cockpit.md, docs/speech-lane.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:29:11 +01:00
Hasan BasbunarandClaude Fable 5.2 405171397c install.sh installs the speech lane too (--no-speech leaves it out of a run)
Decision 1564 (2026-11-22): what this repo ships is there for everyone. The speech lane (Qwen3-ASR
and Kokoro on the CPU, beside any lane) was installed by its own script only, so a box that ran the
one command never had it. install.sh now runs install-speech.sh in a step of its own, on both of
its paths (the run that serves a text lane and the run of a box booting another lane): whole and
proved on a box without the lane, with --no-smoke on a box that has it, proved again when named
(--with-speech). It is no GPU lane: no Load, no switch target, no marker, and the lane registry keeps
it out of that machinery. --no-speech counts for the run that passes it, like every --no-<lane>.
A lane that does not install is said and the run goes on (run under set -e, tested with an
installer that fails). The lane stays stopped on a new box, as its installer leaves it.

Tests: tests/test_install_speech_default.py (the step and its line against a stub installer, the
flags, the help, both paths); the registry's check of install.sh's flags takes the speech lane's
two; the keep-as-is command of docs/operations.md names --no-speech.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:29:11 +01:00
Hasan BasbunarandClaude Fable 5.2 3883da7062 v1.57.0: CHANGELOG, SECURITY.md and the docs of the guard
The entry says what an update writes on each major, what the cockpit's line now reads, and the
measurements behind it. SECURITY.md, docs/agents-and-network.md and docs/cockpit.md name the two
tools, say that OpenCode 2 is the default (the page still called it opt-in), and say plainly that
AGENT_AUTO's allow overrides every deny of the person's own configs there.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
v1.57.0
2026-11-23 15:45:10 +01:00
Hasan BasbunarandClaude Fable 5.2 10e019b72a cockpit: the Agent tab's guard line reads webfetch as well as the shell
The guard denies the report's hosts to webfetch since this release, but the line of the Agent tab
("the exfiltration guard is NOT in force") still evaluated the served rules for the shell alone: a
server whose webfetch was left open, or re-opened by a later allow, read as guarded. deny_ok now
asks both actions of every pattern. A unit rendered by v1.56.0 (shell rules alone) reads as not in
force until the install renders it again, which is the truth for webfetch. Tests red before, green.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:45:10 +01:00
Hasan BasbunarandClaude Fable 5.2 cf7c07798a opencode guard: the report's hosts are denied to webfetch too, on both majors
Since v1.40.4 the box's opencode configs deny a shell command naming an Alibaba Cloud host or a
cloud metadata address. On 2026-11-21 the same kind of request left this box as a webfetch tool
call, twice, which no shell rule sees (decision 1561). The same three patterns are now written
for the webfetch tool.

1.x: a block "webfetch*" after "bash*" at the end of "permission" (the plain key "webfetch"
cannot hold an object: 1.19.5 refuses the config), and "*webfetch" after "*bash" in the unit's
OPENCODE_PERMISSION. A block already last and intact is not rewritten, so a box of an earlier
release gets "webfetch*" after its "bash*" and nothing else of its file moves. A block the person
set to one action is theirs: "deny" stands while no key after it speaks for the tool again,
anything else is said (rc 1) and the other block is written still.

2.x: three webfetch rules after the three shell ones, in "permissions" and in the unit's
OPENCODE_CONFIG_CONTENT. A box that served 2.x on v1.56.0 gets the three new rules once; the
rollback to 1.x and the uninstall recognise both shapes of the array, and an empty array is the
person's, not ours.

The unit's values stay this repo's rules alone. On OpenCode 2 the unit's allow overrides every
deny rule of the person's own configs (the content merges after every file): the install's note
said "unless your config has one after it", which no file can have, and now says what happens.

Measured on the real binaries against a scripted endpoint asking for a webfetch whose URL names
aliyuncs.com and points at 127.0.0.1: 1.19.5 and 1.19.6 fetch it with no rule and refuse it with
"webfetch*" and with "*webfetch"; 2.3.2 fetches it under the wildcard allow alone and answers
permission.rejected with the rule after it. Tests red on the old code, green now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:45:10 +01:00
Hasan BasbunarandClaude Fable 5.2 1731d0e2b3 CHANGELOG: v1.56.0, the clients x lanes matrix measured on the box
8 clients on 9 text lanes with opencode 2.3.2: 8 of 8 on eight lanes, 7 of 8 on
kolibri (Claude Code's file-reading task, the model's own variance, already seen
on v1.40.4; the proxy and Kolibri's unit are unchanged by this release).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
v1.56.0
2026-11-23 15:44:27 +01:00
Hasan BasbunarandClaude Fable 5.2 5e969f7b21 tests: the uninstall test asks the real opencode its version in its own throwaway HOME
On a box that serves OpenCode 2 (this release's default), the release CI failed on "The offline
suite touches nothing outside itself": OpenCode 2 writes its log file under HOME even for
--version (measured on 2.3.2), and test_the_real_opencode_starts_after_the_purge asked the
version with the suite's own HOME, the witness the step hashes. Its `models` call already ran in
the test's throwaway HOME; the version is asked there too. Found by a witness opencode put first
on the PATH for the 60 test files that name opencode: this one alone called it. With the fix the
witness HOME is byte-identical after the file runs against the real 2.3.2.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 04:23:39 +01:00
Hasan BasbunarandClaude Fable 5.2 e99e002033 CHANGELOG v1.56.0: the speech lane installs again (issue #75), a 1.x plugin is named, dated 2026-11-23
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 03:27:23 +01:00
Hasan BasbunarandClaude Fable 5.2 6ef16b68df install: a plugin written for OpenCode 1.x is named on a box that serves OpenCode 2
OpenCode 2 skips a 1.x plugin and says so only in its server log: 2.3.2 loads a plugin only when
its default export is a definition with an id and an effect or setup function (plugin/module.ts),
and a 1.x plugin exports a function. Found on the reference box on 2026-11-22, where a plugin of its
owner's had been silent since the move to 2. On a box that serves OpenCode 2 the install now names
the .js and .ts files of the two plugin directories 2.3.2 scans that do not have that shape, says
how to port them or go back, and touches none of them. Three tests: the 1.x shapes are named (this
repo's own 1.x plugin among them), the 2.x shapes and other files are not, a 1.x box hears nothing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 03:26:25 +01:00
Hasan BasbunarandClaude Fable 5.2 1182c1cbcc install-speech: the llama.cpp build downloads no web UI (issue #75)
Every new install of the speech lane failed since upstream changed its web UI: llama.cpp's build
fetches a prebuilt UI from a Hugging Face bucket by build number, a shallow fetch of the pin has
build number 1, which is not there, so the build took "latest", and the pinned commit's own check
refused the new files ("UI: missing required asset(s): bundle[hash].js, bundle[hash].css,
workbox[hash].js"). Reproduced on 2026-11-23 at the pin with the script's flags. The lane serves an
API, never that page: the build now passes -DLLAMA_USE_PREBUILT_UI=OFF -DLLAMA_BUILD_UI=OFF, and
removes build/tools/ui first, because a build directory that failed that way keeps the downloaded
files and embeds them again even with the download off (measured: "embedding stale assets", same
error). Test red on the old script, green now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 03:26:25 +01:00
Hasan BasbunarandClaude Opus 5.5 7be13fa1f9 docs/opencode.md: the managed background service of a 2.x command, and the orange banner of a box on 1.x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:08:11 +01:00
Hasan BasbunarandClaude Opus 5.5 4909d7d7a7 CHANGELOG v1.56.0: the orange banner of a box on OpenCode 1, and what the code review fixed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:07:44 +01:00
Hasan BasbunarandClaude Opus 5.5 6974fe5509 rollback to 1.x: the note about a person's own permissions array says what is in it
The code review of v1.56.0 found that on a box whose global config held a v2 "permissions" array of
the person's own, to which --deny-permissions had appended this box's rules, the rollback to 1.x
said the array was "not this box's deny array" and install.sh's NOTE that it was "not the one this
repo wrote". The array is still left alone (OpenCode 1.19 refuses any permissions array, so the
person decides), but the messages now say it holds rules of theirs, with ours last. Test red on the
old message, green now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:07:19 +01:00
Hasan BasbunarandClaude Opus 5.5 c10b2cbb1d cockpit: a box that chose OpenCode 1 is told it is behind, in an orange banner
Since v1.56.0 every box serves OpenCode 2 by default, and ./install.sh --opencode 1 stays the way
back, remembered by the marker at every update. Decision 1564 of Hasan (2026-11-22): what we publish
is the default for everyone, and nobody stays behind without knowing it. The agent state now carries
the box's choice (opencode_major_choice, read from ~/.config/qwen38/opencode.major), and a box marked
1 gets an orange banner on every view with the command that moves it: ./install.sh --opencode 2.
Page test red before (no banner), green now; a box on the default gets none; collector test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:06:46 +01:00
Hasan BasbunarandClaude Opus 5.5 5a11dfc35b uninstall: the copy a fresh OpenCode 2 install made goes with the key
The code review of v1.56.0 found that a fresh v2 install copies the generated config, with its v2
keys (policies, share, websearch, update), as the user's global config, and the purge of
uninstall.sh --yes did not count those keys as ours: the copy stayed, emptied of its provider,
instead of being moved to a backup like a v1 copy. They count as ours now when they hold exactly
what install.sh writes; a value the user changed keeps the file. Test red on the old code, green
now, and it checks that install.sh and the purge agree on those values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:03:59 +01:00
Hasan BasbunarandClaude Opus 5.5 843fd4f2ad auto-continue v2: an interrupted turn frees the session, and a timer that fires mid-turn waits
The code review of v1.56.0 found that the v2 plugin never cleared `busy` on
session.execution.interrupted (the projector makes the session idle there, as the plugin's own
header says), and that onTimer() returned while busy without re-arming. So after a turn the user
interrupted, the resume of a manual /compact was dropped for good, and so was one whose
compaction ended before its turn did. `busy` is now cleared on interrupted, and a timer that fires
while a turn runs re-arms instead of dropping; a turn that starts still clears what is pending, so
the re-arm never relaunches over it. Two tests, red on the old code, green now with the 14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:03:09 +01:00
Hasan BasbunarandClaude Opus 5.5 e780dd9f56 tests: the real-opencode uninstall check speaks OpenCode 2 too
test_the_real_opencode_starts_after_the_purge ran `opencode models other` with the box's opencode.
On OpenCode 2, the default since v1.56.0, `models` takes no provider and printed its help, so the
check failed on every box serving 2.x. It now lists every model there, with --standalone: without
it 2.3.2 starts its managed background service, which outlived the test and held its port
(measured 2026-11-22). Red on a 2.3.2 box before, green now, no service left behind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:01:46 +01:00
Hasan BasbunarandClaude Opus 5.5 dc7facaa56 oc-merge-limits: an insert keeps the user's comment between "{" and the first member
The code review of v1.56.0 found that set_member() spliced over the gap between an object's "{"
and its first member (or its "}") whenever it consumed that gap, and blank() had turned any
comment there into spaces: `"compaction": { /* mine */ "prune": false }` lost /* mine */ on a v2
install, and `{ // note }` its note, although the file is promised byte for byte apart from our
keys. A commented gap is now kept, the new member put before it; a whitespace gap is consumed as
before (no drift). Test red on the old code (the comment was gone), green now, and a second pass
gives the same text; the other opencode config suites pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:01:46 +01:00
Hasan BasbunarandClaude Opus 5.5 4839d16b4f install: an unpinned box serving the user's own OpenCode 2 is marked 2
The code review of v1.56.0 found that OPENCODE_PIN=0 (docs/opencode.md: keep whatever opencode
you have) with the user's own 2.x served OpenCode 2 but wrote no marker, so every tool that reads
~/.config/qwen38/opencode.major took the box for a 1.x one: the Agent tab's retry command died on
"OpenCode 2, which this box did not choose", and switch-model.sh, vllm-lane.sh and
oc-fit-limits.py wrote the v1 compaction keys into the v2 config. Such a box now gets the marker
"2", which is the default and moves nothing at a later run; a 1.x of the user's, or no opencode
at all, still gets none. Test red on the old code (no marker), green now with the 74 of the suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:58:09 +01:00
Hasan BasbunarandClaude Opus 5.5 0d9ec664c5 install: the Agent tab and oc run the opencode the install put in place, not a 1.x first on the PATH
The code review of v1.56.0 found that a box with an npm or Homebrew opencode 1.x earlier on the
PATH than ~/.opencode/bin kept running that 1.x after its move to OpenCode 2: the v2 oc launcher
and dashboard/install-agent.sh both took `command -v opencode`, so oc ran 1.x with --auto and the
Agent unit rendered 1.x over a config it cannot read, although the crossing NOTE says the Agent
unit takes the installed copy. Now oc takes ~/.opencode/bin/opencode first (the PATH only when it
is absent) and install.sh hands install-agent.sh the binary it chose (OC_FOUND). Two tests, red on
the old code (the launcher ran the 1.x; the calls passed no binary), green now with the 158 of the
install, Agent and cockpit suites.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:56:52 +01:00
Hasan BasbunarandClaude Opus 5.5 9550a202f1 relay: scrub every spelling of /api/credential and every 2xx answer of a secret route
The code review of v1.56.0 found two ways around the credential scrub of the Agent tab's relay.
secret_keys_for() read the raw path while is_secret_path() read the normalized one, so
/api//credential, /./api/credential or /api/%63redential were scrubbed without "value", the
stored credential itself. And the scrub ran on 200 only: a 201 or 206 from a secret route
went to the browser as it came. Both now read one normalized_target(), and every 2xx answer
with a body is scrubbed. Three tests, red on the old code (11 failures), green now (66/66).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:51:35 +01:00
Hasan BasbunarandClaude Opus 5.5 806f2d9d5b CHANGELOG v1.56.0: a page request asks for identity, and the CI benches both opencode pins
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:04:45 +01:00
Hasan BasbunarandClaude Opus 5.5 0d9db6b167 CI: the Agent tab bench runs on the 2.x pin too, the OpenCode v1.56.0 installs by default
The step "The Agent tab against a real opencode" benched the 1.x pin only (OPENCODE_VERSION),
while v1.56.0 installs OPENCODE2_VERSION by default: the 2.3.2 page that passed the relay
without the phone layer went unseen by every step (found by the release CI of 449a5015 and
the bench replayed by hand on the 2.3.2 release binary, 2026-11-22). AGENT_BENCH_PIN=2 makes
the bench read OPENCODE2_VERSION and OPENCODE2_SHA256 from install.sh, the asset checked
against its sha256 as for 1.x; any value but 1 or 2 stops it. A second CI step runs it. The
x64 digest of 2.3.2 (GitHub's, read on the API and checked against the download the same
day) joins the table for x86_64 machines. docs/cockpit.md shows the command.

AGENT_BENCH_PIN unset: 34/34; =2: 34/34 (sha256 check included); =3: refused, rc=2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:04:45 +01:00
Hasan BasbunarandClaude Opus 5.5 32e2d9ba36 agent-bench: on OpenCode 2.3.2 the terminal is a persistent one of the session
The web app of 2.3.2 opens its terminal through api.experimental.persistentPty
(packages/client/src/solid/pty.ts), listed by GET /api/experimental/session/:id/terminal
and removed by DELETE /api/experimental/persistent-pty/:id (packages/protocol/src/groups/
persistent-pty.ts, read in the 2.3.2 sources on 2026-11-22). The bench listed /api/pty
there and read 0, the check "its session is removed through the relay" failed while the
terminal itself worked. It now reads the session's terminals first and keeps the /api/pty
reading for a 2.x without that route.

agent-bench with AGENT_BENCH_OPENCODE = the 2.3.2 release binary (sha256 checked):
28/33 before the relay and bench fixes, 33/33 after (2 runs); 1.19.6: 34/34 (2 runs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:00:23 +01:00
Hasan BasbunarandClaude Opus 5.5 1e70404c95 agent_relay: a page request asks for identity, so OpenCode 2's page gets the phone layer
OpenCode 2.3.2 sends its page compressed with Brotli when the client accepts it (measured
2026-11-22 on the release binary: content-encoding: br, 2,278 bytes for 9,156), and the
relay, which rewrites only an uncompressed page and cannot read Brotli with the standard
library, passed it untouched: no phone layer in the Agent tab on the default OpenCode of
v1.56.0. Since 90b10aa4 (blind review D6) the browser's Accept-Encoding reached opencode on
every route but the credential ones; 1.19.x never compressed its page, so only 2.x lost it.
A GET whose Accept names text/html (the rule wants_page already uses, true with or without
Sec-Fetch headers) now asks for identity; scripts and API calls keep the client's
compression, as D6 meant.

Tests: test_a_page_request_asks_for_identity fails on the old code ('gzip, deflate, br' !=
None) and passes now; tests/test_agent_relay.py 63/63 under the CI's invocation. agent-bench
against the 2.3.2 release binary: the four phone-layer checks failed before, pass now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:00:23 +01:00
Hasan BasbunarandClaude Opus 5.5 170e73b5b2 agent-bench: the dry-run cockpit carries the opencode.major of the major it runs
Since v1.56.0 install.sh writes ~/.config/qwen38/opencode.major on every box ("1" after
--opencode 1, "2" otherwise), and the cockpit names the pin of that major, the 2.x one when
no marker exists (9d226670). The bench ran 1.19.6 in a cockpit with no marker, a state no
installed box has, and its line said "this repo tests 2.3.2: ./install.sh brings it in line":
the CI of 449a5015 (2026-11-22) read 33/34, three times out of three when replayed alone.
The bench now writes the marker of the major it runs.

Before: 33/34 (3 runs). After: 34/34 (2 runs), node dashboard/tests/agent-bench.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:00:23 +01:00
Hasan Basbunar 449a5015dc docs, CHANGELOG v1.56.0: an edited plugin copy is kept as .kept-AAAAMMJJ on a crossing, not erased
Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:36:39 +01:00
Hasan Basbunar 60ebf7ff78 install.sh: on a major crossing, keep aside (never erase) an edited auto-continue plugin
The file taken out of plugins/ is removed only when it is byte-for-byte the copy this
repo delivers (cmp -s against extras/opencode); a copy the operator edited is moved to
~/.config/opencode/<name>.kept-AAAAMMJJ (never over an earlier kept copy), where no
major loads it (2.3.2 scans only plugin/ and plugins/ under the config root,
plugin/source-directory.ts; 1.19.6 globs {plugin,plugins}/*.{ts,js}, config/plugin.ts),
and a NOTE names the kept path. Both directions (to 2 and back to 1.x).

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:36:34 +01:00