Repository navigation
v0.5.0-rc.54
Pre-releaseInstall from a new application
Use Node 22 or newer. For the Apache-2.0 JavaScript library, TypeScript definitions or command-line decision gates, install this exact public prerelease as a runtime dependency:
npm install --save-exact @verifyrun/phaseline@0.5.0-rc.54
npx --no-install phaseline init inquiry
npx --no-install phaseline decide inquiry/proposed.phase inquiry/records.jsonThe sample holds rely until the reviewer supplies evidence and releases retain_record from the same record. Preserve the original effective and recorded times. A plain npm install selects 0.4.1, the older CLI. Use the pinned prerelease for import {gate} from "@verifyrun/phaseline".
Run the library example · Download the optional Python configuration example. The example is a separate companion download. It runs two real library versions, discovers a configuration read and checks its prediction at the destination. The release tarball and its original attestation identify the npm package.
Changelog
0.5.0-rc.54
Correct the standing-approval example to preserve source timestamps. Test the installed release archive before publication.
Phaseline follows semantic versioning. Before 1.0, a minor version may change behavior;
each change that can alter an existing result is marked Changed behavior.
0.5.0 release candidates
Licensing and releases
- The standalone candidate includes an Apache-2.0 license and a workflow for npm
provenance. Check the registry and the matching attestation for a published version.
Changed behavior
- A malformed record is refused with exit 1 and names the record: a date string or
fraction inatorrecorded, a field other than subject, at, recorded, source, by
and value, or a missing field. Before, such a record was skipped and the fact held as
missing. Convert dates to whole numbers on one clock before calling decide. - A case is refused when it has a field other than subject, at, asOf and records, or a
key repeated in one JSON object. - The case error now names the field that is wrong.
Added
latest: the most recently written eligible record settles a fact.within N: only records written within N time units of the review count.standing: an approval recorded for an earlier event can serve later requests, read
as in force at the review time.standing at event: the same, read as in force at the request's own time, using every
record known by the review. Use it for audits and historical questions.decide --gate GUARANTEE: exit 0 on release and 2 on hold or withhold.serve: a local HTTP service for decide, gate and compare.- A library entry (
import {decide, gate, compare, serve} from "@verifyrun/phaseline")
with TypeScript types that compile without @types/node. #note lines in rule and observer files.phaseline --helplists everyday commands;--help alllists every command.
Fixed
- Decisions with many unrecorded facts stay fast instead of trying every combination.
0.4.1 and earlier
Published versions on npm. See the package README of each version.