Versions, sprints & Git

Turn on release_mode and every page, every skill, and every branch knows which version a story belongs to. Turn on sprints and they know which two weeks too.

Terminal
php artisan larapilot:settings-set --release-mode=YES --sprints=YES --public-roadmap=YES

Versions#

With release_mode on, Larapilot keeps a semver ledger in releases.yaml, and the version becomes a dimension of the product:

  • In the skills — inception proposes the release roadmap, MVP first; feature, spec, and bug give every new story a version (a fix of a shipped version goes in its next patch); implement stops on a story with no version and asks; autopilot works one version at a time; ship refuses a version with open stories until they are delivered or moved.
  • On the dashboard — the Versions page shows each version with its progress, its forecast against its milestone (Late, Overdue), its release branch, and links to the Board, the Plan, and the Forecast scoped to it. A chip per version on those pages scopes them to one version, several, or No version — and the scope travels with you.
  • Release notes — drafted from the stories (Added, Changed, Fixed, Not delivered yet, Moved), kept in docs/releases/vX.Y.Z.md.
The Versions page of Fernway: 0.1.0 shipped, 0.2.0 in progress against its milestone, 0.3.0 planned
Terminal
php artisan larapilot:release-add --semver=0.2.0 --title="Beta for 10 studios" --specs=US-006,US-007
php artisan larapilot:release-show --semver=0.2.0          # stories, open ones, forecast, risk
php artisan larapilot:release-notes --semver=0.2.0 --write # docs/releases/v0.2.0.md
php artisan larapilot:release-ship --semver=0.2.0 --defer-to=0.3.0

The roadmap#

/larapilot/roadmap shows the versions as Shipped · Now · Next · Later, each story in public words. With public_roadmap on, it offers a secret link to send outside — /larapilot/roadmap/p/{token} — that shows the same lanes and leaves out codes, people, hours, points, costs, branches, and blockers. The link answers even in production, where the dashboard is hidden; one click regenerates it and the old one stops at once.

The public roadmap link of Fernway: the same lanes, in public words, with no code, person, or hour

The public wording lives in roadmap.yaml, committed:

Terminal
php artisan larapilot:roadmap-set --intro="What we are building for our studios."
php artisan larapilot:roadmap-set --semver=0.2.0 --title="Waitlists that fill themselves" --target="Q1 2027"
php artisan larapilot:roadmap-set --semver=0.2.0 --item=US-008 --hide
php artisan larapilot:roadmap-show   # what the public sees

Sprints#

With sprints on, the work splits into two-week sprints of one person. A story carries the sprint someone decided — larapilot:spec-sprint US-012 3 — or, until then, the sprint it is proposed for: the open stories laid one after another in delivery order into what one person does in two weeks. The Board and the Plan group by sprint; feature and plan propose one for every new story.

The plan and the milestones#

The Plan lays every planned task on a dependency-aware Gantt, open work queued from today, one story at a time — the traditional way or with AI (see Economics). Milestones tie a date to a version; one that names a release is done once that release ships. /larapilot-schedule re-plans the order and the dates, with a dry run before it writes.

The Plan with AI estimates: milestones for three versions and the Gantt by epic

Git#

Git follows git_mode:

ModeWhat it does
GITFLOW (default)spec-start opens one feature/US-XXX-* branch per story from develop — or from release/x.y.z with versions on — one atomic Conventional Commit per plan task, and spec-approve merges it back. Nothing is pushed
GITFLOW_PUSHThe same, and pushes and pull requests through the forge you connected (GitHub, GitLab, Bitbucket, Azure DevOps); the merge of the pull request lands the story
NO_GITFLOWCommits on the branch you are on

A story builds on the stories it is blocked by. It starts only when each of them is implemented — spec-next skips it until then, the board says Waits for US-005 — and when one is still waiting for its review, spec-start merges its branch into the new one: the starter kit, the table, the service it needs are there from the first task, without waiting for a merge and without being installed twice. larapilot:spec-branch US-006 does it again after a detour; --land merges an approved story by hand. release-ship refuses a version with a done story that never reached its branch.

Between stories#

The backlog, the plans, the reviews, and the ledgers under .larapilot/ are one state for the whole project, while the code is per branch. So the workflow files travel with the work tree: when spec-start, spec-branch, or spec-approve moves to another branch, what the backlog says goes along — committed or not — and where two branches wrote the same file, each keeps its own lines and the newer one wins a line both changed. The documents that describe the code (docs/devs, the handbook) stay on the branch of their code. You never stash or check out between stories by hand, and a story left waiting for review does not hold the next one back.

WhenWhat happens
A story starts while the last one waits for reviewIt gets its own branch from the base; the backlog still shows the other one in REVIEW
Code is uncommitted when a story starts or landsThe command refuses, names the files, and changes nothing: commit the task on its branch, then run it again
A story built on a blocker is approved firstIt is DONE, and its branch waits (pending: blockers): it merges by itself the moment the blocker is approved. spec-branch US-006 --land --force merges it anyway — your call
A story is approved while you work on anotherIt is merged into its base, and the work tree comes back to the branch you were on
A merge conflicts only on workflow filesSettled without you: the story being landed has the last word. A conflict in the code stops the merge, untouched, for you to resolve

Under GITFLOW_PUSH the merge is the pull request’s, on the forge, which knows nothing of all this: when it says the branch no longer merges — two stories wrote the same line of .larapilot/backlog.yaml — bring the branch level and push it again:

Terminal
git fetch
php artisan larapilot:spec-branch US-006 --sync   # merges what the base gained; the workflow files settled, the code never chosen for
git push
git log
feat(US-006): PromoteWaitlist job on cancellation (TASK-02)
test(US-006): promotion and confirm window (TASK-05)

Every task-done records the commit of its task; every spec-approve the merge. The Git page of the dashboard draws the history as a graph, each commit on the branch it was made on.