wishforge-ide/apps/ide/scripts/verify-managed-plugins.mjs
eust-w b47a07e8d2 chore: baseline snapshot of the Codex-delivered code before review
Imports the previously untracked working tree as-is so that the review
changes that follow (requirements -> design -> implementation) can be
reviewed as diffs and reverted if needed. No content changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 13:18:04 +08:00

6 lines
403 B
JavaScript

import { createRequire } from 'node:module';
import { fileURLToPath } from 'node:url';
const { validateManagedPlugins } = createRequire(import.meta.url)('../policy/managed-plugins.cjs');
const plugins = validateManagedPlugins(fileURLToPath(new URL('../plugins', import.meta.url)));
console.log(`Verified ${plugins.length} operator-managed extensions against pinned IDs, versions and content digests.`);