bareloop 0.18.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/bareloop.context.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,45 @@ All notable changes to bareloop are documented here. Format:
|
|
|
5
5
|
[SemVer](https://semver.org/spec/v2.0.0.html). Pre-1.0: **minor** = a ladder rung or
|
|
6
6
|
feature lands, **patch** = docs, fixes, scaffolding.
|
|
7
7
|
|
|
8
|
+
## [0.19.1] — 2026-09-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- `tests/no-test-sniffing.test.js` no longer runs the close against the machine-local
|
|
13
|
+
`pulselog-u` patient — that test could only pass on the maintainer's machine and
|
|
14
|
+
turned CI and the v0.19.0 publish red (v0.19.0 was tagged but never published).
|
|
15
|
+
|
|
16
|
+
## [0.19.0] — 2026-09-02
|
|
17
|
+
|
|
18
|
+
_Tagged 2026-09-02, never published: `publish.yml` failed on a machine-local test; see 0.19.1._
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- **G3 bench row (the structural negative).** `scripts/u-pulselog-close.mjs`
|
|
23
|
+
gains an additive `no-test-sniffing` close stage (planted-contradiction cheat catcher,
|
|
24
|
+
modelled on `no-suppressions`) and `--workdir`/`--seed` argv flags so the same close
|
|
25
|
+
script can judge a second patient without touching `jobs/pulselog-u-types.json`'s
|
|
26
|
+
behaviour or signed hash. New spec `jobs/pulselog-g3-types.json`, registered in
|
|
27
|
+
`scripts/run-u.mjs`. Frozen 2026-09-01 (hamr: "freeze"), signed and established
|
|
28
|
+
2026-09-01 — establishing run `u-mties136` read non-green as pre-registered
|
|
29
|
+
(`step-red`, $2.98 of $4, 21.9 of 25 min) — see `docs/product/G3-SCOPING.md`, the
|
|
30
|
+
BENCH-PREREG freeze amendment, and FINDINGS F125.
|
|
31
|
+
- **`tokens` tail line in `scripts/run-u.mjs`'s run readout** (hamr's order,
|
|
32
|
+
2026-09-01). `job-end` carries dollars only; tokens existed only per round on
|
|
33
|
+
`worker-round.usage`/`judge-round.usage`, invisible in the printed tail. New
|
|
34
|
+
`tokensLine`/`fmtTokens` exports in `scripts/u-readout.mjs` sum `usage`
|
|
35
|
+
(`inputTokens`/`outputTokens`/`cacheReadTokens`/`cacheCreationTokens`) over every
|
|
36
|
+
`worker-round` and `judge-round` record of the CURRENT leg's own spine —
|
|
37
|
+
`worker-result` (an attempt-level echo of round sums) is deliberately excluded. A
|
|
38
|
+
round with no `usage` object (every `judge-round` today) counts as UNKNOWN and is
|
|
39
|
+
named in a trailing `(N round(s) unpriced/no usage)` note rather than folded into
|
|
40
|
+
the total as 0. Prints right after the `rounds` line. 5 new tests.
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- **`scripts/run-u.mjs`'s run tail pluralizes `plan N step(s)`.** A 1-step plan
|
|
45
|
+
previously printed `1 steps`; the tail now reads `1 step` / `N steps` correctly.
|
|
46
|
+
|
|
8
47
|
## [0.18.0] — 2026-08-31
|
|
9
48
|
|
|
10
49
|
### Added
|
package/bareloop.context.md
CHANGED
|
@@ -203,7 +203,7 @@ contract the single close object has always used) plus:
|
|
|
203
203
|
| stage field | shape | notes |
|
|
204
204
|
|---|---|---|
|
|
205
205
|
| `name` | unique kebab-case slug | the plan references it via `check-passes(name)`; duplicates red `duplicate-id` |
|
|
206
|
-
| `offer` | optional boolean, default offered | `offer: false` hides the stage from the derived menu — it never reaches the agent. For a stage that cannot stand alone as a ruler: a PRECONDITION (e.g. "the seed commit exists" — passes instantly, teaches nothing) or the **final grading stage** — of the
|
|
206
|
+
| `offer` | optional boolean, default offered | `offer: false` hides the stage from the derived menu — it never reaches the agent. For a stage that cannot stand alone as a ruler: a PRECONDITION (e.g. "the seed commit exists" — passes instantly, teaches nothing) or the **final grading stage** — of the fourteen specs in `jobs/`, five hide a final `verdict` stage and seven hide a `changed-from-seed` precondition instead (the remaining two use an object-form close with no staged `offer` flags) (a per-spec convention, not a schema rule — nothing stops a stage named last from being offered except the spec author remembering to set the flag; preflight's `check-menu` event always names the full menu either way, so a forgotten flag is visible in the run's own record) |
|
|
207
207
|
| `needs` | optional non-empty array of EARLIER stage names | a stage that reads what an earlier stage built (e.g. "the public API matches what an earlier stage emitted") names its prerequisite chain; picking it via `check-passes` runs the chain first, then the stage itself. Every name must be declared before this stage (`invalid-value` otherwise); `needs` + `offer: false` together is incoherent (`invalid-value`) — a stage with a chain to run must be reachable |
|
|
208
208
|
| `direction` | optional `'up'` \| `'down'`, allow-list validated (anything else is `invalid-value`) | which way this stage's numeric series is READING as progress — `'down'` (fewer is better: typecheck errors, suppressions) or `'up'` (more is better: a fault-detection rate). **Absent means `'down'`** — every close built before this field existed is a count-shaped close, so the silent default is behaviour-identical for all of them (F120). Never inferred from the goal text and never LLM-judged — prose the agent writes must never influence its own halt rule, the same reasoning that keeps every close hand-authored or declared, never judged. Consulted by `isBetter(stage,a,b)` in `src/trend.js`, the one place the close-fix governor's `countImproved` and `best`-tracking read direction; `scripts/run-u.mjs` prints each stage's direction at the close-stage banner so a silent default is never invisible |
|
|
209
209
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bareloop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "Workflows that earn their own design, with receipts \u2014 agent-authored workflows for repeated, long, verifiable jobs that improve across runs under an un-gameable gate.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|