Repository navigation
Releases
v6.2.1
- Releasing no longer needs anyone to log in to npm (WORK-AUTO-NEXT). After a stable version reaches
latest, the publish job pointsnextat it with the same Trusted Publishing identity (.github/scripts/follow-next.sh), unlessnextalready holds a newer version:nextonly moves forward, and an older line published or re-run leaves it where it is. The verify job checks both tags. Publications run one at a time across all tags, queued rather than cancelled. Both jobs use npm 11.21.2. This needs "Allow npm dist-tag" enabled once for the trusted publisher on npmjs.com; while it is off, the publish job fails after publishing and says so, and re-running the failed jobs finishes the move.
v6.2.0
- The reviewer is optional (WORK-SINGLE-TOOL). A config without
workers.revieweris valid:buildbeat reviewruns the verifier, then stops for the person's decision, and the approval is allowed. Such a round pins a separateverify-onlyflow, its stop reason saysverified; not reviewed: no workers.reviewer in the run config, andreview,statusandhistory --path((not reviewed)), the approval output and the release readback say so, read from the run's pinned flow; the ledger event format is unchanged, and the approval row indecisions.jsonlcarriesreviewed: false. Every finding of the work above the floor that no person dismissed holds such an approval, fixed ones included (nobody reviewed the commit, so a person checks and dismisses each): dropping the reviewer, or sending an older commit with--commit, does not approve past one.statusmay show such a finding as(not raised again); the approval still needs the dismissal. A verifier's report is never recorded as review findings.checkandreviewprintnote: no reviewer configured; commits are verified, not reviewed. The verifier stays required. checknames a worker's program this machine does not have: the command, or, when the command isworker.shor a shell whose script it is (past options and their values, never with-c), the tool after--(a wrapper with nothing there is reported too). A name is looked up on the worker's own PATH, with the config's vars filled into args as the runtime does; a path must be an executable file.PROBLEM reviewer: <tool> is not on PATH; put the AI command-line tool you have after "--", or remove workers.reviewer to verify only, exit 1. The reader of a reader test is not checked. Before, every review of such a config endedCANCELLED.- The guides, the template, the Skill and the README say that the reviewer can be the AI tool you already use, run headless in a separate read-only session, and show how to set up any tool (
04-adapter-guide, "Only one AI tool, or no review yet"). Only codex is tested.
v6.1.0
- Reviews that keep finding blocking problems now ask for a person (WORK-REVIEW-CIRCLING). When a work's reviews raise a P0 or P1 several rounds in a row,
reviewprintsstop: <n> reviews in a row found blocking problems; before fixing again, show the user where they keep coming from and ask whether to narrow the work, rule on the findings, or keep fixingat 5, 10, 15 … in a row, andstatusshowsblocking streak: <n> reviews in a row found blocking problemsfor a work not yet merged, closed or cancelled (blockingStreakin--json). A round that reviewed nothing (verification failed, the tooling broke) neither counts nor resets the streak; a review with no blocking finding, rejected or not, resets it. Only reviews this version ran count, from the run ledgers or the run records; runs of earlier versions are left out. Nothing is refused: the Skill tells the session to stop and ask. A work in another project had gone through 108 reviews, each fix inviting the next finding, without anyone being asked.
v6.0.0
Install: npm install --global @haiyangbg/buildbeat@latest. Release: PR #131. Plugin 0.7.0. Major version, breaking. Finish or cancel work in progress with the version you have before installing this one. Records left by earlier versions are not changed.
- The runtime records, verifies, reviews and binds the approval. It no longer writes code or drives a loop.
- The session writes and commits the change.
buildbeat review --repo <path> --work <ID> [--commit <sha>]checks that commit out by itself, runs the project's verifier and then a read-only reviewer, and stops for the person's decision. Nothing is written, retried or repaired. - A review ends
FAILED(the commit's problem),CANCELLED(a tool's problem) or waiting for the decision. A new review of the work supersedes the one still waiting. - Decisions are made by work:
buildbeat decide --repo <path> --work <ID> --action approve --candidate <full SHA>, or--action reject --reason <why>. - The commands are
accept,review,reader,decide,release,status,check,historyandhooks.run,resume,stop,gc,metrics,doctorand the other earlier spellings are unknown commands. - Gone with the loop: the builder and fixer workers,
run --adopt, budgets, the verify cache, parallel runs, stall detection, notifications, risk presets and the per-workworkflow.yaml.
- The session writes and commits the change.
- One config per project, one format.
delivery/run-config.yamlholdsworkers.verifier,workers.reviewer,envelope,requires,redact,release,requireScreenshotandmaxReviewSeverity. A work overrides keys in its ownrun-config.yaml, which also takesallowedPathsandbase. Any other key is an error that names it.- A work is its
work.md. Works described byintent.md/plan.mdare not read any more: closed ones still show as closed; an unclosed one shows asLEGACYand can still be closed with a result page (decide --action close --draftdrafts one from its commits).
- New: the reader test.
buildbeat reader --repo <path> --work <ID> [--doc work|result]hands one document to a read-only AI that is given nothing else and runs in an empty directory outside the project. It answers fixed questions; the last collects what it could not tell. For a result page the runtime checks the commit and the documents it names against the records and Git. The list of what it could not answer is for reading item by item, not a score. statuscalls a finding open only while the latest review still raises it. A finding a later review no longer raises shows as(not raised again).- Paths no longer carry
v2.templates/v2/…istemplates/…anddocs/v2/guide/…isdocs/guide/…; nothing redirects from the old paths. In a project that adopted BuildBeat, change what points at the old ones. - History before 6.0 leaves the tree. The migration notes, the v1 changelog, plans, release evidence and the first RFCs are at tag
v5.5.0. The changelog starts again from there.
Verified from registry.npmjs.org after publishing: version 6.0.0, 102 files byte-identical to the tagged source, isolated install prints 6.0.0, SLSA v1 provenance, registry signature and attestation verified (run 43028519165). Full entry: CHANGELOG.md.
v5.5.0
Install: npm install --global @haiyangbg/buildbeat@latest. Content: PRs #124–#127; release: PR #128. Plugin 0.6.5. Minor version; nothing existing changes behaviour except that closing now refuses an unread generated draft.
- Works finished in a session without a run no longer look like drafts.
statusshowsCOMMITTEDfor a work with no run, no run config (or only a release-only config) and no close, whose code commits on the branch name it. It adds acommitted:line and a close-out hint.decide --action close --draftwritesresult.mdfrom those commits. Closing refuses the draft until its first line and every placeholder outside code are gone.
- Commits get their
Work:trailer.buildbeat hooks install --repo <path>installs a plain-shcommit-msghook (templates/v2/hooks/commit-msg). It addsWork: <ID>when the subject names exactly one work that has a folder; when the subject names none, it uses the branch name. It never overwrites a project's own hook.history --pathreads an older commit's subject the same way (via subject), but only when nothing else explains the commit.acceptandcheckwarn when recent commits lack the trailer.
- What runs where.
release --env <name>records the environment and passes it asBUILDBEAT_RELEASE_ENV. Steps of one release are recorded with--note.status --releases [--all-repos] [--json]lists the latest passing readback per environment.- A config with
release:and noworkers:records readbacks for a work done without a run. - New
templates/v2/operations.example.mdfor release steps, rollback and traps.
- A repair handed in with
run --adoptat the merge decision is no longer reported as a merge approval. Decision lines mark it— adopted <sha7>, resumed at <step>. - Two checks no longer reject correct text.
- The draft check skips inline code.
- The docs check's citation rule matches only the exported marker shapes.
lessons.md28: a fix that satisfies review on one side opens the other.
Verified:
- Publish run 42020765897: publish and verify both passed on the first attempt.
- Registry integrity and shasum are identical to the candidate packed locally with Node 24 + npm 11.19.0 (116 files).
- SLSA v1 provenance is present, and
npm audit signaturesverified. - An isolated install reports
buildbeat --version= 5.5.0, and the bare invocation writes nothing. - Tag
v5.5.0is on merge commita83b84b.
v5.4.0
Install: npm install --global @haiyangbg/buildbeat@latest. Content: PRs #116–#120, #91, #92; release: PR #121. Plugin 0.6.4. Minor version with one behaviour change.
- The scope check sees both sides of a move. Behaviour change: moving a file from outside
allowedPathsinto it is now out of scope, reported by the path it left. Before, only the new path was checked.- Paths are read with
-z, so names with quotes, tabs or edge spaces are compared as they are. - Untracked files are listed one by one whatever
status.showUntrackedFilessays. history --pathno longer fails on a user'sblame.ignoreRevsFile, and it traces commits that move files out of a work's folder.- Needs Git 2.18+, and 2.23+ for
history --path.
- Paths are read with
statusis faster on big workspaces. Each repository's run ledgers are read once per call, and merged candidates are answered from onegit rev-listof the main branch instead of amerge-baseper candidate. Output is unchanged. In a pilot workspace the cross-repository overview went from about 31 s to about 4 s.- The no-runtime guide hands teams the ignore rules. The setup prompt now adds the
delivery/block oftemplates/gitignore.template, and the hand-written close line carriesdecisionRef. - CI runs CodeQL 4.39.1 and setup-node 7.1.0.
Verified:
- Publish run 41321407459: publish and verify both passed on the first attempt.
- Registry integrity and shasum are identical to the candidate packed locally with Node 24 + npm 11.19.0 (112 files).
- SLSA v1 provenance is present, and
npm audit signaturesverified. - An isolated install reports
buildbeat --version= 5.4.0, and the bare invocation writes nothing. - Tag
v5.4.0is on merge commitb94443d.
v5.3.0
Install: npm install --global @haiyangbg/buildbeat@latest. Content: PRs #110–#112; release: PR #113. Plugin 0.6.3. Minor version: no runtime behaviour removed, no migration step.
- Project files keep rules and where to look, not facts that change. A wrong line of project context misleads every session that reads it.
templates/v2/BUILDBEAT.mdand the example's copy are gone: the runtime never read them, and their content was a runtime version to keep up to date. TheAGENTS.mdtemplate now says to check the runtime version, progress, who does what and deployments withbuildbeat --version,buildbeat statusand Git instead of copying them in. A project that copiedBUILDBEAT.mdcan delete it. - A work's folder holds its records, not the process material around them.
acceptandcheckwarn whendelivery/work/<ID>/holds more than 10 files besides its records. Files already in Git count, ignored and deleted ones do not, and nothing is refused. In a pilot workspace's main repository 55 of 93 works held more than 10 such files (one held 699), while four code repositories' 46 works held 3 at most.
Verified:
- Publish run 41299230383: publish and verify both passed on the first attempt.
- Registry integrity and shasum are identical to the candidate packed locally with Node 24 + npm 11.19.0 (112 files).
- SLSA v1 provenance.
- Isolated install:
buildbeat --version= 5.3.0, and the bare invocation writes nothing. npm audit signaturesverified.- Tag
v5.3.0is on merge commitd3cc06c.
v5.2.0
Install: npm install --global @haiyangbg/buildbeat@latest. Content: PRs #106–#107; release: PR #108. Plugin 0.6.2. Minor version: nothing removed or renamed, no migration step.
- Screenshots, archives and logs under
delivery/stay out of Git. Bothgitignore.templates ignoredelivery/**/*.png,*.jpg,*.jpeg,*.gif,*.webp,*.zip,*.tgz,*.gzand*.log;delivery/itself still goes into Git. A binary is kept whole in Git history for every version, so the repository only grows: in a pilot workspace the main repository's history reached 36 MB in two months, nearly all evidence screenshots, while five code repositories' text records came to 0.85 MB compressed. acceptandcheckwarn before such files go in. When a work's folder holds files the next commit would add that are of those kinds or 256 KB or more, they print one line listing up to five with their sizes. Files already in Git or ignored are left alone, and nothing is refused.requireScreenshotevidence lives under.buildbeat/runtime/and is not affected.- Projects already using BuildBeat copy the new block from
templates/gitignore.templateinto their own.gitignore; a release never rewrites project files.
Verified: publish run 41282453770 (publish + verify, first attempt); registry integrity and shasum identical to the candidate packed locally with Node 24 + npm 11.19.0 (114 files); SLSA v1 provenance; isolated install buildbeat --version = 5.2.0, and the bare invocation writes nothing; npm audit signatures verified; tag v5.2.0 on merge commit 81eb5cb.
v5.1.0
Install: npm install --global @haiyangbg/buildbeat@latest. Content: PRs #101–#103; release: PR #104. Plugin 0.6.1. Minor version: nothing removed or renamed, no migration step.
history --pathnames who decided. Under each work it printsapproved: <ts> by <who> (<RUN-ID>)for the merge approval bound to the candidate that reached main, andclosed:/cancelled:while the work stays closed, saying whether a person or an AI session decided;--jsonaddsapprovedandclosed.- Described as what it is: Git-based project context management. The README leads with it and draws each point; the npm description, the GitHub About, and the Claude Code plugin and marketplace descriptions say the same, with the runtime optional.
Verified: publish run 41214816952 (publish + verify, first attempt); registry integrity and shasum identical to the candidate packed locally with Node 24 + npm 11.19.0 (114 files); SLSA v1 provenance; isolated install buildbeat --version = 5.1.0, and the bare invocation writes nothing; npm audit signatures verified; tag v5.1.0 on merge commit 6b707ca.
v5.0.0
Install: npm install --global @haiyangbg/buildbeat@latest. Content: PRs #94–#97 and the decision-identity change; release: PR #98. Plugin 0.6.0. Major version: two behaviour changes, see "4.x → 5.0" in MIGRATION.
- Close every work with a result page.
decide --action closenow needsdelivery/work/<ID>/result.md: what was delivered, what was decided, what is left and where it went, and what was written into the project's own documents.- <path> @ <commit>lines are read back from Git. A work without a release closes with the page alone.acceptandclosetake--notefor the person's own words. - Decisions say who made them. Each decision records whether a person or an AI session made it (
--as human|agent); inside an AI coding tool, a decision without--asis the session's. - Find the work behind a line of code.
buildbeat history --repo . --path <file>[:<line>[-<line>]]maps blamed lines to works through recorded runs,Work:trailers and work folders. The envelope's commits carryWork: <ID>, andaccept/checkwarn whendelivery/is ignored by Git. - String related works into one thread.
- follows:/- split from:/- related:/- ref:lines;status --worklists the thread with each work's stage across repositories, andstatus --ref <id>finds works by an external id. - Facts point at code. A facts section names the commit it was checked on and points at
path:<start>-<end>;status --worklists what changed since, with the commits to each changed file, andaccept/checkwarn. - Skill and project files only. Keeping each requirement's context in Git needs no runtime; guide 12 shows a person or a team how to start, and the runtime adds the automatic loop and its checks.
Verified: publish run 40175517125 (publish + verify, first attempt); registry integrity and shasum identical to the candidate packed locally with Node 24 + npm 11.19.0 (114 files); isolated install buildbeat --version = 5.0.0, and the bare invocation writes nothing; tag v5.0.0 on merge commit e09c257, whose tree equals the gated candidate.