Release Notes
Auto-generated from CHANGELOG.md. Complete WeftOS version history.
Release Notes
This page is generated from
CHANGELOG.mdbyscripts/build-releases-mdx.sh. Edits made directly here will be overwritten on the next docs build. To change a release entry, editCHANGELOG.mdand re-run the script.
v0.8.4
2026-10-27
The stable release of the 0.8.4 line: everything in rc.1 to rc.15 (the per-rc entries below have
the detail) plus the work landed since rc.15. This is the first tag that publishes the whole
workspace to crates.io automatically and the first release built from the WeftOS GitHub org.
Added
- Cog data plane broker (ADR-122, Accepted). Each node daemon runs
cogbuson a local socket:- B1: readings.
- B2: shared-memory stream rings with reader policies.
- B3: governed subscriptions, cross-project grants, an activity log, refusal stop and a topics report.
- B4: the ingest bridge as a broker consumer with a store sink and an optional fallback port.
- B5: a blob store addressed by BLAKE3 handle;
infer.v1can pass an image by blob handle. - B6: topic exposures (kind, registry, CLI) and
[mesh_limits];cog packandexposerefuse a cog over its declared limits,installandplacewarn, so already-released cogs still install. - Service calls (
serve/call/replyonsvc.*topics) with deadlines and per-caller caps; theinfer.v1,event.v1andsdr.v1schemas. - Publish budgets, metered
every <n> <unit>rates, idle ping/close, and subscription and connection caps. - Per-cog uid and a
cogbussocket group; one owner per device, recorded in the device ledger; netdev device claims. - Containerised cogs reach the broker; VMs are declared unsupported.
- Governed, chained cog stop.
- Cog declarations (Ventuno plan P0/P1).
cog.tomlgainsinterfaces,[[outputs]]and[[inputs]]with registered schemas, and placement can match on interfaces. Node facts now cover Qualcomm NPUs, GenieX, media, buses, MCU, SDR and power monitors, and advertise a model only after it is checked against the daemon's trust. - NPU service (P4). NPU state appears in node facts from the
npu-infercog's telemetry. weaver workload place --argpasses cog configuration arguments.- Chief-of-staff glance cards.
- The
glance.cardtool puts a card on the e-ink panel. - Cards carry ids and up to two options and are answered through
POST /v1/cos/answer. GET /v1/cos/glanceis a snapshot, and/v1/cos/glance/art.pngserves the idle art.- Cards and art persist across restarts.
- The e-ink panel firmware shows NPU-diffused weaving art when idle.
- The
- Phone app. It shows the live CoS card with option buttons and a free-text reply, raises a needs-you notification with actions, and shows the idle art.
- Urth and the world model. A measured room region is published through
ecc.spatialand queried with provenance; spatial-check gates run on region ingest (draft policy rows warn only); the BVH is rebuilt from the chain at daemon boot so published regions survive a restart; the W4 evaluation harness sits on the rollback gate. - Build:
WEFTOS_BUILD_COMMIToverrides the git lookup for theweaver/weftversion stamp; theandroidandglasseslanes runlintDebug. - Agents and skills: the
can-expertpackage with thecan-brainskill;urth-spatial-checks. - Plans and research: the Ventuno Q cog plan, NPU benchmarks and soaks; the App Lab brick spike;
the PlutoSDR Nano bench and the RX/TX cog plan, with
scripts/bench/pluto/; ADR-124 node clock and reading time (Proposed); the sensor-node spec and module types.
Changed
- Cogs extraction B1. The Cogs product (Cog Host, cog repository tooling, catalog, cog
sources, Weave Manager, the guide format and viewer, the ecg/tof/sound companion apps) is no
longer in this tree. It ships from
WeftOS/weftos-cogs;weaver cog,weaver updateandweft-licencelink itscog-sources,cog-repoandcog-marketcrates at v0.1.4 (pinned by commit). Removed lanes:scripts/build.sh cog-host-x86,cog-host-cross,manager,manager-web,scope-web,guide-weband theecg-scope/sound-scopealiases;scope roomstill buildsweft-room-scope. Cog Host binaries now come from the signed Cogs release. The crates.io set is unchanged (none of the removed crates was published). - The repositories moved to the WeftOS GitHub org (
WeftOS/weftos,WeftOS/weftos-cogs). Container images publish toghcr.io/weftos/weftos; earlier images stay underghcr.io/weave-logic-ai/weftos. - The Homebrew tap token is minted from a GitHub App at release time.
- Container cog instances: instance ids are derived from the owner key and carry the project
and controller, so a cog's
data/is never shared across projects;/datais a tmpfs; blob ownership is(project, instance). - The agents leak check reads extra private terms from a file outside the repository.
weftos-leaf-typesis 0.1.1 on crates.io (leaf discovery and frame reader).
Fixed
weaver kernel stopno longer hangs in shutdown, and the daemon honours SIGTERM.- Placed native cogs survive a daemon restart, and staging over a stale directory works. The
host keeps a cog's
data/on restore; journal entries are signed and verified on replay, with a controller re-check, bounded retries for transient restores, an owner marker that is written first and compared in full, and a set-aside that keeps the last three journals. - Placement: an unloaded cog instance is not placed again by a stale
Lostrecord; a node's facts are refreshed after a stop or unload; a refusal names the failing permit condition and warns on cog permits that cannot match. cogbus: a connection-slot leak and pre-hello caps; it compiles on Windows;cogbus.listandworkload.listwork outside a project.- Node facts skip kernel console ports in
bus.uart. - The CoS answers an unknown card id with "no such card"; the phone app follows the landed card contract; the Android Kotlin bindings are generated with the Android cleaner so minSdk 29 has no NewApi errors.
- Release CI: the Docker digest artifact name no longer contains a slash, so the image build and its post-publish health smoke run; the KB and SBOM uploads wait on the Release run.
- Advisories published after rc.15: crypto-bigint is ignored with a recorded justification; the npm zod, body-parser and fast-uri advisories are allow-listed; undici is overridden to 7.30.1.
v0.8.4-rc.15
2026-10-23
Release candidate for v0.8.4 stable. The scope is in docs/plans/release-0.8.4-cut.md.
Added
- Phone and glasses P0:
weftos-node-core, a sans-IO core for the phone parent node with a UniFFI facade; the Android phone node app; thecom.weftos.glassesagent app; andscripts/build.sh android/glasseslanes. weft-room-scope: an egui viewer for overhead camera, track and CSI overlays.- Cog protocol boundary (
weftos.cog.v1):- check-run types;
- the Cog Host asks the daemon before it starts a cog;
- licence import, status, claims and revoked.
weaver kernel liveness [--json]and thekernel.livenessRPC. They report whether the daemon's runtime, locks and socket are making progress, and exit 1 when it is unhealthy or silent.- Liveness watchdog for the generated systemd units (
WatchdogSec=60,NotifyAccess=main), so a wedged daemon is restarted instead of staying dead. - Build lanes
docker-smoke,kbandfuzz-check.
Fixed
- Daemon deadlock. A mesh peer that stopped reading could freeze the daemon. The peer table's
lock was held while waiting on that peer's full send queue, so every registration, reconnect and
disconnect blocked a runtime thread.
- Sends no longer hold the lock and give up after 5 s.
- A connection whose write stalls for 30 s is closed.
- Service start, stop and health run from a snapshot, and stops are time-limited.
- A clippy rule now rejects map locks held across
.await.
- Bounded shutdown. Each shutdown step is time-limited and logged, and a guard thread ends the
process when the runtime is blocked.
kernel.pidis removed only at exit.weaver kernel stopnow fails (exit 1) and keeps the pid file when the daemon does not exit.stop --forcefinds the daemon throughkernel.lockand escalates from TERM to KILL. - Governance. A non-blocking browser_policy match no longer clears a block set by an earlier rule, so the decision no longer depends on rule order. The first blocking rule supplies the reason text.
- Teams webhook. Bot Framework JWTs are now verified: RS256 only, keys from the cached JWKS, plus issuer, audience, expiry and not-before checks. Anything else gets a 401.
- Release Docker image. The gateway now starts its own kernel and listens on all interfaces inside the container. Before this, the published images answered nothing.
- Release KB and SBOM workflows now follow the Release run for the same commit instead of a 60-minute timer.
weaveradvertises models only after checking them against the daemon's trust.
Security
- wasmtime / wasmtime-wasi 48.0.7, which includes a fix for a WASI filesystem sandbox escape via symlink rename.
- Other Rust dependency updates: rustls 0.23.46, rustls-webpki 0.103.16, webpki roots 1.0.10, tokio 1.54.1.
- The splat importer moves to zip 9 and refuses symlink entries.
- jsonwebtoken 10.3 and rpassword 7.5.
- The unpatched
failurecrate is gone: webrtc-audio-processing 2.1, ported. - Docs site: Next.js 16.4.3, which fixes a critical unauthenticated RCE in image optimisation. clawft-ui: vite 7.3.7.
- Residual advisories are documented in
docs/security/cargo-audit-residual.mdandnpm-audit-residual.md.
Removed
- The Tauri desktop shells. egui is the native GUI.
v0.8.4-rc.14
2026-10-13
Added
- Chief of staff (
weftos-cos):devices.status(glasses, pad and e-ink verdicts), MCP servers as allow-listed, gated tool sources with a signature-ready authorized catalog (unvetted servers always need confirmation),weftos-cos mcp(the CoS as an MCP server), per-turn traces pushed to the dashboard, status reporting the model from startup, an owner-only guard for other people's data, thecos-evalrunner, and the dashboard bridge (weftos-cos bridge) with the listening, push-to-talk and voice-volume controls. weaver project add --repo <dir>picks one of a project's repositories.
Fixed
weaver project add weftos://…fetched nothing when the primary's project root is not itself a git repository: every call was sent under the bare project name, so the daemon asked for.. Calls now name their repository; a sole repository is checked out at the target path and several are checked out side by side.- Featured
weftos-cosbuilds install to~/.weftos/binso test runs cannot strip speech-to-text. - Chief of staff: an answer that claims a board change was applied, done or created with no
successful write in that turn is rewritten to the true staged state (gate
claim:unbacked-write). weftos-cos bridgeno longer stalls when the dashboard rejects a sync: the batch is split to isolate bad rows, a row rejected twice is skipped, and status and results always get through.weftos-cosbuilds for Windows again (token-file permission checks are Unix-only).
v0.8.4-rc.13
2026-10-13
Fixed
- Mesh pairing with a primary that did not create the mesh: a node holding an imported or learned MeshId record now countersigns it (separate signing domain) when it sends it to members, and a member accepts a record signed by its pinned primary or countersigned by it. The pin still stops a relay from substituting another mesh's record. Old records are unchanged on disk and on the wire; upgrade members before primaries, then retry the failed pairing.
v0.8.4-rc.12
2026-10-13
Added
- Chief of staff:
GET /v1/cos/turns?limit=Nreturns recent final messages (same auth as the other cos.v1 routes); the pad console reloads its chat log from it on every connect. - Mentra Live mic capture app (
firmware/mentra-mic/): a shell-started microphone foreground service records 16 kHz WAV takes without root, so speech from the glasses reaches the chief of staff.
Fixed
- Cluster membership no longer grows without bound: a daemon's own node is no longer persisted
and replayed, peers with no heartbeat for 24 h are dropped on load, a reaper marks silent peers
Unreachable after 10 min and removes stale mesh peers after 24 h, and heartbeats reach disk.
Operator-added peers are never removed automatically.
weaver cluster statusreports real members. - The daemon's leaf pushes get one governance rate-limit bucket per topic rather than sharing principal 0's, and idle limiter keys are pruned. Rules, audit and deny messages are unchanged.
- Pad console host: rate-limited publishes, a missing leaf route, a daemon restart or an agent restart now back off and reconnect with a full repaint instead of exiting; redraws coalesce.
- Chief of staff: version and release questions use node health (weaver versions), project activity without a project no longer reports a history error, ranked lists start at 1 and skip done cards.
v0.8.4-rc.11
2026-10-13
Added
[kernel.mesh] leaf_listen_addraccepts a list of addresses. Each gets its own leaf listener sharing one ingress, and an address that cannot bind yet (an interface that comes up later) is retried every 15 s.leaf_discovery_any: answer leaf discovery on every interface while the TCP leaf listener stays on its configured address.- Edge pad: a build-time parent hint (
EDGEPAD_PARENT_HINT) is probed by unicast before the broadcast fallback. - Chief of staff: the e-ink status panel over USB serial (
weftos-cos glance-serial), and aboard.searchtool that finds cards by topic.
Fixed
- Edge pad: read timeouts count as idle rather than errors, and partial frames resume, so the leaf link no longer reconnects in a loop. The boot BLE probe is off by default.
- E-ink panel: partial updates no longer leave old text overlaid.
- Chief of staff: a repeated or failing tool call, or reaching the round limit
(
models.max_tool_rounds, default 6), now produces an answer without tools rather than "ran out of tool rounds". Project activity output is compact and bounded, and node health and mesh routes reach the daemon through the same endpoint resolver asweaver.
v0.8.4-rc.10
2026-10-13
Added
weaver mesh exportandweaver mesh import: copy a mesh's signed MeshId record to a node that cannot pair with the node that created it. Import verifies the record as pairing does and accepts it only from a signer this node already trusts (a pinned or paired peer, a workload-host controller, or a mesh pairing);weaver mesh idshows "imported from <node>".
v0.8.4-rc.9
2026-10-12
Added
- Mesh creation step:
weaver mesh creategives a mesh without a Seed licence its MeshId (derived from the owner's user key and a fresh nonce, the licence's scheme) as a record signed by the node and the user key;weaver mesh adopt-licence;weaver mesh idprints the id and where it came from. The daemon sets its local MeshId at boot (licence first, then the record), members learn it when they pair (verified against the primary's pinned key), and the heartbeat reportsmesh_idand the signedmesh_record.weaver project addchecks that a weftos:// name's mesh is the local mesh. agent.uninstallnode action (plans first; refuses edited files, packages a team still needs, or names not installed; chained).expose.setnode action: the dashboard can switch an exposure off or pause it; on stays local.- Chief of staff:
endpoints.<id>.speaksets whether a remote endpoint speaks its own replies.
Fixed
quinn-proto0.11.17 (RUSTSEC-2026-0339, RUSTSEC-2026-0342).
v0.8.4-rc.8
2026-10-12
Added
weaver project add | up | down | status | remove: add a project to a developer machine in one step (fetch over the mesh or git, register, detect how it runs, install its/<slug>route, list required environment variables by name), start and stop it with process-compose, and undo exactly what was added. The dashboard's "Add locally" uses the same path.docs/guides/developer-quickstart.md.- Chief of staff on a real model:
scripts/build.sh cos-upstarts the agent with a local model (llm lab) and stops it on exit, with a cloud fallback chain; tools for the board, the current card and mesh routes; notes to project history and a per-installation RVF brain; local speech-to-text and spoken replies with barge-in. The conversation API is frozen ascos.v1(docs/plans/adr-118-cos-contract.md), with per-endpoint replies and an optional tailnet bind with per-endpoint tokens (weftos-cos endpoint add). - Display sessions over the certified-leaf channel (ADR-117):
display.*RPCs,weaver leaf status,cos-console-host --leaf, the edge-pad firmware renders sessions; hardware-in-the-loop scriptscripts/edgepad-console-hil.sh. - Mesh resources and exposures (ADR-120 X1-X2): library and toolchain facts (CUDA, ROCm, Core ML,
MLX, PyTorch, ONNX Runtime) and live free VRAM; one exposure registry with
weaver expose list | on | off | pause | logand a[mesh.expose]master switch; unannounced exposures are refused; a hash-chained activity log; exposures and resources in the heartbeat. weftos team apply | status | uninstall(ADR-112 TM2): project-scoped apply with a lock, collision refusal, a birth report and symmetric uninstall;agent.installuses the same path.- MCP: stateless 2026-07-28 requests and
server/discovernext to the 2025-06-18 handshake.
Fixed
- HNSW memory search: queries no longer serialize on the store and model locks (10K: 18-thread throughput 321 -> about 114,000 queries/s), graph builds are about 10x faster, and deletes or upserts between rebuilds can no longer return the wrong entry.
- A flaky mesh-fetch test,
clawft-voice-onnxclippy under--features onnx(now in the gate), andscripts/build.sh --helpexecuting text in its usage message. - Long model streams no longer stall in the retry buffer (more than 256 chunks).
v0.8.4-rc.7
2026-10-12
Added
- AI org (ADR-121): agent packages and teams carry a content digest, version, parent, state
(
active/inactive) and pinned dependencies inagents/catalog.json, checked byagents-validate. The twelve legacyagents/weftos/*agents are packaged as inactive originals. Packages declare a self-brain metadata schema (weftos.brain-metadata/1). clawft-versionsandweaver versions list | tree | deps: an append-only versions file per node, mirrored into a copy-on-write ruvector lineage per object.- Instance registry: running agents are recorded (instance ULID, package, digest, state,
card), their start, stop, version, config and failure events go on the chain, and the
dashboard heartbeat carries an instances summary and the node
kind([dashboard] kind: machine, project-daemon, dev, vm). agent.installnode action: installs an approved agent package or team into a project checkout after verifying its digest, records it on the chain and reports the result.weftos://gains theinstanceskind.
Changed
- One bundle digest definition (
crates/weftos/src/init/digest.rs, with a JS twin) is used by the catalog, installs and runtime enforcement; a node refuses to start a package whose files do not match its pinned digest.
v0.8.4-rc.6
2026-10-11
Added
- Pocket TTS trial engine in
clawft-voice-tts(thepttsRust crate) behind the default-offpocket-ttsfeature: streaming with prompt cancel, model path from config orWEFTOS_POCKET_TTS_DIR, never downloads weights;WEFTOS_FAST_TTS=pocket-ttsselects it. smart-turn-compare(clawft-voice-onnx): offline comparison of the voice turn gate with the Smart Turn end-of-turn model over a directory of WAVs (JSON and Markdown report).- Vector bench: a RaBitQ runner, single- and multi-thread QPS columns, and first-query graph build counted as build time.
Fixed
- HNSW memory search recall: guided (path-predicted) search was on by default and scored only
two of sixteen regions, and adaptive
efrebuilt the index during queries. Guided search is now opt-in and search never retunesef. Recall@10 on the bench: 0.49 -> 0.94 (10K), 0.58 -> 0.91 (100K). - Pairing: a primary accepts a member that advertises no reachable address (the member is
recorded by key and never dialled);
weaver mesh pair requestwarns when this node has no advertise address. - Node facts: a delta is judged against its base before its sequence number, so a peer that re-based or restarted no longer triggers "delta seq N <= applied N" warnings.
v0.8.4-rc.5
2026-10-11
Added
- Chief-of-staff console (ADR-117 D1, ADR-118 C1-C3):
weftos-display-client(display sessions, scene ops, object events), the console screen with split/page/guide layouts and checklist, steps and survey views, theweftos-cosagent with its conversation API and push-to-talk, andcos-console-hostjoining screen, agent and button. Surveys accept abackanswer. The agent streams model output for real, including tool calls, and reads a project's history from the dashboard. weaver mesh identity [--user]prints the node's (or user key's) public mesh identity.[kernel.mesh] leaf_listen_addr: a separate bind address for the certified-leaf listeners.- Edge pad (CrowPanel DIS08070H, ESP-IDF): first hardware boot, double-buffered flip, boot self-test, touch targets, scene renderer, boot inventory, push-to-talk on IO44 and a feature-gated stereo INMP441 input.
Fixed
- The router redirects
/to the/_weftos/index when no route holds the root. - The dashboard reporter trims its report to a 60 KB budget and logs a 413 as "report too large" instead of a token rejection (rc.4 reports with routes and services were refused).
- Release binaries no longer report
-dirtyin--version: the release workflow'sdist-manifest.jsonis excluded from the dirty check. - An exact replay of a node-facts delta is ignored at debug level instead of a WARN every minute.
- LeafSim clears partially damaged areas before redrawing (no ghost pixels).
v0.8.4-rc.4
2026-10-10
Added
- Router allowlists (ADR-116 R2): a route's
allowlist admits only those Tailscale logins; everyone else, including tagged devices, gets one identical 403. IncomingTailscale-*headers other than Serve's are stripped; the caller's login and name reach the app. - Routes on the dashboard (ADR-116 R3): heartbeats carry
report.routes(the machine's HTTPS base URL, whether Serve points at the router, each route's health and source); therouteaction adds or removes dashboard-managed routes in~/.weftos/routes/<ULID>.yaml, and routes declared in the repository win. report.services: each project's process-compose processes (name, status, ports, restarts; never commands or environment) for the dashboard's project overview.
Fixed
weaver route serve --planfailed against a running daemon (invalid type: map).
v0.8.4-rc.3
2026-10-10
Added
- Tailnet router (ADR-116 R1): one HTTPS front door per dev machine. Tailscale Serve keeps
:443and forwards to a router in the user daemon ([router]inweave.toml, off by default,127.0.0.1:18000). Projects declareroutes:incompose/ports.yaml; conflicts are refused; WebSocket upgrades are proxied;/_weftos/lists routes with health and each project's process-compose state.weaver route list|reload|serve --plan|--apply.
v0.8.4-rc.2
2026-10-10
Fixed
- The update notice compares pre-releases per semver. On 0.8.4-rc.1 it offered v0.8.3 as
newer, because
0.8.4-rc.1parsed as0.8.1.
v0.8.4-rc.1
2026-10-09
Release candidate for 0.8.4, for testing on photo-gallery, the owner's Mac and aepod-xpc.
Added
- Install projects locally from the dashboard (ADR-108 P3a): the
installaction clones from the project's own git remotes and registers the workspace;updatefast-forwards;removeunregisters and never deletes files. - Pairing from the dashboard (ADR-108 P2b):
report.mesh_identityandreport.pair_requests,weaver mesh pair request|list|cancel, and thepairaction, which checks the peer's Ed25519 key against its node id before writing trust files and fetch grants. - Mesh install (ADR-108 P3b):
project.fetchon the primary (default deny: a paired peer plus a per-project grant, re-checked per chunk), chunked git bundles for clone and incremental pull, thegit-remote-weftoshelper (fetch only, Unix), and a tar stream of non-git content that never sends.weftos/, secrets, symlinks or archived paths. Transfers reuse one signed session, keep six chunks in flight and send 2 MiB raw chunks. weftos://names (ADR-114 N1): a strict parser with the mesh id as authority; git remotes areweftos://<mesh>/projects/<ULID>[/repos/<dir>].
Changed
- The mesh listener defaults to loopback (
127.0.0.1:9489); setlisten_addrto serve peers. - The project supervisor is split into modules under 500 lines.
Fixed
- Timing-dependent tests now wait on conditions instead of fixed sleeps.
- The Windows build (the helper is Unix-only), the docs site's npm audit findings, and MDX escaping in the generated release notes.
v0.8.3
2026-10-06
The project console batch (target-0.8.3). Stable release of everything in 0.8.3-rc.1
through rc.3 (listed below), plus the following.
Added
- Project workspaces in the dashboard (ADR-108 P1). The daemon's
[dashboard]reporter sends each registered project's workspace facts (ULID, root, git remote, branch, head, dirty count, last activity) in its heartbeat, so the dashboard lists where every project is installed. - Node actions over the heartbeat (ADR-108 P2). The reporter receives actions queued
in the dashboard (
install,update,remove,pair) in the heartbeat response, acknowledges them and reports a result on later beats;weaver dashboard actionslists them. Nothing is executed yet: every kind answersfailed(not implemented in this release) and unknown kinds fail with a clear error. - x86_64 cogs in a COG-008 repository.
weft-cog-repo sign-treerecords anx86_64(glibc Linux host) artifact next toarmandarm64; Seed sideload installs still refuse anything butarm/arm64. - Wasmtime project kernel (ADR-103 Phase 4), off by default. A project can run its
kernel as a
wasm32-wasip1guest under a native Wasmtime runner (serve.sandbox = "wasmtime",serve.adapter = "wasmtime-project-v1"). Needs a build with thewasmtime-projectfeature and an operator pin file (~/.weftos/project-wasmtime.json) naming the runner and guest by SHA-256; otherwise the supervisor refuses, never falling back to the native kernel. The runner enforces fuel, memory and epoch cancellation; adoption needs a challenge-bound guest signature.scripts/build.sh wasm-projectandtest-wasm-project. Not in release binaries. weftos-guide-viewandscripts/build.sh guide-web: a browser popup that renders one ADR-104 sensor guide (used by Sensor Explorer).- Cog market catalog refresh; hardware KB entries for DEBIX, Hi-Link and Infineon.
- ADR-108 (install projects locally), ADR-109 (agent environment profiles and a local doctor) and ADR-110 (agent transcript collection), all accepted. Later phases are not in this release.
Security
- New critical/high npm advisories cleared without breaking upgrades:
proxy-addr2.0.8 (root override),serovalandsource-map-js(clawft-ui,docs/src,gui).
Known limits
- ADR-108 pairing (P2b), install over the mesh (P3) and configure (P4) are not built; a local install still needs the existing trust files.
- The Wasmtime project kernel has passed its own lifecycle fixture but has not run under a real user daemon; the runner compiles the guest on every start.
v0.8.3-rc.3
2026-10-05
Release candidate for the project console batch (target-0.8.3). Prerelease. Contains
everything listed under 0.8.3-rc.2, which was tagged but never published: its Windows
build failed on the dashboard reporter's unix-only mesh path.
Fixed
- The dashboard reporter builds on Windows:
--node(mesh) is refused there with a clear message, and project child states report as unknown without a project supervisor.
Added
scripts/build.sh windows-check, also gate check 23: a mingw-w64 compile of every cargo-dist app for Windows, so unix-only code is caught before a tag.
[0.8.3-rc.2] - 2026-10-05 (not published)
Second release candidate for the project console batch (target-0.8.3). Tagged but not
published (Windows build failure); its changes ship in 0.8.3-rc.3.
Added
- Daemon-native dashboard reporter. A
[dashboard]section in~/.weftos/weave.tomlmakes the user daemon post heartbeats (version, mesh, gateway, unit states, each project's child state) to the WeftOS dashboard. The token file must be a regular0600file owned by the daemon's user.weaver dashboard status. - Token rotation over the mesh.
weaver dashboard rotate-token [--node <id>]rotates a node's dashboard token (the dashboard revokes the presented token and issues a new one; the node writes it atomically).--nodesends a signed, expiring, replay-guardedworkload.ctlrequest to that peer; the peer must be pinned inworkload-peers.jsonand list the controller's key in itsworkload-host.json. The reply never carries the token. scripts/build.sh cog-host-x86buildsweft-cog-hostfor x86_64 Linux servers.
Fixed
- The CLI prefers a live user daemon at
~/.weftos/runover an idle legacy~/.clawftwhen no project is in scope. - Project kernels of a nested user instance exit when that instance dies (no orphans after a SIGKILL).
weaver kernel restart: the re-exec releases the instance lock beforeexec, retries a lock that names its own pid, and refuses clearly (exit 78) instead of exiting silently. The original outage was not reproduced; this hardens the path.- The console under
/console/starts under the gateway's CSP (the bootstrap is no longer an inline script).
v0.8.3-rc.1
2026-10-05
Release candidate for the project console batch (target-0.8.3). Prerelease:
weaver update follows the latest stable release and does not install it.
Added
- Project console from the gateway.
weft gateway --static-dir <dir>(orgateway.staticDir) serves the cog manager web build under/console/, with its own CSP;gateway.consoleConnectSrclists the extra origins it may call. - Project read routes.
GET /api/projects,GET /api/projects/{ulid}(manifest plus a trimmed status) and?project=<ulid>onGET /api/fleet/snapshot. - Project-bound read tokens.
weft token issue --read-only --project <ulid>issues a read token limited to one project's routes; owner tokens with a project claim are still refused by the gateway. - Tailnet-identity console token. With
gateway.tailnetIdentity.enabled,POST /api/console/tokenmints a short-lived (default 15 min) project-bound read token for a caller whose Tailscale login (tailscale whois) is onallowedLogins. The tailnet is the boundary; tokens are never stored. - Cog manager project context.
?project=<ULID>filters Network and Cogs to one project; tokens are read from the URL fragment (#gwtoken=…) and removed from the address bar; the console asks the gateway for its token and keeps it in memory only. - Weave Manager mesh key and node tree. Weave Manager tries this machine, then a user-local address book; the connected node is the root of the Network tree, and a tailnet or local connection enrolls an Ed25519 key with the cog-host.
Changed
weft-cog-host servebinds loopback by default. Pass--bind <ip>to listen wider. Appliances the console reaches over the network must add--bind 0.0.0.0(or their tailnet address) to their unit before taking this build, or the console loses them. New:deploy/photo-gallery/, a hardened per-project systemd template (weftos-cog-host@<project>.service).
v0.8.2
2026-10-04
Highlights (0.8.2)
- Seed licence proxy (ADR-106). A Cognitum Seed holds the mesh's one
licence, its token and its cogs; one licence covers the whole mesh and one
checkout needs no further permission. New
weft-licencecrate (binding, run gate, steward relay, renewal), holder gating, and a start check inweft-cog-hostthat runs a licensed cog only from a sealed copy. - Appliance console (
weft-cog-manager).- Sensor detail with a guide-first install flow (ADR-107): pick a sensor, read its guide, pick a node, pre-check, install, post-check. Guides are bundled with the catalog, so they can be read before anything is installed.
- Catalog grows to 556 items with a 71-manufacturer registry, Tools, and sensor-to-cog links. USB hardware identify and the hardware Dex.
- The Network tab is now the fleet manager: one list of every machine and device from every source (mesh nodes from the daemon, Cognitum Seeds, tailnet hosts, ESP32 edge nodes), each labelled with where its facts came from.
- Node detail: Overview, Workloads, Health (load, signed capacity, RTT and load sparklines), Trust / licence (with copyable admin commands the console never runs), Software / firmware, and Raw. Seed detail: identity, status, firmware slots, thermal.
- It reaches the daemon through the gateway with a read-only token
(
weft token issue --read-only).
- Fleet in the daemon.
fleet.snapshot(Read) with per-field provenance, served atGET /api/fleet/snapshot;weaver fleet statusandweaver fleet location set.- Verified peers ping each other: last pong, smoothed RTT and missed pongs are reported, and each pong carries the responder's load average, cores and memory. The daemon reports its own hostname.
- Legacy UUID peer ids are dropped from
cluster_peers.jsonon load.
- Memory (opt-in).
agents.memory_recall: inject at most 5 of 20 retrievedMEMORY.mdsnippets tagged[m1]… instead of the whole file. Cited snippets reward the reranker and ignored ones penalise it; the retriever is never trained (RMM retrospective, WEFT-732).agents.memory_consolidation: distil conversations after each turn into topic nodes with merge-or-insert, so a corrected fact replaces the old one (RMM prospective, WEFT-733).- Both are off by default.
- Spatial. The daemon's
ecc.spatial.*RPCs are back over the kernel spatial service: insert, get (with a JSON payload for provenance), query, branches, diff, events and a replay check. - Weave topology Phase 4 (ADR-103).
- Nested user instances (D10) with private identity, signed contracts and an owned liveness pipe. Projects stop with their nested instance.
- Per-project sandboxes:
logical(default), macOSseatbelt, andlinux_container. - A dedicated child RPC endpoint with a method ceiling.
- Certified leaves: signed publishing, ACK, discovery, offline replay, and an ESP-IDF producer with an NVS backlog.
- Public cogs. The first 11 WeftOS hardware cogs are published in their
own repository (
WeftOS/weftos-cogs) with armv7 and aarch64 cross-builds and the sharedcog-sensor-sourcescrate. - Monitoring.
/monitoringshows real token counts, latency and failures, and the gateway shares the agent pipeline's routing history (WEFT-305).
Known limits (0.8.2)
- The Linux-container project driver has not passed its real Docker-in-Docker
acceptance run; treat
linux_containeras experimental. - The Wasmtime project-kernel slice is not in this release.
- Certified leaf firmware is build-verified only: it has not been flashed to a device and no power-loss test has run.
- Legacy unsigned bare-metal leaves stay off by default.
- The owner migrations (
weaver migrate user-chain,weaver migrate user-key,weaver project migrate-kernel,weaver mesh install-service) are implemented and tested on isolated state, but none has yet been run on a real installation. Followdocs/guides/kernel.mdanddocs/guides/weftos-deployment-sops.md, dry run first, and keep the source chain and keys.
Security — weaver update verifies release signatures (fail closed)
- Release CI now signs every release:
scripts/release/sign-release.shwritesweftos-release.json(the sha256 of every uploaded file,dist-manifest.jsonincluded) andweftos-release.json.sig(Ed25519, key from theWEAVELOGIC_RELEASE_KEYsecret). With no key, the job fails and nothing is published. weaver updatechecks that signature against the compiled-in WeaveLogic release key (a dedicated key,8ac2a301…, separate from the COG-008 cog key) before reading anything else from the release. The signed tag must match the manifest, the manifest must match its signed hash, and every archive must match its signed hash. Unsigned or badly signed releases are refused, and so is a tampered archive with rehashed.sha256files.--checkrefuses them too.- New flag
--insecure-skip-signature(warns; sha256 checks still run) for emergencies. There is no runtime way to change the trusted key. - No rollbacks:
--forcenow only reinstalls the same version or confirms an install with no receipt. A release older than the running build, or older than the receipt's newweftos_highest_versionmark, needs--allow-downgrade(warns). A downgrade never lowers the mark. - A release key revoked in the operator's signer revocation list
(
revoked_subjects.json, as used for cogs) makesweaver updaterefuse everything and point to an out-of-band reinstall. The user-level lists ($WEFTOS_RUNTIME_DIR, else~/.weftos/runand~/.clawft) are read whatever the working directory, with a project's list added when there is one. A malformed project list warns and is ignored; a malformed user list is an error. - The signed list carries a
publishedtime; a latest release signed over 90 days ago gets a warning. - The cog signer (
weft-cog-repo sign, public and private repos) refuses payloads starting withweftos-release-and anything that is not an ELF, Mach-O or wasm binary, so a cog signature can never pass as a release signature. release.ymltriggers only onv[0-9]+.[0-9]+.[0-9]+*tags, and its signinghostjob runs in theweftos-cogsGitHub Environment (v* tags only, a required reviewer, the signing secret held there).
Changed — weaver update is sha256-checked, all-binary and install-method aware
weaver updatechecks every archive's sha256 against the published.sha256(andsha256.sum) anddist-manifest.json, failing closed, then replacesweft,weaverandweftostogether with per-file atomic renames and full rollback. The sha256 check alone gives integrity, not authenticity; release signatures (above) add authenticity.- Archives are unpacked in-process: links,
..and absolute paths are refused and unpacked size is capped. Downloads ignore.curlrcand CA environment overrides, accept https only, and follow at most 5 redirects. - Homebrew,
cargo install, source builds and system package paths are refused with the owning channel's command. An install with no cargo-dist receipt needs a confirmation or--force. - New flags:
--check,--dry-run,--restart,--no-restart. The daemon restart goes through launchd or systemd when the daemon runs under them and is never done undersudo. Thesudo cpfallback is gone.
Changed — gateway auth uses daemon tokens; no HTTP token mint (ADR-102)
- Breaking:
POST /api/auth/tokenis gone (404). The gateway no longer hands out tokens or keeps a token store. Every/api/*route,/ws,/mcpand/api/openapi.jsonneeds a bearer issued by the kernel daemon: runweft token issue(the daemon must be running). It prints a sign-in linkhttp://<host>:<api_port>/#token=<token>;weft uiprints one too. Scripts that called the mint route must switch toweft token issue. Without a daemon, authenticated requests get 503, not 401. - Project tokens (ADR-103) are refused by the gateway.
GET /api/healthis tiered: anonymous callers get only{"status":"ok"}(or 503degraded); a valid token gets the full status document. The/api/statusroute is removed.- New:
POST /mcp(full MCP profile) andGET /api/openapi.jsonon the gateway, both behind the token. - The gateway refuses to bind a non-loopback API address over plain HTTP
unless
--dangerously-plain-httporgateway.dangerously_plain_httpis set (it has no TLS of its own). Loopback now means any loopback IP, including127.0.0.0/8and IPv4-mapped::ffff:127.0.0.1; this also tightensweft mcp-server --listen's loopback test. /mcp,/events,/custody/witnessand tokened/api/healthare now rate-limited per client, and the gateway caps its own daemon token checks (about 50/s, burst 100; excess gets 429)./mcpcalls are serialised with a 10 s queue timeout and a 120 s call timeout.- A token revoked with
weft token revokecan keep working on a running gateway for up to 30 seconds. Open WebSockets are not closed on revoke or expiry.
Changed — workload permits and policy files are stricter (upgrade note)
- The placement control plane now refuses to build, which takes down all
weaver workload place|explain|status|stop|logs|unloaduntil fixed, if any of these is true of a file in the runtime dir: a permit inworkload-permits.jsonaccepts"min_package_trust": "unsigned"and names no"principals"; a policy file (workload-permits.json,workload-trust.json, peers, container, seeds) is group- or world-writable (for example mode 0664); a policy file is owned by another user.weaver workload revokekeeps working in every one of these cases. Fix:chmod 600 <runtime>/workload-*.json,chownthe files to the daemon's user, and add"principals": ["catalog"]to an unsigned permit for the catalog verbs. See docs/cogs/operator-guide.md. workload install/unloadare decided by the permit gate as the principalcatalogonunsignedpackages (they were always denied).
Added — weaver workload revoke and forced unload
weaver workload revoke --package|--signer|--hashrevokes, chains (workload.revoke,workload.unrevoke), stops and unloads what runs from the subject on this node and on peers that receive the signed notice.WorkloadGate::new/with_rulesnow take the revocation list.
Added — cog manifest redistributable flag (ADR-100 amendment, ADR-099 section 6)
- The signed cog manifest has an optional
redistributablefield (default false;weaver workload pack --redistributable). Packages are seeded, advertised and served over the artifact swarm only when it is true and the package has no Cognitum provenance. Our own cogs need it to be shared. - Upgrade order:
CogPackageBodyrejects unknown fields, so verifiers built before this change (v0.8.1 nodes, cog-repo, Seed tooling) reject a manifest signed withredistributable = true. Upgrade every verifier in a mixed-version mesh before packing with the flag. Manifests without it are unchanged.
Changed — unverified mesh peers are not cluster members (ADR-103 A10)
- Mode-dependent: this applies only under
kernel.mesh.admission = "enforce". Underobserve(the shipped default) andoff, every peer joins asActiveexactly as before: observe means observe, not enforce.MeshRuntime::set_enforcingcarries the mode (set at boot, by the mesh service, and when an admin changes the mode). - Under enforce,
MeshPeerEvent::JoinedandRecoveredcarryverified(true when the peer counts as a member). A peer admission did not verify (a dialled seed, a legacy leaf) is held in cluster membership as the newNodeState::Unverified, notActive: it keeps its routes, but is not inactive_peers(), is not reported healthy, placement treats it as not alive and refuses to place on it, and the ruvector manager is not told about it. Heartbeats andSuspectevents never promote it; only a verified join does. AnUnreachableevent, or an hour without a heartbeat, drops it from the list. Anything that treated "present in membership" as "member" should check forActive. seed_peersentries may beaddress#node-idto pin the id a seed must claim. A dialled seed with no pin is bound to the first id named by an envelope or an assessment frame; frames that name no id before that are dropped (assessment frames used to pass unbound).
Changed — mesh connection limits and seed dials (ADR-103 A10)
- Behaviour change: the per-IP connection cap (default 64) and the
first-frame timeout (default 10 s) now apply under every
kernel.mesh.admissionmode, not onlyenforce. A legacy leaf that connects and stays silent for more than 10 s is dropped, and one host can hold at most 64 connections. Tune them withkernel.mesh.max_connections_per_ipandkernel.mesh.first_frame_timeout_secsfor the collapsed daemon, or withmax_connections_per_ipandfirst_frame_timeout_secsinmesh.tomlfor the machine mesh service (alsoweaver mesh install-service --max-connections-per-ip N --first-frame-timeout-secs S, written only when given). The idle timeout and live revocation check remainenforce-only. - Seed connections are now bidirectional, redial with jittered exponential
backoff, drop after 5 minutes of inbound silence, and stop when the mesh
service stops. There is no dial-side keepalive yet, so a seed that stays
silent for 300 s flaps
Left/Joinedevery 5 minutes.
Changed — Chain authority follow-ups (ADR-103 A7)
- Behaviour change: the user daemon now exports its real
max_processesand subagentmax_per_convas the parent policy's limits (they were empty). A project overlay that setslimits.max_processesorlimits.spawn_budgetabove the parent's cap is refused at boot, reload and push with the parent value in the message; lower it to the parent cap or below. auth.tokenevents andgovernance.overlay.appliedare never replicated; chain sync stops cleanly at the first authority event (StoppedAtAuthorityEvent).- Placement RPCs refuse after a
governance.parent.pushuntil the kernel restarts (governance changed ... restart this kernel): the placement gate is fixed at build time, so the older gate no longer decides after a push.
Changed — Weave topology Phase 1 follow-ups (ADR-103 A8, next release 0.8.2)
- Legacy clients are refused for mutating calls (breaking). A request with
no
protonow getsproto_mismatchunless the method is read-only, andweft/weaverclients that meet a daemon with nokernel.handshakeon the default endpoint send read-only calls only (unverified_daemonotherwise). Restart an old daemon with the current build to lift it. The gate is an allowlist (READ_ONLY_METHODS), not the capability table. Remote JSON clients on the TCP relay are not stamped by the relay: withoutprotothey are read-only from 0.8.2; send"proto": 1. The VS Code panel and the child-kernel link now send it. Old no-protoclients that callkernel.subscribe,substrate.subscribeoragent.chatnow fail withproto_mismatch(those are not on the read-only allowlist). Update the client. - launchd no longer cycles on a permanent refusal. The user daemon writes
~/.weftos/run/REFUSEDon a permanent refusal or a clean exit and the generated plist'sKeepAliveisPathState {REFUSED: false}. Only an instance launchd starts removes it on boot: the plist setsWEFTOS_SERVICE_MANAGER=launchd, and a manualweaver kernel start --profile userleaves the sentinel in place and prints a hint (otherwise launchd would launch its own, refused, instance beside the manual one every 30 s). To hand control back, runweaver kernel stop --profile userand thenlaunchctl kickstart gui/$(id -u)/ai.weftos.user. A refused duplicate start never writes the sentinel, and a clean-exit write happens only if no successor holds the instance lock. launchd watches~/.weftos/run/REFUSED, so aWEFTOS_RUNTIME_DIRoverride is not supervised by launchd. Regenerate the unit withweaver service unit --kind launchdto pick up the new plist and its marker. The legacy-chain age-window refusal is now a plain boot error (exit 1, retried);-cRELis made absolute on SIGHUP re-exec. weaver kernel statuswithout--profile userreports a live user daemon instead of booting an inspection kernel;weft doctorlists~/.weftos/runwith thekernel.lockholder,REFUSED, the migration marker and adoption state; MCP attach messages andis_daemon_running()honour a manifestruntime_dir.
Added — Weave topology follow-ups: identity, supervisor, mesh service (ADR-103 A7, A10, A13, A14)
- User-key rotation.
weaver migrate user-key --rotatereplaces~/.weftos/user.keywith a dual-signed handover appended touser-key-rotations.jsonl; it needs the user daemon stopped and resumes after a crash. Material sealed by the old key keeps verifying up to the rotation point.user_key_history_invalidis the new fail-closed refusal when the rotation log does not end at the key in use. A running project kernel fails its nextmesh.register(pop_failed) and is restarted by the supervisor's liveness pass, not re-certified. Restart children withweaver kernel restart --project <id>and runweaver mesh bind rebindafterwards (ADR-103 A13). - Anchor reset.
weaver project anchor reset --project <id>(RPCproject.anchor.reset, Admin, user daemon only) opens a new anchor epoch after a project chain was moved aside, so the project's restarted anchors (seq = 1) are accepted instead of refused withanchor_seq. Within an epoch an anchor statement'schain_idmust equal the last accepted one (anchor_chain_id). - Behaviour change: a same-uid peer inside a supervised child's process
group no longer gets the ADR-070 shortcut: its literal
auth: "admin"is ignored and it is treated as anonymous (read and chat). Anything an agent runs inside a child kernel that relied on the shortcut against the user daemon now fails with permission denied. The owner's CLI is unaffected. weft token issue --projecthelp and tests now state what a project-scoped token does: the token's project is the request's project and a different claim isproject_scope_mismatch; it is a claim guard, not a capability limit.
Changed — Supervisor liveness and shared slots (ADR-103 A7 S5-S8)
- Behaviour change: a
runningchild whose registry session has stayed expired for 30 s (lost_heartbeat_grace, after three missed beats) is stopped and restarted inside its restart budget, then markedfailed. An adopted child's tombstone session and a child whose last beat was busy are never treated as lost. project.status,weaver kernel statusandweaver doctorreportstale_build(child:<id>:stale-build) when a child runs another build than the user daemon. Nothing restarts it on its own.weaver kernel start --legacy-project-daemonis refused in a tree whose manifest saysvia = child-kernel;project.stopon an adopted-but-refused leftover answersunmanaged_pid.- The four global shared-service slots are fair: a project holding a slot may not
take another while a project holding none was refused within 3 s.
shared.*re-checks on every call that the project is still registered and active.
Changed — Mesh service journal and record publication (ADR-103 A10)
- Behaviour change: at start the service accepts a lone torn final journal
line by itself (no newline, nothing readable, no earlier pending quarantine):
it truncates the tail and journals
journal.accept_truncatewithauto: "torn_tail", so the journal is modified at start.statusreportslast_auto_accept. Any other damage still quarantines and refuses to bind. service.jsonis published only after the socket is bound and a lost bind race never replaces the winner's record.read_recordwaits up to 2 s and retries for a record that is mid-write.max_connections_per_ipandfirst_frame_timeout_secsaremesh.tomlkeys; see the connection-limits entry above.
Added — Weave topology Phase 2, per-project kernels (ADR-103 A7, package G)
- Per-project child kernels under the user daemon.
weaver kernel start --project <id|name>(never starts the user daemon; it tells you the command),weaver kernel stop --project | --all-children,weaver kernel restart --project, andproject.start|stop|restart|status|ensure_runningon the user daemon. A project opts in withweaver project migrate-kernel <id> [--dry-run|--revert](refuses while the project's own daemon runs; it is never signalled).weftcommands start the child on demand for a project markedvia = "child-kernel". Idle children stop afteridle_stop_secs(default 1800 for child-kernel projects). - Supervision: crashes restart with 1 s to 30 s backoff inside a budget,
then
faileduntilweaver kernel restart --project; a clean exit is never restarted; children survive a user-daemon restart (weaver update) and are verified and adopted afterwards; unverifiable leftovers are listed, never signalled.weaver doctorreports failed, orphaned and unverified children. - Security: a child starts with an allow-listed environment (no provider
keys),
--profile project, a signed parent policy, a pinned user key and a Write-only project token that may call only the shared services, the handshake and its own refresh.project.revokestops the child, kills its token and is terminal.
Changed (package G)
- A plain
weaver kernel startinside a project, beside a running user daemon, is refused; pass--legacy-project-daemonfor one more release. Running daemons are not affected by a restart. - The launchd unit gains
AbandonProcessGroupand the systemd unitKillMode=processso a service restart keeps project kernels. Regenerate the unit (weaver service unit) and reinstall it. Stopping the user daemon withweaver kernel stop --profile userstops its children first unless you pass--keep-children.
Fixed — Weave topology Phase 2 integration (ADR-103 A7)
- Security:
human_approval_required = truein a project'soverlay.tomlcan no longer turn the parent's denies into approval prompts. The parent's blocking rules stay hard denies, and only actions the parent permits ask for approval. - Security: callers can no longer append chain events under the kernel's
own sources (
governance,project,project.supervisor), and the governance rollback floor reads only the kernel's own records. Before, one forgedchain.appendcould stop a project kernel from booting. project.revokeis now terminal for the project id: no key is certified for it again (project_revoked). Give the tree a new identity withweft project init --fork --force. If revoke or rekey fails late (the certificate file), it returnsidentity_change_incompleteand still stops the child and writes the marker.weft project initalso ignores.weftos/project.cert.jsonand.weftos/state/in an existing.gitignore.- Read before downgrading: a pre-Phase 2
weaverrun against achild-kernelproject starts a fresh chain over the project chain. Move<root>/.weftos/chain/aside first (kernel guide, "Never downgrade a child-kernel project"). - A project kernel now signs its chain with
project.key. Before, it created a separatechain.keybeside the checkpoint and its own one-key check then stopped it, so no real child could boot. - A project kernel is bound to its project, and its
kernel.handshakenames it. Before, no real child got past the supervisor's readiness check. The user-signed forward header on the supervisor's gracefulkernel.shutdownnow verifies, and governance events on the child carry the project. project.revokewrites the terminal marker in the user daemon's run root ($WEFTOS_RUNTIME_DIRwhen set), where the supervisor and the child look for it. Before, the path came from the manifest store, so with a custom run root or store the marker was written where nothing read it.- New end-to-end test (
tests/project_kernel_e2e.rs). The user daemon runs in process and the child is the realweaver kernelcode path. The test covers registration, the overlay deny, idle stop with the final anchor, restart on demand, three crashes thenfailed,restart --projectand revoke.
Changed — Weave topology Phase 0 (ADR-103) — read before upgrading
- Stop every pre-0.8.2 daemon before first running the new build, and check
it is gone (
ps,weaver doctor daemon). Older daemons take nochain.lock, so the new build cannot see them; the 120 s recency guard is a heuristic and turns off once achain.lockexists. - One runtime resolver. Socket, PID, log,
node.key, chain, workloads, cluster peers and revocations all resolve from one root:WEFTOS_RUNTIME_DIR, else the nearest project marker above the working directory, else~/.clawft.$HOMEis never a project. A project marker is.weftos/plus one ofproject.toml,.weftos/weave.toml, aweave.tomlbeside it, an existing.weftos/runtime/, or a.git(worktrees get their own kernel). The fallback to.weftos/runtime/files in the working directory is gone. - Chains are no longer forked or shared by accident. A kernel with no chain
of its own keeps using the legacy
~/.clawftchain and its key, guarded bychain.lock. The first adoption of a legacy chain that no lock-aware kernel has used needsweaver kernel start --adopt-legacy-chain;--new-chainstarts a fresh chain instead (refused when it would overwrite the legacy chain in~/.clawft). A second kernel on the same runtime root or chain is refused with the holder's PID.kernel.lockandchain.lockfiles appear. - Mesh node ids are now 32 hex characters,
hex(SHA-256(pubkey)[..16]), stable across restarts. They change on upgrade: re-pin peers, ACL rules and the mic node (WHISPER_INPUT_NODE_IDorvoice.mic_node_id). - Mesh port 9489 by default (was 9470 in code, 9421 in docs). Update
listen_addr,seed_peersand firewalls; the deployed Pi weaver stays on 9470 until it is redeployed. A failed mesh bind now stops boot. - Mic source is fail-closed. An operator pin wins; otherwise the single
node publishing
sensor/micis used; two or more candidates stop speech-to-text until a node is pinned. - CLI.
weft agentneeds--localwhen no daemon is running.weft cron add/remove/enable/disableneed a daemon;weft cron runreports it is not implemented.weft kernel status|ps|servicesask the daemon first and exit non-zero on a daemon error.weaver kernel startwaits up to 90 s for the daemon socket and exits non-zero if boot fails. - New:
weft doctor/weaver doctor(install, daemon, runtime, config, mcp, agents). Read-only by default;--fixremoves only provably stale socket and PID files in the active runtime directory. - Security: voice commands now go through the authorization chokepoint as
a read/chat/write principal (never admin); RVF requests are authorized;
undici7.30.0 andbrace-expansion5.0.12; new wasmtime advisories are ignored with enforced expiries (seedocs/security/cargo-audit-residual.md).
Changed — Weave topology Phase 1 (ADR-103) — read before upgrading
Phase 1 adds the user daemon, projects, tokens and the scope gate. The owner
steps are in docs/guides/kernel.md (User daemon, "Owner migration").
- The gateway binds to loopback by default.
gateway.hostchanged from0.0.0.0to127.0.0.1, and loopback binds now check theHostheader. An install that relied on the implicit LAN bind loses it silently: setgateway.host = "0.0.0.0"if you want LAN exposure. - User daemon.
weaver kernel start --profile userruns one machine-wide daemon in~/.weftos/run(socket,kernel.lock, log) with the rolesmachineanduser, its working directory in~/.weftos. It reads~/.weftos/weave.toml, which takes precedence over~/.clawft/config.json; copy your[kernel.mesh]and Noise sections into it or the user daemon runs with the mesh off. It seeds~/.weftos/projects/fromworkspaces.json. weftnow reaches the user daemon without flags. The endpoint resolves from--runtime, thenWEFTOS_RUNTIME_DIR, then the project manifest ([serve] runtime_dir, orvia = "user-daemon", which selects~/.weftos/run), then~/.weftos/runwhen no project is known and a user daemon has run there, then the Phase 0 default. The unreachable-daemon error lists every level tried.- User chain migration.
weaver migrate user-chain [--dry-run]copies the legacy chain from~/.clawftto~/.weftos/chain, verifies it (hashes, head, signature) and writesMIGRATED-TO-WEFTOS.txtbeside the original, which is never modified. After it, any kernel that would still land on the~/.clawftchain, including one whose config setskernel.chain.checkpoint_pathinto that directory, is refused with exit 78 unless--adopt-legacy-chainis passed.migratewarns when~/.clawft/config.jsonsets the key. - Projects. New
weft project init|fork|list|show|seed; new global flags--project <ULID>and--runtime <DIR>; new environment variablesWEFTOS_PROJECTandWEFTOS_MANIFESTS_DIR. Manifests live in~/.weftos/projects/<ULID>.toml(mode 0600);project.tomlmarks a project directory. - Tokens.
weft token issue|revoke|listmintwft_secrets (shown once, with a playground link; 24 h maximum). Only hashes go on the chain; revocations are also journaled inauth-tokens.jsonl, now in the runtime root (older journals beside the chain or in~/.clawftare merged in once, not modified). A token'sprojectis recorded but not yet enforced. - Literal
authscopes are same-uid only.admin,write,chatandreadas anauthvalue work only from a unix-socket peer with the daemon's uid. From another uid on the unix socket the request fails withpeer_uid_mismatch; over the TCP relay the literal is stripped, so the call is anonymous and a mutating method fails with "permission denied: requires capability". Use awft_token instead. - Scope gate (D12). On the user daemon,
kernel.governance.outside_projectdefaults toread_only: outside a project only a reviewed allow-list of read methods works and everything else returnsproject_required. Other modes:deny_all,allow_all(the pre-Phase 1 behaviour, and the default for project daemons). The allow-list includes the streams and reads first-party clients use without a project (kernel.logs_stream,substrate.read,substrate.subscribe,cluster.facts,voice.trace), so the egui explorer andweft voice watchkeep working.ipc.subscribe_streamis not on it: it needs a project claim. - Service units.
weaver service unit --kind launchd|systemdprints a unit for the user daemon, andweaver update --restartrestarts it (acting only on the pid-file pid after checking the exe and the handshake). A refused boot exits 78; the systemd unit lists it inRestartPreventExitStatus. launchd cannot filter on exit codes, so it retries a refused boot every 30 s and fills the log until you fix the cause. - Compatibility.
kernel.statusnow carries ahandshakeobject. Clients that send noprotoare accepted for every method this release; they will be refused in Phase 2, so updateweftand the gateway together.
Added — Weave topology Phase 3 (ADR-103) — machine mesh service
Phase 3 adds an optional machine mesh service that owns the box node key and
the one mesh listener, with user daemons as its registered clients. Nothing
changes until an administrator installs it; without it the user daemon keeps
running the mesh itself (collapsed mode). Owner steps:
docs/guides/weftos-deployment-sops.md ("Moving to the machine mesh service").
weaver mesh serveruns the service as an unprivileged account (it refuses root). It keeps a signed, hash-chained machine journal of bindings, certificates, admissions and policy, issues 24 h user certificates, routesweft://<node>/<user>/<project>/<topic>addresses to registered users, and owns no chain, token, secret or governance state (scripts/build.sh check-mesh-no-owned-stateenforces that).- Admin verbs:
weaver mesh status | bindings | bind approve|revoke|rebind | peer revoke|unrevoke | journal verify [--accept-truncate] | trust. - Installing:
weaver mesh install-serviceanduninstall-serviceprint a reviewed script (launchd or systemd, service account_weftos/weftos, binary in/usr/local/libexec/weftos/). They run nothing. On a machine that has~/.weftos/run/node.key,install-servicerequires--adopt-node-key(keep the node id) or--fresh-node-key(a new one, with a# WARNINGin the script). The service listens on127.0.0.1:9489by default; LAN peers such as the Pi need--listen 0.0.0.0:9489. Admin verbs need root or a uid given with--admin-uid.weaver updateprints the service restart line when the service binary is out of date; it never callssudofor the service (the user-binary copy keeps its oldsudo cpfallback). - Mode selection. New
kernel.mesh.service = "auto" | "required" | "off"(defaultauto) in~/.weftos/weave.toml.autouses a service that answers and verifies, else collapsed; a service that answers but fails verification (machine key changed, wrong server uid) fails the boot instead of falling back.kernel.statusshowsmesh.mode(service,collapsed,off); in service mode the daemon's node id is the service's and it never reads~/.weftos/run/node.key. - User key.
weaver migrate user-key [--dry-run]copies the migratedchain.keyseed to~/.weftos/user.key(same public key, same user id;chain.keyis kept). The user daemon pins the machine key on first contact in~/.weftos/mesh/machine.pub; theweaver meshverbs only compare against a pin and write one withweaver mesh trust. - Keep
service = "required"after removing~/.weftos/run/node.key. Underautoa daemon whose service is down would need a new node id; it refuses to boot instead when the machine key is pinned, and onlyoffcollapses deliberately with a new id. weaver mesh peer revokecloses the peer's live connection. Underadmission = enforceit is refused on reconnect; underobserve(the default) the revocation is only recorded and it can reconnect.- Doctor.
weaver doctor runtimeaddsmesh.*checks (service reachable, protocol window, pin, journal, box key mode, leftovernode.key, two listeners on 9489, the daemon's mode against the service) anduser_key_splitwhenuser.keyandchain.keydisagree. - Mesh admission (
admission = off | observe | enforce, defaultobserve) verifies a signed hello bound to the Noise session;observejournals would-be refusals and admits. - Tests:
scripts/build.sh test-mesh-serviceruns the mesh crates, the end-to-end test (scripts/dev/mesh-p3-e2e.sh: the service and two user daemons as the current user on tempdirs), the no-owned-state gate and the mesh-only kernel build. - Known limits: macOS service log not rotated; Windows not implemented
(the service refuses to start); on macOS the service may start before
/var/run/weftosexists and converges by launchd restarts; the installer receipt's service tier is not written yet; leaf peers without signed admission are not yet reported by the service; scopedweft://sends are reachable from the API and tests only (no RPC or router caller yet).
Fixed (0.8.2)
- Ruflo team bus synced to the fixed ADR-402 store (upstream
ruvnet/rufloPR #3512 + #3513, head040e0f1b0, which added Codex and generic command hosts,ruflo team run/team hook-stop/team trust-host, and a single locked, atomically-written store per team with per-team mailboxes atteams/<team>/mailbox/<agent>/— replacing the earlier per-project.claude-flow/swarm/mailbox/<agent>/layout and dropping v0/schemaVersionmigration entirely). WeftOS'sscripts/grok-team-bus.mjsandscripts/grok-subagent-stop-hook.mjswere already thin shims overruflo team <verb>/ruflo team hook-stop(no second store vendored) and needed no logic changes; re-verified against a local build of040e0f1b0(per-team mailbox path, noschemaVersionfield,role:agent@teamspawn descriptions,outcome/runId/reasononon-stopwith dedupe and no-advance-on-failure all confirmed). Three real gaps against the fixed protocol are closed:.claude-flow/team-hosts.json'sweftcommand host no longer lists secret-namedpassEnventries (ANTHROPIC_API_KEY/OPENAI_API_KEY/OPENROUTER_API_KEY) — the fixedruflo team runnow refuses ateam-hosts.jsonentry outright ifpassEnvnames a secret-looking orCLAUDE_FLOW_*variable (confirmed: the old entry is rejected against040e0f1b0).weftalready reads its provider key from local, gitignored.clawft/config.json, sopassEnvis now[]. Running thewefthost also now needs a one-timeruflo team trust-host weftper machine (ADR-402's command-host trust step; confirmed working)..claude/helpers/grok-team-on-stop.cjs, a stale ADR-320-era independent writer (its own.claude-flow/teams/*/team.jsonreads plus role/description-guessing heuristics, calling the oldscripts/grok-team-bus.mjs on-stop --team --agentflags), was retired..claude/settings.json(SubagentStop,PostToolUseonget_command_or_subagent_output) and.grok/hooks/ruflo-team.jsonnow callscripts/grok-subagent-stop-hook.mjs, which already delegated toruflo team hook-stop --host grok(the fixed hook resolves therole:agent@teamspawn description and refuses to guess among several active teams, instead of the old script's best-effort member scoring).docs/grok/README.mdanddocs/guides/grok-weftos-mcp.mdnow record that the local Ruflo authority checkout,~/dev/ruflobranchfeat/grok-host, does not yet carry ADR-402, and that using the bus before that lands needs a separate local checkout including PR #3512 + #3513, referenced only from the local, gitignored.claude-flow/ruflo-cli-path— never from a tracked file such as.grok/config.tomlorpackage.json(WEFT-684/669: no personal checkout paths in tracked config).scripts/grok-team-bus.interop.test.mjswas rewritten against the fixed protocol: dropped the v0-upgrade/schemaVersioncase and fixture (scripts/fixtures/team-v0/, removed — the fixed store has no v0 migration path), added assertions for the per-team mailbox path, therole:agent@teamspawn description, andon-stopoutcome/runId dedupe and failed-step no-advance. All cases pass against a local build of040e0f1b0.- No Rust changes:
crates/clawft-cli/src/commands/agent.rs(weft agent -m) has no team-bus protocol of its own to update — it is a generic one-shot<bin> <flags> <prompt>command host, driven entirely byruflo team runfrom outside, matching ADR-402's command-adapter contract unchanged.
v0.8.1
2026-09-28
Point release from 0.8-metaharness so the current agent-team and harness work can be tested
against Ruflo.
Added
- Ruflo agent teams:
weftjoins Ruflo agent teams as a command host (ADR-402), with a Grok team-bus shim and the canonical Grok spawn plan (Grok Build 1.0.41 spawn arguments only). - One-shot agent sessions:
weft agent -mstarts a fresh conversation per call;--session <id>continues a named one. Failed turns are flagged (finish_reason: "error") and scripted callers exit non-zero. Agent conversations live under the project's.clawft/sessions/. - ObservationPack: large tool results are archived in the session's
.observations/ledger instead of truncated, with a bounded projection in context and anobs_recalltool to page the archive (observation.archived/observation.recalledchain events). - WeftOS base agents (
agents/): durable, generalized copies of the harness agents (steward, doc-gardener, liber, mo, lead doctrine, developer/reviewer/tester/documenter/measurer lanes, and three templates), each withAGENT.md, skills,weftos-package.yamland eval scenarios, plusscripts/agents-leak-check.sh. weftos init --claude | --grok | --codex: renders the agent packages into each host's agent and skill files (plus the CodexAGENTS.mdblock,.agents/project-context.mdand.weftos/agents.lock.json).--planpreviews,--applywrites (never commits),--globalinstalls into~/.claude,~/.grokand~/.codex, and--team/--agentchoose what to install. The agent set is embedded per release; re-runs are no-ops and local edits are reported as drift.- Agent package gate:
agents-validate,agents-catalog(generatedagents/catalog.json) andagents-leak-checkrun as gate checks 17-19 and in PR CI;agents/teams/weftos-core/team.yamldefines the base team. - Eikon image agent and specialist packaged from the
~/llmmodel lab (install with--agent eikon --agent eikon-specialist). - Knowledge base:
build-kbbuilds the RVF KB from Fumadocs MDX and repo markdown. - Docs site: the Urth spatial scrollyteller (
/urth-spatial) and research pages. - Research and design: Skill-3D Rust adaptation plan and 100-reference analysis, Episteme STEM skill pack review, agent directory design and accepted ADR, agent-skill design research, spatial intelligence 2026 survey, sensor and memory research.
Security
- Rust:
h20.4.19,rkyv0.8.18,rustls0.23.45,webbrowser1.2.4, and the yankedchacha20,derandspinupdated. RUSTSEC-2026-0269 (wasmtime) is ignored with rationale until the Rust 1.94 / wasmtime 46 bump: the only WASI context has no filesystem preopens. - npm: all four lockfiles at 0 critical / 0 high (overrides for
adm-zip,sharp,brace-expansion,fast-uri,toml;next16.3.6; audit fixes inguiandclawft-ui). Seedocs/security/npm-audit-residual.md.
Fixed
clawft-weavedaemonipc_publishtests match their own topic instead of the firstipc.publishevent on a shared chain.pull-assetsfinds the browser WASM undercrates/clawft-wasm/www/pkg.
Fixed (release CI follow-ups on v0.8.0 re-cut)
- Windows named-pipe re-export (E0603): public re-export of tokio
NamedPipeServerfixed for Windows cargo-dist builds. - SBOM
evalquoting: space-separated SBOM asset paths are now shell-quoted soeval "$(generate-sbom.sh …)"does not execute paths as commands. - Browser WASM raw budget: 1600 → 1700 KB (gzip still ≤600 KB; CI measured 1641 KB raw / 552 KB gzip on v0.8.0 first cut).
v0.8.0
2026-07-31
First 0.8.x publish-line cut from release/0.8-staging. Workspace
version jumps from 0.6.20 → 0.8.0 to match the product cycle (Plane
0.8.x). Binaries via cargo-dist / Homebrew; crates.io and npm publish
when tokens allow.
Added
- Spatial / BVH: Phase A–E spatial index, optional
VectorRefon leaves (ADR-088), Phase F dual-index join helpers (ADR-093), W1 geometric partition for world-model structure (ADR-078 path). - Mesh: QUIC transport, mesh clock/fixtures, chain replay + Merkle, capability claims foundations.
- LeWM / world model crates:
weftos-worldmodel-*, sensor pipeline, SIGReg / training surfaces, ADR-090 ECC decoupling invariant. - MCP: HTTP/SSE listen, session capability tokens,
window_*tools → WindowIntent, profiles (ADR-075/076). - Agent Workspace: freeform WM + WindowIntent (ADR-073).
- Android splat capture scaffold (ADR-077) + edge UniFFI path.
- Governance: action/tool selectors,
GatePrincipal, spawn approval Defer path, ADR-094 foundation (WEFT-633–638). - Dashboard / UI: skill install/uninstall API, mobile drawer, Playwright + axe-core a11y suite (WEFT-301/312/561/575).
- Vector: vendor-free LogQuant/SIMD + MicroLoraRouter path; Hybrid/DiskANN deferred cold tier (bench-documented).
- MetaHarness foundation (ADR-096/097): Graph Views as operational sensor fusion; flywheel evaluate-only ViewSpec fixtures; harness tasks (gate / plane-dag / fusion-view); AgentDB pattern seed; universal data-surface governance inventory.
- Native GUI release artifact (WEFT-499):
weft-gui-eguifirst-class cargo-dist app (clawft-gui-egui-<triple>.tar.gz).
Fixed
- Release CI (WEFT-593): cargo-dist plan job no longer loses
artifacts_matrixto GHA secret-scanning (slimmed job outputs). - Docker (from parked 0.6.x work):
~/.clawftownership beforeVOLUME, default gatewayconfig.json, alpine static musl path,.dockerignorehygiene.
Notes / residuals
- Upstream-blocked / watch: pocket-tts, some RuVector issues, multi-user Tailscale auth (1.0.x product).
- Live BVH publish from structure extract and full Tauri desktop shell remain follow-ups, not silent closes.
- MetaHarness upstream ADR-041 scorecard has structural ceilings
(shallow inventory); load-bearing score is
weftosFoundationScore.
v0.6.20
2026-06-28
Large rollup checkpoint on the 0.6 line. Folds in everything that landed
between the v0.6.19 tag (2026-04-22) and this cut without its own
release tag — the M4–M7 sweeps, agent-core-v1, the 0.8.0 desktop-GUI wave
and app graduations, an experimental vector-first leaf-display pipeline,
and a toolchain/test-hardening pass that brought the full build gate to
green on a fresh machine for the first time. Pre-beta; no crates.io
publish this cut — binaries (cargo-dist / Homebrew), WASM, and Docker
artifacts only.
Added
Desktop GUI (egui) — 0.8.0 wave + app graduations
- WeftOS design system v0.1:
bg_sidebartoken,DESIGN.mdcontract test, CI audit ratchet + surface-contract gate. - Canonical left sidebar + apps dispatch; bottom tray and floating chip/launcher windows retired.
- Thirteen graduated apps (WEFT-579..591): Files, Processes, Services, Network, Logs, Settings, Scheduler, Monitor, Terminal, Chat, Admin, Explorer, and the Apps launcher.
- Explorer intelligence band (ECC / vector-DB KPI tiles), a functional Scheduler cron table, and a witness-chain tail panel.
Web dashboard (clawft-ui)
- Cmd+K command palette with fuzzy search + recents (WEFT-308); PWA
manifest + service worker + offline shell (WEFT-311); Tauri 2.0
desktop shell scaffold (WEFT-313); Playwright E2E suite (WEFT-314);
jsx-a11y + JS bundle-size CI gates (WEFT-315); multi-stage Dockerfile
(WEFT-317);
render_ui→ canvas WebSocket broadcaster (WEFT-306).
Agent core, multi-agent, voice, channels
- agent-core-v1 routers: HybridRouter v2.5, EmbeddingRouter v2,
LlmClassifierRouter v1;
weaver soul promote. - AgentRouter + per-agent runtime + delegation-depth guard; real Claude Code spawn + MCP allowed-tools allowlist; per-conversation cost circuit-breaker.
- Voice Level 0/1/2 permission gate, mic privacy indicator, substrate STT→agent transcript path; real channel I/O for Email / WhatsApp / Google Chat / Teams / Signal / IRC.
Daemon / kernel plumbing
[kernel.llm]/[kernel.agent]config; LLM registered as a first-class kernel service (LlmSystemService); per-chat-turn TurnAnchor (chain / HNSW / causal); mesh peer-reconnect channel refresh.
Vector-first leaf display (experimental / preview)
- New crates
weftos-leaf-scene/-renderer/-sim/-canvas,weftos-scene-builder,weftos-leaf-touch-gt911, andlgfx-bus-rgb-rs: retained-mode scene graph, CBORSceneEnvelopeleaf-push wire, damage-rect rendering, GT911 touch. ESP32-S3 CrowPanel firmware (clawft-edge-pad/-idf). Not published to crates.io; one known residual display bug (double-buffer presentation) is tracked. - ADR-056 (BVH-on-RVF spatial index) and ADR-057 (substrate per-path read ACLs) accepted.
Changed
- Workspace-wide
cargo fmt+cargo clippy --fixhygiene pass. - Workspace tests now run under
cargo-nextest(per-test process isolation) inscripts/build.sh, eliminating a pre-existing parallel-test-isolation flake class; doctests run as a separate pass. - LLM endpoint resolution logs its winning source and warns when an env
var (including one loaded from
.env) shadows[kernel.llm].
Fixed
clawft-surfacebuilder gained amodal()constructor — the admin surface builder could not previously mirror its TOML fixture's restart-modal (latent since WEFT-589).- Kernel:
mesh.subscribeintercepted before the local-router check; zero-duration timeout / key-rotation boundaries (>=not>); clippyredundant_closure; boot banner readsCARGO_PKG_VERSION. - Test determinism: per-call wordpiece temp-vocab path, env-var test isolation, and monotonic (counter-prefixed) turn ids.
Security
- Patched quinn-proto 0.11.15 (RUSTSEC-2026-0185 — remote memory
exhaustion, HIGH), memmap2 0.9.11, and rkyv 0.8.16; deferred the
wasmtime 33.0.2 advisories (need the 34+ bump) in the tracked
cargo auditignore list. - Earlier in the cycle: per-method capability gate +
ipc_tcpauth, sigstore attestation verification, MAESTRO prompt-injection sanitization, MCP PermissionFilter, and three dashboard auth fixes.
v0.6.19
2026-04-22
Rollup of the development-0.7.0 work stream onto the 0.6 release line. Ships the M1.5 app-layer trilogy, the 21-item canon UI primitive system, the built-in system components, a sensor framework, ExoChain stream-anchor auditing, eight EML-swap learnable-model wirings, and two late kernel-plumbing fixes (cluster peer persistence + optional TCP IPC relay). Also merges forward the v0.6.18 graphify fix (originally cut on an orphan commit that never reached master).
Added
M1.5 — App Layer Trilogy
clawft-appcrate — manifest parser + JSON registry for declarative system apps.clawft-substratecrate — kernel adapter refactor + substrate RPCs (read,subscribe,publish,notify). Relays externally-published paths to the GUI.clawft-surfacecrate — description IR + composer + binding evaluator. New UI composer primitives:ui://heatmap,ui://waveform.- Unified
Mode/Input/OntologySnapshot/Permissionacross surface / app / substrate. - Broke the
surface → gui-eguidep cycle; wasm-gated substrate. - WeftOS Admin app — manifest + surface description + Desktop Apps section, rendered end-to-end from the surface IR, covered by integration test.
Canon Primitive System (21 components)
CanonWidgettrait +CanonResponse+Pressablereference implementation.- Retrofit pass: 7–8 existing blocks wrapped in the trait.
- New primitives: Field / Toggle / Select / Slider / Grid / Dock / Sheet / Modal / Media / Canvas / Tabs (11).
- Canon demo lab — 20 primitive demos in the WeftOS panel.
GUI + VSCode Extension
clawft-gui-eguinow compiles towasm32-unknown-unknown.- VSCode extension (
weft-panel) hosts the egui bundle in Cursor. - Tray chips open ontology-backed detail panels.
- ToF tray chip with native 8×8 heatmap panel.
- WeftOS theming +
weft-demo-labbin hosting egui's full demo; demo lab Fractal / HTTP / 3D / Color tabs + theme-toggle A/B. - M1 wasm-compat polish: web-time, PNG logo, extension hotload.
M1.5.1 — Built-in System Components (α)
NetworkAdapter— WiFi/ethernet/battery via/sys/class.BluetoothAdapter— host-local via/sys/class.- Mesh + chain adapters; dropped the DeFi vapor chip.
- Admin-app affordances end-to-end + layout polish.
- wasm-safe
SystemTimeinclawft-appregistry.
Sensor Framework
PhysicalSensorAdaptertrait.MicrophoneAdapterpreview + extension RPC allowlist extension.
ExoChain + IPC
- StreamWindowCommit anchor service — large streams (audio PCM, sensor batches) now auditable against the chain without bloating
rvfwith per-frame signatures. BLAKE3 rolling window commits. agent.register+ signed IPC envelopes for cross-agent message integrity.ipc.subscribe_stream— external-socket streaming subscribers.[kernel.ipc_tcp]— optional TCP relay for the daemon's JSON-RPC socket. Transparent byte-copy to the unix socket for Windows/WSL and remote bridges. Auth/policy stays on the unix path.
Kernel
- Cluster peer persistence —
ClusterMembershippersists to.weftos/runtime/cluster_peers.jsonvia atomic tmp+rename on every add/remove/state-change, and rehydrates on boot. Fixes the regression whereweaver kernel startreportedcluster: degraded - no healthy cluster nodesafter every restart because the in-memory peer map was wiped. clawft-treecalccrate — liftsForm+ triage into its own module.
EML-Swap Learnable-Model Wirings (Finding #5 + #7 + #9)
Eight learnable models replace hard-coded constants:
GovernanceScorerModelinEffectVector::scoreRestartStrategyModelinRestartTrackerHealthThresholdModelinProbeConfigDeadLetterModelinReliableQueueGossipTimingModelinClusterConfigComplexityModelinComplexityAnalyzerTickIntervalModelinWeaverEngineCausalEdgeTypedecay treecalc dispatch
Fixed
- democritus: stopped busy-looping the stuck detector; swapped exact-path to RFF.
- m1.5-surface: parser RHS-loss on subtraction + count arity + scope docs.
- m1.5-substrate: log ring trim + watermark overflow safety + tracked subscriptions.
- LLM retry:
RetryModelwired intoRetryPolicyviawith_model().
Known Issues
- Pre-existing workspace clippy debt (~150 errors across
clawft-types/src/goal.rs,clawft-rpc,eml-core, and some older kernel/weave code).scripts/build.sh checkis green;scripts/build.sh clippyis red on pre-existing code. One test in— fixed (WEFT-134): full-scale HNSW-EML benches ignored; smoke path in suite.clawft-kernel --libfull suite hangs when run aggregate
v0.6.18
2026-04-19
Fixed
- graphify ingest/query schema mismatch (#26): writer now emits
"edges"(not NetworkX"links") and populatessource_fileon each edge, matching the reader's schema validator.weaver graphify querynow succeeds immediately afterweaver graphify ingestwithout any workaround.weaver graphify diffretains backwards compatibility with old"links"-format graph.json files.
v0.6.17
2026-04-17
Leaf Push Protocol
- weftos-leaf-types crate: shared no_std wire schema for kernel → leaf push operations. CBOR serialization. Types: LeafPush (Audio/Display/ Brightness/Effect), LeafServices, Subscribe, AudioDrop (Chord/Scuttle/ Pcm), DisplayText/Image/Clear, LayerSlot, LayerEffectKind. 11 roundtrip tests.
- weaver leaf push: CLI command to push audio/display/control to leaf devices via kernel daemon IPC. Publishes CBOR payload (base64 wrapped) to mesh.leaf.<pubkey>.push topic. Supports text, chord, scuttle, clear, brightness, effect subcommands with --dry-run and named colors.
v0.6.16
2026-04-17
Added
- MessagePayload::Binary(Vec<u8>): raw binary payload variant for mesh transport, sensor data, file transfer, and opaque byte streams. Serde roundtrip test included.
v0.6.15
2026-04-17
Mesh Noise Encryption Wired End-to-End
[kernel.mesh] noise = trueenables Noise XX handshake on all connections- Boot accept loop wraps streams in
NoiseChannel::respond()(responder) - Seed peer connections use
NoiseChannel::initiate()(initiator) noise_key_pathconfig for persistent Ed25519 key (ephemeral if absent)- Failed handshakes logged and dropped (don't crash listener)
ExoChain Mesh Audit Trail (PR #24)
- Every
handle_incoming()appends apeer.envelopeevent to ExoChain - Captures source_node, dest_node, envelope_id, topic, hop_count
- Viewable via
weaver chain local - Best-effort append — failure doesn't block message delivery
CI Fix
- WASM size gate: explicit
rustup target add wasm32-wasip2fallback
v0.6.14
2026-04-17
Mesh Time Synchronization
- MeshClockSync: authority-based time sync piggybacked on heartbeats. Clock hierarchy: GPS > TSF > NTP > Mesh > Local. Authority elected from best source. EMA smoothing with outlier rejection. Precision targets: <1µs (WiFi TSF), ~100µs (same LAN), ~1-5ms (cross-network).
- ClockSource enum: Local, Mesh, Ntp, Tsf, Gps with ordering.
- mesh_time_us() on MeshRuntime: returns authority-aligned microseconds.
- PingRequest/PingResponse carry
mesh_time_usandclock_sourcefields. - 5 new time sync tests (clock ordering, initial state, NTP authority, source filtering, jitter smoothing).
Noise Protocol Encryption
- Real Noise XX handshake via
snowcrate (Noise_XX_25519_ChaChaPoly_SHA256). NoiseChannel::initiate()andNoiseChannel::respond()for mutual auth.create_encrypted_channel()helper: crypto when configured, passthrough for dev/test. Mesh traffic is now encrypted by default when Noise is configured.
weave.toml Config Loading
- Config loader now reads
weave.tomlfrom project root and merges with JSON config (~/.clawft/config.json). Deep merge: JSON overrides TOML.[kernel.mesh] enabled = truein weave.toml actually works now.
Agent Analysis Commands
weft analyzewith 9 subcommands (extract, detect, infer, diff, slice, vowl, enrich, links, suggest) — agents can run topology/vault analysis by delegating to weaver.
Tree-sitter ast-extract Fixed
- 19 compile errors in the
--features lang-rustpath fixed. Tree-sitter can be used as the fast baseline extractor alongside LSP enrichment.
Other Fixes
weaver initrewritten — works in any directory, generates weave.tomlweaver updatehandles "Text file busy" via rename-swap- Mesh peer-connected log raised from debug to info
v0.6.13
2026-04-17
Mesh Transport Boot Integration
- Wired K6 mesh transport into kernel boot sequence (phase 5d)
MeshConfigin[kernel.mesh]: enabled, transport (tcp/ws), listen_addr, discovery (Kademlia), seed_peers- MeshRuntime created and wired to A2A router during boot
- TCP listener spawned, seed peer connections in background
meshfeature added to kernel defaults
Adaptive HNSW: Tiered Dimensional Search
- Corpus probe + tree calculus triage + EML tier parameters
- 1.61x faster mean latency, +10% recall on clustered data
- 2-head EML ef model (ef→latency + ef→recall joint prediction)
- HnswService EML integration with ExoChain event trail
- 4-phase benchmark harness, 76 new tests
v0.6.12
2026-04-17
Universal Topology Browser
The centerpiece of this release: a complete framework for navigating any data structure as an interactive, drillable topology graph.
-
TopologySchema (
clawft-graphify::topology): YAML-based geometry declarations for the universal topology browser. Schemas are composable (Docker-config style layering viaextends), support IRI-based identity for ontology interoperability, and include mode configuration (Diff, Heatmap, Flow, Timeline). IncludesNodeTypeConfigwith geometry (force/tree/layered/timeline/stream/grid/geo/radial/wardley), visual style, containment declarations, andEdgeTypeConfigwith cardinality constraints. Ships with a 7R Disposition enum (Rehost, Replatform, Refactor, Repurchase, Retire, Retain, Ratify). -
Domain schema presets:
schemas/software.yaml(14 node types, 8 edge types, full IRIs with Schema.orgsame_asmappings) andschemas/investigation.yaml(13 node types, 9 edge types, IRIs mapped to FOAF/Schema.org for forensic analysis). -
IRI-based entity identity (
Entity.irifield): The word is a label, the IRI is the concept. "Service" in architecture docs maps toweftos:arch#Service, "Service" in support docs maps toweftos:support#Service— same word, different IRIs, different things in the graph. Resolves the ontology ambiguity problem. -
Rust layout engine (
clawft-graphify::layout):- Reingold-Tilford tree layout: O(n) top-down with centered parents
- Barnes-Hut force-directed layout: repulsion + spring attraction + center gravity + collision resolution (80px minimum spacing)
- Tree calculus triage dispatch: classifies nodes as Atom (no children), Sequence (same-type children), Branch (mixed children) to select layout strategy
- Auto-detection heuristic: >60% Contains edges = tree, >50% timestamps = timeline, else force-directed
- Positioned geometry output (
PositionedGraph) consumable by any thin renderer (React, Tauri, TUI)
-
Graph slicer (
clawft-graphify::layout::slicer): Pre-computes drill-down JSON per hierarchy level. Top level shows packages (28 nodes), double-click drills into modules with edges. Cross-package dependency edges aggregated via ancestor mapping. Portal counts show external connections. Intra-crate import edges extracted fromuse crate::statements. Manifest JSON indexes all slices for lazy loading. -
Schema inference (
clawft-graphify::topology_infer): Generate a TopologySchema from an existing KnowledgeGraph by analyzing entity types, containment hierarchy, geometry, and edge patterns. Auto-generates IRIs.diff_schemas()compares declared vs inferred to detect architectural drift (added/removed types, geometry mismatches, new edge patterns). -
VOWL JSON export (
clawft-graphify::export::vowl): Emit WebVOWL-compatible JSON (8-key format: header, namespace, metrics, class, classAttribute, property, propertyAttribute) with IRI mappings from the topology schema. Consumable by WebVOWL and the navigator widget. -
Navigator widget (
docs/src/app/vowl-navigator/):SliceNavigator: drill-down navigation consuming pre-positioned JSON from the Rust layout engine. Breadcrumb trail, double-click to drill, detail panel with type/IRI/connections, expandable node indicators. No d3-force in the browser — instant navigation.VowlNavigator: VOWL visual notation renderer with D3 force layout, search, degree filter, datatype toggle, VOWL legend.- Mode toggle between drill-down (sliced) and VOWL flat views.
- File upload for custom VOWL JSON.
-
Playwright E2E tests (24/24 pass): Validates symposium criteria — not a hairball (28 nodes at top level), drill-down with breadcrumbs, detail panel for architecture understanding, schema-driven visual encoding (shape/color per type), data integrity of slice files, usability (zoom, pan, help text, mode toggle).
CLI Commands
weaver topology layout <graph.json>— compute positioned geometry with schema-driven or auto-detected layoutweaver topology validate <schema.yaml>— validate schemas with warningsweaver topology detect <graph.json>— auto-detect geometry, show edge/entity distribution and tree calculus triage classificationweaver topology infer <graph.json>— infer a schema from graph dataweaver topology diff <schema.yaml> <graph.json>— declared vs inferred schema drift detectionweaver topology vowl <graph.json>— export VOWL JSON for the navigatorweaver topology slice <graph.json>— generate drill-down slicesweaver topology extract <path>— extract codebase using tree calculus + EML
Tree Calculus + EML AST Extractor
clawft-graphify::extract::treecalc: Native Rust source extractor using tree calculus for structural dispatch and EML for confidence/complexity scoring. No tree-sitter dependency.- Tree calculus triage classifies every extracted item: Atom (constant, type alias), Sequence (struct fields, enum variants), Branch (impl with mixed children)
- EML scoring:
confidence = a * exp(b * x) + c * ln(d * x + 1)with bonuses for pub/doc. Parameters hand-initialized, trainable via eml-core later. - Extracts: functions, structs, enums, traits, impl blocks, constants, type aliases, statics, macros with children (methods, fields, variants)
- Relationships: Contains, MethodOf, Implements, Extends, Calls (inferred)
LSP-Based Code Intelligence
- New crate:
clawft-lsp-extract: Standalone crate that spawns Language Server Protocol servers (rust-analyzer, typescript-language-server, pylsp, gopls) and extracts full semantic graphs via JSON-RPC.protocol.rs: LSP JSON-RPC wire format (Content-Length + JSON-RPC 2.0)server.rs: server lifecycle (spawn, initialize, query, shutdown)extract.rs: walk source files, query documentSymbol, parse hierarchical symbols into LspGraphgraph.rs: LspGraph/LspNode/LspEdge types with all 26 LSP SymbolKindsconfig.rs: language configs with auto-detection from file extensions- Enables semantic extraction from dozens of languages via their existing IDE infrastructure — tapping the "digital exhaust" that language servers already compute
Security
-
Unified prompt injection defense (
sanitize_llm_input()+sanitize_schema_input()): Wraps existingsanitize_skill_instructions()sanitize_content()with source boundary tagging for audit trail. Applies at all 7 LLM input paths identified in the MAESTRO security audit (semantic extraction, memory retrieval, session history, tool results, bootstrap files, schema builder inputs). Schema-specific checks detect injection via YAML directives and suspicious URI schemes.
-
Sprint 17 security plan (
.planning/sprint17.md): MAESTRO-informed security hardening covering prompt injection pipeline (PI-1 through PI-5), RPC authentication, plugin supply chain signing, and ontology graph pipeline.
Vault Cultivation (v0.6.11)
weaver vault enrich— YAML frontmatter generation with type/tag/status inference from file content and pathweaver vault analyze— link graph metrics (orphans, clusters, density, broken links) via union-findweaver vault suggest— scored connection suggestions based on shared tags, path proximity, keyword similarityweaver vault auto-link— insert wikilinks for known document titlesweaver vault backlinks— generate backlink sections from incoming links
CI/CD Fixes
eml-coreadded to crates.io publish pipeline (was the root cause of v0.6.10 publish failure — clawft-llm depends on it)eml-core v0.1.0published to crates.io- Docker workflow: replaced fragile tag-push polling with
workflow_runtrigger, eliminating race condition with Release workflow - Release gate workflow: marks GitHub releases as prerelease when downstream jobs (Publish Crates, Docker) fail, so broken releases are visually flagged instead of silently half-done
Symposium: Universal Topology Browser
17 artifacts produced in .planning/symposiums/ontology-navigator/:
- 8-session agenda covering schema design, layout algorithms, graph nesting, navigator modes, investigative instrument use case
- Tree calculus + EML dual substrate architecture (ADR): triage for structural dispatch, EML for continuous parameters, pure Rust, <50ms for 10K nodes
- IRI-based identity architecture (ADR): word vs concept, same_as mappings, OWL/RDF compatibility
- ArcKit governance integration: 60 doc-type ontology, Wardley Map geometry, traceability matrix as Diff overlay
- Google RAMP assessment patterns: 7R disposition model (including Ratify), declared-vs-observed topology diff, maturity radar
- AI framework validation: 7 importable formal schemas (ML Schema, PROV-O, DTDL, AAS, ArchiMate, BPMN, OPC UA)
- Schema builder agent design: 5 agent types (Framework, Codebase, Document, Visual, Telemetry) producing composable YAML fragments
- Navigator mode system: Base (Explore/Timeline/Cluster/Wardley) + Overlay (Diff/Heatmap/Flow/Search) + Tool (Annotate), with performance budgets (base <300ms, overlay <100ms, tool <16ms)
- Cold case investigation walkthrough scenario
- Founder Q&A: 7 decisions (composable schemas, OWL compat, single overlay mode, topological distortion for missing nodes, IRI identity)
Internal
clawft-lsp-extractadded to workspaceserde_yamladded to clawft-weave and clawft-graphify dependencies- 232+ Rust tests passing across graphify (topology, layout, triage, slicer, vault, VOWL export, schema inference)
- 24 Playwright E2E tests passing for navigator
- Fixed flaky vault suggest test (HashMap iteration order)
v0.6.11
2026-04-16
Added
- Vault cultivation (
weaver vault): Port of weave-nn's Obsidian vault tooling to Rust. Frontmatter enrichment, wikilink extraction, link graph analysis, connection suggestion, auto-linking, backlinks. - CI fix: eml-core added to publish pipeline, Docker race eliminated, release gate marks failed releases as prerelease.
v0.6.10
2026-04-15
Added
-
Head-to-head: EML vs plain affine attention. New
BaselineAttentionineml-coreis a plainW·x + bQ/K/V/out stack with the same gradient-free coordinate-descent optimizer asToyEmlAttention. Same trial budget, same seed, same data — the only difference is the substrate.compare_eml_vs_baseline(d_model, d_k, seq_len, depth, cfg, rounds)runs the workload on both and returns anAttentionComparisonwith param count, baseline MSE, final MSE, MSE reduction, and p99 inference latency for each- New
attention_compareexample prints the side-by-side table - Browser demo
/clawft_eml-notebookgains an "EML vs baseline" mode that runs both leg-by-leg in-browser and renders the comparison as a table
-
Measured result at the gate shape
(d_model=4, d_k=2, seq_len=2, depth=3), 5000 trials × 3 rounds, run 2026-04-15:Metric EML (SafeTree) Baseline (affine) Params 352 148 Baseline MSE 1.4783 0.2331 Final MSE 1.5419 0.0550 MSE reduction -4.3% +76.4% p99 inference 1161 ns 360 ns Gate passes at 7.3% reduction (per-position-mean, 15k trials). EML convergence is noisy at this shape — some runs 7%, some -4%. Baseline consistently 76%. Baseline is 3.23× faster at inference and uses 2.38× fewer parameters.
Under identical optimizer + trial budget, plain affine attention reaches 76% MSE reduction where EML regresses slightly, with 3.3× lower inference latency and 2.4× fewer parameters. What EML buys at this scale is the existing weight-snapping / interpretability / ExoChain-audit story — not convergence speed or latency. Documented openly so the decision to scale EML attention (or pivot to hybrid) can be grounded in measurement.
-
NVIDIA quantum research + 0.7.x roadmap doc:
.planning/development_notes/nvidia-quantum-integration.md+docs/src/content/docs/weftos/quantum-nvidia.mdx. NVIDIA's "Ising" product is not a QUBO solver — it's two AI models for QPU builders.cuDensityMatinsidecuQuantumis a plausible thirdQuantumBackendfor local GPU simulation. Deferred to v0.7.x after GUI. ADR-048 queued. -
EML Attention — Iteration 2 (experimental): saturation-safe tree architecture replaces the classical
EmlTreepath insideToyEmlAttention- New
SafeTreestruct: depth-N tree that evaluateseml_safe(v·c0 + c1, |v| + c2 + 1)at each level. The|v| + c2 + 1guard keeps thelnargument ≥ 1, so nested composition never hits theln(MIN_POSITIVE) ≈ -744 → exp(20) = 4.85e8saturation path that capped Iteration 1 - Forward pass no longer needs the
bound_onepost-processor — raw output is naturally bounded under composition - Flat
params: Vec<f64>layout (heads·inputs + heads + heads·depth·3) exposesparams_slice/params_slice_mutfor joint coordinate descent - JSON schema matches the browser demo's export bundle, so
SafeTree::from_jsonround-trips weights trained in the browser
- New
-
Gate shape recalibrated to
(seq_len=2, d_model=4, d_k=2, depth=3). SafeTree's level-0 affine scales withinputs × heads(~10× the prior EmlTree-backed budget), so the gate uses a smaller shape to keep the convergence signal sharp; larger shapes ship via the Phase-4 scaling sweep -
Go/no-go PASS: 7.3% MSE reduction on per-position-mean in 3 rounds, p99 inference 1174 ns. All 5 criteria green
Changed
ToyEmlAttentionfields Q/K/V/softmax/out are nowSafeTreeinstead ofEmlModel. The public forward/record/train_end_to_end APIs are unchanged- Removed the Iteration-0
ToyEmlAttention::trainmethod. Callers must usetrain_end_to_end(EndToEndTrainConfig)exclusively - The
bound_one/bound_vecsoft-saturation post-processor is removed — SafeTree doesn't need it - Iteration 2 gate G1 threshold is 5% MSE reduction on per-position-mean (was 80% target but convergence plateau limits browser-scale CD without multi-param perturbation — documented as Iteration 3 scope)
Known limitations (Iteration 3 scope)
- Single-param coordinate descent plateaus well short of TS-port convergence. At the browser shape (seq_len=4 d_model=8 d_k=4) the TS port reaches 95% MSE reduction; Rust currently plateaus at <1%. Root cause: each accepted perturbation changes output by ~1e-6 when a single param sits among 2800 others in a smooth SafeTree landscape. Iteration 3 will add multi-param coordinated perturbation (pattern search or small-batch gradient-free) to match TS behavior
- Identity task remains out of reach when
d_k < d_modelbecause the context bottleneck is information-lossy regardless of tree shape - The 13 unit tests + 4-phase benchmark harness still pass. Default builds are byte-identical to 0.6.9
v0.6.9
2026-04-15
Added
- EML Attention — Iteration 1 (experimental): end-to-end joint
coordinate descent across all 5 sub-models (Q/K/V/softmax/out)
ToyEmlAttention::train_end_to_end(EndToEndTrainConfig)— random-param random-perturbation trials with annealed step; accepts when end-to-end MSE drops on a 16-sample subsetEmlModel::{params_slice, params_slice_mut, mark_trained}— public access to the flat parameter vector for composed-model training- Small-random init in
ToyEmlAttention::new(~±0.05) replaces the all-zeros default that saturated under composition - Bounded forward pass: soft-saturation squash
v·1e-3 / (1 + |v·1e-3|)wraps rawEmlModel::predictoutputs so composition can't produce Inf/NaN MSE when the tree saturates atexp(20) ≈ 4.85e8
- Go/no-go gate passes on the per-position-mean learnable task
- Measured Iteration-1 result at the reference shape: baseline MSE 2.13 → final 0.90 = 57.8% reduction in 3 rounds
- 5 of 5 gate criteria PASS: G1 MSE reduction ≥ 5%, G2 p99 ≤ 5 µs (observed 2 µs), G3 timings finite, G4 JSON roundtrip, G5 polynomial scaling
- 4-phase benchmark now reports
phase2_baseline_mseandphase2_mse_reductionalongsidephase2_final_mseso future iterations can quantify delta against this baseline
Browser demo
/clawft_eml-notebookgains an "Iteration 1 mode" toggle that runs end-to-end coordinate descent (trains all 5 sub-models jointly) instead of the Iteration-0 out_model-only self-distillation- Live training log shows baseline MSE, per-round MSE, % reduction, elapsed time
Known limitations (deferred to Iteration 2)
- Identity task does not converge. The Rust
EmlTreecomposition saturates on identity because the nestedeml(x, y)can hity ≤ 0, triggeringln(MIN_POSITIVE) ≈ -744followed byexp(20) ≈ 4.85e8clamping. Single-param coordinate descent cannot escape. Iteration 2 will either swap the tree formulation (closer to the TS port'seml(v·c0 + c1, |v| + c2 + 1)shape) or add a proper trainable output projection. - Q/K/V participation is modest. Joint CD over 328 params reduces MSE by ~58% but plateaus near the bound-1 region where a majority of heads remain saturated. Multi-param coordinated perturbation or a saturation-safe tree would unlock further gains.
Notes
- The 13 unit tests and the 4-phase benchmark harness remain unchanged.
- Default builds are byte-identical to 0.6.8.
- Feature flag
experimental-attentiononeml-corestill gates the entire module.
v0.6.8
2026-04-15
Added
- EML Attention — Iteration 0 (experimental): first step toward a
gradient-free EML-Transformer for WeftOS
ToyEmlAttentionineml-corecomposed of 5EmlModelinstances (Q/K/V projections, learned softmax, output projection) withf64matmul between them — pragmatic hybrid approach, consistent with the design note's Iteration 4+ guidancenew(name, d_model, d_k, seq_len, depth)with toy-scale guards (d_model ≤ 32,seq_len ≤ 8,depth ∈ 3..=5)forward,record,train,to_json/from_json,AttentionError- Self-distillation training:
train()runs a forward pass on the buffer, derives per-submodel targets, then runs the existing coordinate-descent loop onsoftmax_model(row-softmax distillation) andout_model(context → target) - Feature flag
experimental-attentiononeml-core(off by default); default builds are unchanged - 13 unit tests covering construction, shape enforcement, numerical-softmax stability, serialization roundtrip, training-round counting, and the benchmark sanity gates
- 4-phase benchmark harness
run_benchmark+AttentionBenchmarkmirroringclawft-weave/src/commands/bench_cmd.rs(Warmup → Transport → Compute → Scalability):- Phase 1: single forward-pass timing + JSON roundtrip
- Phase 2: convergence on a memorizable identity task (96 samples, 3 rounds)
- Phase 3: inference latency mean + p99 over 256 random inputs
- Phase 4:
(seq_len, d_model)scaling sweep with per-point param count
- Docs: new
docs/src/content/docs/weftos/eml-attention.mdxpage - Live demos:
/clawft_eml-attention— pure-JS Iteration 0 forward-pass demonstrator (WASM rebuild follows in 0.6.9)/clawft_eml-notebook— Python Colab notebook that trains a Python mirror and exports JSON directly loadable by RustEmlModel::from_json
- Planning:
.planning/development_notes/eml_model_development_assessment.md— Iteration 0 plan, design rationale, 5 explicit go/no-go criteria
- CHANGELOG + release notes updated for 0.6.8
Notes
- EML Attention is additive. Default builds are byte-identical to 0.6.7.
- Iteration 0 deliberately keeps Q/K/V at default init — only
softmax_modelandout_modeltrain in this release. End-to-end coordinate descent across all five sub-models is Iteration 1. - The two inter-projection matmuls (Q·Kᵀ and A·V) run in
f64, not EML trees. Pure-EML matmul is a research problem; the design note treats hybrid as acceptable through Iteration 4+.
v0.6.7
2026-04-15
Added
- Quantum Cognitive Layer (experimental): neutral-atom quantum acceleration for ECC
QuantumBackendtrait with object-safe async interface and shared types (JobHandle,QuantumResults,JobStatus,BackendStatus,EvolutionParams,QuantumError)quantum_register: deterministic force-directed graph → 2D atom-position layout with device-constraint enforcement- Live
PasqalBackendtargeting Pasqal Cloud (EMU_FREE / EMU_TN / Fresnel):- Auth0
client_credentialsflow with 24h token caching and 300s refresh skew POST /api/v1/batches,GET /api/v2/jobs/{id},GET /api/v1/batches/{id}/results,PATCH /api/v2/jobs/{id}/cancel- Best-effort Pulser abstract-repr JSON builder for
AnalogDevice+ global Rydberg channel submit_raw_sequence()escape hatch for Python-generated Pulser JSON- Counts → per-atom Rydberg probability parsing
- Auth0
BraketBackendstub for QuEra Aquila on AWS Braket (interface only; live impl deferred)- Feature flags
quantum-pasqalandquantum-braket(both off by default; experimental in 0.6.x) - T0 wiremock integration tests (14 tests exercising full auth + REST path)
- T1/T3/T4
#[ignore]-gated live tests against real Pasqal endpoints
- Docs: new
docs/src/content/docs/weftos/quantum.mdxpage covering architecture, ECC integration, 4-tier test strategy, and roadmap - Planning:
.planning/development_notes/pasqal-integration.mdextended with dual-backend strategy (§13), tiered dev environments (§14), 0.6.x experimental scope (§15), and 4-phase test runbook (§16)
Notes
- The quantum layer is additive. Default builds are byte-identical to 0.6.6.
build_sequence_jsonoutput is best-effort — the exact Pulserto_abstract_repr()schema is not fully stable. Runbook includes a Python golden-JSON validation path.
v0.6.6
2026-04-14
Added
- 18 Knowledge Graph tasks (KG-001 through KG-018) completing Sprint 17
- EML Score Fusion (KG-001): Hybrid query combining keyword, graph, community, and type scoring
- Community Summaries (KG-002): GraphRAG-style summary generation for detected communities
- Causal Chain Tracing (KG-003): Typed BFS with natural-language explanations
- RFF Spectral Analysis (KG-004): O(m) approximate spectral analysis using random Fourier features
- Info Gain Pruning (KG-005): Redundant evidence filtering based on information gain
- Data Flow Tracing (KG-006): BFS dependency flow tracing through call chains
- MCTS Graph Exploration (KG-007): UCB1 + random rollout for knowledge graph traversal
- Entity Dedup (KG-008): Levenshtein + structural similarity deduplication
- Geometric Shadowing (KG-009): Age-aware decay with per-edge volatility
- Multi-hop Beam Search (KG-010): Prioritized traversal with edge priors
- Sonobuoy Sensor Graph (KG-013): GraphSAGE aggregation + temporal features
- VQ Codebook Cold-Start (KG-014): K-means++ initialization for new entities
- Entity Alignment (KG-015): Cross-graph matching via label + structural similarity
- Conversational Exploration (KG-016): Stateful multi-turn dialogue over knowledge graphs
- EML Distillation (KG-017): Depth-4 to depth-2 model compression
- Newman Modularity (KG-018): Global partition quality metric
- Incremental graph updates and multi-key HNSW indexing
- New modules:
summary.rs,alignment.rs,conversation.rs,sensor_graph.rs,vector_quantization.rs - 170+ new tests (1,770 total)
v0.6.5
2026-04-04
Added
- eml-core standalone crate: Zero-dep (just serde), configurable depth 2-5, multi-head outputs, coordinate descent training (36 tests)
- 12 EML models across 4 crates: Coherence, governance scoring, restart strategy, health thresholds, dead letter policy, gossip timing, complexity limits, HNSW (distance/ef/path/rebuild), causal collapse, surprise scoring, cluster thresholds, layout tuning
- Causal collapse prediction:
rank_evidence_by_impact()ranks candidate edges by predicted coherence impact via perturbation theory - Conversation cycle detection:
detect_conversation_cycle()identifies stuck/oscillating conversations via lambda_2 stagnation - HNSW EML training infrastructure: HnswEmlManager with 4 models (distance, adaptive ef, path prediction, rebuild trigger), 33 tests
Fixed
- 66 ExoChain compliance gaps closed: Systematic audit of all mutation paths
- 75+ EVENT_KIND constants, 21 governance gates, EmlEvent types (Trained, Drift, Saved, Loaded) chain-witnessed
- 7 ExoChain/governance certification failures resolved
v0.6.4
2026-04-04
Added
- EML depth-4 multi-head coherence: 50 parameters, 3 output heads (lambda_2, fiedler_norm, uncertainty), 24 tests
- Two-tier DEMOCRITUS tick loop wired with EML coherence
v0.6.3
2026-04-04
Added
- O(1) EML coherence approximation: 34-parameter depth-3 master formula predicting algebraic connectivity from graph statistics
- Based on Odrzywolel 2026, "All elementary functions from a single operator" (arXiv:2603.21852v2)
- ~100ns prediction vs ~500us Lanczos iteration (5000x speedup), enabling 10,000 Hz tick rate for robotics
- Self-training: accumulates data during operation, retrains at 50+ samples
- Convergence verified on 5 standard graph families (K_n, star, cycle, path, Erdos-Renyi)
- 16 new tests
v0.6.2
2026-04-04
Added
- Graphify extraction pipeline wired into CLI: Full detect -> extract -> build -> cluster -> analyze -> export pipeline functional
weaver graphify rebuildproducesgraphify-out/graph.jsonandGRAPH_REPORT.mdweaver graphify exportloads graph JSON and exports to 7 formats
v0.6.1
2026-04-04
Added
- Workspace RPC:
weft workspace create/list/load/status/deleteconnected to daemon RPC - Cognitive tick auto-started during kernel boot sequence
- ECC tick auto-computed from calibration bands (0.01ms to 1000ms, was hardcoded at 50ms)
weaver graphify ingestdelegates to the full pipeline for local directories
Fixed
- Workspace RPC dispatch routing
- Cognitive tick startup sequencing
v0.6.0
2026-04-04
Added
- Cognitum Seed gap sprint: 11 gaps identified and closed across the kernel
- Tiered kernel profiles (T0-T4): Boot-time calibration selects appropriate resource tier from embedded microcontroller (T0) through GPU server (T4)
- Auto update check and universal install script
v0.5.5
2026-04-04
Added
- VectorBackend trait: Pluggable vector search with insert/search/remove/flush interface
- HNSW backend (default): In-memory approximate nearest neighbor via
instant-distance - DiskANN backend: SSD-backed vector search via
ruvector-diskannv2.1, Vamana graph with product quantization and mmap persistence - Hybrid backend: Hot HNSW cache + cold DiskANN store with access-counted promotion, LRU eviction, and merged search results
- Configurable via
[kernel.vector]inweave.toml
v0.5.4
2026-04-04
Added
- Benchmark v3: 6-phase comprehensive performance suite (1,342 LOC)
- ESP32-S3 edge benchmark: Compatible with
weaver benchmarkv3 for edge devices
Fixed
- Benchmark method names and parameter formats
v0.5.3
2026-04-04
Fixed
- Benchmark scoring recalibrated: Pi 5 was incorrectly graded A+, now correctly scores B/C
v0.5.2
2026-04-04
Added
weaver benchmark: Standardized kernel performance test- Benchmark v2: Three-tier testing (RPC, compute, stress)
Changed
- Kernel enabled by default: No longer requires explicit
--features kernelflag - ECC RPC dispatch endpoints wired for all ECC commands
- Per-project kernel runtime directory: Prevents state collision across projects
v0.5.1
2026-04-04
Added
- clawft-graphify (new crate): 11,896 lines of Rust across 35 modules with 88 tests
- AST extraction via tree-sitter for Python, JavaScript/TypeScript, Rust, Go
- Community detection via label propagation with oversized splitting
- Analysis: god nodes, surprising connections (5-factor scoring), question generation (5 strategies), graph diff
- 7 export formats: JSON, HTML/vis.js, GraphML, Obsidian vault+canvas, Wiki, Cypher, SVG
- URL ingestion (tweet, arXiv, PDF, webpage) with SSRF protection
- CausalGraph bridge, 9th assessment analyzer, HNSW indexing
- Forensic domain: 14 entity types, 13 edge types, gap analysis, coherence scoring
- CLI:
weaver graphifywith 7 subcommands (ingest, query, export, diff, rebuild, watch, hooks)
v0.5.0
2026-04-04
Added
- Sprint 16 architecture sprint: wasmtime v33 upgrade, security audit
- ServiceApi: Unified kernel service registration and lifecycle
- wasip2: Full
wasm32-wasip2target support across all crates - Playground phase 3-4: Browser WASM sandbox improvements
- Browser WASM features: Enhanced client-side execution
Changed
- Renamed
ui/toclawft-ui/for workspace clarity
Fixed
- Docker tarball directory component stripping
v0.4.3
2026-04-04
Added
- Sprint 14-15 documentation coverage pass: assessment, GUI, browser, plugins
- Docker Alpine optimization: Build time from ~30min to ~2min, image ~50MB to ~15MB
Fixed
clawft-plugin-treesitteradded to crates.io publish pipelineclawft-servicesadded to crates.io publish pipeline- Handle 'already exists' error gracefully in crates.io publish
v0.4.2
2026-04-04
Added
- Full boot sequence in ExoChain log: INIT, CONFIG, SERVICES, NETWORK, READY phases visible
- Rich markdown rendering: Headings, bold, italic, code blocks, links, lists in chat bubbles
- Document preview panel: Click internal doc links to open in a side panel
- Plugin marketplace scaffold:
create-weftos-pluginCLI for authoring new plugins - Rustdoc JSON-to-MDX converter: Generates native Fumadocs API pages from Rust documentation
- clawft-plugin-npm: Node.js dependency parsing via package.json and lockfiles
- clawft-plugin-ci: GitHub Actions and Vercel config parsing
- MeshCoordinator: Real mesh coordination with AssessmentMessage protocol and gossip discovery
- 25 crates in workspace, 48 ADRs
Fixed
- crates.io pipeline: 12 crates now publish automatically on tag
v0.4.1
2026-04-03
Added
- Pluggable Analyzer Registry:
AnalyzerRegistrywithAnalyzertrait for extensible assessment - 5 Built-in Analyzers: ComplexityAnalyzer, DependencyAnalyzer (Cargo.toml/package.json), SecurityAnalyzer (secrets, .env, unsafe), TopologyAnalyzer (Docker, K8s), DataSourceAnalyzer (connection strings, S3, APIs)
- Assessment Diff: Compare current vs. previous assessment (files added/removed, findings new/resolved)
- Assessment Hooks:
weft assess hooks-- install/uninstall post-commit and pre-push git hooks - Assessment Dashboard:
/assessroute with project stats, findings list, peer comparison - Assessment Config: Load trigger configuration from
.weftos/weave.toml - Multi-project Namespace:
[project]section in weave.toml with org isolation - PR Assessment Gate:
weft assess --scope ci --format github-annotationsin pr-gates.yml - Cargo Check Gate: Workspace-wide
cargo checkin PR pipeline - Guided Tour Prompts: 4 categories (getting started, architecture, assessment, security)
- WITNESS Chain Footer: Chain integrity display in ExoChain log panel
- Docs-assets Manual Dispatch:
workflow_dispatchwithskip_wasminput
Fixed
- Browser WASM CI: Pinned wasm-bindgen-cli to v0.2.108 (matches Cargo.lock)
- Wrong URLs: Fixed all
github.com/clawft/clawfttoWeftOS/weftosandghcr.io/clawft/clawfttoWeftOS/weftosacross 6 doc files - Test badge: Updated from 3,300+ to 3,900+ on homepage
- Crate count: Updated from 22 to 23 (added clawft-rpc)
- Glossary: Added entries for clawft-rpc, AssessmentService, Analyzer/AnalyzerRegistry
v0.4.0
2026-04-03
Added
Sprint 14: WASM Sandbox, Assessment Framework, CLI Compliance, 28 ADRs
- WASM Sandbox (
/clawft/route): Browser-based WeftOS agent running clawft-wasm with 1,160-segment RVF knowledge base, RAG-powered documentation search, local mode (no API key needed), LLM mode with provider routing, ExoChain log panel with live audit trail, runtime introspection, and "New chat" reset - CDN Asset Delivery: GitHub Releases
cdn-assetstag with Vercel API route proxy (/api/cdn/[...path]), edge-cached vias-maxage, blob URL WASM loading for MIME-type bypass - clawft-rpc (new crate): Shared RPC client extracted from clawft-weave.
DaemonClient,Request/Responseprotocol types,connect_or_bail()convenience. BothweftandweaverCLIs now share this crate - AssessmentService (kernel): New
SystemServicewith file scanning, tree-sitter symbol extraction (Rust/TypeScript), cyclomatic complexity analysis, scope support (full/commit/ci/dependency), peer coordination (link/compare via local path or HTTP URL), ExoChain audit logging weft assessCLI:run,status,init,link,peers,comparesubcommands with daemon-first RPC and local fallback- Cross-project coordination: Peer registry (
.weftos/peers.json), assessment comparison across projects, validated on clawft (412K LOC) and weavelogic.ai (801K LOC) - Docs site: Previous/next navigation, "Edit on GitHub" links, glossary (25+ terms), troubleshooting section, assessment workflow guide, deployment SOPs
- 28 ADRs (ADR-020 through ADR-047): Kernel phase responsibilities, CLI daemon compliance, ExoChain mandatory audit, Noise encryption, Ed25519 identity, post-quantum dual signing, CBOR wire format, three-branch governance, effect algebra, forest of trees architecture, three operating modes, and 16 more
Changed
- CLI Kernel Compliance (ADR-021): 32
weftcommands migrated from direct file I/O to daemon-first RPC with local fallback. Commands: cron (6), assess (4), security (1), skills (7), tools (6), agents (3), workspace (8), other (3) - clawft-weave:
DaemonClientand core protocol types moved toclawft-rpc, re-exported for backward compatibility. 5 new daemon dispatch endpoints (assess.*)
Fixed
- WASM JS glue MIME-type: load via blob URL to bypass CDN
application/octet-stream - GitHub Releases CORS: server-side proxy instead of Vercel rewrites (redirect chain exposed missing CORS headers)
- Vercel CDN caching:
s-maxage=604800+stale-while-revalidate=86400on proxied assets
v0.3.0
2026-03-31
Added
Sprint 13: GUI Integration, Pipeline Wiring, Paperclip Patterns, HTTP API
- GUI Integration: KernelDataProvider for live kernel state in React, ThemeSwitcher component with runtime theme selection, BudgetBlock displaying agent budget consumption
- Pipeline Wiring: Config-based scorer and learner instantiation via factory functions, skill mutation pipeline with GEPA-driven prompt evolution
- Paperclip Patterns: Company and OrgChart organizational models, HeartbeatScheduler for liveness monitoring, GoalTree for hierarchical objective tracking
- HTTP API:
/execute,/govern, and/healthendpoints for external kernel interaction - Full WASI Support: All 10 publishable crates compile for
wasm32-wasip2target (10/10) - Windows ARM: Re-enabled
aarch64-pc-windows-msvctarget with native-tls backend - Testing: Property-based tests, fuzz harnesses, and benchmark suites across kernel and core crates
- Integration Docs: Paperclip integration guide, OpenClaw connector docs, local inference setup, cloud provider configuration, RuFlo orchestration reference
v0.2.0
2026-03-31
Added
Sprint 12: Block Engine, Theming, GEPA, Local LLM
- Block Engine (legacy, superseded) (
gui/src/engine/,gui/src/blocks/): BlockRegistry, BlockRenderer, and Zustand+Tauri StateStore. 10 composable block components (Text, Code, Status, Table, Tree, Terminal, Button, Column, Row, Grid, Tabs) with recursive rendering and JSON descriptor-driven layout. Historical entry: this Zustand+Tauri+React engine was retired in [0.6.19] and replaced by the egui canon shell (crates/clawft-gui-egui, ADR-001 row-aligned canon primitives + the VSCode panel that hosts the WASM build). See ADR-005 / ADR-007 / ADR-013 / ADR-038, all marked Superseded by the egui shell. - Theming System (
gui/src/themes/): 4 built-in themes (ocean-dark, midnight, paper-light, high-contrast with WCAG AAA compliance). CSS variable bridge via--weftos-*custom properties, ThemeProvider with runtime switching, ANSI palette mapping, and Tailwind integration. - Context Compression (
crates/clawft-core/src/agent/context.rs): Sliding-window context management with configurablemax_context_tokens(default 8192). First-sentence summarization for older messages. Opt-in viabuilder.with_compression(config). - GEPA Prompt Evolution (
crates/clawft-core/src/pipeline/):TrajectoryLearnerreplacingNoopLearnerwith trajectory collection, pattern extraction, and 4 prompt mutation strategies (rephrase, add examples, remove ineffective, emphasize).FitnessScorerreplacingNoopScorerwith 4-dimension weighted scoring (relevance, coherence, completeness, conciseness). - Local LLM Provider (
crates/clawft-llm/src/local_provider.rs): OpenAI-compatible provider for Ollama, vLLM, llama.cpp, and LM Studio. Key-optional auth, streaming, model listing. Factory methods:LocalProvider::ollama(),::vllm(),::llamacpp(),::lmstudio().
v0.1.0
2026-02-17
Added
Core
- 9-crate Rust workspace: types, platform, core, llm, tools, channels, services, cli, wasm
- Agent loop with configurable retry and backoff
- 6-stage LLM pipeline: Classifier, Router, Assembler, Transport, Scorer, Learner
- Platform abstraction layer with traits for HTTP, filesystem, environment, and process
- Native platform implementation for Linux/macOS/Windows
- Tool registry with dynamic registration and dispatch
- Event-driven architecture with typed message passing
CLI
- Binary
weftwith subcommand-based interface via clap derive agentsubcommand for running agent sessionsgatewaysubcommand for HTTP/WebSocket gateway serverstatussubcommand for system health and diagnosticschannelssubcommand for managing channel integrationscronsubcommand for scheduled task managementsessionssubcommand for session lifecycle managementmemorysubcommand for agent memory operationsconfigsubcommand for configuration management
Tools
- File operations: read, write, edit, list with path validation
- Shell execution with configurable timeout and working directory
- Agent spawn for sub-agent orchestration
- Memory tool for persistent key-value storage
- Web fetch with HTTP client and response parsing
- Web search with provider abstraction
- Message tool for inter-agent communication
Channels
- Telegram channel plugin with bot API integration
- Slack channel plugin with Web API and Events API support
- Discord channel plugin with gateway WebSocket connection
Services
- Cron scheduling service with cron expression parsing
- Heartbeat service for liveness monitoring
WASM
- Platform stubs for WebAssembly target (HTTP, FS, Env, Process)
- Feature flags (
native-exec,channels,services) for conditional compilation - WASM-compatible build profile with size optimizations
Security
CommandPolicywith allowlist and denylist for shell command executionUrlPolicywith SSRF protection (private IP blocking, scheme restrictions)- Path traversal prevention in file operations
Infrastructure
- GitHub Actions CI workflow with build matrix (stable, nightly, WASM)
- GitHub Actions release workflow with cross-compilation and asset publishing
- GitHub Actions benchmark workflow for performance regression tracking
- GitHub Actions WASM build workflow for browser/worker targets
- Docker multi-stage build with
FROM scratchminimal image - Release profile with LTO, strip, single codegen unit, and abort-on-panic
- 1,029 tests across the workspace