/** * Tests for pack manifest resolution + writer (mmnto-ai/totem#1768 * Step 4, Q4 disposition; ADR-097 § Q6 amended 2026-05-03 via * mmnto-ai/totem#1803 — engine constraint moved from peerDependencies * to the `engines` field). * * Covers invariant 18 from `.totem/specs/pack-substrate-bundle.md`: * * - Resolves a pack present in BOTH `package.json` deps AND * `totem.config.ts` `extends` → manifest entry, no warning. * - Resolves a pack only in deps → no manifest entry, `dep-only` warning. * - Resolves a pack only in extends → no manifest entry, `extends-only` warning. * - Pack without `engines['@mmnto/totem']` → `not-a-pack` warning. * - Pack with engine constraint declared in legacy `peerDependencies` * slot but missing from `engines` → still `not-a-pack` (no fallback * read; the migration is hard, not graceful). * - Atomic write produces a stable JSON file. */ export {}; //# sourceMappingURL=pack-manifest-writer.test.d.ts.map