Repository navigation
Releases
Releases · rssrn/labro
v0.18.0
Removed
- WIP-branch preservation and resume are gone (#62). The harness no longer
pushes a dirty working copy tolabro-wip/<run-id>, no longer applies the
ai-handoverlabel, and no longer resumes a later run from a preserved
branch. In 1,999 runs the loop never completed once: four branches were ever
created — three from the same dead-agent provider error, and one holding a
scratch file whose contents the agent had already posted to the PR — and no
run ever resumed from one. Agents that holdpush_defaultpush their own
branches as they work, which is what actually preserved every piece of real
work to date.
Changed
- A turn-limit run is now reported as an ordinary failure. A
partial
outcome getsai-failed+ai-contributedand a comment naming the turn
limit and the failure reason, instead ofai-handoverand a handover
comment.partialis still recorded as its own outcome in therunstable
and still shown separately in the dashboard. - The agent prompt no longer claims the working copy is reused across runs
— untrue since v0.17.2. It now says the checkout is cloned fresh and deleted
when the run ends, so anything worth keeping must be pushed or written to
the issue.
Added
- On any non-success outcome, the harness logs a one-line summary of whatever
the agent left uncommitted (N uncommitted path(s)plus a diffstat) before
discarding the checkout — the one diagnostic WIP branches used to provide.
Operator note
ai-handoverno longer gates re-pickup. If any item still carries the
label it is now ignored, and the item is eligible again. The three PRs that
were parked when this shipped had their labels removed by hand.
Internal
repo.prepare_reporeturns a plainPath;repo.preserve_wip,
store.get_prior_wip_run, and thewip_branch_url/resuming_wip
arguments ofpost_runandwrite_runare deleted. The
runs.wip_branch_urlcolumn is retained, nullable and never written, so the
four historical rows still render in the dashboard. ADR-005 is superseded in
part by ADR-008.
v0.17.2
Changed
- Each run now clones its target repo into a fresh, run-scoped directory
(repos_dir/run-<run-id>/<slug>) instead of reusing one persistent working
copy per repo, and deletes it when the run ends. The old reset-on-entry
guard only covered a dirty working tree — agents have full shell access and
can also leave behind a diverged branch,.git/configresidue, stashes, or
hooks, none of which a reset touches. (This had already caused an outage:
an agent'sgit push -uleftbranch.main.mergepointing at a deleted
remote branch, breaking every subsequent run for that repo.) Orphaned
checkouts from a hard-killed run are swept on every run and removed after
six hours. Clones are full, not shallow, so agents still see history. (#61)
Fixed
- Dependency bump:
pip26.1.2 → 26.2.1 for PYSEC-2026-3721 (pulled in
transitively viapip-audit).
Documentation
- README now describes Dependabot handling accurately: Labro comments on
Dependabot PRs cross-referenced against open security alerts, and raises a
tracking issue for alerts Dependabot hasn't yet opened a PR for — it was
previously described as "reviewing" Dependabot PRs.
Internal
ci-python.ymlnow runspip-auditas its owndependency-auditjob,
separate fromci(ruff/mypy/bandit/pytest). A dependency advisory landing
on an unrelated day used to abortcibefore pytest ran, misreporting an
unrelated commit as having broken tests.
v0.17.1
Fixed
- Agent tool subprocesses could outlive the run that spawned them. Only the
direct child was signalled, so grandchildren reparented to PID 1 and kept
running — one saturated the host for 36 minutes. Each agent now gets its own
process session and the whole group is torn down (SIGTERM → SIGKILL) on
timeout and on normal exit; a second pass reaps any stray still carrying
the run'sLABRO_RUN_ID, scoped to that run so concurrent projects are
unaffected. (#58) - Dependency bump:
cryptography49.0.0 → 50.0.0 for CVE-2026-69247.
Changed
- Dashboard now pins Node 22 via
.nvmrcand declaresengines, so an
out-of-date Node warns atnpm ciinstead of failing later in the build. - Dashboard dependencies updated (12 packages, incl. postcss 8.5.16 → 8.5.25)
andactions/setup-node6 → 7.
Documentation
- README now documents the supported agents and the
agent:provider/model@effortslug format — Codex support was previously
invisible to a reader evaluating the project. - QUICKSTART now names the correct Codex credential env var (the one the live
deployment actually uses) and lists codex among the bundled CLIs. - Deployment docs describe the compose-based deployment instead of a stale
docker runblock.
Internal
- Pre-commit runs ruff/mypy/bandit from
uv.lockrather than its own pins,
ending a drift where hooks and CI enforced different rule sets in both
directions. mypy now also coverstests/. - OpenCode's duplicate subprocess helper collapsed into the shared
run_cli,
so process teardown lives in exactly one place. - Test suite fails loudly on any attempt to signal a whole process group or
every process — a mocked pid coercing to 1 would otherwisekill(-1)the
developer's login session. npm run previewshares the R2 proxy withnpm run dev.
v0.17.0
Added
- Per-project publish gate for the dashboard snapshot. A new
publish
boolean (defaultfalse) on each project inlabro.tomlcontrols whether
that project's runs are included in the public dashboard snapshot. Runs,
items_touched, projects, and project_locks rows are all filtered to
published projects only, so an unpublished project's name never ships in
the snapshot — including transientproject_locksrows during an in-flight
run. The snapshot is VACUUMed after filtering as defensive hardening, so the
no-residue guarantee holds regardless of the SQLite build'ssecure_delete
setting.
Changed
- Action required on upgrade: the dashboard snapshot now fails safe — a
project publishes nothing until you setpublish = truefor it in
labro.toml. Existing deployments must opt each project in explicitly or it
will drop off the public dashboard.
v0.16.10
Fixed
- OpenCode structured-output reliability on weak/free models (big-pickle,
nemotron, etc.): the prompt now leads with an explicit mandate that the
outcomekey is always present, is one of the three literal values, and is
never null or omitted — fixing intermittentoutcome … got Nonevalidation
failures. The JSON extractor also now unwraps a single-level wrapper object
(e.g.{"structured_output": {...}}) instead of hard-failing on it.
v0.16.9
Added
- Optional analytics snippet injection for the dashboard: set
ANALYTICS_SNIPPET_HTMLin the config repo to inject a tracking snippet (Umami, Plausible, GA, etc.) at deploy time. Unset by default — public builds ship with no tracking.
Fixed
- Working copy artifacts left behind by the agent (e.g. a
.venv) are now cleaned up after every run (git reset --hard+git clean -fdx), preventing unbounded disk growth on long-lived deployments - Tool caches (pip-tools, pip, uv) are now cleared after every run for the same reason — a single dependency resolution could leave several GB behind
- Analytics snippet injection now actually matches the placeholder in
dashboard/index.html(the deploy workflow's find/replace was a silent no-op)
Changed
- Deployment docs now recommend docker-compose for VPS/crond mode instead of a bare
docker run, for declarative recreates
v0.16.8
Fixed
labro checknow reports FAIL when an agent CLI binary is not on PATH; unexpected invoke errors (e.g. a missing binary at runtime) are caught and recorded in the runs table instead of being lostfailure_reasonnow summarises all fallback attempts, not just the last one- Dashboard shows
—for an empty agent instead of an internal default value labro.example.toml's maintainer persona example brought in sync with the live config (prior pin audit and dependency conflict check steps were missing)
v0.16.7
Fixed
- Pushgateway metrics now push on skipped and budget-exceeded runs, not just agent runs; the push was placed after the agent invocation so all early-exit paths bypassed it
v0.16.6
Fixed
prometheus-clientis now included in the production Docker image (.[metrics]extra installed at build time); v0.16.5 silently skipped all Pushgateway pushes because the package was missing from the image
v0.16.5
Added
- Optional Prometheus Pushgateway integration: set
PUSHGATEWAY_URLto pushlabro_last_run_timestampandlabro_run_duration_seconds(withprojectandoutcomelabels) after each run. Requirespip install labro[metrics]. Silent no-op if the env var is absent.