Commit Graph
41 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 6bb89fbf96 CHANGELOG v1.59.1, docs/opencode.md: opencode's free models in the Agent tab again
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:55:07 +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 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 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 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 2f10aac139 docs: opencode 2 is the default since v1.56.0, with the whole way back in docs/opencode.md
CHANGELOG v1.56.0, README and docs/opencode.md now say decision 1546 (2026-11-20): a plain
./install.sh serves the pinned 2.3.2 and writes the marker 2; the first update of a
pre-v1.56.0 1.x box moves to 2 properly (configs merged, unit re-rendered, oc launcher
rewritten, auto-continue plugin swapped, 1.x sessions migrated by 2.x's first boot) and
ends with "moved to 2.3.2; to go back: ./install.sh --opencode 1"; --opencode 1 writes the
marker 1 so later updates keep 1.x; --opencode 2 stays accepted; a failed download still
leaves no mixed state. No number that was not measured. test_docs_facts pins the new
section's facts; its 4 tests failed on the previous doc (heading absent), 19 green after.

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:55:00 +01:00
Hasan Basbunar 81ffcc8a9e docs/opencode.md: the return to 1.x also removes the v2 plugin, and the failed download is described as it behaves
The rollback paragraph now says to take auto-continue-v2.js out of
~/.config/opencode/plugins when going back to 1.x (1.x does not run a
default-export plugin; the manually copied file would sit there dead),
and describes a failed crossing as it is since the OC_SERVE_MAJOR change:
the run keeps serving the OpenCode already installed and writes nothing
for the other major, with the exact re-run command. Blind review of
2026-11-20, D7 (and the doc side of D2/D3).

Tests: TheRollbackInOpencodeMdIsComplete in tests/test_docs_facts.py, two
tests that fail on the old doc, run as the CI runs them (python3
tests/test_docs_facts.py, cwd=repo).

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:51:17 +01:00
Hasan Basbunar 6dfc011119 opencode v2 config: write the v2 compaction block (keep.tokens + background) on a box that chose 2
OpenCode 2.3.2's compaction is not v1's (source: packages/schema/src/config/compaction.ts
and packages/core/src/session/compaction.ts of the v2.3.2 tag): the block is keep.tokens
(v1's preserve_recent_tokens still lands, mapped as a deprecated legacy in
config/normalize.ts; prune and tail_turns are dropped with a warning), buffer (room kept
free below the window, default 15% and at least 16,000 tokens above a 32K window), auto,
and background, default true since 2.3.1 (initial state at compaction.ts:266): when the
context comes within PRECOMPUTE_LEAD = 60,000 tokens of the ceiling, the summary of
everything before the latest response is written in the background, reading the
just-processed prefix from the prompt cache, and the automatic compaction swaps it in
instead of waiting for one. An unused summary still costs tokens, so it is the cache that
pays for itself here.

So on a box that chose --opencode 2 the generated config writes
"compaction": {"keep": {"tokens": N}, "background": true}, sized by the same table
(oc-limits.sh --preserve), and oc-merge-limits.py --compaction writes the same block when
OC_MAJOR=2 is in the environment (install.sh exports the choice once for all its python
calls, switch-model.sh reads the marker, oc-fit-limits.py passes it, vllm-lane.sh reads
the marker), taking the v1 keys out of an existing block and keeping its other keys.
background is pinned because the v2 auto-continue port relies on the runner resuming
after an auto compaction with that swap. The firing-point message follows the major: v2
keeps 15% of the window (at least 16k above a 32k window) free, against v1's
input - min(20,000, output). The v1 block and the merger's v1 default are unchanged.
Tests red on the old code: the generated config at major 2, the merger at OC_MAJOR=2
(keep.tokens, background, legacy keys out, verifier).

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:37:31 +01:00
Hasan Basbunar 65f3b962dc opencode v2: the v2 unit and the v2 oc launcher skip every CLAUDE.md in prompts
Since 2.3.1 OpenCode 2 reads CLAUDE.md of every directory without AGENTS.md, and
~/.claude/CLAUDE.md as the global fallback, into every prompt (source v2.3.2:
packages/cli/src/server-process.ts reads OPENCODE_DISABLE_CLAUDE_CODE_PROMPT at server
start for instructions.claude; documented in docs/instructions and migrate-v1). Measured
on the pinned 2.3.2 in a sandbox (/var/tmp/ocv2-bac-e56, fake server, canary key): with
the project's CLAUDE.md and the HOME one in place, both markers land in the system
message of every request, for run and for serve; with
OPENCODE_DISABLE_CLAUDE_CODE_PROMPT=1 both are gone and /api/info answers 200 JSON. On a
box ~/.claude/CLAUDE.md is the owner's private file, which must not leave in every Agent
tab prompt.

So the v2 render of opencode-web (the CAP_LINE block of install-agent.sh, which the 1.x
render does not share) now carries Environment=OPENCODE_DISABLE_CLAUDE_CODE_PROMPT=1, and
the v2 oc launcher exports it with a :-1 default (0 is not truthy for opencode, so the
user can bring the files back by hand). The 1.x unit and launcher are byte-identical to
before. Tests red on the old code: the v2 unit carries the line, the v1 unit does not;
the v2 launcher exports it to the child and yields to an explicit 0, the v1 one does
not.

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:37:31 +01:00
Hasan Basbunar fcff9fa8e7 v2 migration on the v1.54 base: the 2.x pin moves to 2.3.2, the no-flag run is proven the v1.54 run
- OPENCODE2_VERSION/OPENCODE2_SHA256: 2.3.2 with GitHub's digest of its arm64 asset
  (read on the API the 2026-11-20); the 2.3.0 facts stay dated as measured, the delta
  is re-measured before any default change
- docs/opencode.md: the tested 1.x is 1.19.6, the pinned 2.x is 2.3.2
- CHANGELOG: the v2 opt-in in an Unreleased section ahead of the published v1.54.0
- tests: the v1.54 opencode block is a fixture, and a run without --opencode is run
  side by side with today's block: same answers, same files, no marker (decision 445);
  the collector tests read both pins from install.sh instead of holding 1.19.5/2.3.0

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:37:31 +01:00
Hasan BasbunarandClaude Opus 5.5 b05a6e6465 v2 migration: the two pins in check-pins and the CI, the matcher in py_compile and its floor, the docs (opencode.md, agents-and-network.md, README)
- check-pins.sh answers the opencode2 release the same way as 1.x's (same asset shape, same
  digest rule), the CI's asset step checks both pairs and install.sh's own pair gate refuses a
  v2 version without its checksum; oc-permissions.py joins py_compile and the coverage floors
- docs/opencode.md: the opt-in, the marker, the rollback, each 2.x fact with its measurement date
- docs/agents-and-network.md: the guards under the v2 grammar, one matcher and one probe table for
  the installer and the panel, guard_ok null when nothing proves it
- README: --opencode 2 named beside the out-of-the-box line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:37:14 +01:00
Hasan BasbunarandClaude Opus 5.5 454bce8123 opencode 1.19.6: the pin moves, checked against 1.19.5 side by side
Both assets match GitHub's digests (arm64 5b68c1f4, x64 47734e08 in agent-bench.mjs). The 21 overflow
phrases and 3 exclusions are there, plus two (request body too large, multimodal data size is too large);
max_tokens, headers, default permissions, --yolo as --auto, masked keys, sessions both ways and the
aliyuncs.com refusal are as in 1.19.5. Refusals shaped like the proxy's (413 over the cap, 400
context_too_long) are compacted and sent again by both; a bare 400 "Request body too large" now is too.
agent-bench.mjs: 34 of 34 with 1.19.6. The real clients on a lane remain for after the GTA session's
priority.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:20:17 +01:00
Hasan BasbunarandClaude Opus 5.5 4b0668fbc6 docs: what pi, omp and opencode offer on the two Liquid AI lanes
docs/pi.md has its line for Liquid AI LFM3 (off and high alone, the proxy's v6.61 translation, omp's high and
minimal) and says what LFM2.5 24B-A2B gets (high alone, no field), read in pi 1.2.0's source with no session run
on either lane yet. docs/opencode.md names the lfm25 and lfm3 providers, their variants and their limits (74,000
and 32,000 at LFM2.5's 131,072 window, the flash lane's pair at LFM3's 262,144), text only.
docs/agents-and-network.md lists the two among the repo's provider names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:38:53 +01:00
Hasan BasbunarandClaude Opus 5.5 6b2c58786b v1.48.0: the pages say what the lane's second proof measured, where they said TODO(measure)
The lane's second proof on the box (2026-11-13, its unit's --memory 110g): bench.sh's
greedy median 64.1 tok/s on a freshly started engine, now the head of its BENCHMARKS row
as on the other text lanes; GSM8K 98.8 % again through the proxy, eight requests at once
on its two windows with its table on the USB SSD, 62.9 tok/s in all; its prompt cache
through the proxy (an agent's five turns on 91,051 tokens of system prompt, 33 to 50
tokens computed again a turn, the first token in 0.5 to 0.6 s, in OpenAI's dialect and
Anthropic's; the proof's Claude Code and opencode sessions took their second request from
the cache); its 1M mode's quality, GSM8K 98.0 % and HumanEval 98.2 %; 75 min of continuous
load with the box's hottest zone at 94.4 °C at most. The box's margin at ready as it
ships, 12.8 to 17.8 GiB (20 on the study's quiet box), and its start, 52 to 122 s, said
apart from the study's. build_info read on the box. docs/opencode.md and
agents-and-network.md name the lane's provider. Two figures wait for the measure under
the prompt cache's cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 19:04:37 +01:00
Hasan BasbunarandClaude Fable 5.2 ed413863cf v1.46.4: what its review found: the Agent view's server is not restarted, omp follows the choice, the choice is kept with its template
The generated opencode config listed the lane's default first: it changed on every box, and an update restarted the
Agent view's server for an order that decides no request. The provider keeps the order it had (xhigh first).
pi-gen.py read the lane's template, which an update writes after omp's config: omp stayed at the xhigh of v1.46.3's
template. It reads the choice the lane's installer keeps. A level given with a window that was refused left a template
without its choice: it is kept with the template that took it. The installer says once that the lane goes from xhigh
to lean, with the command that keeps xhigh. The test of a refused certificate names the ends of a connection it takes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 12:58:22 +01:00
Hasan BasbunarandClaude Fable 5.2 275996aaf7 v1.46.4: the Qwen3.8 Flash-Next FP4-Local lane answers at the lean effort by default, as the other Qwen lanes do
At xhigh, its default since v1.37.0, the lane often answered nothing: asked for a story of about 800 characters within
5,000 tokens, 24 empty answers of 32 on the reference box (2026-11-11), every token spent reasoning, and none of 24 at
lean, medium and low; a long JSON answer took a median of 1,007 s at xhigh and 59 s at lean.

install-flash-local.sh writes the lane's template with lean as its default (LEAN_DEFAULT=1, always given, or a box
would keep the xhigh of the template installed). FLASH_LOCAL_EFFORT=xhigh keeps the card's level, kept for the runs
after in a file of its own as the window's choice is; install.sh does not read it and says so. oc-flash-local.py lists
the lane's default first, pi-gen.py starts omp at the installed template's level, and the docs, the cockpit's note
and bench.sh's reference say the level each figure was measured at.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 12:18:59 +01:00
Hasan BasbunarandClaude Opus 5.5 199d0270a0 docs: what an audit of the other usage pages found the code does otherwise
Each finding checked at its source:
- opencode: its defaults already run every tool unasked, so dropping
  --yolo gives no prompt; the way is "*": "ask" in the bash object (as
  agents-and-network.md says); the installer also merges the shell deny
  rules and a lean variant into the user's config; CI runs the Agent view
  on arm64 with install.sh's digest
- TESTING: a run whose every step was skipped exits 3; the proxy's
  coverage floor is 85%; four gates need pip packages; the 139 lifecycle
  tests are dated (285 now)
- CONTRIBUTING: ruff checks every tracked Python file; four gates; the
  sleep-on-idle gate is the SGLang lanes'
- ARCHITECTURE: the SGLang lanes carry --sleep-on-idle; oc-limits.sh has
  five callers; check-pins.sh also runs daily; the Ornith page listed
- MIRROR: check-pins.sh watches the lanes the mirror does not cover yet
- CAPABILITIES: a bay per lane; the switch is the Load's first step; the
  logs view filters and copies; the opencode panel is in Settings; two
  paired boxes are in since v1.42.0
- extras/gguf: the text lanes run on SGLang and vLLM, and the speech
  lane's recognizer is a GGUF on llama.cpp
- ROADMAP: v1.40 to v1.45 shipped; the coordination ports (v1.40.6) and
  the metrics panel (v1.22) leave the planned list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 23:53:48 +01:00
Hasan BasbunarandClaude Opus 5.5 de8df38c66 docs: the FP4-Local lane by its official name, Qwen3.8 Flash-Next FP4-Local, as the cockpit and the installers say
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:48:19 +01:00
Hasan BasbunarandClaude Opus 5.5 881606874f opencode 1.19.5, whose server takes a terminal's ticket only on the route it dispatches to
1.19.4 skipped the password check for a request whose path matched the pattern of the terminal's
connect route and carried a ticket, leaving the ticket to that route's handler. 1.19.5 skips it only
when the server dispatches the request to that handler (anomalyco/opencode#58258). It also answers a
request of the TUI's worker that fails instead of leaving it waiting, updates the package of GitLab's
provider, which this repo does not use, and otherwise removes unused code.

Checked against 1.19.4 side by side on 2026-10-30: the overflow phrases and exclusions are the same
block byte for byte, max_tokens 32,000 and 182,000 on a fake endpoint with the same headers, the same
default permissions, --yolo still read as --auto, keys still masked, sessions read both ways, the
Agent tab through a copy of the relay with its terminal and its phone layer, and a shell command
naming an aliyuncs.com host refused under --yolo and under AGENT_AUTO's permission when a fake
endpoint asked for it. On the box's FP4-Local lane both sent the same request shapes, read
hello.txt with a tool and answered 7351. The x64 digest is GitHub's, checked against the download.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:21:01 +01:00
Hasan BasbunarandClaude Opus 5.5 ec9c6f9943 Ornith lane: opencode runs on it again, its template taking a second system message
opencode 1.19.4 sends two system messages before the user's (positions 0 and 1, captured on
2026-10-24 without their content), and the checkpoint's published template raises "System
message must be at the beginning" on the second: every opencode request on the lane got a 400
since v1.38.6 moved opencode to 1.19.4 (with 1.18.35, in v1.38.0, it worked). The installer now
writes the checkpoint's template with the one fix the 27B and the two flash lanes have, the
second system message rendered as a <system-reminder> (TEMPLATE_PATCHES=system-reminder), at
every install and every switch; the unit mounts it read-only and passes it to vLLM. Hasan's
choice of 2026-10-24, where 2026-10-21 had chosen the template as published.

Rendered with transformers 5.12.1's own template compiler on the pinned template: opencode's
shape (system, system, user), with and without tools, raised before and renders now; a
conversation with one system message renders byte for byte as before; one line of 150 differs.
tests/test_ornith_lane.py fails on the old installer (no template written, no --chat-template).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:46:00 +02:00
Hasan BasbunarandClaude Opus 5.5 387f58f849 tests: the Agent bench always ends, and says what it saw
Found in review of the bench (2026-10-23):
- nothing bounded a run: a browser that died mid-call left its calls
  waiting for ever, and a CI job could hang for the six hours a runner
  allows. Each browser call now fails when the browser exits or after 90 s
  without an answer, the whole run stops at AGENT_BENCH_TIMEOUT_S (600 s)
  with its report, and the CI step has a 15-minute limit;
- an exception in the browser part (an element missing, a call refused)
  ended the run with a stack trace and no report: it is now a failed check
  and the report is printed;
- a hangup (a terminal closed under a run by hand) left opencode and the
  cockpit running on loopback: SIGHUP now ends the run like SIGTERM;
- the cockpit's two ports were asked one after the other and could be the
  same port: both are now taken at once;
- the URLs written into page scripts are JSON string literals:
  encodeURIComponent keeps a quote, which a TMPDIR could hold;
- a candidate's pre-release version keeps its suffix.

A browser counts 127.0.0.2 as a secure context and an http:// tailnet
address not, and sends Sec-Fetch headers only to the first: the page is
now also asked from node the way a browser asks on a box's tailnet
address, Accept only. The doc says what the bench cannot see (an API a
browser keeps to secure contexts), and docs/opencode.md that a new pin
needs the x64 digest too.

On the second GX10: 34/34; a 25 s limit stops the run at 25 s with its
report and nothing left behind; a hangup 20 s in leaves no process and
no file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 01:49:54 +02:00
Hasan BasbunarandClaude Opus 5.5 c4a714b3f6 opencode 1.19.4, on Bun 1.4.4 and its fix for CVE-2026-111497 in Brotli's decoder
1.18.35 runs on Bun 1.3.14, without the fix, and the agent's web fetch decodes whatever a page
sends (both read in their binaries). 1.19.4 was checked against 1.18.35 side by side: the same
overflow phrases, max_tokens 32,000 and 182,000 with the same headers, the compaction,
permission, flag and request code unchanged, keys still masked, sessions read both ways, no
update check and no OpenCode 2 offer with autoupdate false, and an engine holding its headers
320 s waited for through the proxy. The test of a newer opencode now takes a version past
whatever the pin is (1.18.40 is older than 1.19.4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:36:33 +02:00
Hasan BasbunarandClaude Opus 5.5 51e564d01a install.sh: an opencode from Homebrew Core is kept, said so, never upgraded through brew
For Homebrew opencode's upgrader runs brew upgrade, which installs the formula's own version
whatever version it is asked for, and Homebrew Core's formula is OpenCode 2 now (2.1.2 on
2026-10-22): up to 1.19.1 an update put OpenCode 2 under oc and the Agent tab. opencode's own
tap (anomalyco/tap, sst/tap before the project moved) stays on 1.x and still goes through the
upgrader: the keg's install receipt says which (source.tap), and a keg whose receipt names no
tap is kept. The pin tests clean their homes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:36:33 +02:00
Hasan BasbunarandClaude Opus 5.5 a4d7ce85e4 install-agent.sh: opencode-web is never pointed at OpenCode 2
OpenCode 2 has a serve of its own, --hostname included (2.0.28, read 2026-10-22), which the
relay and the health check are not written for: a unit pointed at it lost the Agent tab and
the opencode it ran before, and Homebrew Core's `brew install opencode` gives OpenCode 2 now.
The script stops before the render, so the installed unit keeps its opencode, and says why.
The tests' fake opencode said 9.9.9, now an OpenCode 2 to the script: it says 1.99.9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:36:32 +02:00
Hasan BasbunarandClaude Opus 5.5 baba40586a opencode-web restarts on a new opencode, whatever lane the box boots and however it came
install-agent.sh restarts opencode-web on a newer opencode and points it at the one on the
PATH, and it ran at step 10 only: a box whose boot lane is not a text one takes a branch that
reinstalled the cockpit alone, and kept the opencode it started with until its next boot
(the reference box on the FP4-Local lane, 2026-10-22). That branch runs it now, once the
cockpit that relays it is installed, under step 10's condition. And install-agent.sh judged
by the binary's date alone, which npm and Homebrew set to their archive's: it also restarts
the server when the version it answers with is not the binary's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:36:32 +02:00
Hasan BasbunarandClaude Opus 5.5 89c5d45038 docs: the Ornith 1.5 122B lane, its page, and every list of the lanes
docs/ornith-lane.md says what was measured and why these settings: the
checkpoint (and the BF16-head build, checked and not used), the window
of a million in the one form this vLLM reads and what it costs, the
engine measured against SGLang with DFlash2, its speed, its quality on
the native window and on its own, an agent's turns and what the cache
serves them, its memory, its clients, what it does not have, and how it
installs, loads and goes. The README has its section, its table row,
its flags and its sizes (930 GB for the whole box), and the lists of
lanes in it, ARCHITECTURE.md, ROADMAP.md, BENCHMARKS.md and the client,
cockpit, operations and disk pages name it, the stale counts of lanes
among them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 04:27:08 +02:00
cb956b3052 docs, CHANGELOG v1.37.0: the Flash FP4-Local lane, every number measured on the reference box
docs/flash-local-lane.md: the lane against the flash lane, measured with the same harnesses on the
same box (quality, decoding alone and at eight at temperature 0 and at the agents' sampling,
prefill, disk, boot, KV cache, free memory), the n-gram table and the disk it must sit on, the
sandbox, the card's recipe and the two series of settings measured against it, an agent's turns
from the prefix cache, the memory at boot as the box's telemetry saw it, and what the lane does not
have. docs/external-disk.md: what each lane reads from its disk and when, what can live on an
external one, how to set one up, and a USB SSD's own traps. The README, ARCHITECTURE, ROADMAP and
the pages on clients, opencode, pi and memory name the lane where they name the others, with its
sizes and its settings. CHANGELOG: v1.37.0, crediting Dimitris Kontokostas for pull request #55.

Co-Authored-By: Dimitris Kontokostas <jimkont@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 09:28:08 +02:00
Hasan BasbunarandClaude Opus 5.5 05bedd03e7 opencode: autoupdate false, so no OpenCode 2 offer
With any value but false, opencode 1.19 checks for a release every 10
minutes and, once on the newest 1.x, shows "/update to upgrade to
OpenCode 2.0" on its TUI's home screen (cli/upgrade.ts, home.tsx), and
1.18.35 announces 2.x as soon as GitHub's latest release is one.
OpenCode 2's server is not the 1.x `opencode serve` the Agent tab's
relay is written for. Only false or OPENCODE_DISABLE_AUTOUPDATE turn the
check off. oc-merge-limits.py now writes the JSON boolean, and refuses a
value opencode's schema does not take: the old code wrote the string
"false", which that schema refuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 23:09:24 +02:00
Hasan BasbunarandClaude Opus 5.5 a8b5f117d6 docs: say what holds for the seven lanes, and give numbers their conditions
The README, ARCHITECTURE.md, ROADMAP.md and the pages in docs/ said of
every text lane what holds for the two Qwen lanes alone (the Anthropic
dialect on :30000, System One from any lane, two opencode providers,
seven targets for switch-model.sh), and gave numbers without their
condition. They now name the five text lanes and list each lane's page,
give the flash lane's 47.9 tok/s its context tier and the 27B's 71.4 its
SGLang v0.5.19, an engine restart the README's minutes, and the roadmap
v1.35. Each statement was checked against the code before it changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:59:52 +02:00
Hasan BasbunarandClaude Opus 5.5 1e16cacb83 oc-merge-limits: keep the ten newest backups of a config, not every one forever
Every install and lane switch edits opencode.json and the cockpit's copy and leaves a dated
backup; none was ever removed (98 and 91 on the reference box after three weeks, each holding
the API key). backup() now prunes the backups of the file beyond the ten newest, counting only
the names it gives: a copy made by hand is never touched. tests/test_oc_backups_kept_few.py
fails on v1.28.0 and passes now; a mutant that skips the pruning fails it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:56:47 +02:00
Hasan BasbunarandClaude Opus 5.5 7c05acc0a6 opencode: pin 1.18.35, which masks the provider keys debug config prints
1.18.32 printed this box's API key in clear in `opencode debug config`; 1.18.35 prints ***
(checked with a fake key on both). What the repo relies on was checked against 1.18.32:
the overflow phrases and exclusions are the same block of the binary byte for byte,
max_tokens is 32,000 without the oc launcher's variable and 182,000 with it on a fake
endpoint, serve --hostname and the hidden --yolo are there, and the release diff touches
neither the compaction nor the permission code. Its model requests carry one more header,
x-opencode-session-id, with the session id x-session-id already carried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:56:41 +02:00
Hasan BasbunarandClaude Opus 5.5 01a2ac4e32 CHANGELOG: v1.22.5; docs: several agents share one KV pool
docs/flash-lane.md, "Several agents at once": the night of 2026-10-03
measured (eight sub-agents holding 771,301 tokens against a 437,184
pool: cache hits from 94.5% to 27.6%, decode from 69.3 to 3 tok/s), and
the rule, the sum of the agents' contexts under the pool the cockpit
shows. docs/opencode.md says what the proxy now does about opencode's
300 s wait for headers and points there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:35:51 +02:00
Hasan BasbunarandClaude Opus 5.5 5d964ecc42 v1.19.0: MiniMax-H3 as a fourth lane, and a cockpit rebuilt and checked under a finger
The changelog's three unreleased parts become v1.19.0, with the part the
2026-09-30 campaign added: the cockpit rebuilt and checked under a finger, an
update that touches only what changed, and the video lane's validation numbers.

The documents follow the rebuilt cockpit: its views are views (README, the cockpit
tour, the lanes' docs, CAPABILITIES), the tour's phone section describes the drawer,
the safe areas and the two browser checks that hold them, and the screenshots it
names are the rebuilt page's (added with the next commit). The design log gains a
dated section for the rebuild and what the phone taught the day after.

SECURITY.md says what each engine's coordination port exposes: PyTorch's store,
bound to every interface with no setting to narrow it (measured on the reference
box: the flash scheduler's and the video lane's), no key and no data, a denial of
service at worst, inside the trusted-network edge; how to see the ports and how to
firewall a box on a network it does not control. Taking them off the network by
default is on the roadmap, to be measured first. The video lane's doc no longer
calls its loopback bind the only thing in front of it, and carries the 2026-09-29
validation (the hot-NVMe 4 s, the 15 s run, the idle cores, the queued second
request).

The README's opening says what a box now gets: eight flash requests by default and
one Load button between lanes. The flash part of the changelog says what the new
default tier gives opencode on a fresh install (100,000 and 16,000, conservative
until eight heavy streams are measured) and how to keep the larger window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:08:54 +02:00
Hasan Basbunar e321878fa5 Merge the docs zone of wave 2 (D1 to D13)
# Conflicts:
#	install.sh
2026-09-24 19:27:29 +02:00
Hasan BasbunarandClaude Opus 5.5 3651650fac opencode configs: edited the way opencode reads them, and only where they must be
opencode parses its config with jsonc-parser and allowTrailingComma (read in the
1.18.32 binary). oc-merge-limits.py understood whole-line // comments only, so a
comment at the end of a line, a /* */ block or a trailing comma made every edit refuse
behind install.sh's `|| true`, and --remove-providers left a provider reading the key
file uninstall.sh deletes (also when that provider was the last one under a comment
line). oc-point-default.py rewrote the whole file with json.dump at every install and
switch: non-ASCII escaped, one comment gave exit 3, a default pointed at another provider
replaced, no backup, written in place.

Both now read the file as opencode does, find each member by walking the document from
the root (not the first text match), check the edit reads back as exactly the intended
document, back up under a name no earlier backup has (five edits in one second kept one
backup, not the original), and replace the file in one step, keeping comments, line
endings, symlinks and mode. The default model follows the lane only when it is unset or
already this box's. install.sh's generator writes the served entry's final name, so the
generated config is no longer written twice per run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 18:43:05 +02:00
Hasan BasbunarandClaude Opus 5.5 0942e4f46c docs: what binds where, what the proxy refuses, and what the cockpit really has
Checked against the code at 9a11cea and, for exposure, against the reference box
(engine on 127.0.0.1:30000, /metrics 200 with no key on :30000 and :30001,
/v1/models 401).

- DESIGN.md: the cockpit is installed by default since v1.12 and binds the
  tailnet address on a first install, not "opt-in, loopback".
- SECURITY.md, README, ARCHITECTURE.md, docs/operations.md: the engine is on
  loopback since v1.17, run.sh and ENGINE_BIND=0.0.0.0 are the two paths that
  put it on the network; the proxy has optional TLS and per-client identity
  since v6.16; /metrics is read through :30001, needs no key, and the image
  lane exports none; the flash lane's proxy, not the lane, is on every
  interface.
- docs/clients.md: no lane truncates; a prompt past the pool share or the
  flash ceiling is a 400 context_too_long, a 413 is only the body cap.
- docs/context-1m.md: pools measured 832,993 to 922,094 over sixteen boots,
  the static 1m pair's worst case is 923,863 (one agent step counted), a
  native re-install keeps the proxy.
- README: disk needs are the preflight's, per disk and summed for one disk;
  the one-liner serves 1M; the Operations code block is closed (it swallowed
  the next heading); the Logs and Setup rows list what the tabs do.
- docs/cockpit.md and install.sh: no bench job, canary battery, key panel or
  Benchmarks tab; reclaim commands come from ./uninstall.sh, not --list.
- docs/opencode.md, docs/clients.md: the variants are lean, low, medium and
  xhigh, lean being the default.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 18:21:51 +02:00
Hasan BasbunarandClaude Opus 5.5 7a8d0afdd7 v1.18.7: a full review of v1.18.6, and the defects it found fixed with a test each
- cockpit: a non-digit Content-Length is a 400 before any read (-1 read an
  unlimited body before login)
- proxy v6.24: the identity wall covers every route and method but /health;
  a path still escaped after one decode is refused; relayed /server_info loses
  the engine key fields; an unreadable keys file says so
- docs/clients.md: the keys file is installed owned by the user, the engine
  key goes in an EnvironmentFile
- image unit: After= on the text units, so a switch stops before it starts
- lifecycle: a down unit with a live container is an orphan, busy for the gate
- cockpit: its own /health probe no longer counts as activity (the canary
  never ran)
- install.sh: sudo asked at step 1 and renewed at step 8 with a prompt;
  CONTEXT_MODE=1m refused on a flash box after the convergence; the flash
  engine bind is read from the launcher
- switch-model.sh: downloads into the cache the installed unit mounts
- uninstall.sh, install-image.sh: remove only venv/ and sglang/ of the lane
- opencode limits hold the engine window (205000/32000 flash,
  173000/64000 native), fit() and the cockpit's verdict and autofit use the
  same rule, the 27B entry of a flash install comes from the table;
  collect_opencode has its @guard back
- Setup's Fit button has a click handler
- bench-agent: the TTFT slope is in the unit it prints
- CI: negated grep, generated script lists, exact sudoers argv, flash flags
  read from install.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 13:40:38 +02:00
Hasan BasbunarandClaude Opus 5.5 21ecc040e4 Fixes found by a real uninstall and a real first install on the reference box
- oc and the Agent tab load the box's generated opencode config through
  OPENCODE_CONFIG: on a box emptied and installed with the published
  one-liner, both answered with opencode's hosted free model (big-pickle),
  not the model the box serves.
- uninstall.sh --yes takes the providers that read the API key out of
  opencode's config before deleting the key (opencode refused to start at
  all: "bad file reference"); a file with nothing else of the user's goes to
  a backup (oc-merge-limits.py --remove-providers).
- The uninstall inventory knows the image lane's checkpoint (31 GB), and the
  CI gate on inventory pins reads install-image.sh too.
- The docker room check asks only for the container's room when the image is
  already here (an update with 36 GB free was refused for want of 40).
- A commented-out opencode PATH line no longer counts as one.
- uninstall.sh says when there was nothing to remove.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 17:43:37 +02:00
Hasan BasbunarandClaude Opus 5.5 f89f4f31c2 install: a fresh box's opencode gets a config, and a lane added later its provider
- A box with no ~/.config/opencode/opencode.json gets this repo's (it was a
  printed cp: a first install left opencode answering "Provider not found:
  qwen38"). A config that exists is never overwritten.
- A config with one of this repo's providers gains the provider of a lane
  installed since (oc-merge-limits.py --add-providers: targeted edit, backup,
  read back and compared, restored if anything else moved). The 27B first and
  the flash lane later left opencode sending the 27B's limits to the flash lane.
- A missing opencode is said plainly where a first-time user meets it: the
  installer's step 7 and last lines, the oc launcher, the cockpit's Agent tab.
- The last lines name a command the user's shell can run, and the config
  opencode actually reads.
- CI: the unittest step prints what failed instead of dying silently.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 15:17:30 +02:00
Hasan BasbunarandClaude Opus 5.5 caa596ad79 opencode is pinned: the same tested version on every box, and it stops drifting
Until now the repo installed no opencode: it took whatever was on PATH, and
opencode installs its own patch releases unless "autoupdate" says otherwise
(read out of its binary: only false, "notify" or a minor/major release stop
it), so two boxes installed a week apart ran two versions. The reference box
sat on 1.18.27 while 1.18.32 was out. Four things the repo does were read out
of one opencode binary and checked against its behaviour: the compaction
threshold oc-fit-limits.py sizes for, the hidden 32,000-token output cap the
oc launcher lifts, the overflow phrases the proxy answers with so a refusal
makes opencode compact, and --yolo / OPENCODE_PERMISSION for the Agent tab.

OPENCODE_VERSION=1.18.32 with OPENCODE_SHA256, GitHub's digest of
opencode-linux-arm64.tar.gz. Checked against 1.18.27 before pinning: the 21
overflow phrases and 3 exclusions verbatim in both binaries; max_tokens
182,000 with the launcher's variable and 32,000 without, on both, recorded
on a fake OpenAI endpoint with isolated config, data and cache; the code
around compaction and OPENCODE_PERMISSION identical once the bundler's chunk
names are set aside; serve --hostname and the hidden --yolo on both.

install.sh, step 7: none found, the release asset is downloaded, checked
against its sha256 and installed where opencode's own installer puts it,
with its PATH line in ~/.bashrc; an older one there is replaced the same
way; an older one from npm, brew or bun goes through `opencode upgrade`,
which knows its method; a newer one is kept and said so, because going back
a version can leave sessions a newer opencode wrote unreadable. A download
that does not match is not installed, a version without its checksum is
refused, and nothing about opencode fails the rest of the install.
OPENCODE_PIN=0 keeps whatever you have. The generated config and the user's
get "autoupdate": "notify" (oc-merge-limits.py --autoupdate, a targeted edit
that keeps comments; a stricter false is kept).

The Agent tab says when the opencode it serves is not the pinned one, read
from install.sh so the two cannot disagree. uninstall.sh lists an opencode
this repo installed and leaves it. CI downloads the pinned asset and checks
its sha256 on every run (and fails with a wrong one, checked).

docs/opencode.md said the 1M starting pair sits under the worst measured
pool; it does not (832,993 to 922,094 over sixteen boots), which is why it
is fitted after each boot.

Tests: eleven on the installer's own lines in a throwaway HOME with a fake
curl and fake opencode binaries (absent, pinned, older in place, older from
npm, newer, bad checksum, pin off, version without checksum), the merge, and
the cockpit's read of the pin. The checksum, no-downgrade and opt-out guards
were each undone once and their tests failed. CI 61/61.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 14:40:19 +02:00
Hasan BasbunarandClaude Opus 5 719c17b947 docs: the README becomes an entry point, and its numbers are checked against the record
1,045 lines, one door, and the only way to find anything was to scroll. It is 509
now: what this is, the seven targets with their measured headline, how to install
it, what speed and quality to expect, the targets and the switch, the tools, the
cockpit in short, and an index table naming every other file and the question it
answers. Seven sections moved out whole, each to its own file under docs/, each
leaving a summary and a link behind: the 1M context mode, the flash lane, the
cockpit tour, operations and upgrades, the opencode integration, the GB10 memory
trap in full, and where each lane stands against upstream.

The split was checked line by line against the file it came from. Of 1,045 lines,
the only ones with no verbatim equivalent in the new README or in one of those
files are the 32 rewritten on purpose, and each of those is a correction:

- the headline said 65 tok/s for the 27B lane, which is the v1.9 figure. v1.14.0
  measured 71.4 on the release image this lane has served since 2026-09-17, in the
  same campaign that measured 69.8 on the image it replaced. Title, target table
  and speed section now say 71.4 and name the campaign behind each number.
- the memory section read as though the installed fraction were 0.50, which is the
  native-mode and ./run.sh value. The 1m mode has been the default since v1.12.1
  and runs 0.76. Both are stated now, each with its mode.
- the KV pool comparison published three boots against two. The engine journal has
  eleven for that day, six and five: 517,184 to 566,016 against 482,560 to 510,592.
  The ranges still do not overlap, by 6,592 tokens at their closest, but the gap on
  the means is 9.6% and not the 6% published from the subset. README, BENCHMARKS and
  the v1.14.1 entry all carry the full set now.
- two citations pointed at text that is not there: the README claimed a flat-memory
  result was "quoted elsewhere in this README" when it lives in BENCHMARKS.md, and
  keepalive-proxy.py justified its 92% usable share by quoting a README line about a
  178,560-token pool that no longer exists anywhere. Both now name where the number
  actually is. Neither was caused by this release; both survived because nothing
  checks a quoted section title.
- the flash lane's quality is in the README as measured rather than as adjectives:
  GSM8K 97.41% over all 1,319 questions, MMLU 500 at 90.8%, HumanEval 164 pass@1 at
  95.73%, tool calling 15/15 with reasoning off and on, needle 2/2 at 120K and 200K,
  conc-check 40/40 serial and 80/80 at four concurrent.

evals/ ships the two drivers, because two of those numbers could not be reproduced
from this repo. The image's run_eval --eval-name mmlu shells out to an sgl-eval
binary it does not ship, and its HumanEval path needs a package that is not there
and then dies in os.fork against the image's filelock. Six gates hold what makes
them work, with a stub sglang and no network: the score line a caller greps, the
dataset MMLU is measured against, spawn rather than fork, and one sample per task
instead of the harness default of five, which at temperature 0 is the same answer
five times.

ARCHITECTURE.md gains the two directories it did not describe and tools-check.py in
its table of instruments. TESTING.md gains a 2026-09-19 column counted mechanically
on both commits: 34 test files against 20, 587 test functions against 442, 55 CI
steps against 38. docs/flash-lane.md records the one boot in thirteen that died at
CUDA graph capture on 2026-09-18, because a failure that costs twelve minutes and
explains nothing belongs written down even when it happened once.

Local CI: 56 steps, 55 ok, the socket gate failing on this serving box because
other processes cycle ephemeral listeners during the suite, which is the case its
own message describes. Both suites green: 223 and 370.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 12:55:10 +02:00