projects/prisma7-compatibility-cli/slices/side-by-side-wrapper/plan.md
prisma7 binary selects the private one-shot identity and delegates all arguments, completion dispatch, exit behavior, and subprocess re-entry to its declared Prisma CLI dependency.prisma7, prisma7/config, and prisma7/package.json expose the intended forwarded runtime/type contracts, and a packed artifact records the exact matching Prisma dependency and resolves it correctly beside a different direct root Prisma version.process.argv[1]; the distinctive prisma7.js target selects prisma7 across supported package-manager launch forms, while ordinary Prisma and unsupported caller-defined entrypoints default to prisma./tmp probe that falsified the marker/global-symbol design.prisma7 executable directly loads prisma/build/index.js; the production-only delegation helper and callback-injection tests are removed, while built/packed executable coverage proves real dependency-edge loading, argv preservation, and exit propagation.prisma7.js target and accepted packed package contract.prisma7/config, proves the CLI uses that config, runs prisma7 --version, runs prisma7 generate, and executes the generated client successfully.package-contract.test.ts, cli-distribution-identity.vitest.ts, and bin-dispatcher.vitest.ts; keep only setup and assertions required for config import/typechecking, version execution, generation through the chosen config, and a working generated client.packages/client/tests/e2e, installed from the packed prisma7 and workspace dependency tarballs exactly like shipped client fixtures; packages/prisma7 contains no Vitest test or package-level test job.packages/prisma7/src/e2e.test.ts, its test-only dev dependencies/script, and its standalone workflow entries; add one prisma7-compatibility fixture with _steps.ts, config consumer, non-default schema/output, and SQLite client smoke; teach the tarball mount/rewrite logic that unscoped prisma7 packs as prisma7-0.0.0.tgz rather than the scoped-folder convention. No unit/contract tests.'prisma' | 'prisma7' value downstream consumers actually need, the E2E prepares its schema through prisma7 db push rather than raw SQL, and failed wrapper builds do not mask esbuild diagnostics with a chmod ENOENT.db push --force-reset to E2E setup and simplify the SQLite smoke, guard the executable plugin on build errors, rerun the focused Docker E2E/build gates, and leave rejected prepack plus comments on deleted tests untouched in code.