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:
shumeiko.it
2026-11-01 00:21:10 +01:00
parent a8250cb375
commit 46687a823a
601 changed files with 131 additions and 93709 deletions

View File

@@ -9,7 +9,7 @@ export default defineConfig({
// tests need no build step (P2.1).
conditions: WAGGLE_SOURCE_CONDITIONS,
alias: {
// Packages without a `source` export (the excluded ones) map to src/.
// Packages without a `source` export (the postponed team ones) map to src/.
...waggleSrcAliases(__dirname),
// App uses @/ alias for src directory
'@/': path.resolve(__dirname, 'app/src') + '/',
@@ -42,17 +42,8 @@ export default defineConfig({
// via `npm run test:infra`.
exclude: [
'apps/**', 'node_modules/**', '**/__faza1-closed/**',
// Packages outside the community edition: excluded ones (ADR-0002) and
// the postponed team runtime (ADR-0003). They are not built either.
'packages/hive-mind-*/**', 'packages/memory-mcp/**', 'packages/wiki-compiler/**',
// The postponed team runtime (ADR-0003) is neither built nor tested.
'packages/team-server/**', 'packages/waggle-dance/**', 'packages/worker/**',
'packages/weaver/**',
// Tests of those packages kept outside them; they go with the packages (P2.2).
'packages/agent/tests/hook-packages-runtime.test.ts',
'tests/mcp-context-profile-security.test.ts',
'tests/mcp-import-path-security.test.ts',
'tests/mcp-save-memory-security.test.ts',
'tests/oss-subtree-split.test.ts',
...INFRA_TEST_SUITES,
// Copies the ~13MB pre-built packages/marketplace/marketplace.db fixture
// (createTempDb). Proper fix: regenerate it from sources-seed.ts in test