bareloop 0.25.0 → 0.25.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 CHANGED
@@ -5,6 +5,20 @@ 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.25.1] — 2026-09-13
9
+
10
+ ### Fixed
11
+
12
+ - **Package-root export gap (PRD item 33/M2 follow-up):** `bareloop.context.md` documents
13
+ `datedDestination(destination, now, n)` and `pickDelivery(destination, now?)` as exported
14
+ from the package root, but `src/index.js`'s `./source.js` re-export only carried
15
+ `prepareSource`, `proveDestination`, `copyOut`, `readSourceManifest`,
16
+ `frontDoorFromManifest` — both helpers existed in `src/source.js` but were `undefined`
17
+ when imported as `import { datedDestination, pickDelivery } from 'bareloop'`. Caught by a
18
+ clean-consumer import check of the published v0.25.0 package. Both names are now
19
+ re-exported from `src/index.js`; `tests/index.test.js` pins them against `src/source.js`
20
+ identity.
21
+
8
22
  ## [0.25.0] — 2026-09-12
9
23
 
10
24
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bareloop",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Workflows that earn their own design, with receipts — 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",
package/src/index.js CHANGED
@@ -293,4 +293,7 @@ export { main as cliMain } from './cli.js';
293
293
  // source.mjs` and `scripts/run-u.mjs` are two separate call sites reaching
294
294
  // for the SAME functions — an adopter building a third has to reach the same
295
295
  // module, not a re-derivation of it.
296
- export { prepareSource, proveDestination, copyOut, readSourceManifest, frontDoorFromManifest } from './source.js';
296
+ export {
297
+ prepareSource, proveDestination, copyOut, readSourceManifest, frontDoorFromManifest,
298
+ datedDestination, pickDelivery,
299
+ } from './source.js';
package/src/kinds.js CHANGED
@@ -483,12 +483,14 @@ async function sh(cmd, args, { cwd, env: declared = {}, timeoutMs = DEFAULT_TIME
483
483
  }
484
484
 
485
485
  /**
486
- * git, read-only, in a repository. Faults come back as `ok:false` with the
487
- * stderr — a caller decides whether that is a stop.
486
+ * git, in a repository (reads by every caller in this file; `src/source.js`
487
+ * also uses it for the hidden-git seed's `init`/`add`/`commit`). Faults come
488
+ * back as `ok:false` with the stderr — a caller decides whether that is a
489
+ * stop.
488
490
  *
489
491
  * Exported (PRD item 33/M2, `src/source.js`) so the hidden-git seed a plain
490
492
  * folder/file/URL job runs against goes through the SAME spawn primitive as
491
- * every other git read in this file — a second `spawn('git', …)` for the
493
+ * every other git call in this file — a second `spawn('git', …)` for the
492
494
  * source front door would be a second instrument with its own timeout and
493
495
  * buffer ceiling to keep in sync with this one.
494
496
  * @param {string} cwd @param {string[]} args
package/types/index.d.ts CHANGED
@@ -29,4 +29,4 @@ export { runInterview, authorCloseForJob, assembleSpec, prepareSigning, refusalE
29
29
  export { PROMPT_REGISTERS, isPromptFile } from "./promptregisters.js";
30
30
  export { exportBundle, bundleHash, readBundle, resolveBundleSpec, checkEnvelope, bless, verifyBlessing, appendHistory, checkBundleDeps } from "./bundle.js";
31
31
  export { readCloseScripts, checkCloseAbsolutePaths, absolutePathLiteralsOf, hashCloseScriptBytes, checkCloseByteSignature, checkStageByteSignature, signCloseScripts } from "./close-integrity.js";
32
- export { prepareSource, proveDestination, copyOut, readSourceManifest, frontDoorFromManifest } from "./source.js";
32
+ export { prepareSource, proveDestination, copyOut, readSourceManifest, frontDoorFromManifest, datedDestination, pickDelivery } from "./source.js";
package/types/kinds.d.ts CHANGED
@@ -50,12 +50,14 @@ export function doorOpens(job: any, reviewDoor?: boolean | null): boolean;
50
50
  */
51
51
  export function mechanicalStages(stages: any[] | null | undefined): any[];
52
52
  /**
53
- * git, read-only, in a repository. Faults come back as `ok:false` with the
54
- * stderr — a caller decides whether that is a stop.
53
+ * git, in a repository (reads by every caller in this file; `src/source.js`
54
+ * also uses it for the hidden-git seed's `init`/`add`/`commit`). Faults come
55
+ * back as `ok:false` with the stderr — a caller decides whether that is a
56
+ * stop.
55
57
  *
56
58
  * Exported (PRD item 33/M2, `src/source.js`) so the hidden-git seed a plain
57
59
  * folder/file/URL job runs against goes through the SAME spawn primitive as
58
- * every other git read in this file — a second `spawn('git', …)` for the
60
+ * every other git call in this file — a second `spawn('git', …)` for the
59
61
  * source front door would be a second instrument with its own timeout and
60
62
  * buffer ceiling to keep in sync with this one.
61
63
  * @param {string} cwd @param {string[]} args