fix(x): real-permission-checker test types against permission-metadata, not the legacy engine

The Phase A extraction moved getToolPermissionMetadata to
assembly/permission-metadata.ts but this test's type-only import was
mechanically retargeted to legacy/engine.js during the tree move,
where the symbol is imported rather than exported — a TS2459 that
vitest and the build tsconfig never see, and one of the last
live->legacy edges.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ramnique Singh 2026-07-10 16:18:57 +05:30
parent 24fb0d38e5
commit de84b2e9ce

View file

@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import type { getToolPermissionMetadata } from "../../legacy/engine.js";
import type { getToolPermissionMetadata } from "../../assembly/permission-metadata.js";
import { RealPermissionChecker } from "./real-permission-checker.js";
type MetadataFn = typeof getToolPermissionMetadata;