chore: remove the packages excluded from the community edition (P2.2)
Delete apps/www, packages/admin-web, every packages/hive-mind-* package, packages/memory-mcp and packages/wiki-compiler (ADR-0002), with what existed only for them: their tests kept outside the packages, the hook runtime build, the hive-mind OSS subtree-split and drift scripts, the www deploy and hive-mind-cli workflows, the staged hook lifecycle step in the Windows desktop workflows, and the root dev:www, build:www and build:hook-runtime scripts. Drop the matching excludes from the Vitest, ESLint and workspace dependency checks, the next override, and the extraneous workspace entries from package-lock.json. The smart-router qualification seed now writes its spend to waggle.db, where the sidecar has read cost traces since P1.5.
This commit is contained in:
@@ -6,7 +6,7 @@ import rootConfig from './vitest.config';
|
||||
*
|
||||
* A separate vitest project that runs ONLY the security-boundary test suites and
|
||||
* enforces hard per-project coverage thresholds over ONLY the security-boundary
|
||||
* source files (injection scanning, vault, erasure/suppression, the confirmation
|
||||
* source files (injection scanning, vault, the confirmation
|
||||
* gate + permissions, secret redaction, and the approval / held-action route
|
||||
* surface). It locks those files against coverage regression without imposing a
|
||||
* repo-wide threshold.
|
||||
@@ -29,17 +29,13 @@ export default mergeConfig(
|
||||
defineConfig({
|
||||
test: {
|
||||
include: [
|
||||
// Injection scanning (canonical scanForInjection lives in hive-mind-core).
|
||||
// Injection scanning (canonical scanForInjection lives in @waggle/core).
|
||||
'packages/agent/tests/injection-scanner.test.ts',
|
||||
// Vault (secret storage) — core + sidecar route.
|
||||
'packages/core/tests/vault.test.ts',
|
||||
'packages/core/tests/vault-concurrency.test.ts',
|
||||
'packages/core/tests/vault-edge-cases.test.ts',
|
||||
'packages/server/tests/local/vault-routes.test.ts',
|
||||
// Erasure / suppression (GDPR).
|
||||
'packages/hive-mind-core/tests/mind/erasure.test.ts',
|
||||
'packages/hive-mind-core/tests/mind/suppression.test.ts',
|
||||
'packages/server/tests/local/suppression-endpoint.test.ts',
|
||||
// Confirmation gate + autonomy, permissions sandbox.
|
||||
'packages/agent/tests/confirmation.test.ts',
|
||||
'packages/agent/tests/permissions.test.ts',
|
||||
@@ -57,10 +53,8 @@ export default mergeConfig(
|
||||
provider: 'v8',
|
||||
all: true,
|
||||
include: [
|
||||
'packages/hive-mind-core/src/injection-scanner.ts',
|
||||
'packages/core/src/injection-scanner.ts',
|
||||
'packages/core/src/vault.ts',
|
||||
'packages/hive-mind-core/src/mind/erasure.ts',
|
||||
'packages/hive-mind-core/src/mind/suppression.ts',
|
||||
'packages/agent/src/confirmation.ts',
|
||||
'packages/agent/src/permissions.ts',
|
||||
'packages/agent/src/eval-dataset.ts',
|
||||
|
||||
Reference in New Issue
Block a user