OverviewFilesCommitsIssuesDocsReleasesPeers

P2P-Hiverelay commits / 2c1838d

test: accept current browser artifact authority
2c1838ddf5f6306410c3830802710c105595945d
by bigdestiny2 <33146784+bigdestiny2@users.noreply.github.com> · 2026-07-29T22:13:29.000Z

Changed files (3) +17 -4

CHANGELOG.md +6 -0
……@@ -23,6 +23,12 @@ The packages are versioned in lockstep.
2323 Efficiency Plan. The root README now links both candidate replacement
2424 surfaces and keeps them distinct from the published legacy fleet.
2525
26### Fixed
27- Preserved the byte-for-byte executable v1 browser-control bundle while
28 refreshing its manifest, Chromium evidence, cross-host evidence, and pinned
29 compatibility hashes to bind the already-current bundle and source closure.
30 The vNext policy export is not part of the executable v1 bundle.
31
2632## [0.24.3] — 2026-07-08
2733
2834### Added
packages/blind-client/README.md +6 -0
……@@ -62,6 +62,12 @@ and additional readback/operator evidence raises only the durability label.
6262It keeps workload placement separate from network privacy, durability, cost,
6363and semantic-service disclosure:
6464
65This policy export is not added to the executable v1 browser-control bundle.
66That bundle remains byte-frozen; its manifest and browser evidence are refreshed
67only to bind the already-current bundle and exact source closure. The policy SDK
68is part of the unpublished private `1.0.0-rc.1` replacement workspace and is
69not an npm publication claim.
70
6571```js
6672import {
6773 RUNTIME,
packages/blind-client/test/browser-artifact.test.js +5 -4
……@@ -258,14 +258,15 @@ test('browser artifact manifest and verification inputs are exact and canonical'
258258 }), 'BAD_BLIND_CLIENT_BROWSER_ARTIFACT')
259259})
260260
261test('browser artifact stays package-addressable while candidate authority blocks regeneration', t => {
261test('browser artifact stays package-addressable and regeneration check is current', t => {
262262 const generated = spawnSync(process.execPath, [fileURLToPath(generatorUrl), '--check'], {
263263 cwd: os.tmpdir(),
264264 encoding: 'utf8'
265265 })
266 t.is(generated.status, 1)
267 t.ok(generated.stderr.includes('browser artifact tuple authority is stale'))
268 t.ok(generated.stderr.includes('BlindForwardRouteScopeV1'))
266 t.is(generated.status, 0)
267 const generationReport = JSON.parse(generated.stdout)
268 t.is(generationReport.schema, 'HiveRelayBlindClientBrowserArtifactGenerationV1')
269 t.is(generationReport.releaseReady, true)
269270 const resolvedArtifact = fileURLToPath(import.meta.resolve(
270271 '@hiverelay/blind-client/browser-artifacts/blind-client-control-v1.mjs'))
271272 const resolvedManifest = fileURLToPath(import.meta.resolve(