Releases

Release notes from my GitHub projects. Also available as an Atom feed.

park v1.3.0

CLI tool backed by SQLite for saving and recalling work context across repos and machines

park v1.3.0 shows your coding agent the parked items that matter for the file it is working on, and reports whether parked items get used.

Highlights

  • Claude Code now sees parked items when it reads or edits a file that an item names.
  • park stats reports how parked items reached you, and whether you opened or resolved them afterwards.
  • The session-start hook lists one short line per item, so about 25 items fit in what the agent reads, up from about 7.
  • park search BH-716 now finds ticket keys and other hyphenated words.
  • park list --tag a_b matches only the tag a_b.
  • A getting-started guide is now at https://svandragt.github.io/park/.

Upgrade

go install github.com/svandragt/park@v1.3.0
park version
park hook --install

park hook --install adds the new file hook next to the session hook you already have. It does not add the session hook a second time. Start a new agent session afterwards, or run /hooks in Claude Code.

If park version does not print v1.3.0, another park comes earlier on your PATH. Check it with command -v park.

Details

Parked items when the agent opens a file

When the agent reads or edits a file, park looks for active items in this repository that name the file. It shows up to five of them, one line each, and shows each item once per session. The agent runs park show for the detail.

An item matches when it names the file's path from the repository root. If no item names the path, it matches the file name instead, but only when five or fewer items share that name.

Codex has no matching hook event, so Codex gets only the session-start hook.

See whether parked items get used

park now records when an item is shown to you, opened with park show and resolved with park done. Items are shown by the session hook, the file hook, park search or park list --tag.

park stats reports the last 30 days, or pass --days 7. Its last table credits each open and resolve to the way the item was most recently shown in the 2 hours before. An item you went to without it being shown counts as direct.

The record stays on your machine. It does not go into the sync log, and park rebuild keeps it.

A shorter session-start list

Claude Code shows the agent only the first 2 KB of a hook's output. The hook used to print four lines per item, so the agent saw about 7 items. It now prints the id, name and tags on one line, and leaves out tags that the name already contains.

For a repository with 68 items, the output drops from 19 KB to 5.5 KB, and 25 items fit in the first 2 KB. To keep every tag and the longer instructions, change the hook command to park hook run --compact=false.

Search and tag fixes

park search "BH-716" used to fail with no such column: 716, because the search engine read the hyphen as an operator. Each word is now searched as plain text.

--tag treated _ and % as wildcards, so --tag a_b also matched axb. They now match only themselves.

How we checked

Check Result
go test ./... 152 tests pass
CI on main at the tagged commit passed
park hook --install on a v1.2.0 settings file, run twice adds the file hook once, keeps one session hook

Known gaps

  • The file hook works only in Claude Code.
  • park stats starts counting from the upgrade, so its first reports cover only a few days.

Issues closed

No issues were filed for this release. It includes PR#21 and PR#22 (modernc.org/sqlite 1.61.0 to 1.62.0) and PR#23 (getting-started site for GitHub Pages).

Full Changelog: v1.2.0...v1.3.0

View on GitHub

lamb 0.16.0

Self-hosted PHP microblogging platform with SQLite storage, Micropub, and full-text search

Lamb 0.16.0 replaces the settings text box with a form and makes Lamb more opinionated: five settings are deprecated and stop working in 0.17. A post with broken front matter is now refused instead of saved with its fields dropped.

⚠️ Before you upgrade

  • The first save of the new settings form drops any comments in your stored settings. Copy them somewhere first if you want to keep them.
  • The settings form requires a site title, a site URL and an author name. Fill them in the first time you save.

Highlights

  • Edit your site settings in a form with labelled fields instead of an INI text box.
  • Publish a page with slug: home to show it at the top of your home page.
  • Lamb adds preconnect hints for the sites your posts load images and video from, with no setting needed.
  • Lamb refuses to save a post whose front matter is not valid YAML, so a draft: true line can't be lost.
  • Deleting a post takes one click, because the trash restores it.
  • Feed drafts stay drafts when the feed updates them or you edit them.

Upgrade

  1. Run bin/upgrade as the web server user, for example sudo -u www-data bin/upgrade.
  2. Open /settings and save once. The form lists any deprecated setting your site still uses.
  3. Replace each deprecated setting before 0.17, as listed under Details.

Details

Settings form

/settings shows labelled fields instead of the INI text box, and the Redirections tab has a filter box. The site export is a "Download export" button. After a save the form shows your saved values and no success message. It only shows a message when something needs your attention.

Deprecated settings

These keys still work in 0.16 and stop working in 0.17:

  • posts_per_page: Lamb will show 10 posts per page.
  • 404_fallback: add a [redirections] entry for each old address you still want to forward.
  • [preconnect]: Lamb now adds these hints itself. Origins you listed still come first until 0.17.
  • micropub_debug: set the LAMB_MICROPUB_DEBUG environment variable instead.
  • experimental_features: pass --experimental to bin/lamb import instead.

Front matter checks

A post whose front matter block is not valid YAML is no longer saved. The editor keeps your text and shows the parser's message. Micropub clients get a 400 error with the same message.

Fixes

  • Editing a feed draft, or the feed updating the item, no longer publishes it. bin/lamb migrate marks existing feed drafts with draft: true.
  • Pasting a link copied on iOS over selected text turns the selection into a link.
  • Links whose address contains /tag/, such as GitHub releases, are no longer styled as hashtags in the 2026 theme.
  • Links inside code in a blockquote in about.md stay as written.

How we checked

Check Result
Unit, functional and acceptance tests Passed on PHP 8.4 and 8.5 in CI
Lint and static analysis No errors
Release checks: Docker with FrankenPHP, and nginx with php-fpm Passed
Code review of the whole release 23 findings: 19 fixed, 2 not valid, 3 follow-ups filed for 0.17

Known gaps

  • A config section Lamb doesn't read, such as a filled [preconnect] after 0.17, can only be cleared with Reset to defaults. #961 tracks this.
  • Media in the slug: home post gets no preconnect hints. #967 tracks this.
  • RedBean prints a deprecation notice on PHP 8.6 betas. The fix is sent upstream.

Issues closed

  • #867 (Show a page at the site root when a post has the slug home)
  • #912 (Keep links inside blockquoted code as written in about.md)
  • #917 (Edit site settings in a form with a required identity)
  • #918 (Filter the redirections list on the settings page)
  • #919 (Offer the settings export as a download button)
  • #921 (A feed draft is published when the feed updates the item)
  • #924 (Editing a feed draft publishes it)
  • #925 (External links containing /tag/ are styled as hashtag chips)
  • #932 (Pasting a link copied on iOS doesn't link the selected text)
  • #939 (Refuse a post save when its front matter is not valid YAML)
  • #940 (Remove the delete prompt and the settings success message)

View on GitHub

lamb 0.15.1

Self-hosted PHP microblogging platform with SQLite storage, Micropub, and full-text search

Lamb 0.15.1 fixes a webmention encoding bug that 0.15.0 introduced, and two smaller problems found in review. Upgrade if your site receives webmentions.

Highlights

  • Webmentions from UTF-8 pages store names and titles correctly again.
  • Restore says when manifest.json in an archive is damaged, instead of saying it is missing.
  • Code samples on your about page stay as written in /.well-known/about.md.

Upgrade

  1. Run bin/upgrade as the web server user, for example sudo -u www-data bin/upgrade.

Nothing else changes. There are no new settings or migrations.

Details

Webmention encoding

0.15.0 started converting a source page from the charset its <meta> tag declared. A UTF-8 page with a wrong declaration, or with charset= text inside a description, was converted anyway, so "Café" was stored as "Café". Lamb now leaves a page alone when it is already valid UTF-8, and reads the charset only from a real charset attribute or a Content-Type meta tag. Webmentions already stored by 0.15.0 are not changed.

About page links

/.well-known/about.md turns root-relative links on your about page into full URLs. It no longer does this inside code spans or code blocks, so a code sample such as [home](/path) is published as you wrote it.

How we checked

Check Result
Unit, functional and acceptance tests Passed on PHP 8.4 and 8.5 in CI
Lint and static analysis No errors
Release checks: Docker with FrankenPHP, and nginx with php-fpm Passed
Damaged-entry handling in the phar reader 3,000 corrupted entries; none returned partial content

Every review thread on the changes since 0.15.0 is answered, and merges into main and release now require all review threads to be resolved.

Known gaps

  • On the about page, links inside list items that hold a code fence are not rewritten.

View on GitHub

lamb 0.15.0

Self-hosted PHP microblogging platform with SQLite storage, Micropub, and full-text search

Lamb 0.15.0 makes upgrades explicit and safer. Page views no longer write to the database, and imported videos now play. It also removes several old entry points, so read the breaking changes before you upgrade from 0.14.0.

⚠️ Breaking changes

  • Lamb needs PHP 8.4.1 or later. PHP 8.4.0 fails Composer's platform check.
  • One-time data migrations no longer run on boot. bin/upgrade runs bin/lamb migrate for you. Any other upgrade path needs it run by hand once.
  • The import-wordpress.php, import-known.php and import-lamb.php shims are gone. Use bin/lamb import <wordpress|known|lamb> <path>.
  • A config.ini in the app root is no longer read on first run. Configure the site at /settings.
  • A theme's feed.php or feed_json.php override is ignored. Delete it from your theme.
  • A ?page=N link shows page one. Use /page/N.
  • The Docker image at ghcr.io/svandragt/lamb is no longer published. Build from Dockerfile.release. Images up to 0.14.0 still pull.

Highlights

  • Viewing a page never writes to the database, so readers can't hit a lock.
  • Imported WordPress and Known videos download to your site and play as embedded videos.
  • The editor autosaves your draft in the browser, and a new button attaches a photo from your phone's camera.
  • Uploaded images get smaller WebP versions, so phones download less.
  • Your site can publish SocialSpec profile files: about.md, contact.vcf and following.opml.
  • A database left unwritable by a wrong-user command now tells you how to fix it.

Upgrade

  1. Check that the server runs PHP 8.4.1 or later: php -v.
  2. Run bin/upgrade as the web server user, for example sudo -u www-data bin/upgrade. It uses viv 0.22.0 or later if you have it, and Composer otherwise.
  3. If you don't use bin/upgrade, run bin/lamb migrate once after switching to the new code.
  4. If you deploy with Docker, build the image from your checkout. See docs/docker.md.

Installs older than 0.14.0 must upgrade to 0.14.0 first. See docs/upgrading.md.

Details

Upgrades run migrations as a step

Before 0.15.0, every request checked for and ran one-time data migrations. A page render could therefore take a write lock. Those migrations now live in bin/lamb migrate, and bin/upgrade runs it after installing dependencies. When data/lamb.db belongs to another user, bin/upgrade warns and prints the command to run, instead of failing the upgrade.

Unwritable database files

The database uses SQLite's WAL mode, which keeps lamb.db-wal and lamb.db-shm beside lamb.db. A bin/lamb command run as the wrong user leaves those files owned by that user. Lamb now refuses to start bin/lamb against a database owned by someone else. If pages still fail with "attempt to write a readonly database", change the owner of both files to the web server user. Don't delete them: they can hold posts that aren't in lamb.db yet.

Imports and restores

Imported <video> elements, video links and classic [video] shortcodes are downloaded, up to 50 MB each, and shown as an embedded player. Restoring a backup works without PHP's zip extension. A damaged post in the archive is skipped and reported as "damaged entry".

Webmentions

A webmention from a page in a non-UTF-8 encoding, such as ISO-8859-1, now stores the author and title correctly. Author names are capped at 100 characters.

How we checked

Check Result
Unit, functional and acceptance tests Passed on PHP 8.4 and 8.5 in CI
Lint and static analysis No errors
Release checks: Docker with FrankenPHP, and nginx with php-fpm Passed
Release candidates 0.15.0-rc1 and 0.15.0-rc2

Since rc2, the release adds the SocialSpec files, the symfony 8 dependency updates and three fixes: the PHP 8.4.1 requirement, webmention encoding and damaged restore entries.

Known gaps

  • A received webmention only shows on its post's page, and only when you are logged in.
  • Two dependencies print deprecation notices on PHP 8.6 betas. They clear when upstream releases a fix.

Issues closed

  • #772 (Bound the webmention author field like content)
  • #791 (Login throttle: Retry-After header disagrees with the "1 minute" body text)
  • #811 (Decide a retention policy for the boot-time one-time data migrations)
  • #813 (Drop the legacy ?page=N → /page/N redirect)
  • #814 (Decide a retention policy for the lazy post-upgrade path)
  • #831 (WAL sidecar files owned by another user make every request fail with a read-only database)
  • #874 (Tell the operator how to recover when WAL sidecars make lamb.db read-only)
  • #875 (Restore a zip without ext-zip, or say to pass the unpacked directory)
  • #876 (WordPress importer leaves video files on the source host)
  • #877 (Imported <video> elements do not render as video players)
  • #881 (WordPress importer does not convert [video] shortcodes)
  • #882 (Restore imports damaged bytes from a zip entry with a bad checksum)
  • #890 (Link to the Lamb docs from the admin bar)
  • #442 (Responsive images: generate srcset variants for uploads)
  • #570 (Docs: add a "Write your first post" tutorial)
  • #604 (Auto saving drafts)
  • #670 (Bound webmentions_for_post() reads on the post page)
  • #671 (Split sitemap.xml into a sitemap index past 50,000 URLs)
  • #707 (Bound DNS resolution in the outbound fetch path so a hang cannot hold the /_cron flock)
  • #752 (emit_sitemap() inlines the XML escaper instead of calling Theme\escape_xml())
  • #793 (Editor: add an attach-file control so photos can be inserted from a phone)
  • #801 (Autosave: restore unsaved changes on the edit form via a non-destructive link)

View on GitHub

streamcables v0.3.0

Python tool that reads Icecast now-playing metadata and posts it to social media

Highlights

  • Install StreamCables from PyPI again, with pip install streamcables.
  • Run the installed streamcables command without a start-up error.
  • Start an installed copy for the first time and get a settings file created for you.
  • See the installed version in the start-up line.
  • Get new releases on PyPI automatically when a version tag is pushed.

Upgrade

Install or upgrade from PyPI:

pip install --upgrade streamcables

Or with uv:

uv tool install streamcables

From a source checkout, run:

uv run streamcables

make run does the same. The old command, uv run python streamcables/streamcables.py, no longer works.

Dependencies are updated to their latest versions.

Details

PyPI release

0.3.0 is the first release published to PyPI since 0.1.0. New version tags now publish to PyPI automatically.

Installed copies start

Earlier installed copies failed on start with ModuleNotFoundError: No module named 'arg'. The modules imported each other by flat names that only worked from a source checkout. Installing now gives you a working streamcables command.

The default settings file now ships inside the package. The first run of an installed copy creates your settings file instead of failing.

How we checked

Check Result
Test suite, including a new test that runs the program as an installed module 6 passed
Lint and format checks Pass
Built wheel run from outside the repository Created the settings file and exited without a traceback
Release workflow Published 0.3.0 to PyPI

Known gaps

  • A missing or misspelt plugin name in settings.toml stops StreamCables on start. It is not skipped with a warning.
  • This release did not test the polling loop against a live icecast stream.

Issues closed

  • #106 (Publish 0.3.0 to PyPI from version tags, with a working installed package)

View on GitHub

fafi 0.3.1

Go CLI and web UI that indexes browser bookmarks and full-text searches their content

Highlights

  • Download a ready-built fafi2 for Linux (amd64, arm64) or macOS (arm64) from this page.
  • Nothing about fafi itself changes since 0.3.0, apart from one updated dependency.

Upgrade

Download the binary for your platform, make it executable and replace your existing fafi2:

chmod +x fafi2-0.3.1-linux-amd64
mv fafi2-0.3.1-linux-amd64 ~/bin/fafi2
systemctl --user restart fafi.service

Schema migrations run on startup, so you don't need to do anything after the restart.

Details

Release binaries

Each version tag now builds fafi2 on GitHub Actions and attaches it to the release. Before this, you had to build fafi yourself. fafi isn't published to PyPI any more. The last PyPI version, 0.2.4, is from the old Python version.

How we checked

Check Result
Tests (go test -race) on all three platforms Passed
Builds 3 of 3 passed

Known gaps

  • There is no build for Windows or Intel Macs.
  • The Linux binaries are linked dynamically against glibc, so they don't run on musl distributions such as Alpine.

View on GitHub

diffsplainer Diffsplainer 0.1.0 (v0.1.0)

Experiment to review GitHub pull requests with a Claude Code explanation next to each diff chunk

The first public release of Diffsplainer, a local web app that explains a GitHub pull request chunk by chunk, using Claude Code.

Highlights

  • Run it with one command: uvx diffsplainer, then open http://localhost:3000.
  • See each diff chunk next to a short explanation of what it changes and why.
  • Get a summary of the whole PR, its approach, and up to three things to check.
  • Select any phrase in an explanation and ask what it means.
  • Open the current GitHub PR in Diffsplainer from a bookmarklet.
  • Read diffs with syntax highlighting for over 35 languages, without the page loading anything from the internet.

Upgrade

This is the first release. You need the Claude Code CLI, logged in.

uvx diffsplainer

To read private repos, log in with gh auth login or set GITHUB_TOKEN before you start the app.

Details

Explanations

Diffsplainer splits the diff into logical chunks and asks Claude Code to explain each one in plain language: what it lets the code do differently, and the reason the PR gives for it. Where the PR doesn't state a reason, the explanation says so instead of guessing. Explanations stream in as they finish, and the app keeps them in memory, so reopening a PR costs nothing.

Cost

Each Claude call runs isolated from your own Claude Code settings, plugins and MCP servers, and uses Sonnet by default. A typical batch of chunks costs about $0.05. PRs over 1,000 changed lines show the diff without explanations. Closing the tab stops any Claude runs still in progress.

Security

The app listens on 127.0.0.1 only, and it answers only requests addressed to localhost, 127.0.0.1 or [::1]. That stops a web page from reading your private PRs through DNS rebinding. It also refuses API calls that the browser marks as coming from another site, so other pages can't start Claude runs on your account.

How we checked

Check Result
Unit tests 101 passed on Python 3.11 and 3.13
Lint and format ruff passes
History scan before going public gitleaks found no secrets
Published package uvx diffsplainer@0.1.0 starts the app and serves the page

Known gaps

  • Diffsplainer works with GitHub only, not GitLab.
  • Explanations live in memory, so restarting the app explains PRs again.
  • In browsers that don't send the Sec-Fetch-Site header, such as Safari before 16.4, other sites can start Claude runs, but can't read the results.

View on GitHub

park v1.2.0

CLI tool backed by SQLite for saving and recalling work context across repos and machines

park v1.2.0 groups items under milestones, files items under another repo, and fixes three things that misled the author.

Highlights

  • Group items under a milestone with --parent, and see its done count in list and show.
  • File an item under another repo with park add --remote, or move one with park edit --remote.
  • Show the newest active item for the repo you are in with park show --current.
  • Add to an item's body or how-to-apply with park edit --append-body and --append-how.
  • Put park search flags after the keyword: park search mpcli --status all now works.
  • Trust the counts from park rebuild: an empty cache now reports 0 rows dropped.

Upgrade

go install github.com/svandragt/park@v1.2.0
command -v park
park version

Check that command -v park points at the new binary. If another park comes earlier on your PATH, that one runs instead. park version reports v1.2.0 when the new build is running.

New items now default to the task type. To move existing items to a new type in one step, run park retype <old> <new>.

Details

Milestones

Use park add --parent <id> to group an item under a milestone, and park edit <id> --parent "" to remove it. park list --parent <id> shows the milestone's children with a done count. park done warns you when a milestone still has open children.

Items about another repo

park add records the repo you run it in. An item about project B that you park while working in repo A used to be filed under A, so park list --remote B never showed it. --remote <url> on add files it under B. On edit, it moves an existing item to B and clears its branch, because the old branch belongs to repo A. The move reaches your other devices through sync.

Search flags

park search used to treat every flag after the keyword as search text, and failed with fts5: syntax error near "-". Flags now work before, after or between the keyword's words.

Rebuild counts

park rebuild on an empty cache reported "dropped 228 local row(s)", because park synced the logs into the cache before rebuild emptied it. The data was always correct. The count now is too, and the sync runs once instead of twice.

How we checked

Check Result
go test ./... and go vet ./... Pass. CI is green on every commit since v1.1.0.
New tests written to fail first 6 tests: edit --remote, search flags, rebuild guard, docs type list, show --current
park rebuild --yes into an empty cache, scratch data "dropped 0 local row(s), folded 2 event(s) back in"
Docs type-list test against a README with a type removed Fails, as intended

Known gaps

  • park add --remote has no automated test, because it checks the URL over the network. If that check cannot run, an SSH-style URL is stored as you typed it.
  • park show --current must be the first argument to show.
  • A search word that starts with - is read as a flag.

Issues closed

None. This release fixes items tracked in park itself.

Full Changelog: v1.1.0...v1.2.0

View on GitHub

tinylistings v1.0.0

Small, fast listing pages for people selling on eBay: SEO landing pages rebuilt every six hours, buying stays on eBay

The first release of tinylistings. It turns the listings of one or more eBay seller accounts into a small, fast website that search engines can crawl, while buying and payment stay on eBay.

Highlights

  • Build listing pages for your eBay sellers from the official eBay Browse API, refreshed every 6 hours.
  • Get pages for each seller, category and brand, plus "New this week", each with its own title and description.
  • Add your own intro text above any seller, category or brand page.
  • Follow any seller, category or brand by email or Atom feed.
  • Tell Bing and Yandex about changed pages after each deploy through IndexNow.
  • Stay within the eBay API licence: sold listings lose their eBay content, and nothing promotes other marketplaces.

Upgrade

This is the first release, so there is nothing to upgrade. To set up your own site, fork the repository and follow the README:

  1. Edit site.toml with your sellers, site URL, site name and marketplace.
  2. Add the EBAY_CLIENT_ID, EBAY_CLIENT_SECRET, CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets, and the CF_PAGES_PROJECT variable.
  3. Optional: add the INDEXNOW_KEY variable with a random hex string, for example from openssl rand -hex 16.
  4. Create the Cloudflare Pages project and add your domain.

Details

Pages that can rank

Item pages point search engines at the eBay listing, so they don't compete with eBay for the same item. Seller, category, brand and "New this week" pages are the ones that rank. A page with fewer than 3 items is hidden from search engines until it grows. Pages carry structured data for products, offers and breadcrumbs, so search results can show prices and paths.

Intros

Put a text file at content/{seller|category|brand}/{slug}.md to show your own paragraphs above that page's listings. The first paragraph also becomes the page's search description. Without a file, the page shows a line such as "23 listings from 2 sellers".

Following by email

Every seller, category and brand page has its own Atom feed and a "Follow by email" link. The link opens Feedrabbit with that page's feed filled in, so visitors can follow only the listings they care about. The site itself still collects no email addresses, and the privacy page says so.

Sold listings

When an item sells, its page stays at the same address for 30 days with "This listing has ended" and similar listings. It keeps no eBay title, photo or price, because the licence requires removing eBay content that is no longer public.

Images

Tracker blockers such as Firefox's hide images served from eBay's image domain. Set image_transform in site.toml to serve photos from your own domain through Cloudflare's image resizing.

How we checked

Check Result
Test suite (python3 test_build.py) 89 asserts, all pass
Live build and deploy of 747661e Succeeded
IndexNow ping on deploy Accepted, no error returned
Per-hub feed on the live site /category/cds/feed.xml serves 12 entries

Known gaps

  • Item descriptions and item specifics are fetched once and then cached, to stay within eBay's daily call limit. Edits you make to them on eBay can take a long time to appear. Titles, prices and condition refresh on every build.
  • Google doesn't use IndexNow. Submit your sitemap in Google Search Console yourself.
  • Listings from other marketplaces, such as Vinted, can't be shown or linked. Vinted has no API for private sellers, and the eBay licence bans promoting competing marketplaces.

Issues closed

None. Issues are turned off for this repository.

View on GitHub

herdr-dash v0.3.0

Kanban board for herdr-managed agent sessions

You can now hide a session from the board by the name of the folder it runs in.

Highlights

  • Hides a session that runs in a folder whose name starts with a dot, until that session waits for you.

Upgrade

Run git pull and restart the board.

Details

Hide a session by its folder

Since v0.1.0 the board hides a session whose title starts with a dot. The title comes from Claude's session name, so a script that starts sessions for you cannot set it.

The board now also hides a session when the folder it runs in starts with a dot, for example a worktree at ~/worktrees/my-repo/.my-branch. As with dot titles, the card appears while the session is blocked and waits for you. A hidden session does not count towards the waiting number in the page title or on the dock badge.

How we checked

Check Result
python3 test_fresh.py, with new checks for a dot folder that is idle, a dot folder that is blocked and a normal folder passes

Known gaps

  • The board checks only the last part of the folder path. A session in a subfolder of a dot folder, such as .my-branch/src, stays visible.

View on GitHub

vivace v0.23.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • viv run, viv x and the platform checks now use the php on PATH, as Composer does, unless the project names its own PHP in extra.viv.php.
  • config.platform.php now only tells the solver which PHP to resolve for, as in Composer.
  • The Linux gnu binary now runs on CPUs without AVX, such as the Pentium J5005.
  • viv lock merge now gives up after 10 minutes instead of blocking git merge indefinitely.
  • viv now stops a php that does not answer its platform check within 30 seconds.

Upgrade

  • From source: make install, and make install-shim if you use the composer shim.
  • Debian or Ubuntu: install vivace_0.23.0-1_amd64.deb or vivace_0.23.0-1_arm64.deb from this release.
  • Homebrew: brew upgrade vivace.
  • crates.io: cargo install vivace.

If you ran viv php install on 0.19 to 0.22, run it again, or add "extra": {"viv": {"php": "8.4"}} to composer.json with your version. Without that key, viv now runs scripts on the php on PATH. The exact config.platform.php that viv php install wrote earlier still limits what the solver may pick, so remove it unless you want that limit.

Details

A project PHP of its own

Since 0.19, viv run treated config.platform.php as the PHP to run scripts on, and downloaded a static build of that exact version. Composer only uses that setting to decide which package versions fit. Projects pin it to their oldest supported PHP, so viv ran their scripts on the wrong PHP. One project's coverage job set up PHP 8.5 with a coverage driver, and viv run coverage ran on a downloaded 8.4.1 that had none.

The project PHP now has its own key, extra.viv.php. When it is set, viv run, viv exec, viv x and the platform checks in install, update, require, remove, new, diagnose and lock merge use that build. When it is not set, they use the php on PATH. viv php install <version> writes the key, and leaves config.platform.php alone.

Linux gnu binary on older CPUs

The 0.22.0 x86_64-unknown-linux-gnu binary stopped with "Illegal instruction" on CPUs without AVX, even for viv --version. GitHub's ubuntu-latest runner had moved to Ubuntu 26.04, and its compiler built the TLS library's C code with AVX instructions. The gnu binary is now built on Ubuntu 24.04 for the baseline x86-64 CPU. Before any file is published, the release now runs each x86_64 Linux binary on an emulated CPU without AVX. The musl binaries were never affected.

No more hung merges

A php that never answered viv's platform check could block a command indefinitely. As a git merge driver, viv lock merge then blocked git merge with it. viv now stops that php after 30 seconds and reports which binary did not answer. viv lock merge also stops after 10 minutes, whatever it is waiting on, and leaves your side of the lock untouched so git reports a conflict. VIV_PHP_PROBE_TIMEOUT and VIV_LOCK_MERGE_TIMEOUT change the limits in seconds, and 0 turns a limit off.

How we checked

Check 0.23.0 0.22.0
Pinned corpus: install rows identical to Composer 20 of 20 20 of 20
Pinned corpus: locks resolved the same 10 of 10 9 of 10
Pinned corpus: locks exported identical 10 of 10 10 of 10
Random sample: projects installed 7 of 10 8 of 10
  • 1 of 17 projects would refuse without --no-plugins: symfony/demo, because of symfony/flex.
  • The 3 random-sample projects that did not install publish only dev- versions, below the default minimum-stability.
  • An A/B run of 0.22.0 against 0.23.0 found no slowdown. Every warm and no-op timing stayed within its 15% tolerance:
Project Warm (ms) No-op (ms)
laravel 36.8 → 36.4 6.5 → 7.0
drupal/recommended-project 294.1 → 289.6 6.0 → 6.0
symfony/demo 48.2 → 45.4 9.6 → 9.5
  • The local bench gate failed its warm ratio, at 0.035 against a 0.026 baseline. viv's warm install took 37 ms, as in 0.22.0. Composer's took 1.05 s here against 2.7 s in the 0.22.0 run, so the ratio rose because Composer got faster. The A/B run above compares viv with viv and shows no change.
  • The new tests for each fix failed before the change and pass after it.
  • The full results are in compat/results/v0.23.0.md.

Known gaps

  • extra.viv.php takes a version such as 8.4 or 8.4.17, not a constraint such as ^8.4.
  • The platform checks never download a missing project PHP. They read the php on PATH and say how to install the build. Only viv run, viv exec and viv x download it.
  • viv diagnose still runs one php command without a time limit.
  • craftcms/craft resolved the same lock as Composer this time, but its result changes with Packagist's security-advisories feed. #316 (craftcms/craft resolves yii2-shell 2.0.6 where Composer picks dev-master, depending on the advisories feed) stays open.
  • symfony/flex has no adapter, so symfony/demo needs --no-plugins.

Issues closed

  • #397 (viv run uses the config.platform.php build instead of the php on PATH)
  • #396 (x86_64 gnu release binary crashes with SIGILL on CPUs without AVX)
  • #368 (lock merge: one run hung for 87 minutes past the fetch timeout)

View on GitHub

lamb 0.15.0-rc2

Self-hosted PHP microblogging platform with SQLite storage, Micropub, and full-text search

Second release candidate for 0.15.0. Since rc1, upgrades run their one-time data migrations as an explicit step, page views no longer write to the database, imported videos now play, and the Docker Compose install works again.

⚠️ Breaking changes

These are new since rc1:

  • A config.ini in the app root is no longer read on first run. Configure the site at /settings.
  • A ?page=N link now shows page one. Use /page/N.
  • One-time data migrations no longer run on boot. bin/upgrade runs bin/lamb migrate for you. Any other upgrade path needs it run by hand once.

The rc1 breaking changes still apply: the import-*.php shims are gone, theme feed overrides are ignored, and the Docker image is no longer published.

Highlights

  • Imported WordPress and Known videos download to your site and play as embedded videos, including classic [video] shortcodes.
  • Viewing a page never writes to the database, so readers can't hit a lock.
  • A database left unwritable by a wrong-user command now tells you how to fix it, instead of showing a stack trace.
  • Restoring a backup works without PHP's zip extension, and skips damaged entries instead of importing them.
  • A Help link on the admin bar opens the Lamb docs.
  • PHP 8.5 is the default. PHP 8.4 is still supported.

Upgrade

  1. Run bin/upgrade as the web server user, for example sudo -u www-data bin/upgrade. It installs dependencies with viv 0.22.0 or later if you have it, and with Composer otherwise. You don't need to install anything new.
  2. If you don't use bin/upgrade, run bin/lamb migrate once after switching to the new code.

Installs older than 0.14.0 must upgrade to 0.14.0 first. See docs/upgrading.md.

If you deploy with Docker Compose, rc1's compose file couldn't install dependencies. This release fixes it.

If every page fails with "attempt to write a readonly database", change the owner of data/lamb.db-wal and data/lamb.db-shm to the web server user. Don't delete them: they can hold posts that aren't in lamb.db yet.

How we checked

Check Result
Unit and acceptance tests 2,399 passed, 2 skipped
Lint and static analysis No errors
CI on PHP 8.4 and 8.5 Passed
Release checks: Docker with FrankenPHP, and nginx with php-fpm Passed

Known gaps

  • Imported video posters aren't kept, because Lamb's player has no poster.
  • viv older than 0.22.0 writes dependency files the web server can't read. bin/upgrade skips such a viv and uses Composer.
  • Three major dependency updates are deferred until after 0.15.0: php_codesniffer 4, symfony/process 8 and symfony/yaml 8.

Issues closed since rc1

  • #772 (bound the webmention author field like content)
  • #791 (login throttle message disagrees with the Retry-After header)
  • #811 (retention policy for the boot-time data migrations)
  • #813 (drop the legacy ?page=N redirect)
  • #814 (retention policy for the lazy post-upgrade path)
  • #831 (WAL sidecars owned by another user make every request fail)
  • #874 (recovery steps when WAL sidecars make lamb.db read-only)
  • #875 (restore a zip without ext-zip)
  • #876 (importer leaves video files on the source host)
  • #877 (imported videos don't render as players)
  • #881 (importer doesn't convert [video] shortcodes)
  • #882 (restore imports damaged bytes from a bad zip entry)
  • #890 (link to the Lamb docs from the admin bar)
  • #894 (docker-compose viv service fails)

Full list: CHANGELOG.md.

View on GitHub

vivace v0.22.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • composer <script> through the shim now runs the project's own script, as Composer does.
  • viv update now locks 4.4.0 instead of 4.4.0-RC1 under minimum-stability: dev, and the crates.io build has the fix too.
  • viv update --lock and viv validate --fix now refresh the platform, stability and prefer settings from composer.json.
  • viv install now accepts a dist that is a path to a local zip.
  • viv install now works on projects that use automattic/jetpack-autoloader, without --no-plugins.
  • viv install without a composer.lock now resolves, writes the lock and installs, as Composer does.

Upgrade

  • From source: make install, and make install-shim if you use the composer shim.
  • Debian or Ubuntu: install vivace_0.22.0-1_amd64.deb or vivace_0.22.0-1_arm64.deb from this release.
  • Homebrew: brew upgrade vivace.
  • crates.io: cargo install vivace.

The first viv update after upgrading downloads each repository's metadata once, because the metadata cache moved to a per-repository layout. Run viv cache prune to remove the old cache directory.

Details

The shim runs root scripts

composer test, composer lint and any other script in the root composer.json now run through viv run. Before, the shim passed an unknown name to a real Composer, and failed on machines that have none. Composer's own commands keep their meaning: a script named after a Composer command does not replace it.

Pre-release ranking

viv update ranked a numbered pre-release such as 4.4.0-RC1 above 4.4.0, so a project with minimum-stability: dev could lock the release candidate. The bug was in the semver-php library viv uses. Its maintainer has not yet answered the fix we sent upstream, so viv now carries a fixed copy of the library. Every build, including cargo install vivace, ranks versions as Composer does.

Lock refresh

viv update --lock and viv validate --fix used to copy minimum-stability, stability-flags, prefer-stable, platform and platform-overrides from the old lock. A change to those settings in composer.json therefore never reached the lock. Both commands now write them from composer.json, as Composer does. update --lock also records its own --prefer-lowest flag.

Local dists

A lock whose dist.url is file://... or a relative path to a zip now installs from that file. viv checks the zip against dist.shasum when the lock has one.

Other fixes

  • A failed viv require puts composer.json and composer.lock back as they were.
  • viv cache prune keeps the git mirrors that source installs need.
  • Files in vendor/composer/ are written with your umask, so PHP running as another user can read them.
  • A partial update that needs a newer locked package now says so and suggests --with-all-dependencies, instead of saying the package does not exist.

How we checked

Check 0.22.0 0.21.0
Pinned corpus: install rows identical to Composer 20 of 20 20 of 20
Pinned corpus: locks resolved the same 9 of 10 9 of 10
Pinned corpus: locks exported identical 10 of 10 10 of 10
Random sample: rows identical (others skipped) 16 (4 skipped) 12 (8 skipped)
  • 1 of 19 projects would refuse without --no-plugins: symfony/demo, because of symfony/flex.
  • The bench gate passed on laravel: a warm install took 37.7 ms (0.014 of Composer's time, against a 0.026 baseline) and a no-op install took 7.3 ms (0.006, against 0.007).
  • An A/B run of 0.21.0 against 0.22.0 found no slowdown on laravel, drupal or symfony/demo. Every warm and no-op timing stayed within its 15% tolerance.
  • The full results are in compat/results/v0.22.0.md.

Known gaps

  • craftcms/craft still resolves symfony/var-dumper to 5.4 where Composer picks 7.4, so its lock differs, as it did in 0.21.0. #316 (craftcms/craft resolves yii2-shell 2.0.6 where Composer picks dev-master, depending on the advisories feed) tracks this project's lock differences. viv installs it identically from a Composer-written lock.
  • symfony/flex has no adapter, so symfony/demo needs --no-plugins.

Issues closed

  • #390 (update --lock: lock's minimum-stability, stability-flags and prefer-stable stay stale after composer.json changes)
  • #389 (viv install refuses automattic/jetpack-autoloader plugin)
  • #388 (install: dist URL that is a relative path to a local zip is rejected)
  • #386 (minimum-stability dev locks a pre-release over the stable release of the same version)
  • #380 (update --lock: lock's platform and platform-overrides stay stale after composer.json changes)
  • #379 (Shim: composer <script> falls through to a missing Composer instead of running the root script)
  • #366 (viv --help and man pages say install works only from composer.lock)
  • #365 (tests: two tests set environment variables without a lock)
  • #363 (update cannot find roots/wordpress-no-content 6.9.10, which Composer resolves)
  • #360 (cache prune deletes the git-v0 source mirrors)
  • #336 (packaging: shell completions for viv)
  • #335 (packaging: ship man pages for viv and the composer shim)
  • #288 (A failed require leaves composer.json rewritten, with unrelated keys reordered)

View on GitHub

herdr-dash v0.2.0

Kanban board for herdr-managed agent sessions

You can now open the board from your phone over a private network.

Highlights

  • Opens the board from your phone or another device over a private network such as NetBird or Tailscale.
  • Shows the board in the stacked phone layout on a phone, with readable text.

Upgrade

Run git pull and restart the board.

To reach the board from your phone, set HERDR_DASH_BIND to this computer's address on your private network before you start the board:

HERDR_DASH_BIND=100.64.0.7 ./herdr-dash.py

Then open http://100.64.0.7:7655 on the phone. If you start the board from the desktop launcher, set the variable in your login environment, for example in a file under ~/.config/environment.d/.

Details

Open the board from your phone

The board always listens on 127.0.0.1. HERDR_DASH_BIND adds more addresses, separated by spaces. Tapping a card focuses that pane in herdr on your computer, the same as a click on the desktop.

The board has no login. Anyone who can reach the address can see your sessions and focus panes, so use an address on a network that only you can join.

Phone layout

Phones used to show the board as a scaled-down desktop page, so the text was too small to read. The board now tells the browser to use the phone's own width, so the stacked layout applies.

How we checked

Check Result
python3 test_fresh.py, with new checks for the listen addresses and the phone layout tag passes
Board on 127.0.0.1 and on a NetBird address both answer
Board on an iPhone over NetBird the stacked layout shows, and tapping a card focuses the pane

Known gaps

  • If the private network is down when the board starts, the board skips that address. It stays localhost-only until you restart it.
  • Card titles are inserted into the page without escaping. This is safe only while every address the board listens on is private to you.

View on GitHub

herdr-dash v0.1.0

Kanban board for herdr-managed agent sessions

First tagged release of herdr-dash, a kanban board for your herdr agents.

Highlights

  • Shows every herdr agent pane as a card in one of four columns: waiting for you, in progress, idle and done.
  • Focuses a pane in herdr when you click its card.
  • Shows agents on other machines, one tab per host, after you register each host with herdr-board register.
  • Shows how many sessions wait for you in the page title and as a badge on the dock icon.
  • Hides any session whose title starts with a dot until that session waits for you.
  • Reloads the board by itself when its connection to the server goes silent, for example after the laptop sleeps.

Upgrade

This is the first release. To install it, clone the repository and run ./herdr-dash.py, or run ./herdr-board to open the board in its own window. To move an existing checkout to this release, run git pull and restart the board.

Details

Hidden sessions

Rename a Claude session so its title starts with a dot, for example /rename .diff. The board then leaves its card out. The card comes back while the session is blocked and waits for you. A hidden session does not count towards the waiting number in the page title or on the dock badge.

Colours

Blocked cards are red and working cards are orange, which matches herdr's own colours.

Dock badge

The badge works in docks that support the Unity launcher API, such as Plank and the Ubuntu dock. It needs the system Python's PyGObject. Without PyGObject the board runs as before and shows no badge.

How we checked

Check Result
python3 test_fresh.py (card status, changed-card outline, host keys, hidden sessions) passes
Board run against a live local herdr and one remote host cards appear, and the .diff session stays hidden while idle

Known gaps

  • Clicking a card from a remote host focuses the pane in that host's herdr, but it cannot bring forward the terminal that runs herdr --remote.
  • Card titles are inserted into the page without escaping. This is safe only because the board listens on 127.0.0.1 and the titles come from your own terminals.
  • The board recognises Claude's status words ("thinking", "running") by a fixed word list. A new status word can replace the session's name on its card until the list is updated.

View on GitHub

vivace v0.21.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • viv isolate prefixes a WordPress plugin's bundled libraries, so a plugin that ships its own Guzzle or AWS SDK stops clashing with the site's copy.
  • viv install warns when a plugin bundles a library the site also installs.
  • Tab completion for bash, zsh and fish, and man pages, in the .deb, the tarballs and the Homebrew formula.
  • viv install runs on Altis sites without --no-plugins.
  • viv x runs tools on the project's pinned PHP.
  • composer --version works through the shim when no real Composer is installed.

Upgrade

  • From source: make install. It now also refreshes the composer shim if you installed it, so the two stay on the same version.
  • Debian or Ubuntu: install vivace_0.21.0-1_amd64.deb or vivace_0.21.0-1_arm64.deb from this release.
  • Homebrew: brew upgrade vivace.
  • Tarballs: the archive now carries man/ and completions/ beside the binary.
  • crates.io: cargo install vivace.

Details

Isolating a plugin's bundled libraries

Many WordPress plugins ship their own vendor/. When the site installs a different major version of the same library, whichever loads first wins, and the other plugin breaks at runtime. viv install now names each library a plugin bundles that the site also installs.

To fix one, run viv isolate <package> or list the package under extra.viv.isolate. viv rewrites the plugin's bundled tree under its own namespace prefix with php-scoper, on the project's pinned PHP. It then lints the result and loads the plugin against the real WordPress function stubs. If either check fails, viv keeps the plain tree and changes nothing. viv isolate --list shows what is isolated; --rm undoes it.

On the site whose AWS SDK plugin caused the clash this was built for, a cold isolate takes 87 s and the plugin loads afterwards.

Shell completions and man pages

Run viv completions zsh (or bash, fish) to print a completion script. The packages install these for you, along with a man page for viv and one for each subcommand: man viv-install.

Altis sites

The Altis Composer plugins altis/cms-installer, altis/core and altis/dev-tools-command now have native adapters. viv install places every package where Composer places it, without --no-plugins.

Smaller fixes

  • Two viv processes running at once no longer fail with could not lock config file on a git mirror.
  • viv lock merge stops fetching a commit that is gone upstream on every run, and names the package and both sides when one branch removed a dev-* package the other moved.

How we checked

Check Result
Tests 1053 passed, 6 skipped
Compat sweep, pinned corpus 20 of 20 install rows give a byte-identical vendor/
Compat sweep, lock compare 9 of 10 locks resolve identically; 10 of 10 exports identical
Compat sweep, random sample 12 rows identical, 8 skipped because Composer itself failed
Plugins 1 of 16 projects (symfony/demo, symfony/flex) still needs --no-plugins
bench-ab against v0.20.0 warm and no-op within tolerance on laravel, drupal and symfony/demo

bench-ab medians, v0.20.0 to v0.21.0, same machine:

Project Warm No-op
laravel 36.6 → 37.1 ms 6.5 → 6.9 ms
drupal/recommended-project 286.8 → 289.1 ms 6.3 → 5.9 ms
symfony/demo 45.5 → 47.9 ms 9.3 → 9.3 ms

The local ratio gate (make bench-check) failed on warm: 0.036 against a committed baseline of 0.026. bench-ab, which times both versions back to back on one machine, shows no change, so the baseline needs refreshing rather than viv needing a fix.

The full sweep is in compat/results/v0.21.0.md.

Known gaps

  • craftcms/craft still resolves a different lock from Composer's (#316).
  • symfony/demo needs --no-plugins because symfony/flex is refused; #361 checks whether it is safe to skip on install.
  • viv cache prune deletes the cached git mirrors. The next install of a git-sourced package clones them again (#360).

Issues closed

  • #326 (refactor: the composer shim's flag translation loop exists twice)
  • #334 (build: test binaries with full debuginfo grow target/debug/deps by ~2 GB per commit)
  • #335 (packaging: ship man pages for viv and the composer shim)
  • #336 (packaging: shell completions for viv)
  • #346 (g3 candidate 3.2 follow-up: site-installed libraries that an active plugin also bundles)
  • #348 (lock merge: a pinned commit missing upstream is fetched again on every run)
  • #349 (git cache: parallel viv processes race on the bare repository's config)
  • #350 (g3: detect a bundled library clashing with the site's copy)
  • #351 (g3: extra.viv.isolate prefixes a plugin's bundled tree with php-scoper on the pinned PHP)
  • #352 (g3: a scoped plugin still boots, checked and recorded)
  • #353 (g3: viv x resolves a tool against the project's pinned PHP, not the PATH PHP)
  • #354 (g3: php-scoper needs memory_limit=-1 and viv isolate needs --no-plugins)
  • #355 (Altis plugins: classify altis/cms-installer, altis/core, altis/dev-tools-command so viv install works without --no-plugins)
  • #357 (g3: boot check with the real WordPress stubs, parallel lint, no partial state on failure)

View on GitHub

vivace v0.20.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • A project can commit viv.lock alone: viv install generates composer.lock from it, and viv lock export --check proves the two agree.
  • viv lock merge finishes 46 of the 52 real merges that still needed a person: a dev-* branch both sides moved keeps the later commit, and a commit the registry no longer describes is fetched from git.
  • Candidate 3.3 of the research programme, a lock that pins commits, is measured, built and shipped in one day.

Upgrade

cargo binstall vivace      # or: brew upgrade svandragt/tap/vivace
make install               # from a checkout; make install-shim for the composer drop-in

Container image ghcr.io/svandragt/vivace:0.20; GitHub Actions uses: svandragt/vivace/action@v0 with version: v0.20.0.

If you already have a viv.lock, run viv lock convert once: records written before this release lack the package block and commit time the new commands need, and viv install says so if you skip it.

Details

viv.lock as the only committed lock

viv lock export writes composer.lock from viv.lock through the same writer viv update uses, byte for byte: on all ten pinned compatibility projects the export equals the committed file. --check compares without writing.

viv install in a project with viv.lock and no composer.lock generates it first and prints one line. With both present it writes nothing; if they disagree it refuses and names the two commands that rewrite either side. viv init --lock native and viv lock convert mark composer.lock as generated in .gitattributes, so reviews collapse it.

To make the export exact, a viv.lock record now carries Composer's own package block and the commit time. That makes viv.lock larger than before; the trade is a lock you can merge by record and still hand to Composer unchanged.

Merging rolling branches

A dev-* requirement (roave/security-advisories dev-latest is the usual one) moves on both sides of nearly every merge. The driver now identifies such a record by its commit and keeps the later one; that name is never re-resolved against the registry (the solve viv runs for names the two branches changed differently). Equal or missing times are a conflict that names both commits.

When that solve does need a pinned commit that Packagist's branch entry no longer describes, viv fetches that commit's composer.json from the package's git source, once per machine, and says fetching <package> at <sha> on stderr. --offline errors naming the package and commit.

Research: candidate 3.3

Replayed with the shipped driver over the 52 client merges chapter 1's driver left to a person, no model in the loop: 46 finish, 6 do not, none time out; 22 commit fetches on a cold cache, one on a warm one. The six that remain are three wpackagist plugins that no longer exist in any version, one commit gone from its upstream repository, one malformed composer.json and one unclassified. Chapter 1's floor of 51 unfinished merges in 355 is now 6, 1.7%. Write-up: docs/research.md candidate 3.3 and bench/results/lockmerge.md.

How we checked

Check Result
Compat sweep, pinned corpus 20 of 20 install rows identical to Composer 2.10.2
Compat sweep, lock compare 10 of 10 resolve the same lock
Compat sweep, export 10 of 10 viv lock export byte-equal to the committed lock
Compat sweep, random sample 6 of 6 installable rows identical; 8 skipped by Composer itself
Plugins refused 1 of 16 projects (symfony/demo, symfony/flex, by design)
Bench gate on CI passed on every push today; locally viv laravel warm 40.2 ± 4.1 ms, an install with nothing to do 7.1 ± 0.3 ms (the local warm ratio fails the runner baseline as on every release)
A/B per change viv.lock-only install path: an install with nothing to do within 0.4 ms on laravel, symfony/demo, drupal; other changes off the install path
Tests 985, all passing

Full sweep: compat/results/v0.20.0.md.

Known gaps

  • A pinned commit that is gone from its upstream repository is fetched again on every run instead of being remembered as missing (#348).
  • Four or more viv processes sharing one cache can race on the git cache's config file (#349).
  • One of the six residual merges ends in conflict markers with nothing on stderr; not yet classified.
  • viv.lock records written before 0.20.0 need one viv lock convert before viv lock export works.

Issues closed

  • #331 (g3 candidate 3.3: a lock that pins commits and merges by record)
  • #343 (g3: dev-* records identified by commit, later commit wins in lock merge)
  • #344 (g3: composer.lock generated from viv.lock on demand)
  • #345 (g3: fetch a pinned dev-* commit Packagist no longer describes)
  • #347 (g3: viv.lock records carry the commit time so dev-* merges by commit under viv.lock)

View on GitHub

vivace v0.19.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • viv php install downloads a self-contained PHP build and pins it in composer.json; no root, no system package manager.
  • viv run <name> runs a script, a vendor/bin tool or any command on the pinned PHP, and installs that PHP on first use.
  • Plugin adapters for installers, WordPress core, Drupal scaffold and patches now read their rules from data files; the output is unchanged.
  • The solve guesses the root version from git the way Composer does, so self.version requires resolve the same.
  • Generation 3 measured: five candidates, two built in this release, one held for a build decision, two not built.

Upgrade

cargo binstall vivace      # or: brew upgrade svandragt/tap/vivace
make install               # from a checkout; make install-shim for the composer drop-in

Packages: .deb and tarballs on this release; container image ghcr.io/svandragt/vivace:0.19. GitHub Actions: uses: svandragt/vivace/action@v0 with version: v0.19.0.

Details

A PHP per project

viv php install 8.4 fetches the newest 8.4.x static-php-cli build (Linux and macOS, x86_64 and aarch64, intl included) into the store and writes config.platform.php to composer.json. A project that already pins config.platform.php, as Altis and many CI setups do, needs no argument: viv php install reads the pin. viv php list shows the builds in the cache.

viv run phpunit looks for a scripts entry first, then vendor/bin/phpunit, then phpunit on PATH, and runs it with the pinned PHP's directory first on PATH. Scripts get the same PATH, so @php and a plain php inside them hit the pinned build. If the pinned build is not in the cache yet, run and exec install it and say so on stderr; --offline keeps the old error.

Two things to know. viv's own flags go before the tool name: viv run -d ../app phpunit; everything after the name belongs to the tool, so viv run php -v works, and one leading -- is dropped for the run-script test -- --filter habit. And a project whose PHP runs in a container (ddev, Altis local-server) keeps its own wp/exec wrappers; the pin is for tools on the host and for CI.

Upstream publishes no checksums for these builds. viv records its own sha256 after the first download and refuses plain-http downloads; a request for published checksums is open with static-php-cli.

Plugin adapters as data

composer/installers, both WordPress core installers, drupal/core-composer-scaffold and cweagans/composer-patches now take their rules from TOML files embedded in the binary. The mechanics, path templates, file copying and patch application, are unchanged Rust, and a fixture generated from the old table checks every one of the 288 installer paths still resolves the same. docs/plugin-strategy.md says when a plugin is a data file and when it needs an adapter; a plugin viv has neither for is still refused, never run.

Root version in the solve

Composer guesses a project's own version from git when composer.json has no version: a tag at HEAD, else dev-<branch>. viv did that for installed.php but the solve always took 1.0.0, so a self.version require could resolve differently. The solve now applies the same order as Composer: explicit version, COMPOSER_ROOT_VERSION, the git guess, then 1.0.0.

Generation 3

docs/research.md now measures five candidates for what a PHP package manager could be if it no longer had to produce Composer's output.

  • 3.1 Managed PHP toolchain: holds; built as above.
  • 3.4 Installs that run no code: 25 of the 40 most-downloaded Composer plugins are declarable as data; 16 of 20 corpus projects run code at install. Holds; built as the adapters-as-data change.
  • 3.3 A lock that pins commits: over the 52 client merges the lock-merge driver still leaves to a person, pinning dev-* records by commit with the later commit winning finishes 37 with no person; chapter 1's floor of 51 unfinished merges of 355 falls to 15. Holds; the build is a separate decision.
  • 3.2 Isolation per plugin: 46 of the 100 most popular WordPress.org plugins bundle vendor/, 5% of bundled copies are prefixed, and the real collisions (Guzzle 6 against 7, Monolog 1 against 2, php-jwt 5 against 6) sit in shipped zips. Not built until a count on Composer-managed sites says how often a site's own copy meets a bundled one.
  • 3.5 Simpler resolution rules: the features no project uses caused no bugs; the bug-prone ones are used by most projects. Not built.

How we checked

Check Result
Compat sweep, pinned corpus 20 of 20 install rows identical to Composer 2.10.2
Compat sweep, lock compare 10 of 10 projects resolve the same lock
Compat sweep, random sample 16 of 16 installable rows identical; 4 skipped by Composer itself
Plugins refused 1 of 18 projects (symfony/demo, symfony/flex, by design)
Bench gate on CI passed on every push; laravel warm 37.9 ms locally, unchanged from the day's A/B runs
A/B per change adapters as data: laravel warm 37.5 to 36.8 ms, symfony/demo 48.1 to 44.7 ms, drupal 298.7 to 294.7 ms; the other changes flat
Tests 965, all passing

Full sweep: compat/results/v0.19.0.md.

Known gaps

  • The newest PHP static-php-cli publishes is 8.4; a project needing 8.5 cannot pin it yet.
  • viv run wp plugin list on an Altis or ddev project runs on the host, not in the container; use the project's own wrapper there.
  • The bench gate's warm ratio fails on a fast local machine against the runner baseline; the same gate passes on the runners.
  • viv run and viv exec need viv install to have run first for a vendor/bin tool; for a tool that is not in the project, viv x installs it in isolation.

Issues closed

  • #312 (update: the solve never uses the git-guessed root version, only installed.php does)
  • #329 (g3 candidate 3.1: manage the PHP toolchain)
  • #330 (g3 candidate 3.2: isolate dependencies per plugin)
  • #332 (g3 candidate 3.4: installs that run no code)
  • #333 (g3 candidate 3.5: simpler resolution rules)
  • #337 (g3: viv php install from static-php-cli builds)
  • #338 (g3: viv run on the project's pinned PHP)
  • #339 (g3: intl for the managed PHP)
  • #340 (g3: path-mapping adapters as data files)
  • #341 (g3: scaffolding and patching adapters as data files)
  • #342 (g3: plugin boundary doc and the allow list)

View on GitHub

vivace v0.18.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • Install projects with old locks the way Composer does: four differences found in locks from 2015 to 2025 are fixed.
  • Record release times in installed.json in Composer's format, keeping a time's own offset.
  • Install a package whose name has capitals into the folder Composer uses.
  • Pick the same file as Composer when two files declare one PHP class.
  • Merge more lock conflicts without a person, with the opt-in viv lock merge --offline-rung.
  • Measured: 40 committed locks up to 11 years old all still install, so there is nothing to build for old locks.

Upgrade

make install        # the viv binary
make install-shim   # the composer shim, if you use it

The .deb packages, the container image (:0.18, :0.18.0, :0) and the GitHub Action (with: { version: v0.18.0 }) carry the same build. Nothing to migrate: locks, vendor/ and the store are unchanged. A project with a mixed-case package that viv installed before this release gets that package moved to its correctly cased folder on the next viv install.

Details

Old locks now install as Composer installs them

We installed 40 committed locks from public projects, dated 2015 to 2025, with both Composer and viv, and compared vendor/ file by file. Four differences turned up, none of which the current test projects reach:

  • Release times. A lock written by Composer 1 stores times as 2015-12-30 14:47:00. Composer 2 writes them into installed.json as 2015-12-30T14:47:00+00:00, and viv copied the old form. viv now converts them the same way. A time that carries its own offset, such as +02:00, keeps it, as in Composer. The same fix applies to the lock viv update writes.
  • Package names with capitals. Early Packagist names such as jeremeamia/SuperClosure kept their capitals. Composer installs them under that name; viv used a lowercase folder. viv now uses the name as the lock spells it.
  • A class declared twice. When two files declare the same class, Composer keeps the first file its directory walk finds. viv sorted the files first and so could keep the other one. It now follows the walk order.
  • Branch aliases. When a package installed from a branch has an alias, for example dev-master as 5.2.x-dev, and replaces other packages at its own version, Composer lists both versions in installed.php. viv listed only the branch. It now lists both.

An opt-in fallback for lock merges

viv lock merge merges composer.lock by package. When both branches changed the same package, it asks the registry for versions that fit both, and it leaves conflict markers when that fails. With --offline-rung, it tries one more step before giving up: it keeps one branch's locked version if the two locks' own requirements show it still fits, without contacting the registry.

We replayed 355 real merges from four client projects. Of the 52 that end in conflict markers, the fallback finished 37. Of those 37, 30 install from an empty cache and 7 fail on one package that needs a paid licence to download. In 13 of them it kept an older version than the branch it set aside had chosen, which is a choice a conflict marker would have made a person look at.

It stays off by default. The replay runs merges years after they happened, when a branch dependency such as dev-main has moved on, so the registry cannot resolve them. In a merge made today, that usually still works, and the fallback runs only when a branch dependency moved or a package was removed between writing the lock and merging.

How we checked

Check Result
Compatibility sweep, pinned projects: install 20 of 20 rows identical to Composer's, byte for byte
Compatibility sweep, pinned projects: lock resolved from scratch 9 of 10 identical; craftcms/craft differs, see Known gaps
Compatibility sweep, random sample of 10 packages 8 of 8 installed rows identical; 12 rows skipped because Composer itself could not resolve the package or its platform check failed
40 old locks, empty caches viv installed 40, Composer 39 (one 2019 lock fails Composer's newer package-name check); 37 identical, and the other 3 are identical when both tools run in one plain clone
Speed, before and after each fix, on laravel, drupal and symfony/demo warm install and a repeat install with nothing to change both within noise; on laravel the repeat install takes 5.0 ms against 5.2 ms before, over 40 interleaved runs
Test suite 926 tests pass

Known gaps

  • craftcms/craft resolves yii2-shell 2.0.6 where Composer picks dev-master. Both are valid; the two solvers search in a different order, and the security-advisories feed decides which way Composer's search ends. Installing from an existing lock is unaffected, and it is not a regression (#316).
  • When composer.json names no version, the solve uses 1.0.0 for the root package, where Composer guesses it from git. installed.php already uses the guess (#312).
  • On a require cycle, Composer itself orders autoload_files.php differently with a cold and a warm cache; viv always writes the warm order (#301).
  • The compatibility sweep compares file contents, not file permissions (#291).
  • A failed viv require leaves composer.json rewritten, with unrelated keys reordered (#288).
  • vendor/composer/LICENSE matches Composer's source; composer.phar writes it with two extra blank lines (#266).

Issues closed

  • #307 (research candidate B: install from a lock years later, what breaks by age)
  • #313 (bench: run.sh's skip-update message always cites bench/skips.txt)
  • #314 (lock merge: an offline rung that keeps a parent's pin when the lock's own metadata says it fits)
  • #317 (install: installed.json keeps a Composer 1 lock's time format where Composer writes RFC 3339)
  • #318 (install: a mixed-case package name installs into a lowercase vendor directory)
  • #319 (autoload: for a class declared twice, the classmap keeps a different file from Composer's)
  • #320 (bench: lockmerge run.py drops a crashed merge from every count without a note)
  • #321 (bench: mirror.sh's curl has retries but no timeout, so a suspend hangs the sweep)
  • #322 (installed.php: a branch-aliased package's self.version replace lists only the branch, not the alias)
  • #328 (compat: lock-age --verify still reports differences that are harness artefacts)

View on GitHub

vivace v0.17.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • viv workspace init <pattern>... writes one top-level composer.json that requires every package in the repository and installs it; viv workspace add <path> grows it by one member.
  • viv init and viv add take --repository type:url, repeatable, to append a repository entry directly.
  • Key every install cache off one snapshot per run; no behaviour change and no change in speed.
  • Close three research questions with nothing to build: an append-only ledger lock gains nothing over the merge driver, a one-package update already fetches only what it needs, and last release's platform check already catches a lock that drifts from the PHP it runs on.

Upgrade

make install        # the viv binary
make install-shim   # the composer shim, if you use it

Packages, the container image (:0.17, :0.17.0, :0), the GitHub Action (with: { version: v0.17.0 }) carry the same build. Nothing to migrate: locks, vendor/ and the store are unchanged.

Details

Aggregate workspaces get their own commands

viv workspace init plugins/* themes/* writes the top-level composer.json chapter 3's research settled on: one path repository per pattern, one require line per package a pattern matches, then a resolve and install. With no patterns it prints the discovery listing instead of writing anything. viv workspace add plugins/new-one adds one more member to an existing root and resolves again. The file this writes is ordinary Composer input, so composer install accepts it too; viv workspace list still reports a workspace's members and their inter-requirements.

--repository on init and add

--repository type:url, repeatable, appends a repository entry to composer.json without a follow-up edit — the same flag workspace init/workspace add use internally to wire up their path entries.

One cache snapshot per run

The four install-path caches (lock hash, php probe and two others) previously each computed their own key; now one Snapshot is built once per run and every cache reads from it. No behaviour changes. make bench-ab measured warm within ±15 ms and a no-op install (nothing to change) within ±1.1 ms on laravel, drupal and symfony, the sign flipping between runs; a 60-run hyperfine of the laravel no-op install gave 5.2 ms to both binaries either side of the change.

Three research questions, nothing to build

  • An append-only ledger lock. Could git's own merge=union merge a differently-shaped lock with no driver at all? Replaying 381 real merges found no case where it silently merged a real conflict, so the format is safe. On its own it finishes 291 of them; the merge driver finishes 329, because a real conflict needs the dependencies solved again against the registry. GitHub reports a pull request that only appends to a merge=union file as not mergeable, and a local merge still stops on the committed composer.lock. The driver stays the only merge path.
  • Lock-seeded solving. Does a one-package viv update waste time fetching packages that stay locked? No: it already fetches exactly one provider file per bench project, hub packages included, because the pool builder never queues metadata for a package the lock already fixes.
  • Locks solved on one PHP, installed on another. How often does a committed lock refuse the PHP that runs it? In 3 of 20 corpus projects with a lock — and all 3 are already caught by last release's platform check the day their CI adds the newer PHP, so a platform snapshot in the lock wouldn't have warned any sooner.

How we checked

Check Result
Compat sweep, pinned projects (install) 20 of 20 rows with a vendor/ identical to Composer's, byte for byte
Compat sweep, pinned projects (lock compare) 9 of 10 resolve the same composer.lock
Compat sweep, random sample 14 of 20 rows identical, 6 skipped where Composer itself failed or a platform requirement wasn't met
Plugin refusal 1 of 18 projects would refuse without --no-plugins
CI bench gate green on every push since v0.16.0
Test suite make check green

The tenth pinned lock compare, craftcms/craft, resolves yii2-shell to 2.0.6 where Composer picked dev-master on the day the sweep ran; both are valid answers to the same requirements. The two solvers search in a different order, and the security-advisories feed, by changing which versions of other packages are available, decides whether Composer's search ends on dev-master. Against the same frozen mirror, v0.16.0 resolves 2.0.6 too, so this is not a regression, and installing from a lock Composer wrote is unaffected. Filed as #316.

The local bench gate stays known-not-to-gate on this machine (a warm floor below Composer's own here); CI's bench job, which does gate, was green on every push since v0.16.0.

Known gaps

  • The solve still uses 1.0.0 as the root version when composer.json has none, where Composer guesses it from git (#312).
  • Composer's "; overridden via config.platform, actual: x" wording is not reproduced; viv prints the plainer form.
  • --ignore-platform-req=php+, the upper-bound-only form, is not implemented.
  • A require cycle makes Composer itself order autoload_files.php differently between a cold and a warm cache; viv always writes the warm order (#301).
  • craftcms/craft's lock compare can pick a different yii2-shell version from Composer's, depending on the security-advisories feed at solve time (#316). Installs from an existing lock are unaffected.
  • Three small compat items remain open on demand: vendor/composer/LICENSE blank lines (#266, now skipped by the workspace vendor-tree test rather than fixed), a failed require rewriting composer.json (#288), file modes in the sweep (#291).

Issues closed

  • #315 (workspace: viv workspace init writes the aggregate root from member globs)
  • #311 (install/update: one Snapshot per run as the key for every cache)
  • #306 (research candidate A: append-only ledger lock, measure merge=union against the driver)
  • #308 (research candidate C: lock-seeded solving, measure wasted fetch on a one-package update)
  • #309 (research candidate D: locks solved on one PHP, installed on another)

View on GitHub

vivace v0.16.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • viv install now refuses, before writing anything, when the lock needs a PHP version, extension or library your PHP does not have, with Composer's exact wording.
  • --ignore-platform-reqs and --ignore-platform-req now change what update, require and remove resolve, not only the generated platform check.
  • Top-level path repositories work: a project that requires sibling packages from a directory glob resolves and installs as it does under Composer.
  • self.version in your own composer.json resolves to your package's version.
  • Warm viv install -o on a Laravel project takes 53 ms instead of 78 ms.
  • Chapter 3 of the research programme, workspaces, is measured and closed: an aggregate root already gives what a workspace would.

Upgrade

make install        # the viv binary
make install-shim   # the composer shim, if you use it

Packages, the container image (:0.16, :0.16.0, :0) and the GitHub Action (with: { version: v0.16.0 }) carry the same build. Nothing to migrate: locks, vendor/ and the store are unchanged.

Details

Install checks the platform first

Composer's install verifies the locked set against your PHP before it downloads anything and exits 2 with a Problem trace when an extension is missing. viv used those requirements only to write platform_check.php, so the failure moved to the first PHP request. Now viv install evaluates every php, ext-* and lib-* requirement in the root and in each locked package, honours config.platform, and refuses with the same wording and exit code. --ignore-platform-reqs skips the check; --ignore-platform-req=<name> (globs allowed) skips matching requirements. config.platform-check: false does not disable it, as in Composer. With no php on PATH the check is skipped, so a build stage without PHP keeps working.

The verdict is cached in the store, keyed on the lock, composer.json, the PHP binary, config.platform and the flags, so an unchanged project pays one stat and one small read. Without that cache the first constraint parse in a process compiled the version parser's regexes and nearly doubled the no-op install; the cache took it back to 5.2 ms on Laravel, the same as 0.15.0.

Ignore flags reach the solve

The flags used to affect only the generated platform check. They now drop the matching platform requirements before the pool is built, where Composer's own filter acts, so viv update --ignore-platform-reqs resolves a package pinned to a PHP this machine lacks. The php+ upper-bound form is not implemented.

Path repositories

A "type": "path" repository with a glob or plain relative url is scanned the way Composer's PathRepository does it: each matched directory's composer.json becomes a package with dist.type: path, a reference derived from the file and the options (the git commit when the directory has its own repository), transport-options from options.symlink and options.relative, and a version from options.versions, the file, or the git guess. Sylius components and WooCommerce's main plugin, which both declare such repositories, resolve now. Not covered: ~ and environment variables in the url, brace and bracket globs, options.reference.

Faster optimised autoload

Three changes, each gated by an A/B against the previous binary: the root package's classmap scan is cached by directory fingerprint, the classmap merge and render allocate less, and each archive's classmap sidecar is stored in its final key form. Link concurrency was measured at the syscall floor and left alone.

Chapter 3, workspaces

The chapter asked whether one lock over several composer.json roots beats what Composer offers. Practitioners pointed out the real alternative is one aggregate root built from path repositories, so the chapter measured against that first. On ten public repositories, members are installed alone on three, and on those the standalone and aggregate solves agree on every shared package. The two repositories shaped most like a workspace could not be solved at first because of two viv bugs, fixed in this release; the rerun confirmed the result. The chapter closes as measured and not pursued, and the measurement found the path-repository and self.version gaps above.

How we checked

Check Result
Compat sweep, pinned projects 20 of 20 rows byte-identical vendor/
Compat sweep, lock compare 10 of 10 resolve the same composer.lock
Compat sweep, random sample 10 identical, 10 skipped where Composer itself failed
A/B v0.15.0 to v0.16.0, warm install drupal 296 to 285 ms, laravel 41 to 39 ms, symfony 47 to 47 ms
A/B, no-op install within 0.2 ms on all three
Test suite 900 tests, make check green; CI green on the release commit

The sweep's craftcms lock row was rerun on its own after the first pass lost it to a network hang; the results file says so. The local bench gate reports the warm ratio past tolerance against a baseline measured on CI runners, where the same gate passes; the A/B above is the release's speed evidence. CI wall time per push went from 5.4 min to a 4.4 min median.

Known gaps

  • The solve uses 1.0.0 as the root version when composer.json has none, where Composer guesses it from git; this changes what self.version resolves to inside a git checkout (#312).
  • Composer adds "; overridden via config.platform, actual: x" to the php wording when config.platform differs from the host; viv prints the plainer form.
  • --ignore-platform-req=php+, the upper-bound-only form, is not implemented.
  • A require cycle makes Composer itself order autoload_files.php differently on a cold and a warm cache; viv always writes the warm order (#301).
  • Four small compat items remain open on demand: vendor/composer/LICENSE blank lines (#266), a failed require rewriting composer.json (#288), file modes in the sweep (#291).

Issues closed

  • #300 (install: missing PHP extension required by the lock installs anyway, Composer refuses)
  • #242 (solver: --ignore-platform-req(s) does not reach the solve, only the autoload write)
  • #305 (update/install: a top-level path-type repository is refused outright)
  • #304 (update: self.version in the root composer.json's own require still fails to parse)
  • #269 (autoload: -o rescans the root package every run, 106 ms of a 134 ms optimised install)
  • #302 (autoload -o: the merge step costs 13 to 16 ms after the scan cache hits everything)
  • #303 (autoload -o: store the per-archive classmap sidecar in final key form so the merge is an append)
  • #270 (link: the vendor tree is hardlinked file by file on one thread, 19 ms of a 43 ms warm install; measured at the syscall floor, closed)
  • #279 (research: measure workspace mode against N independent installs)
  • #277, #278 (workspace solve and projection, closed as not planned)
  • #195 (CI: 5.8 min per push, 60% red, cache over the 10 GB limit)

View on GitHub

vivace v0.15.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

Highlights

  • Merging two branches that both changed composer.lock no longer needs a human: register viv as the git merge driver and the lock merges by package, re-solving only what the two sides disagree on.
  • A first viv install on a conflicted lock resolves it itself, from git's own copies of the three versions, and sets the merge driver up for next time.
  • viv.lock, a compact companion to composer.lock that git merges cleanly, can now be written, read by install and update, and merged.
  • Private GitHub packages keep their SSH source.url; package repositories with inline package declarations install.
  • viv install on a lock left with conflict markers names the file, the line and the packages instead of failing on a parse error.

Upgrade

git pull && make install          # viv only
make install-shim                 # also the composer shim

Packages: the .deb, tarballs and container image :0.15 are on the release. Nothing to migrate: vendor/ and composer.lock are unchanged.

Details

Merging locks

Add composer.lock merge=viv to .gitattributes and run git config merge.viv.driver 'viv lock merge %O %A %B' once per clone. From then on git merge and git rebase hand both branches' locks to viv. It merges them record by record, so two branches that changed different packages never conflict at all. When both changed the same package, viv re-solves that package against the merged composer.json in three widening steps: the package and its dependencies, then the packages that require it, then a full solve that keeps every version the merge did not force to move. It prints which step finished and every package that moved outside the disputed set. You only see conflict markers when the merged composer.json cannot be satisfied, and then viv names the two packages.

On four private projects with long lock histories, 355 merges where both sides changed dependencies: 228 conflicted under composer.lock, 51 still conflict with viv as the driver, and every one of those 51 is a case where the merged manifest is unsatisfiable today (a dev-* branch head whose conflict map moved, or a package Packagist no longer lists). The fix in each is a composer.json edit, which viv points at.

No setup needed for the first conflict

A developer who has never heard of the driver merges and gets markers in composer.lock. viv install sees the parse fail, reads the three versions git holds in the index, runs the same merge, writes the resolved lock and continues installing. In the same run it sets the driver config and writes the .gitattributes line, so the next merge never reaches markers. Nothing is staged; git status shows the two files to add. viv init writes the .gitattributes line for new projects.

viv.lock

viv update --lock native writes viv.lock beside an unchanged composer.lock: one TOML record per package with name, version, dist URL and hash, source ref and whether it is dev-only. Once it exists, viv update keeps it current and viv install reads both files and refuses if they disagree in either direction. viv lock convert writes it from an existing composer.lock. It is a research format outside the compatibility contract; composer.lock stays the file Composer and viv install from.

Compatibility fixes

A private GitHub repository declared as a vcs source kept getting an HTTPS source.url in the lock after viv update; it now keeps the SSH one Composer writes. package repositories, where composer.json declares packages inline, install and resolve byte-identical to Composer. A git subprocess viv spawns no longer inherits the caller's own repository via GIT_DIR.

How we checked

Check Result
Compat sweep, pinned corpus 20 of 20 rows identical vendor/
Compat sweep, lock compare 10 of 10 projects resolve the same composer.lock
Compat sweep, random sample (seed 20260923) 9 identical, 1 differs, 10 skipped where Composer itself failed
make bench-ab v0.14.0 against v0.15.0 warm and no-op within noise on laravel, symfony/demo, drupal
Private projects installed with viv and Composer 2 of 4 byte-identical vendor/; 2 installed under viv but Composer's run failed on a registry error, so they are not compared
Lock-merge replay 355 private merges, 26 public; counts in bench/results/lockmerge.md

The one differs row swaps two files autoload entries of packages that require each other. Composer 2.10.2 itself emits one order on a cold cache and the other on a warm cache; viv always emits the warm one (#301).

Known gaps

  • viv install does not refuse when the lock requires a PHP extension the interpreter lacks; Composer does. The generated platform_check.php still fails on the first request (#300).
  • viv.lock merges need the sibling composer.lock present; without it viv falls back to markers and says so.
  • symfony/flex and any plugin without a native adapter still stop the install; --no-plugins installs as Composer would without them.
  • The --ignore-platform-reqs gap on update (#242) is unchanged.

Issues closed

  • #272 (lock: a self-contained, per-package record format with no aggregate fields)
  • #273 (research: replay historical composer.lock merges and count conflicts under both formats)
  • #274 (install: tolerate git conflict markers in the lock and resolve them)
  • #275 (lock: a git merge driver that unions records and re-solves the divergent ones)
  • #276 (workspace: discover members from the root manifest and link inter-member requirements)
  • #282 (update rewrites a VCS package's source.url from SSH to HTTPS)
  • #283 (the API-fallback path writes an https source.url where Composer writes ssh)
  • #289 (git subprocesses inherit GIT_DIR/GIT_INDEX_FILE and act on the caller's repository)
  • #290 (staleness only covers records root names directly; superseded by three-way identity)
  • #293 (the pre-merge performance gate cannot fail on its current project)
  • #294 (inline package repositories are refused)
  • #295 (lock merge: re-solve viv.lock by fetching the pinned set's requires)
  • #296 (lock merge: escalate the re-solve scope instead of falling back to markers)
  • #297 (install and update read viv.lock)
  • #298 (install wires the viv merge driver, init writes the attribute)
  • #299 (install resolves a conflicted lock from the git index stages and wires the driver)

View on GitHub

gala-xy v0.3.0

Gala window manager plugin adding a focus border and Alt-Tab-style switching

Highlights

  • An on-screen panel now lists the windows while you switch, so you can see how many more presses reach the one you want.
  • Switching no longer drags every window you pass to the front — each one drops back to where it was.
  • Turn the whole plugin off and on with Ctrl+Alt+Super+X, without uninstalling or logging out.
  • System Settings gains a General page for the new on/off switch and a Panel page for the switcher panel.
  • Gala no longer crashes when a window without a title takes focus.

Upgrade

git pull
make install

Then log out and back in. make install recompiles the schemas for you, which this release needs — it adds four settings keys (enabled, toggle-enabled, switcher-panel, switcher-panel-timeout).

Don't reload with gala --replace or systemctl --user kill. Both trigger an unrelated, pre-existing Mutter crash on teardown that is confusing to debug around.

Your existing settings are unchanged, and the new keys all default to the behaviour you already had, except that the switcher panel is on.

Details

The switcher panel

Hold Super and tap Left or Right, and a list of the windows in the current switch order appears, centred on the monitor you started on, with the one you have just landed on highlighted. The rows between the highlight and any other entry are how many presses away it is. It fades out shortly after you let go of Super.

Turn it off with switcher-panel, or change the fade delay with switcher-panel-timeout (200 to 10000 ms, default 1000), on the Panel page.

Windows go back where they were

Previously every window you stepped through stayed at the front, so walking four windows deep left three windows foregrounded that you only passed. Now each press raises the window it lands on, and the one you step away from drops back to the stacking position it held before you started switching. The window you stop on keeps its raise.

This works while you hold the modifier down. Tapping Super+Left twice without holding is two separate runs, so both windows keep their raise — the same limitation Alt+Tab has, since a raise can't be withdrawn once the keys are up.

Turning the plugin off

Ctrl+Alt+Super+X removes the focus ring and the switcher panel and releases Super+Left/Right back to Gala's own snap-tiling. The shortcut keeps working while the plugin is off, and the same switch is on the new General page.

This exists for a specific job: when focus or window behaviour goes strange, you can rule this plugin in or out in one keystroke instead of uninstalling and logging out, which loses the session state the problem lives in.

The crash

is_chrome_window() read a window's title without checking for null. Mutter returns null for a window that has not set one yet, and the Vala binding declares the return as never-null, so nothing warned. It ran on every focus change, so any window mapping without a title could take Gala down with it.

How we checked

There is no automated test suite — the only one this repo had went with the tiling code it covered, and restoring one for the pure logic is tracked in #3. So everything here was verified by building, installing, logging out and back in, and using the plugin.

Check Result
make build on each commit in isolation passes
make lint (io.elementary.vala-lint) no mistakes found
Switcher panel, stacking restore, kill switch confirmed in a live session

Two behaviours were checked against Mutter's own source rather than assumed, because guessing either would have been silently wrong: the stacking order returned by sort_windows_by_stacking() is documented lowest to highest, and window stable sequences come from a counter that only increments, so they are never reused.

Known gaps

  • Focus occasionally sticks to the previously focused window after resuming from standby, and a window you click will not take input. This is not believed to be this plugin — the only code here that moves focus runs from a key press — but it is unexplained, and the new kill switch is partly there to settle it next time it happens.
  • Tapping a switch shortcut without holding the modifier raises each window it lands on, as described above.
  • The focus ring's corner radius is still an approximation of the Granite default. A window's real client-side radius is not available to a plugin.
  • Built against Gala 8.5.1 and Mutter 46. Other versions may need the HAS_MUTTER* defines adjusted.

Issues closed

None. #1 (Consider lifting smart wrapping) and #3 (Add an automated test suite for the pure logic) remain open.

View on GitHub

vivace v0.14.0

Rust reimplementation of Composer that installs from composer.lock faster than PHP Composer

viv installs PHP dependencies from a composer.lock and writes the same vendor/ Composer would, byte for byte. This is the last release whose only job is that. From here, viv is a research vehicle for package-manager design: each chapter in docs/research.md asks one question, ships behind a flag, and is measured against this compat mode as the control. Compat fixes continue when a real project hits one.

Highlights

  • viv validate --fix repairs the findings that have one right answer and says how many it handled.
  • A partial update no longer fails when a held dependency is locked at a dev branch.
  • One uses: line puts viv and the composer shim on a GitHub Actions runner.
  • cargo install vivace and brew install svandragt/tap/vivace both work: viv is on crates.io and in its own Homebrew tap.
  • Offline viv update is about 40 percent faster on the Laravel lock.
  • Three more real-project vendor/ and lock differences from the September hunt are closed.

Upgrade

cargo binstall vivace          # or: brew install svandragt/tap/vivace

Or from a checkout: make install, then make install-shim for the drop-in composer shim. The .deb, the static musl and glibc tarballs and SHA256SUMS are attached; the container image is ghcr.io/svandragt/vivace:0.14.0. In a workflow:

- uses: svandragt/vivace/action@v0
  with: { version: v0.14.0 }

Nothing to do after upgrading. No cache, lock or exit-code changes.

Details

validate --fix. viv validate still prints Composer's findings word for word, then adds one line: how many of them --fix would handle. With --fix it removes a package listed in both require and require-dev, a provide or replace of a package the root also requires, scripts-descriptions and scripts-aliases entries for scripts that do not exist, and a self-require; lower-cases a name that needs it; rewrites a stale lock content-hash; writes composer.json through the normaliser; and validates again. Findings that need a decision are left for you.

Partial update on a held dev branch. viv update some/package holds every other package at its lock entry. A held package locked at dev-main carries a branch alias, and Composer loads that alias as a second package so a caret requirement can match it. viv's partial update did not, so any held package that required the branch by version was reported as a typo. It now loads the alias the way the full update already did. Checking the fix against a real project turned up a second difference: a stability flag equal to minimum-stability was dropped from the lock where Composer writes it. Both locks are byte-identical now.

Setup action. svandragt/vivace/action@v0 downloads the release tarball for the runner's OS and architecture, checks it against SHA256SUMS, and installs nothing else. shim: false gives you viv without the composer shim. Cache the store with actions/cache on ~/.cache/vivace, keyed on composer.lock.

Faster offline update. Packagist's provider files were decoded into one JSON tree per version delta at parse time, about 14,000 trees for the Laravel lock, of which the lock needs about 100. Versions now stay raw until a delta is replayed, and a version's merged object is only built when something reads it. The lock written is byte-identical.

Real-project fixes. From the 25-project hunt on 2026-09-15: a lock dist.url carrying Composer's %version%-style placeholders is expanded before the download (BookStack's Codeberg dist); a root requirement met by a locked replace or provide counts as present (HumHub); autoload_files.php orders packages the way Composer's install transaction does, including on a requires cycle, and a declared bin gets its execute bits (akaunting).

How we checked

Compatibility sweep, compat/results/v0.14.0.md, viv and Composer 2.10.2 installing the same projects and the two vendor/ trees diffed:

Set Rows Identical Differ Skipped
Pinned corpus, vendor/ 20 20 0 0
Pinned corpus, resolved lock 10 10 0 0
Random Packagist sample 20 8 0 12

Every skipped row is a project Composer itself could not install: a dev-master under a stable minimum-stability, a private dependency, or a guzzle 6 blocked by security advisories. One pinned project still needs --no-plugins, for symfony/flex, which viv refuses by design.

Bench gate on the release commit, CI run 35329282387, viv over Composer at 15 percent tolerance:

Project Scenario Ratio Baseline Result
monolog warm 0.005 0.005 ok
monolog no-op 0.004 0.004 ok
laravel warm 0.023 0.027 ok
laravel no-op 0.006 0.007 ok

make check (fmt, clippy, tests, cargo deny) green locally and in CI. The speed table in the README is unchanged from 2026-09-15; nothing on the install path changed in this release.

Found while releasing: the local make bench-check target passed only viv's results to the comparison, so it reported every scenario as skipped and never failed. CI passed all five files and was the real gate throughout. The target is fixed in this release.

Known gaps

  • Plugins without a native adapter still make viv exit naming the plugin. New adapters land only when a real user hits one.
  • The Homebrew tap and the crates.io publish both ran for the first time on this tag. Neither path has been exercised by anyone but the maintainer yet.
  • No workspace, no conflict-less lock yet: those are research chapters 3 and 1, not shipped behaviour.

Issues closed

  • #262 (validate --fix: apply the findings that have one answer, and say how many those are)
  • #267 (update: partial update fails when a held dependency is locked at a dev branch)
  • #261 (update: an inferred stability flag equal to minimum-stability is dropped, so the lock's stability-flags differs from Composer's)
  • #268 (update: the metadata closure decodes p2 into serde_json::Value maps, 110 ms of a 211 ms warm update)
  • #263 (ci: a setup action so one uses: line puts viv and the shim on a runner)
  • #222 (release: wire the Homebrew formula back up and create the tap)
  • #166 (Publish vivace to crates.io so cargo binstall vivace works as the update path)
  • #264 (support: issue templates, SECURITY.md and a Support page)
  • #257 (install: dist URL placeholders (%prettyVersion%) are fetched literally)
  • #258 (install: lock check ignores replace/provide, refuses humhub/humhub)
  • #259 (autoload: files order differs from Composer on a hoa/* dependency cycle, and a bin mode bit)

View on GitHub

jotta-tools 0.3

Bash tools that alert when Jottacloud sync stalls and diagnose sync and backup issues

The canary stops paging you for stalls that jottad clears on its own.

Highlights

  • Alerts only when a miss survives a second hourly run, so a self-healing stall never wakes you.
  • Keeps asking for up to 25 minutes before it calls a miss, instead of giving up at 10.
  • Asks jottad three times before calling it dead, and tells silence apart from a reply with no sync root.
  • Treats any failure shortly after a suspend as a blip, not a miss.
  • make check drives every one of these paths against stub tools in seconds, with no daemon, no network and no chance of a real page.
  • jotta-buddy no longer reads a long gap since the last full-check as a fault.
  • Licensed under GPL-3.0.

Upgrade

git pull
make install

make install copies the new canary and unit files and reloads systemd, which matters here: the service timeout rises to 35 minutes and the timer drops Persistent=true.

New environment overrides, all optional: CONFIRM_DEADLINE_SECONDS (1500), POLL_SECONDS (60), QUERY_ATTEMPTS (3), QUERY_RETRY_SECONDS (10), MISSES_BEFORE_ALERT (2) and RESUME_GRACE_SECONDS (defaults to the confirm deadline). The miss counter lives in $XDG_STATE_HOME/jotta-canary/misses.

Details

Two runs before an alert

Eight alerts since 0.2 were all the same thing: jottad times out listing the remote tree, parks in [Evaluating] for 13 to 16 minutes, restarts itself and catches up. The upload lands, late. A single look cannot tell that apart from a wedge, so the canary now records a miss and only pages when the next hourly run misses too. A real wedge stays wedged, so this costs an hour of latency and nothing else.

A longer confirm loop

The upload grace stays at 10 minutes, but a miss at that point now starts polling instead of alerting. The run keeps checking every minute until the file lands or 25 minutes pass. The service timeout rises to match, because systemd killing the run at 20 minutes meant the alert could never fire.

Liveness is not a verdict either

Two alerts fired two seconds into a run, saying jottad had not answered in 30 seconds. It had answered. The reply had no .Sync.RootPath in it, because jottad was mid-stall. The liveness gate now retries the query, and both symptoms, silence and a rootless reply, are held to a second run like an upload miss. Only the advice differs: persistent silence wants a restart, a persistent rootless reply does not.

Suspend is never a verdict

Two alerts half an hour apart came from one laptop wake. The network was still down, jottad stalled catching up, and the resume run and the next hourly run both failed inside the same outage. The canary now reads the last PM: suspend exit from the kernel log and treats any failure within the confirm deadline of a wake as a blip. A stall that outlasts that window still pages. The timer loses Persistent=true for the same reason: a catch-up run fires before the network is back.

jotta-buddy

A full-check is not periodic. jottad runs one when the sync loop restarts, so a 15 hour gap on a healthy daemon is normal, and the row now says so instead of looking like a fault. The sync root is also escaped correctly when built into the error pattern, which stops a grep warning on every run.

How we checked

Check Cases
canary-check (stubbed jotta-cli, date, sleep, curl) 12
make check inline (second-miss alert, suspend during grace) 2
jotta-buddy branches 7

All green on 2026-09-16. The worst measured stall, 15m43s, sits inside the 25 minute deadline, and one case asserts that margin. Every alert since 0.2 was replayed against the stubs and stays quiet.

Known gaps

  • The canary still assumes one jotta-cli and one sync root per machine.
  • A directory whose name contains a control character cannot be backed up, and deleting it leaves jottad retrying a remote delete for ever. Still open upstream as jotta-cli-issues#228.

View on GitHub

Note: Only the last 25 releases are shown.