Skip to content

v2.35.0

Latest

Choose a tag to compare

@nhadaututtheky nhadaututtheky released this 30 Nov 15:35
· 11 commits to master since this release
faae57e

"Proof" — Catch junk tests, read what's new after every upgrade, and zoom the skill mesh until the names are readable. rune serve is tested end-to-end through a real public tunnel (including a macOS DNS fix), with no VPS required.

Added

  • Junk-match pass (rune verify --junk). Scans a test/production diff for checks that pass trivially or match on noise: tautological asserts (expect(true), expect(value).toBe(value)), catch-all regex (/^.*$/), empty snapshots, mocks that are only asserted to return what they were told, status-code-only behavior tests, and production code that imports test fixtures or snapshots. High findings BLOCK under strict hook-dispatch (preflight + sentinel); gentle warns. False-positive guards: expect(isValid(x)).toBe(true), specific regexes, mocks plus a real SUT assert, status tests that are actually about status, adding/renaming real asserts, and pre-existing junk on untouched lines.
  • rune verify --oracle <cmd|url|fixtures-dir>. Compares a candidate (--candidate <cmd|url>) against a reference oracle on a corpus: old binary, production URL, or recorded fixtures. Fingerprints each mismatch as {input, expected, actual, diffKind}, aggregates by fingerprint, writes .rune/oracle/run-<id>.jsonl, and exits 2 on new divergences. Known ones go in --baseline / .rune/oracle/baseline.json. JSON bodies are canonicalized; UUIDs and timestamps are redacted in fingerprint ids.
  • Reflect / generated lints (rune verify --reflect / --lints). Recurring review findings (.rune/review-findings.jsonl, count ≥ 2 or "promote": true) are deduped into .rune/lints/rules.json, a dated .rune/conventions.md entry, and a pointer block in AGENTS.md / CLAUDE.md when those files exist. Nothing is committed — the command lists paths to stage. The same regex lints run in hook-dispatch. review, verification, review-intake, safeguard, and rescue point at the real CLI. Docs: docs/VERIFY.md.
  • Changelog page and "What's new" everywhere. docs/changelog.html is generated from this file: version + date, area tags (Serve, Verify, Hooks…), one highlight per release, changes and fixes folded with counts, a filter by area, and Unreleased marked "on master — not on npm yet". The homepage hero and the Guide show a "New in vX" chip for the latest release; Changelog is in the nav of the homepage, Guide and Skills pages.
  • rune whats-new prints this release's highlights and the changelog link (--json for scripts). After an upgrade, the first interactive rune update / setup / status / doctor / … prints three highlights and the changelog link, once per version (last seen in ~/.rune/whats-new.json). Never on a non-TTY, with --json, in CI, or for hook-dispatch / serve / verify; RUNE_NO_WHATS_NEW=1 turns it off.
  • Guide: rune serve and rune verify sections. A who-connects-to-what map, the 3 setup steps and what stays local for serve (a free core CLI); one card per verify check with the command, what it catches and the exit codes.
  • rune serve end-to-end test, no VPS needed. npm run e2e:serve (scripts/e2e-serve.mjs) packs the CLI, installs the tarball into a temp prefix and drives rune serve setup --yes --json with the official MCP SDK client: handshake, list_skills / get_skill / get_reference / run_skill, 401 on no/wrong key, ?key= refused, path traversal refused, key rotate, stop / start, doctor, status, connect, and cleanup. --expose tunnel runs every check through the public trycloudflare.com URL; --service adds systemd --user (kill -9 → restart). The e2e — rune serve workflow runs it on Linux (local), Linux (systemd + tunnel), Windows and macOS on dispatch, release, weekly and serve changes.
  • VPS runbook for agents (docs/VPS-SETUP.md). Rune on a server only, with nothing installed locally: tell your agent "Read docs/VPS-SETUP.md and set up Rune on my VPS". It has numbered steps you can re-run, each with a check: preflight, Node, install, Pro/Business, then either a domain with Caddy and automatic HTTPS or a Cloudflare quick tunnel. Then the service, firewall and doctor. It ends with connect lines for Claude Code, Claude Desktop / claude.ai, Grok via the xAI API and any MCP client. The key stays in a 0600 file and is never printed.
  • rune serve setup --allow-query-key. Saves ?key= support in the setup, so the service and rune serve start keep it. Use it for clients that can't send headers (e.g. claude.ai without the request-headers beta).

Changed

  • One generator for derived site files. node scripts/site-gen.mjs writes the changelog page, the What's-new chips, compiler/data/whats-new.json, the mesh diagram, the /skills/ badge and stats bar, and the Guide's layer table; --check (run by version-sync-check, so by npm run doctor and CI) fails when any of them is stale. npm run release runs it.
  • Release notes come from this file. The GitHub release (publish workflow), the Telegram message and the ClawHub changelog use the CHANGELOG section (node scripts/site-gen.mjs notes <version> [--telegram|--plain]) instead of the commit list; a tag without a section still falls back to the commit list.
  • Mesh diagram is generated from skill-index.json. It fits its frame at any size, shows the live counts, and highlights a skill's calls on hover, tap or keyboard focus.
  • Mesh diagram is zoomable and searchable. Scroll, trackpad pinch, touch pinch, double-click/tap, on-screen +/−/Fit, or the keyboard (+, -, 0) to zoom and pan. Click or search a skill to keep it selected: its edges stay lit, a side panel (bottom sheet on a phone) lists the layer, a short description, clickable calls / called by chips and any signals, and labels are kept for the selection until you zoom in far enough to show every name. Layer toggles hide a ring; the diagram follows the site’s light/dark theme. The Guide iframe has an “Open the mesh fullscreen” link.

Fixed

  • Releasing from Windows: npm run release:publish (and the prepublishOnly version-sync-check) failed on a CRLF checkout (core.autocrlf=true) because generated files were compared byte-for-byte, and could not start npm (spawnSync npm ENOENT: on Windows npm is npm.cmd). Comparisons now ignore line endings, npm is spawned as npm.cmd through a shell while git / gh run directly (PR titles and release notes with spaces survive), and a .gitattributes pins LF so a Windows checkout no longer ships CRLF files. A windows-latest CI job runs these checks.
  • version-sync-check no longer fails a Free release because the sibling ../Business checkout has a different file count; it warns (expected references updated to 126).
  • npm run release failed after the site-gen check landed in #25: bump-version ran version-sync-check before regenerating the changelog page and what's-new files, so those artifacts were always stale. It now runs site-gen.mjs first.
  • rune serve setup --expose tunnel on macOS could report the new public URL as unreachable for minutes: its health check looked the hostname up before Cloudflare DNS had it, and macOS caches that miss. It now waits for the name via the resolver (waitForDns) first. setup --json also reports service.linger.
  • Mesh diagram: clicking a skill did nothing (only zoom worked). The stage captured the pointer on press, which retargeted pointerup to the stage, so the click never reached the node and was read as a click on empty canvas. The node is now read at press time and the pointer is no longer captured. Edges are also quiet by default (they were all drawn at once, a hairball): a skill's links light up on hover, and stay lit when it is selected. Covered by a real-mouse regression test on both the standalone page and the Guide iframe (scripts/__tests__/mesh-pointer.e2e.test.js; needs Chrome, skipped without it, required in CI).
  • Guide code blocks kept their line breaks only in the source: multi-line commands rendered as one wrapped line. They are white-space: pre again, copy buttons show on touch screens, and the Guide no longer scrolls sideways at 375px (platform tabs and tables scroll inside their own box).
  • Stale numbers: the mesh diagram said 64 skills / 203 connections / 40 signals (title "57-Skill"), the Guide said "66 interconnected skills" and "13 AI coding platforms", /skills/ said v2.28.0 and 66 total skills. version-sync-check now also catches "NN interconnected skills", "NN AI coding platforms", the /skills/ total and badge, and the diagram counts.

Full notes: https://rune-kit.github.io/rune/changelog.html#v2-35-0
Full Changelog: v2.34.1...v2.35.0