Skip to content

Releases

v6.2.1

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 19 Nov 12:34
9cb074f
  • Releasing no longer needs anyone to log in to npm (WORK-AUTO-NEXT). After a stable version reaches latest, the publish job points next at it with the same Trusted Publishing identity (.github/scripts/follow-next.sh), unless next already holds a newer version: next only 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

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 19 Nov 08:26
72aa229
  • The reviewer is optional (WORK-SINGLE-TOOL). A config without workers.reviewer is valid: buildbeat review runs the verifier, then stops for the person's decision, and the approval is allowed. Such a round pins a separate verify-only flow, its stop reason says verified; not reviewed: no workers.reviewer in the run config, and review, status and history --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 in decisions.jsonl carries reviewed: 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. status may show such a finding as (not raised again); the approval still needs the dismissal. A verifier's report is never recorded as review findings. check and review print note: no reviewer configured; commits are verified, not reviewed. The verifier stays required.
  • check names a worker's program this machine does not have: the command, or, when the command is worker.sh or 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 ended CANCELLED.
  • 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

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 19 Nov 07:42
c7d37a1
  • 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, review prints stop: <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 fixing at 5, 10, 15 … in a row, and status shows blocking streak: <n> reviews in a row found blocking problems for a work not yet merged, closed or cancelled (blockingStreak in --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

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 11 Nov 13:36
f4b8615

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, history and hooks. run, resume, stop, gc, metrics, doctor and 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-work workflow.yaml.
  • One config per project, one format.
    • delivery/run-config.yaml holds workers.verifier, workers.reviewer, envelope, requires, redact, release, requireScreenshot and maxReviewSeverity. A work overrides keys in its own run-config.yaml, which also takes allowedPaths and base. Any other key is an error that names it.
    • A work is its work.md. Works described by intent.md / plan.md are not read any more: closed ones still show as closed; an unclosed one shows as LEGACY and can still be closed with a result page (decide --action close --draft drafts 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.
  • status calls 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/… is templates/… and docs/v2/guide/… is docs/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

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 05 Nov 11:45
a83b84b

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.
    • status shows COMMITTED for 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 a committed: line and a close-out hint.
    • decide --action close --draft writes result.md from 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-sh commit-msg hook (templates/v2/hooks/commit-msg). It adds Work: <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 --path reads an older commit's subject the same way (via subject), but only when nothing else explains the commit.
    • accept and check warn when recent commits lack the trailer.
  • What runs where.
    • release --env <name> records the environment and passes it as BUILDBEAT_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 no workers: records readbacks for a work done without a run.
    • New templates/v2/operations.example.md for release steps, rollback and traps.
  • A repair handed in with run --adopt at 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.md 28: 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 signatures verified.
  • An isolated install reports buildbeat --version = 5.5.0, and the bare invocation writes nothing.
  • Tag v5.5.0 is on merge commit a83b84b.

v5.4.0

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 01 Nov 15:34
b94443d

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 allowedPaths into 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.showUntrackedFiles says.
    • history --path no longer fails on a user's blame.ignoreRevsFile, and it traces commits that move files out of a work's folder.
    • Needs Git 2.18+, and 2.23+ for history --path.
  • status is faster on big workspaces. Each repository's run ledgers are read once per call, and merged candidates are answered from one git rev-list of the main branch instead of a merge-base per 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 of templates/gitignore.template, and the hand-written close line carries decisionRef.
  • 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 signatures verified.
  • An isolated install reports buildbeat --version = 5.4.0, and the bare invocation writes nothing.
  • Tag v5.4.0 is on merge commit b94443d.

v5.3.0

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 01 Nov 10:56
d3cc06c

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.md and the example's copy are gone: the runtime never read them, and their content was a runtime version to keep up to date. The AGENTS.md template now says to check the runtime version, progress, who does what and deployments with buildbeat --version, buildbeat status and Git instead of copying them in. A project that copied BUILDBEAT.md can delete it.
  • A work's folder holds its records, not the process material around them. accept and check warn when delivery/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 signatures verified.
  • Tag v5.3.0 is on merge commit d3cc06c.

v5.2.0

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 01 Nov 07:01
81eb5cb

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. Both gitignore.templates ignore delivery/**/*.png, *.jpg, *.jpeg, *.gif, *.webp, *.zip, *.tgz, *.gz and *.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.
  • accept and check warn 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. requireScreenshot evidence lives under .buildbeat/runtime/ and is not affected.
  • Projects already using BuildBeat copy the new block from templates/gitignore.template into 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

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 31 Oct 15:33
6b707ca

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 --path names who decided. Under each work it prints approved: <ts> by <who> (<RUN-ID>) for the merge approval bound to the candidate that reached main, and closed: / cancelled: while the work stays closed, saying whether a person or an AI session decided; --json adds approved and closed.
  • 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

Choose a tag to compare

@HaiYangBG1 HaiYangBG1 released this 25 Oct 08:13
e09c257

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 close now needs delivery/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. accept and close take --note for 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 --as is 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 carry Work: <ID>, and accept / check warn when delivery/ is ignored by Git.
  • String related works into one thread. - follows: / - split from: / - related: / - ref: lines; status --work lists the thread with each work's stage across repositories, and status --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 --work lists what changed since, with the commits to each changed file, and accept / check warn.
  • 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.