Skip to content

Version 5.2.0

Choose a tag to compare

@andreapollastri andreapollastri released this 12 Oct 14:37
· 50 commits to main since this release

[5.2.0] - 2026-10-12

Larapilot on an app that is already there, on the stack it runs on: Laravel 10, PHP 8.1, Boost 1, Sail. From a review by a team adopting it on such an app. And the version as a dimension of the whole product: of every page that reads the backlog, and of every step of the workflow. And two design systems, New York and Zen.

Added

  • The Versions page — /larapilot/versions, in Workflow, for every role. Each version of the release ledger as a card, the open ones first: status, stories done out of all and story points, a bar of what is done and in progress, the day its last open story is forecast to land on the Plan, its milestone — Late when the forecast misses it, Overdue when the date has passed with stories open — its release branch (admins and developers), and links that open the Board, the Plan, and the Forecast on that version. Above them, the version the work is on, the next milestone, and the open stories no version claims. /larapilot/versions/{version} is one version: its stories in the order they are picked up, its epics, what it moved out when it shipped, and its release notes, with Release notes (.md).
  • A version scope across the dashboard — the Board, the Plan, the Forecast, and the Versions page carry one chip for each version and one for No version: one version, several, or the stories with none. The scope stays while the person moves between those pages, until All versions clears it, and travels in the address (?version=1.2.0,1.3.0, none, all). The Board's figures and its two downloads, the Plan's Gantt and milestones, and the Forecast's figures and report.md follow it. A version column of the Board or band of the Plan links to its page and shows its progress; the spec page shows the version a story targets.
  • Forecast by version — a By version table on the Forecast and in report.md: story points, hours left for one person and with Larapilot, sprints left, the forecast day, and the milestone of each version. Scoped, the rate a point takes with Larapilot is still measured on the whole backlog.
  • larapilot:release-show — one version: its stories by state, the open ones, its epics, the forecast against its milestone, and risk (on_track, late, overdue); with no --semver=, the version the work is on.
  • larapilot:release-notes — the release notes of a version, drafted from its stories by their **Type:** (Added, Changed, Fixed), with what is not delivered yet and what moved to another version. --file= keeps the team's text, --write the draft, in paths.release_notes (.larapilot/docs/releases/vX.Y.Z.md); kept notes are what the page, the download, and the command give from then on.
  • A ship that settles its open stories — release-ship refuses a version with stories still open (details.open) unless --defer-to=x.y.z moves them to another open version, --defer-to=backlog gives them back to the backlog, or --force ships them as not delivered. The move is written once the version is out — a ship git refuses leaves them where they were — and the version keeps a deferred record, so its notes say where each went.
  • spec-list --release= and spec-next --release= — the stories of one version, several, or none; every item of spec-list carries its release once versions are on.
  • release in larapilot:context — with release mode on, every skill gets the version the work is on (current, and why), the last shipped version, each open version with its progress, and how many open stories have none.
  • Version discipline in the skills — runtime-versions.md, read by every workflow skill under release mode: each names the version it works in (v1.2.0 3/5 (60%)). Inception and adopt leave no story without a version; feature, spec, and bug give every new story one — the fix of a shipped version goes in its next patch, **Found in:** names the version that has the defect; implement stops on a story with no version and asks before TASK-00; review fails a PR whose base is not the story's release branch and closes with how far the version is; autopilot works one version at a time and stops at its end; schedule settles dates version by version; ship and /larapilot-release settle the open stories and keep the release notes, committed before the ceremony. How to choose the next number (patch, minor, major) is written down.
  • API — GET /larapilot/api/versions and /versions/{version}, and ?version= on /specs; in the OpenAPI document under Versions.
  • A quality gate an existing codebase can pass — quality_scope (settings-set --quality-scope=ALL|CHANGED, default ALL). Under CHANGED, larapilot:quality runs Pint on the PHP files the branch changed against the branch it came from — develop under Git Flow, else the remote default, main, master — committed, staged, unstaged, and untracked, so a task stays checked after its commit; on the base branch itself, on what is not pushed yet. --fix formats only those files. Larastan still reads the whole project: a change can break a caller it did not touch. The envelope says scope, files, and baseline.
  • larapilot:quality --baseline — writes phpstan-baseline.neon with the errors the project has today and adds it to the includes: of the PHPStan config, the rest of the file as it was: new errors fail the gate, the old ones do not. /larapilot-adopt runs the gate once and, when the existing code fails it, proposes CHANGED and the baseline, the baseline committed on its own — never a reformat of the whole repository inside a feature commit.
  • Skills on Boost 1 — Boost 1 publishes guidelines, not skills, and its 1.x line will not get them: on Laravel 10 and PHP 8.1 the twenty-nine /larapilot-* skills never reached the agent. larapilot:install and larapilot:update now copy them into the skill folders of the agents boost.json names (.claude/skills, .cursor/skills, .github/skills, .agents/skills, …) and of the agent folders already in the project, rewriting only a copy whose text changed and removing a larapilot-* skill the package retired.
  • larapilot:doctor checks the skills — checks.skills and data.skills (publisher, folders, missing, differs): a copy missing from an agent folder, or no longer the text of this version — of the package, or of the project's own version in .ai/skills on Boost 2 — makes the install unhealthy, and --human says to run larapilot:update. Until now only the Skills page of the dashboard told it.
  • The package is listed in boost.json — Boost publishes the guidelines (and on Boost 2 the skills) only of the packages in its list, once there is one: guidelines on Boost 1, packages on Boost 2, whose boost:update --no-interaction never adds a new one. larapilot:install and larapilot:update add andreapollastri/larapilot when the list exists without it, and say so.
  • Sail and Docker — the Artisan command of the project: vendor/bin/sail artisan when Boost was set up for Sail ("sail": true in boost.json), LARAPILOT_ARTISAN for any other (docker compose exec app php artisan), php artisan otherwise. The Larapilot guideline tells the agent to run every php artisan of the skills through it, larapilot:context returns it as data.artisan (the usage_log command included), and config-show as artisan.
  • Paths the agent can open — inside a container base_path() is /var/www/html, which the agent on the host cannot read. With LARAPILOT_AGENT_PATHS=auto (the default), every JSON envelope gives paths relative to the project root — project_root is . — when Artisan runs through another command or inside Sail; a dev container keeps absolute ones. relative and absolute force either.
  • New York, a fourteenth packaged design system (new-york/) — restaurants and hospitality, food and city media, editorial brands with a city voice: the downtown newspaper crossed with the subway signage manual. Didone headlines and big numbers on newsprint, Helvetica signage bands white on black, round line bullets that name the venues (never a status), one taxi-yellow accent used as a surface under ink and never as text on paper, newspaper rules, a night-edition dark mode. Its sample is Mulberry & Grand, a group of five downtown restaurants, in thirteen screens: index, components, dashboard, dashboard-dark, empty-state, error-404, landing, login, menu, modal, resource-form, resource-list, settings. /larapilot-design recommends it for hospitality and city media; the gallery recognises its screens.
  • Zen, a fifteenth packaged design system (zen/) — the quietest: black and white only, no accent and no colour for status — a filled dot, a ring, a dash, a strike, with the word beside it — wide empty space on an 8 px scale, light headings, hairline rules, square corners, no shadow, one ensō as its only ornament, and an inverted dark mode. Its sample is Kanso, a ceramics and tea studio in Kyoto, in twelve screens: index, components, dashboard, dashboard-dark, empty-state, error-404, landing, login, modal, resource-form, resource-list, settings. /larapilot-design recommends it for studios, craft, wellness, and portfolios.

Fixed

  • larapilot:install wrote dependencies PHP 8.1 cannot install — it put larastan/larastan:^3.0 (PHP 8.2, Laravel 11.15+) and laravel/pint:^1.27 (PHP 8.2) into require-dev, then saw them there, skipped composer require, and still printed Larastan + Pint installed via Composer. It now runs composer require --dev "larastan/larastan:^2.9|^3.0" "laravel/pint:^1.20" for what the project neither declares nor has installed — Composer picks Larastan 2 on PHP 8.1 / Laravel 10, Larastan 3 from PHP 8.2 / Laravel 11.15 — and the scripts go in with composer config, so composer.json keeps its formatting. Without Composer (--skip-composer) the entries are written into the file with its own indentation, its key order, and its non-ASCII text as it was. The success line is printed only when Composer installed.
  • A gate package another package brought counted as missing — doctor and install read require-dev alone; require, and a package installed as a dependency, count now.
  • larapilot:update rewrote composer.json — reordering require-dev and scripts, escaping non-ASCII as \u…. It writes only phpstan.neon.dist and pint.json when they are missing, and leaves composer.json alone.
  • larapilot:update moved composer.lock on Boost 1 — composer update laravel/boost --with-dependencies could not reach Boost 2 on PHP 8.1, Laravel below 11.45.3, or a composer.json that pins ^1, yet moved Boost 1's dependencies, laravel/mcp among them. It is skipped there and says why; boost:update still refreshes the guidelines.
  • Git read as "not a repository" on Windows — the read-only Git commands went through a shell string: escapeshellarg turns % into a space on Windows (--format=%H…), and 2>/dev/null is not cmd syntax. They now run as an argument array with no shell, stderr to the null device — one shell fewer per Git read on every platform.

Security

  • A custom skill never replaces a skill it did not write — a folder uploaded to the skills root of the file manager with the name of a published skill was copied over it in .claude/skills and every other agent folder. The names of the Larapilot skills (larapilot-*) and of the skills Boost ships are now refused — by custom-skill-add, and by the file manager on a new folder, a rename, or an upload — and a folder of the same name that Larapilot did not write is left as it is and reported (on the file manager page, by larapilot:update, in custom-skill-add). Larapilot knows its own copies by a .larapilot-custom-skill file it leaves in them; a copy made before 5.2 is recognised by its text. custom-skill-add --force takes a name over.
  • The open API takes no write another site could send — on local with no token the API is open, and its group has no CSRF, so any web page open in the developer's browser could post a comment the agent would read as feedback. A write there is now accepted only as JSON and not cross-site (Sec-Fetch-Site, Origin), which a page cannot send without a preflight the API never grants: 403 otherwise, with how to make a token. Reads and clients outside the browser are unchanged.
  • .larapilot/tmp-* is ignored by Git — the payloads a skill writes and deletes stayed behind, and reached a commit, when the skill was cut short. larapilot:install and larapilot:update add /.larapilot/tmp-* to .gitignore.

Changed

  • spec-next works the version the work is on first — under release mode, the stories of the release branch checked out, else of the versions in progress, oldest first, then the planned ones, then the stories with no version; by priority and code inside each. The envelope says the story's version (release). Without release mode the order is the one it was.
  • A story targets one version — release-set --add-spec= moves it out of every other open version (moved_from); --remove-spec= drops one. A shipped version keeps what it delivered.
  • release-list gives each version its progress (stories and points by state, forecast, milestone, risk), the version the work is on, and the open stories with no version. It, release-show, and release-notes (without --write / --file=) are allowed through the MCP RunArtisanTool, and so is --release on spec-list and spec-next.
  • Release mode is the recommended answer — inception and adopt ask about it with YES first; adopt then gives the open backlog its versions in one table.
  • laravel/mcp is declared — ^0.5.1|^0.6|^0.7|^0.8|^0.9|^1.0, the lines Boost 1 and Boost 2 bring and CI runs; it came only through Boost, so a future Boost could pull an MCP major the server has never met.
  • The Skills page mirrors less — it registers the custom skills on every visit; a copy already current is no longer rewritten.

Docs

  • README: An existing codebase, Laravel 10, PHP 8.1, and Boost 1, and Sail and Docker under Quickstart; the MCP servers with Sail; boost:update --discover is a Boost 2 option (2.3.2+), and larapilot:update lists the package in boost.json; Boost 2 needs PHP 8.2 and Laravel 11.45.3+, not "Laravel 12+"; the API is not closed by the dashboard sign-in, and a Sail port should be bound to 127.0.0.1; the custom skill names a skill may not take; quality_scope in the settings.
  • README: Versions (the page, the scope, the forecast, the skills, the shell, the API), the release commands, the MCP list. The site: Versions in the dashboard chapter, the release skill, the CLI and API tables, the roles. The Docs page of the dashboard describes release mode with the Versions page.
  • README, the design-systems index, and the site: New York and Zen among the packaged systems, fifteen of them.
  • Site / package version v5.2.0. The site says the same, with What 5.2 adds; the runtime packs (Code quality gate, Quality scope) and the skills (larapilot-implement, larapilot-adopt, larapilot-settings) describe the scope and the baseline.