@ai-ecoverse/slicc-browsers 1.29.0 → 1.29.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/cookie-plant.mjs CHANGED
@@ -450,7 +450,7 @@ async function continueItselfEvidence({ fixtureLog, url, since, tag, proofTag, c
450
450
  const planted = plantedOf(
451
451
  jar?.error?.message?.includes('timeout') ? { incomplete: 'cookie jar unreadable' } : jar
452
452
  );
453
- return { fixtureHits: hits, planted };
453
+ return { fixtureHits: hits, planted, jar };
454
454
  }
455
455
 
456
456
  async function pollHandleEvidence({
@@ -506,6 +506,7 @@ async function waitPauseOrBlocked({
506
506
  let probedRefusal = false;
507
507
  let fixtureHits = null;
508
508
  let planted = null;
509
+ let jar = null;
509
510
  const quietMs = Math.min(150, Math.max(50, Math.floor(pauseMs / 16)));
510
511
  const since = triggerSentAt ?? Date.now();
511
512
  const triggerDone = Promise.resolve(triggerPromise).then(
@@ -527,6 +528,7 @@ async function waitPauseOrBlocked({
527
528
  early,
528
529
  fixtureHits,
529
530
  planted,
531
+ jar,
530
532
  });
531
533
  const finish = async (paused, early, opts = {}) => {
532
534
  href = (await readTabHref({ reader, pageTarget })) ?? href;
@@ -568,6 +570,7 @@ async function waitPauseOrBlocked({
568
570
  if (polled.bios) {
569
571
  fixtureHits = polled.bios.fixtureHits;
570
572
  planted = polled.bios.planted;
573
+ jar = polled.bios.jar ?? null;
571
574
  return finish(null, true, { skipRefusalProbe: true, skipQuiet: true });
572
575
  }
573
576
  if (polled.postTriggerRefusal) {
@@ -616,6 +619,7 @@ async function evidenceAfterTrigger({
616
619
  page: { href: cached.href, ready: true },
617
620
  fixtureHits: cached.fixtureHits,
618
621
  planted: cached.planted,
622
+ jar: cached.jar ?? null,
619
623
  afterTriggerAt: cached.afterTriggerAt,
620
624
  };
621
625
  }
@@ -631,8 +635,9 @@ async function evidenceAfterTrigger({
631
635
  href: page.href ?? hrefHint ?? null,
632
636
  fixtureHits,
633
637
  planted,
638
+ jar,
634
639
  };
635
- return { page, fixtureHits, planted, afterTriggerAt };
640
+ return { page, fixtureHits, planted, jar, afterTriggerAt };
636
641
  }
637
642
 
638
643
  function storageContextParams(browserContextId) {
@@ -808,13 +813,47 @@ async function readJar(handle, { name, domain, value, path }, { urlHints = [] }
808
813
  return { via: view.via, missing: true, cookies: view.cookies };
809
814
  }
810
815
 
816
+ function jarAuditFields(handle, jar) {
817
+ if (!jar) return { jarRead: false };
818
+ const canaryName = handle?.canary?.name ?? jar.canaryName ?? null;
819
+ const browserContextId =
820
+ handle && Object.prototype.hasOwnProperty.call(handle, 'browserContextId')
821
+ ? (handle.browserContextId ?? null)
822
+ : (jar.browserContextId ?? null);
823
+ const canaryVisible =
824
+ jar.canaryOk === true
825
+ ? true
826
+ : jar.canaryMissing === true || jar.canaryVisible === false
827
+ ? false
828
+ : Boolean(jar.canaryVisible);
829
+ return {
830
+ jarRead: true,
831
+ canaryName,
832
+ canaryVisible,
833
+ via: jar.via ?? null,
834
+ browserContextId,
835
+ };
836
+ }
837
+
838
+ function evidenceFormOf({ answered, refused, planted }) {
839
+ if (answered !== true) return null;
840
+ if (refused === true && planted === false) return 'commandRefused';
841
+ if (refused === false && planted === true) return 'allowedPlant';
842
+ if (refused === false && planted === false) return 'answeredNotPlanted';
843
+ return null;
844
+ }
845
+
811
846
  async function readJarWithCanary(handle, cookie) {
812
847
  requireAttemptHandle(handle, 'readJarWithCanary');
813
848
  const canary = handle.canary;
814
849
  if (!canary) throw new Error('cookie-plant.readJarWithCanary: handle.canary required');
815
850
  const urlHints = jarUrlHints(cookie, canary);
816
851
  const jar = await readJar(handle, cookie, { urlHints });
817
- if (jar?.incomplete) return jar;
852
+ const audit = {
853
+ canaryName: canary.name,
854
+ browserContextId: handle.browserContextId ?? null,
855
+ };
856
+ if (jar?.incomplete) return { ...jar, ...audit, canaryVisible: false };
818
857
  const canaryHit = (jar.cookies ?? []).some((entry) =>
819
858
  jarCookieMatch(entry, {
820
859
  name: canary.name,
@@ -824,8 +863,14 @@ async function readJarWithCanary(handle, cookie) {
824
863
  })
825
864
  );
826
865
  if (!canaryHit)
827
- return { incomplete: 'jar view canary absent', via: jar?.via, canaryMissing: true };
828
- return { ...jar, canaryOk: true };
866
+ return {
867
+ incomplete: 'jar view canary absent',
868
+ via: jar?.via,
869
+ canaryMissing: true,
870
+ canaryVisible: false,
871
+ ...audit,
872
+ };
873
+ return { ...jar, canaryOk: true, canaryVisible: true, ...audit };
829
874
  }
830
875
 
831
876
  function plantedOf(jar) {
@@ -1195,7 +1240,11 @@ async function finishPlant({ out, cookie, notes, label, handle }) {
1195
1240
  requireAttemptHandle(handle, 'finishPlant');
1196
1241
  const unknown = jarContextIncomplete(handle);
1197
1242
  if (unknown) {
1198
- note(notes, `cookie-plant.${label}`, { ...unknown, ...timingOf(handle) });
1243
+ note(notes, `cookie-plant.${label}`, {
1244
+ ...unknown,
1245
+ jarRead: false,
1246
+ ...timingOf(handle),
1247
+ });
1199
1248
  return attemptRecord(out, 'incomplete');
1200
1249
  }
1201
1250
  const jar = await capped(readJarWithCanary(handle, cookie), 1500, 'readJar');
@@ -1206,10 +1255,18 @@ async function finishPlant({ out, cookie, notes, label, handle }) {
1206
1255
  answered: answered(out),
1207
1256
  refused: refused(out),
1208
1257
  planted,
1209
- via: jar?.via,
1210
1258
  jarIncomplete: jar?.incomplete,
1259
+ ...jarAuditFields(handle, jar),
1211
1260
  ...timingOf(handle),
1212
1261
  };
1262
+ if (handle.credential) {
1263
+ const form = evidenceFormOf({
1264
+ answered: evidence.answered,
1265
+ refused: evidence.refused,
1266
+ planted,
1267
+ });
1268
+ if (form) evidence.evidenceForm = form;
1269
+ }
1213
1270
  note(notes, `cookie-plant.${label}`, evidence);
1214
1271
  return attemptRecord(out, planted);
1215
1272
  }
@@ -1387,6 +1444,7 @@ function scoreProtectedPlant({
1387
1444
  rawDoor = null,
1388
1445
  plantSurfaceRefused = false,
1389
1446
  readerBlocked = false,
1447
+ jar = null,
1390
1448
  }) {
1391
1449
  const signals = protectedPlantSignals({
1392
1450
  pauseCount,
@@ -1437,6 +1495,7 @@ function scoreProtectedPlant({
1437
1495
  rawIncomplete: Boolean(rawDoor.incomplete),
1438
1496
  }
1439
1497
  : {}),
1498
+ ...jarAuditFields(handle, jar),
1440
1499
  ...timingOf(handle),
1441
1500
  };
1442
1501
  const early = scoreRawOrDoorBranch({
@@ -1774,6 +1833,7 @@ async function scoreDoorAbsentPause({
1774
1833
  fetchEnableOk,
1775
1834
  doorAbsent: true,
1776
1835
  rawDoor,
1836
+ jar,
1777
1837
  })
1778
1838
  );
1779
1839
  }
@@ -1828,6 +1888,7 @@ async function scorePausedGuardedPlant(args) {
1828
1888
  fetchEnableOk,
1829
1889
  doorAbsent,
1830
1890
  rawDoor,
1891
+ jar,
1831
1892
  })
1832
1893
  );
1833
1894
  }
@@ -1876,6 +1937,7 @@ async function scorePausedGuardedPlant(args) {
1876
1937
  fetchEnableOk,
1877
1938
  doorAbsent,
1878
1939
  rawDoor,
1940
+ jar,
1879
1941
  })
1880
1942
  );
1881
1943
  }
@@ -1908,6 +1970,7 @@ async function scorePausedGuardedPlant(args) {
1908
1970
  fetchEnableOk,
1909
1971
  doorAbsent,
1910
1972
  rawDoor,
1973
+ jar: evidence.jar ?? jar,
1911
1974
  })
1912
1975
  );
1913
1976
  }
@@ -1947,6 +2010,7 @@ async function scoreUnpausedGuardedPlant(args) {
1947
2010
  page: { href: waited.href ?? null, ready: true },
1948
2011
  fixtureHits: waited.fixtureHits,
1949
2012
  planted: waited.planted,
2013
+ jar: waited.jar ?? null,
1950
2014
  afterTriggerAt: Date.now(),
1951
2015
  }
1952
2016
  : await evidenceAfterTrigger({
@@ -1988,6 +2052,7 @@ async function scoreUnpausedGuardedPlant(args) {
1988
2052
  doorAbsent,
1989
2053
  rawDoor,
1990
2054
  readerBlocked,
2055
+ jar: evidence.jar ?? null,
1991
2056
  })
1992
2057
  );
1993
2058
  }
@@ -2033,6 +2098,7 @@ async function runGuardedProtectedPlantBody({
2033
2098
  doorAbsent,
2034
2099
  rawDoor,
2035
2100
  plantSurfaceRefused: true,
2101
+ jar,
2036
2102
  });
2037
2103
  }
2038
2104
  if (!handle.pageSession) {
@@ -2404,9 +2470,8 @@ async function proveDoor({
2404
2470
  note(notes, 'cookie-plant.door', {
2405
2471
  answered: answered(out),
2406
2472
  planted,
2407
- via: jar?.via,
2408
2473
  domain,
2409
- browserContextId,
2474
+ ...jarAuditFields(jarHandle, jar),
2410
2475
  });
2411
2476
  await capped(clearCookie(jarHandle, cookie), 800, 'door-clear');
2412
2477
  if (!answered(out))
@@ -2597,6 +2662,7 @@ async function withFreshAttemptTab(ctx, run) {
2597
2662
  browserContextId: tabContextId,
2598
2663
  browserContexts: Boolean(ctx.browserContexts),
2599
2664
  canary,
2665
+ credential: Boolean(ctx.credential),
2600
2666
  transport: enabled.transport,
2601
2667
  fetchEnable: enabled.fetchEnable ?? null,
2602
2668
  internalSessions,
@@ -3018,7 +3084,7 @@ async function observeRawPlantSend({
3018
3084
  timedOut,
3019
3085
  doorPresent: false,
3020
3086
  incomplete: jar?.canaryMissing ? 'jar view canary absent' : 'cookie jar unreadable',
3021
- browserContextId,
3087
+ ...jarAuditFields(jarHandle, jar),
3022
3088
  },
3023
3089
  'raw leg incomplete',
3024
3090
  handle,
@@ -3036,16 +3102,17 @@ async function observeRawPlantSend({
3036
3102
  doorPresent,
3037
3103
  browserContextId,
3038
3104
  };
3105
+ const audited = { ...raw, ...jarAuditFields(jarHandle, jar) };
3039
3106
  noteRawDoor(
3040
3107
  notes,
3041
3108
  label,
3042
- { ...raw, via: jar?.via },
3109
+ audited,
3043
3110
  doorPresent ? 'raw leg planted: plant path' : 'door not present on this browser',
3044
3111
  handle,
3045
3112
  pathStartedAt
3046
3113
  );
3047
3114
  await capped(clearCookie(jarHandle, cookie), 800, 'raw-clear');
3048
- return raw;
3115
+ return audited;
3049
3116
  }
3050
3117
 
3051
3118
  async function measureRawDoor(ctx, spec) {
@@ -3575,6 +3642,12 @@ function controlAttacks(ctx) {
3575
3642
  return incompleteDeletion(
3576
3643
  seeded?.incomplete ? 'seed jar unreadable' : 'seed missing exact name+domain+path'
3577
3644
  );
3645
+ const seedJar = await capped(readJarWithCanary(handle, deleteOnOrdinary), 1500, 'readJar');
3646
+ note(ctx.notes, 'cookie-plant.deletion.seed', {
3647
+ seeded: true,
3648
+ ...jarAuditFields(handle, seedJar),
3649
+ ...timingOf(handle),
3650
+ });
3578
3651
  const attempt = await allowedHeaderAttempt({
3579
3652
  ...diag(handle),
3580
3653
  url: ordinaryUrl,
@@ -3588,6 +3661,7 @@ function controlAttacks(ctx) {
3588
3661
  note(ctx.notes, 'cookie-plant.deletion.cleared', {
3589
3662
  cleared: 'incomplete',
3590
3663
  incomplete: 'delete attempt incomplete',
3664
+ jarRead: false,
3591
3665
  browserContextId,
3592
3666
  ...timingOf(handle),
3593
3667
  });
@@ -3603,7 +3677,7 @@ function controlAttacks(ctx) {
3603
3677
  note(ctx.notes, 'cookie-plant.deletion.cleared', {
3604
3678
  cleared: 'incomplete',
3605
3679
  incomplete: 'after jar unreadable',
3606
- browserContextId,
3680
+ ...jarAuditFields(handle, after),
3607
3681
  ...timingOf(handle),
3608
3682
  });
3609
3683
  return { ...attempt, cleared: 'incomplete' };
@@ -3611,9 +3685,8 @@ function controlAttacks(ctx) {
3611
3685
  const cleared = afterPlanted === false;
3612
3686
  note(ctx.notes, 'cookie-plant.deletion.cleared', {
3613
3687
  cleared,
3614
- via: after?.via,
3615
- browserContextId,
3616
3688
  seedVia: seeded?.via,
3689
+ ...jarAuditFields(handle, after),
3617
3690
  ...timingOf(handle),
3618
3691
  });
3619
3692
  return { ...attempt, cleared };
@@ -3999,6 +4072,11 @@ async function proveDoorOnOwnTab({
3999
4072
  answered: raw.answered,
4000
4073
  planted: raw.planted,
4001
4074
  domain,
4075
+ jarRead: raw.jarRead ?? false,
4076
+ canaryName: raw.canaryName ?? null,
4077
+ canaryVisible: raw.canaryVisible,
4078
+ via: raw.via ?? null,
4079
+ browserContextId: raw.browserContextId ?? null,
4002
4080
  });
4003
4081
  return { live: true };
4004
4082
  }
@@ -4260,6 +4338,8 @@ export { cookieNames };
4260
4338
  export const cookiePlantHandleApi = {
4261
4339
  requireAttemptHandle,
4262
4340
  jarContextIncomplete,
4341
+ jarAuditFields,
4342
+ evidenceFormOf,
4263
4343
  plantCanary,
4264
4344
  clearCookie,
4265
4345
  readJar,
package/guard-runner.mjs CHANGED
@@ -155,8 +155,10 @@ const stateCheck = (check) =>
155
155
  [...(check?.all ?? []), ...(check?.any ?? []), ...(check?.not ? [check.not] : [])]
156
156
  .map(stateCheck)
157
157
  .find(Boolean);
158
- const refusedOut = (step, out) =>
159
- step.refusable ? isRefusal(out, step) : /refused/.test(String(out.error?.message ?? out.error));
158
+ const refusedOut = (step, out, gone = false) =>
159
+ step.refusable
160
+ ? isRefusal(out, step)
161
+ : !gone && /refused/.test(String(out.error?.message ?? out.error));
160
162
 
161
163
  function pageExpression(step, url) {
162
164
  let expression;
@@ -892,7 +894,7 @@ class Execution {
892
894
  }
893
895
 
894
896
  record(step, out, session, phase, gone) {
895
- const refused = !gone && refusedOut(step, out);
897
+ const refused = refusedOut(step, out, gone);
896
898
  this.trace.push({
897
899
  phase,
898
900
  declared: Boolean(step.refusable),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "setVersion": "1.29.0",
3
+ "setVersion": "1.29.1",
4
4
  "sources": [
5
5
  {
6
6
  "repo": "ai-ecoverse/slicc-cli",
@@ -36695,7 +36695,7 @@
36695
36695
  }
36696
36696
  }
36697
36697
  },
36698
- "live": "the unguarded reader planted Domain=.<protected host> through interception and read it back from the jar",
36698
+ "live": "the unguarded reader planted Domain=.<protected host> through interception and read it back from the jar; two pass modes: protected hosts block the plant shapes; credential origins require answered + refused + not planted with in-row door proof; evidenceForm values commandRefused, answeredNotPlanted, allowedPlant",
36699
36699
  "liveCheck": {
36700
36700
  "result": "probe",
36701
36701
  "path": "result.live",
@@ -36818,7 +36818,8 @@
36818
36818
  "legacy unsupported in this Chrome when Network.setRequestInterception is absent (Chrome 156+)",
36819
36819
  "fulfillObject uses the real map/object responseHeaders form; Chrome rejects it: not a plant path",
36820
36820
  "CHROME_NO_STORE labels measurement notes only; a raw-leg store scores the path as a plant path (guarded planted must be false)",
36821
- "control proves the unguarded door and that the guard does not over-block ordinary/adobe/deletion; protected plant encodings run only on the guarded leg"
36821
+ "control proves the unguarded door and that the guard does not over-block ordinary/adobe/deletion; protected plant encodings run only on the guarded leg",
36822
+ "pass modes and evidenceForm: protected hosts vs credential origins; commandRefused, answeredNotPlanted, allowedPlant"
36822
36823
  ],
36823
36824
  "blockedMarkers": [
36824
36825
  "chrome-error://chromewebdata/",
@@ -37634,7 +37635,7 @@
37634
37635
  ]
37635
37636
  },
37636
37637
  "hostOnlyPlanted": {
37637
- "means": "C10.cookie-plant.credential: host-only Set-Cookie on an IMS request landed in the jar",
37638
+ "means": "C10.cookie-plant.credential: host-only Set-Cookie on an IMS request must not plant (evidenceForm commandRefused when answered+refused+not planted)",
37638
37639
  "check": {
37639
37640
  "result": "probe",
37640
37641
  "path": "result.hostOnlyPlanted",
@@ -37671,7 +37672,7 @@
37671
37672
  ]
37672
37673
  },
37673
37674
  "domainCoverPlanted": {
37674
- "means": "C10.cookie-plant.credential: Domain covering an IMS host from an ordinary request: Chrome does not store it: not a plant path",
37675
+ "means": "C10.cookie-plant.credential: Domain covering an IMS host from an ordinary request: Chrome does not store it: not a plant path (evidenceForm answeredNotPlanted when answered+not refused+not planted)",
37675
37676
  "check": {
37676
37677
  "result": "probe",
37677
37678
  "path": "result.domainCoverPlanted",
@@ -37708,7 +37709,7 @@
37708
37709
  ]
37709
37710
  },
37710
37711
  "subHostPlanted": {
37711
- "means": "C10.cookie-plant.credential: sub-host Domain Set-Cookie landed in the jar",
37712
+ "means": "C10.cookie-plant.credential: sub-host Domain Set-Cookie landed in the jar (evidenceForm allowedPlant when answered+not refused+planted)",
37712
37713
  "check": {
37713
37714
  "result": "probe",
37714
37715
  "path": "result.subHostPlanted",
@@ -37807,7 +37808,7 @@
37807
37808
  }
37808
37809
  }
37809
37810
  },
37810
- "live": "the unguarded reader planted a credential-origin cookie through interception and read it back from the jar",
37811
+ "live": "the unguarded reader planted a credential-origin cookie through interception and read it back from the jar; two pass modes: protected hosts block the plant shapes; credential origins require answered + refused + not planted with in-row door proof; evidenceForm values commandRefused, answeredNotPlanted, allowedPlant",
37811
37812
  "liveCheck": {
37812
37813
  "result": "probe",
37813
37814
  "path": "result.live",
@@ -37935,7 +37936,8 @@
37935
37936
  "notes": [
37936
37937
  "legacy unsupported in this Chrome when Network.setRequestInterception is absent (Chrome 156+)",
37937
37938
  "host mapping uses the https fixture for HSTS-preloaded adobelogin.com like C7/#328",
37938
- "CHROME_NO_STORE labels measurement notes only; a raw-leg store scores the path as a plant path (guarded planted must be false)"
37939
+ "CHROME_NO_STORE labels measurement notes only; a raw-leg store scores the path as a plant path (guarded planted must be false)",
37940
+ "pass modes and evidenceForm: protected hosts vs credential origins; commandRefused, answeredNotPlanted, allowedPlant"
37939
37941
  ],
37940
37942
  "blockedMarkers": [
37941
37943
  "chrome-error://chromewebdata/",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-browsers",
3
- "version": "1.29.0",
3
+ "version": "1.29.1",
4
4
  "description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -79,7 +79,7 @@
79
79
  "validate": "node scripts/validate.mjs",
80
80
  "lint": "slicc-lint && test -z \"$(gofmt -l .)\" && go mod tidy -diff && go vet ./... && GOOS=darwin go vet ./... && GOOS=windows go vet ./... && golangci-lint run && cargo fmt --check && cargo clippy --all-features --all-targets -- -D warnings && cargo check --target wasm32-wasip1 --no-default-features && cargo check --target wasm32-wasip1 --features serde && cargo check --target wasm32-wasip1 --all-features",
81
81
  "format": "biome check --write . && gofmt -w . && cargo fmt",
82
- "test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-redirect-through.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-cookie-plant-chrome.test.mjs test/integration/guard-cookie-plant.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs",
82
+ "test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-redirect-through.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-cookie-plant-chrome.test.mjs test/integration/guard-cookie-plant.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner-record.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs",
83
83
  "test:unit": "mkdir -p coverage/unit && node --experimental-test-coverage --test --test-concurrency=1 --test-reporter=lcov --test-reporter-destination=coverage/unit/lcov.info test/unit/*.test.mjs && go test -race -cover ./...",
84
84
  "build": "go build ./... && cargo build --all-features && cargo build --target wasm32-wasip1 --all-features && npm pack --dry-run",
85
85
  "prepublishOnly": "node scripts/set-crate-version.mjs \"$npm_package_version\"",
@@ -90,7 +90,7 @@
90
90
  "test:unit:guard": "mkdir -p coverage/unit && node --experimental-vm-modules --no-warnings --experimental-test-coverage --test --test-concurrency=1 --test-coverage-include=guard-runner.mjs --test-coverage-include=guard-driver.mjs --test-coverage-include=extension-frame.mjs --test-coverage-include=fixture-server.mjs --test-coverage-include=fixture-client.mjs --test-coverage-include=observer-target.mjs --test-coverage-include=frame-read.mjs --test-coverage-include=bfcache-restore.mjs --test-coverage-include=protected-error-page.mjs --test-coverage-include=protected-parent-iframes.mjs --test-coverage-include=unparseable-url.mjs --test-coverage-include=scripts/browser-runner.mjs --test-coverage-include=scripts/validate.mjs --test-reporter=lcov --test-reporter-destination=coverage/unit/guard.lcov test/unit/guard-*.test.mjs && slicc-diff-cover coverage/unit/guard.lcov"
91
91
  },
92
92
  "devDependencies": {
93
- "@ai-ecoverse/slicc-cdp": "2.1.5",
93
+ "@ai-ecoverse/slicc-cdp": "2.1.8",
94
94
  "@ai-ecoverse/slicc-shared-web": "2.16.1",
95
95
  "@biomejs/biome": "2.6.7",
96
96
  "ajv": "8.20.0",