Repository navigation
Releases
ChatBots 1.2
ChatBots 1.2 — release notes
ChatBots runs two or more local MLX models against each other on a Mac, watched from a SwiftUI
app or a browser. 1.2 is a repository-process release: it changes no product code. The app, the
engine and the command-line tools are the same sources as 1.1. What it carries is the repository's
housekeeping after the September 2026 audit — a changelog, one written standard for the task
tracker, and one place where open work lives.
If you are running 1.1 there is nothing here to upgrade for. No behaviour differs, and the
checks that back this release are the same ones that backed 1.1.
The archive
ChatBots-1.2-macos-arm64.tar.gz and its .sha256 sit on the release page. Inside,
ChatBots.app carries the engine chatbots-cli, the probe chatbots-probe and MLX's Metal
kernels in Contents/MacOS/; bin/ holds the executables and kernels again, with LICENSE,
THIRD-PARTY-NOTICES.md, SECURITY.md and README-binaries.txt. No model weights.
Backed by tools/make-release.sh, which assembles the tree and writes the digest, and by the notice
checks in tools/third-party-notices.py and tools/make-app.sh, which fail when one is missing.
Apple silicon only, macOS 26 or later
Native arm64, no Intel build and no universal binary; macOS 26 is the floor, because MLX runs on
the GPU and WebTransport requires it. Backed by tools/make-release.sh, which runs lipo -archs
over every Mach-O file in the staged archive and fails unless each reports exactly arm64, and by
the CI check that LSMinimumSystemVersion equals Package.swift's .macOS(.v26).
The version it reports
This release is 1.2, tag v1.2. VERSION at the repository root is the one authoritative value
for it, and the bundle's CFBundleShortVersionString and CFBundleVersion are both written from
that file. The scheme is X.Y — this project has no patch axis, so there is no 1.2.0. Backed by
tools/check-identity.sh (CI, and gate 9 of tools/mac-checks.sh), which fails on a malformed
VERSION, a copied version, or missing notes, and by tools/set-version.sh <X.Y[.Z]>, the one
command a bump needs.
What changed since 1.1
Nothing that runs. All of it is how the repository keeps its own record:
- A
CHANGELOG.mdnow exists, which bothAGENTS.mdandRELEASE.mdalready required and
neither had: it is the announcement for a release and the place history goes — what was tried,
measured, accepted or rejected. The 1.1 entry records the four security findings the owner
accepted and the options that were declined instead. - Open work lives in exactly one place, the wiki's Project Tracker: a single table under
## Tasks, with status as a column rather than a heading, governed by
docs/task-table-standard.md.AGENTS.mdpoints at both. - The audit's second table is gone.
AUDIT/ledger.mdand the script that rendered it were a
competing backlog;AUDIT/now holds the record —ledger.jsonwith all 107 findings, the
evidence logs and the probes — and no open-work list. Its status note was also stale, still
reporting a task open and Phase E blocked, and was rewritten. - The 1.1 release notes were rewritten after publication, from a 432-line changelog of audit
ids and Swift internals into 190 lines of release notes. The release page carries the same text.
What this release was checked with
tools/mac-checks.sh runs nine gates: file sizes, a warnings-as-errors build, the test suite with
coverage, an llvm-cov report, swiftlint --strict, swift-format --strict, the two Node web-rule
checks, eslint, prettier and the identity check. The suite measures 1102 tests in 201 suites;
both style gates report zero under --strict; the coverage gate reports a number and sets no floor.
tools/make-release.sh then builds from a clean scratch path and re-reads the bundle's identity
before packing, and CI runs the Linux-side gates on every push, none of them advisory.
The code in this archive is the code that was verified on a second, independent host at 1.1 — a
fresh clone of the same sources and toolchain, all nine gates, the same 1102 tests. Because not one
source file changed between 1.1 and 1.2, that verification still describes this archive, and it was
not repeated for a documentation release. The record, including the one honest difference it states
about coverage, is in AUDIT/evidence-phase-e-host.md.
Checks that did not run, and why
- Real inference with the shipped checkpoint — not checked, no input. This checkout has no model
weights:models/is absent and git-ignored, andtools/install.shdownloads about 3 GB into it. - Notarisation and Developer ID signing — not checked. There is no Apple Developer ID. The app
builder ad-hoc signs each component and the bundle and fails when it cannot, but nothing notarises,
so a downloaded copy is refused by Gatekeeper until the quarantine flag is cleared. - A Swift job in CI — not checked, deliberately. No hosted runner image is macOS 26 on Apple
silicon with MLX, so the Swift gates cannot run there;tools/mac-checks.shon a Mac is the gate. - Swift analysis by CodeQL — not checked. CodeQL's default setup analyses
actions,python
andjavascript-typescripthere; its Swift autobuild cannot parse this package's Swift 6.4
manifest, so a Swift database was uploaded once and never analysed. That orphaned database has
been deleted. Real coverage needs advanced setup on anxcode-27runner withbuild-mode: manual. - The semgrep rule set — not reproducible from this repository. The scan runs with
--config auto, so its rules are fetched from the Semgrep registry at scan time and no version pin here
covers them. - ThreadSanitizer — no run recorded.
AUDIT/tool-coverage.mdnames
swift test --sanitize=thread, but no log shows a run of it; the concurrency work was checked
instead by the Swift 6 language mode and a strict-concurrency probe. - A Python dependency audit — nothing to scan. There is no
requirements.txtor lock file for
tools/, so there are no third-party Python packages to check. - The installer's interactive catalogue menu has no behavioural test. It is covered by the build
and the suites that drive the real paths, not by a test that asserts the menu's behaviour.
Checksum
The digest and archive size are substituted at publish time, from the archive that was built:
9be43f9209cae3a27e5a77abdfb2b1004614d5c48e5c186cd9f1f0e58763abdd ChatBots-1.2-macos-arm64.tar.gz
63117866 bytes
ChatBots 1.1
ChatBots 1.1 — release notes
ChatBots runs two or more local MLX models against each other on a Mac, watched from a SwiftUI
app or a browser. 1.1 follows the September 2026 pre-production audit; its headline change is that
the engine now proves who it is before the app hands it any credential. Every claim names the check
that would fail if it stopped being true, the checks that did not run are named last, and the full
record is in AUDIT/ledger.json.
The archive
ChatBots-1.1-macos-arm64.tar.gz and its .sha256 sit on the release page. Inside,
ChatBots.app carries the engine chatbots-cli, the probe chatbots-probe and MLX's Metal
kernels in Contents/MacOS/; bin/ holds the executables and kernels again, with LICENSE,
THIRD-PARTY-NOTICES.md, SECURITY.md and README-binaries.txt. No model weights.
Backed by tools/make-release.sh, which assembles the tree and writes the digest, and by the notice
checks in tools/third-party-notices.py and tools/make-app.sh, which fail when one is missing.
Apple silicon only, macOS 26 or later
Native arm64, no Intel build and no universal binary; macOS 26 is the floor, because MLX runs on
the GPU and WebTransport requires it. Backed by tools/make-release.sh, which runs lipo -archs
over every Mach-O file in the staged archive and fails unless each reports exactly arm64 (at
least three must be found), and by the CI check that LSMinimumSystemVersion equals
Package.swift's .macOS(.v26).
The version it reports
This release is 1.1, tag v1.1. VERSION at the repository root is the one authoritative value
for it, and the bundle's CFBundleShortVersionString and CFBundleVersion are both written from
that file, so a person can say what they are running from the artefact alone. Backed by
tools/check-identity.sh (CI, and gate 9 of tools/mac-checks.sh), which fails on a malformed
VERSION, a copied version, or missing notes; by tools/make-release.sh, which re-reads the built
bundle's keys; and by tools/set-version.sh <X.Y[.Z]>, the one command a bump needs.
The engine now proves who it is
Before this release the app adopted whatever process answered on the engine's transport port and
then sent it every seat's cloud API key from the Keychain; the local transport does not verify the
peer, so a same-user process that took the port was adopted and handed the keys. Now the engine
writes a fresh random token to its run directory, readable only by its owner, before it accepts a
connection, and echoes it over a transport-only identity request. The app reads the same file and
adopts only an engine that returns the token, reporting one that cannot identify itself and sending
it nothing. No HTTP route or status snapshot returns the token.
The limits are part of the note. The file is owner-only but readable by any process running as the
same user, so it closes the window in which the port is taken before the engine starts; it does not
make a same-user attacker impossible. A token also outlives an engine killed with SIGKILL, and
the certificate fingerprint is still reported rather than enforced, so an impersonating loopback
peer would not be revealed by it. An engine started by an older build cannot identify itself and
will not be adopted — intended, and the case on the first run after updating.
Backed by SessionTokenTests.swift, SessionTokenTransportTests.swift, SessionTokenHTTPTests.swift
and EngineIdentityTests.swift; the control was watched live (AUDIT/evidence-0058-live.md).
Credentials and private files
Secrets on disk are now private: a group- or world-readable .secrets.env is restricted when
read, kept conversations and their index are owner-only, and the engine's TLS key is never briefly
world-readable. Programs the engine starts inherit a short allow-list of variables and never a
cloud key or the trace switch, and the Tavily key is refused on the command line.
Backed by BuiltInKeyTests.swift, TraceSwitchTests.swift and
CertificateIdentityIntegrityTests.swift; shellcheck covers the start scripts.
Input the engine cannot trust
Fetched pages and search summaries enter the prompt inside an explicit untrusted-data fence, and a
topic or seat name can no longer forge a transcript boundary or a [timestamp] NAME speaker line.
A model id cannot escape the models directory; redirects are reported rather than followed with a
bearer key attached; and loopback, private, link-local and unspecified addresses are refused. An
absurd viewport is answered as unknown instead of trapping, a declared context window and the
generation cap are clamped so neither can overflow, and a PDF's page count is bounded. Attachments
are measured before decoding, capped at 256 MB, and a read error is reported rather than returned.
Backed by TurnLoopRuleTests.swift, ResearchPromptTrustTests.swift, ShardedCheckpointTests.swift,
EndpointPolicyTests.swift, DeviceProfileTests.swift, ImageUploadTests.swift and RealExtractorTests.swift.
Conversations, turns and budgets
A conversation that cannot be saved is reported once instead of disappearing quietly, and deleting
the history also removes a stranded temporary. A turn that produces no text still charges the
research budget, a search retry is billed as two searches rather than one, one turn dispatches at
most eight tool calls, and Tavily's own answer is kept as the first search hit instead of dropped.
Backed by ConversationReportingTests.swift, StoreRecoveryTests.swift,
ResearchSearchBudgetTests.swift and ClientsSearchTests.swift.
The transport and the HTTP surface
A fresh connection no longer fails with the previous session's error. A slow peer cannot hold the
server open: a request has a wall-clock ceiling, and the event feed closes once a client falls too
far behind. Responses carry their real status phrases, a seat setting the engine cannot honour is
refused with the values it accepts, a refused model change no longer renames the seat, and a changed
base URL or API key reaches the live client. An oversized or unparseable stream event fails the
stream, and endpoint routing matches parsed hosts rather than substrings.
Backed by TransportLifecycleTests.swift, WebTransportSessionTests.swift, HTTPLimitTests.swift,
HTTPServerTests.swift, ClientsStreamTests.swift and EndpointPolicyTests.swift.
The app, the command line and the web front end
In the app, a refusal is now treated as a refusal: a rejected steer no longer clears the
moderator's draft, and a refused checkpoint is not shown as applied. Closing the window disconnects
the client before the engine is shut down, attachments are read off the main thread so large files
do not block it, and a corrupted text-scale preference is sanitised instead of crashing. On the
command line, flags only another mode can honour are refused, and a headless run exits non-zero
when a turn failed. In the browser, following stops when the reader scrolls, a typed topic is
committed before start, and Cmd or Ctrl+Enter no longer also presses Start.
Backed by RefusalTests.swift and ZoomStepTests.swift; the page's interaction fixes have no browser test.
Building, releasing and the repository's own standards
A reused gate log must carry the commit it measured; a signature that fails fails the build; and a
scratch directory is refused unless it is inside the checkout's build tree, so the release path's
recursive delete cannot be pointed at the source. Model weights are verified against the per-file
SHA-256 the hub publishes at all three success points, and the installer now offers the whole
checkpoint catalogue with sizes.
Both style gates run --strict against zero and the waiver caps are gone: SwiftLint went from 206
findings to 0, swift-format from 306 diagnostics to 0, and Python's committed ruff.toml is clean.
Backed by the scripts themselves (bash -n and shellcheck -S style in CI), by gates 5 and 6 of
tools/mac-checks.sh, and by ModelChoiceTests.swift for the installer catalogue.
What this release was checked with
tools/mac-checks.sh runs nine gates on the release Mac: file sizes, a warnings-as-errors build,
the test suite with coverage, an llvm-cov report, swiftlint --strict, swift-format --strict,
the two Node web-rule checks (34 and 12 cases), eslint, prettier and the identity check. The
suite measured 1102 tests in 201 suites against the audit's baseline of 1048 in 195; both style
gates report zero under --strict; the coverage gate reports a number and sets no floor.
tools/make-release.sh then builds from a clean scratch path and re-reads the bundle's identity
before packing, and CI runs the Linux-side gates on every push, none of them advisory.
The tree was verified a second time on an independent host, on a fresh clone of the same commit and
toolchain: all nine gates passed with the same 1102 tests in 201 suites
(AUDIT/evidence-phase-e-host.md). One honest difference the record states: the coverage total there
was much lower because the run measured a different object set, and the gate enforces no floor.
Accepted risks
These are decisions on the record, not fixes. The repository owner reviewed them and accepted them
on 2026-09-18, and the behaviour each describes is still present and still deliberate.
- The API is unauthenticated, and by default reachable from the LAN. The engine binds loopback,
but the shipped start script runs Caddy from a site address that carries no host, so the proxied
/api/*and/s/*routes are served on every interface with no password: anyone who can reach
the site can read every kept conversation and drive the run controls. - The published site is plaintext on every interface. There is no TLS, so an on-path reader can
also write. That default is what lets a phone on the same Wi-Fi use the interface; use
--local-onlyto keep it on this Mac, or front it with your own authentication. - **DNS...
ChatBots 1.0
ChatBots 1.0 — release notes
ChatBots runs two or more local MLX models against each other on a Mac, watched from a SwiftUI
app or a browser. This is the first release; every claim below names the check that would fail
if it stopped being true, and the checks that did not run are named last.
The archive
ChatBots-1.0-macos-arm64.tar.gz and its .sha256 sit on the release page. Inside,
ChatBots.app carries the engine chatbots-cli, the probe chatbots-probe and MLX's Metal
kernels in Contents/MacOS/; bin/ holds the executables and kernels again, with LICENSE,
THIRD-PARTY-NOTICES.md, SECURITY.md and README-binaries.txt. No model weights.
Backed by tools/make-release.sh, which assembles the tree and writes the digest with
shasum -a 256; tools/third-party-notices.py checks the notice inventory against
Package.resolved in CI, and tools/make-app.sh fails when the notices are missing.
Apple silicon only, macOS 26 or later
Native arm64, no Intel build and no universal binary; macOS 26 is the floor, because MLX
runs on the GPU and WebTransport requires it. Backed by tools/make-release.sh, which runs
lipo -archs over every Mach-O file in the staged app and fails unless each reports exactly
arm64 (at least three must be found), and by the CI check that LSMinimumSystemVersion
equals Package.swift's .macOS(.v26).
The version it reports
VERSION at the repository root holds 1.0, and the bundle's CFBundleShortVersionString
and CFBundleVersion are both written from it, so a person can say what they are running from
the artefact alone. Backed by tools/check-identity.sh (CI, and gate 8 of
tools/mac-checks.sh), which fails on a malformed VERSION, a copy in tools/make-app.sh, or
missing notes; by tools/make-release.sh, which re-reads the built bundle; and by
tools/set-version.sh <X.Y.Z>, the one command a bump needs.
The shipped checkpoint
The default is mlx-community/Qwen3.5-4B-MLX-4bit, declared once as
AgentSpec.defaultModelID; the installer, the CLI defaults and the OpenAI client all read
that declaration. Backed by Tests/ChatBotsCoreTests/DefaultCheckpointTests.swift, which pins
the value — which checkpoint ships is a decision, not a number a release propagates — holds
that the literal appears in exactly one source file, and holds that tools/install.sh derives
the id and its directory rather than copying either.
Two front ends over one engine
The app window and the browser interface at http://localhost:7788 are clients of one
conversation engine, so a conversation started in one appears in the other. The app uses
WebTransport/QUIC; the browser uses HTTP, through Caddy when installed and directly from the
loopback engine when not. Backed by WebTransportSessionTests.swift, HTTPServerTests.swift,
EmbeddedWebAssetTests.swift and TransportCheckTests.swift; WebTransport is pinned exactly
to 1.3.7 in Package.resolved.
Show mode
Strong personalities argue about a topic you choose, with no consensus required and no end
condition. Backed by ModePersonaTests.swift and ConversationEngineTests.swift.
Research mode
Specialists investigate a question from different methods and produce a report, every claim
labelled and the disagreements and gaps named; a Moderator decides what the question still
owes and hands the next piece of work to the analyst whose method fits it. Backed by
ResearchEngineTests.swift ("A research session end to end"), ResearchReportLabelTests.swift
("Unlabelled claims are counted against the report"), DirectedAssignmentTests.swift and
ModeratorIdentityTests.swift.
Personas, rosters and line-ups
Each seat has a persona, the room has a roster, and a line-up puts a chosen panel in front of a
ready-made question; participant names come from the bundled lists. Backed by
PersonaTests.swift, RosterTests.swift, LineupTests.swift and NameTests.swift.
OpenAI-compatible backends
A seat can run against DeepSeek, LM Studio or any other OpenAI-compatible server instead of a
local checkpoint, and the built-in DeepSeek key is sent only to its own host. Backed by
OpenAIResponsesTests.swift, EndpointPolicyTests.swift and BuiltInKeyTests.swift.
Tavily web search
A local seat can be given the web_search tool, which queries Tavily when a key is configured
and the seat has search enabled. Backed by ClientsSearchTests.swift, TavilyKeyTests.swift
and ResearchSearchBudgetTests.swift.
Documents and images
Documents and images can be attached to a conversation, converted where the format needs it,
and offered to a model that can see them. Backed by AttachmentTests.swift,
DocumentConversionTests.swift, ImageDecodeTests.swift and VisionCapabilityTests.swift.
Kept conversations, share links and export
Every conversation is written to disk as it runs; a kept one can be reopened or deleted, a
read-only link replays one in a browser, and a conversation or report exports as text or
Markdown. Backed by ConversationStoreTests.swift, ShareLinkTests.swift,
SharedConversationTests.swift, TranscriptWriterTests.swift and
SavedConversationHTTPTests.swift.
The security boundary
SECURITY.md states the boundary: the engine binds 127.0.0.1 only, while the website, once
started, listens on every interface with no password on /api/*, so anyone who can reach that
port can read and steer conversations; --local-only keeps it on this Mac. The response
boundary is backed by SecurityHeaderTests.swift, CORSTests.swift,
EndpointPolicyTests.swift and TraceSwitchTests.swift; the listener behaviour itself is a
decision written in Caddyfile and tools/start.sh, not a check.
What this release was checked with
tools/mac-checks.sh runs eight gates on the release Mac: file sizes, swift build --build-tests with warnings-as-errors, swift test --enable-code-coverage, an llvm-cov
report over Sources/, swiftlint lint, swift-format lint, the two Node web-rule checks and
tools/check-identity.sh. The suite measured 1048 tests in 195 suites (1012 in 185, plus 36 in
10); the style gates are judged against the recorded waivers in tools/analysis-waivers.txt
(swiftlint 217, swift-format 444 at the time of writing); the Node checks ran 34 cases for
the streaming merge and 12 for the verdict rule. The coverage gate reports a number and sets no
floor, so it cannot fail on a coverage drop. tools/make-release.sh then builds from a clean
scratch path, scans the log for warnings from Sources/ or Tests/, and re-reads the bundle's
identity before packing. CI runs the Linux-side gates on every push and pull request: generated
files, file sizes, third-party notices, bash -n and shellcheck, py_compile, ruff,
pyright, gitleaks over the full history, semgrep through tools/semgrep-waivers.py,
osv-scanner and tools/check-identity.sh.
Checks that did not run, and why
- Real inference with the shipped checkpoint — not checked, no input. This checkout has no
model weights:models/is absent and git-ignored, andtools/install.shdownloads about
3 GB into it. No checkpoint could be loaded, so none was;TurnLoopModelTests.swift("The
turn loop runs on a stubbed model") covers prompt assembly, streaming and the returned turn
without weights. - Notarisation and Developer ID signing — not checked. There is no Apple Developer ID.
tools/make-app.shad-hoc signs each component and the bundle (codesign --sign -) and
reports a failure rather than hiding one, but nothing notarises, so a downloaded copy is
refused by Gatekeeper;README-binaries.txtcarries thexattr -dr com.apple.quarantine
command for a user who has verified the digest. - A Swift job in CI — not checked, deliberately. No hosted runner image is macOS 26 on
Apple silicon with MLX, so the Swift gates cannot run there;tools/mac-checks.shon a Mac
is the Swift gate. - The semgrep rule set — not reproducible from this repository. The scan runs with
--config auto, so its rules are fetched from the Semgrep registry at scan time and no
version pin here covers them: the scan ran, but the policy did not come from this checkout.
Checksum
The digest and archive size are substituted at publish time, from the archive that was built:
4fa02c79d52e334363189ebf33173a8e4491e7e62fe79b838622c5c822d1bbc6 ChatBots-1.0-macos-arm64.tar.gz
62818504 bytes