feat(init): `@endo/init/legacy.js`
ADD
packages/init/legacy.js
+// legacy.js - call tolerant lockdown with default Agoric shims
+import { lockdown } from '@endo/lockdown';
+import './pre-remoting.js';
+
+// The loosest, non-stack-hiding SES environment.
+// Useful for converting an existing app to start using lockdown.
+const options = {
+ overrideTaming: 'severe',
+ stackFiltering: 'verbose',
+ errorTaming: 'unsafe',
+};
+lockdown(options);

MODIFY
packages/init/package.json
packages/init/package.json
"exports": {
".": "./index.js",
"./debug.js": "./debug.js",
+ "./legacy.js": "./legacy.js",
"./pre.js": {
"node": "./src/pre-node.js",
"default": "./pre.js"

feat(init): `@endo/init/legacy.js`