Packages relied on npm hoisting for imports they never declared, so a
package installed on its own fails (UF-024).
- server: + @waggle/marketplace, @waggle/sdk, @waggle/weaver, zod (MIT),
@anthropic-ai/sdk (MIT), @ax-llm/ax (Apache-2.0);
- @waggle/hive-mind-shim-core and stripe (unused)
- agent: + pdf-parse (Apache-2.0); playwright-core (Apache-2.0) as an
optional peer, since it is loaded only when available
- worker: + @waggle/waggle-dance; web: + @waggle/shared
- launcher: + @waggle/server as a dev dependency (bundled by tsup);
- stripe; cli: - @waggle/weaver (unused); root: - stripe
scripts/check-workspace-deps.mjs (npm run check:deps) compares the
imports in each community-edition package's src/ with its manifest and
runs in CI. Two imports wait for P1.4 (optimizer, evolution wiring).
The community edition has no monetization (ADR-0001). Remove the tier
model (packages/shared/src/tiers.ts), the requireTier middleware and every
tier gate, GET/PATCH /api/tier and the trial start, and the Stripe
integration, which depends on the tier model.
Personal features a tier used to limit are open to everyone: unlimited
workspaces and connectors, every embedding provider including LiteLLM,
per-workspace costs, Approvals. The workspace session cap is one constant
(100). Team and enterprise surfaces are hidden instead of unlocked (team
dock zone, Settings Team/Enterprise/Plan tabs, workspace Team tab);
cloud sync reports unavailable, as it did for free users.
The sidecar ignores the tier keys in config.json but does not delete them:
both editions may still share ~/.waggle.
Web billing UI is deleted: plan cards, upgrade and trial modals, payment
success route, the KVARK sales block, tier 403 handling.
The previous contract described the commercial release: tiers, Stripe,
KVARK, the Windows Solo qualification gate and the hive-mind mirror sync.
It told agents to preserve monetization, which the community edition
removes. The new contract states the scope status of every package, the
conversion rules, the build and verification commands and the working
rules. CLAUDE.md now only adds Claude-specific notes.
ADR-0001..0006 capture the scope decisions: no monetization, memory
through a contract backed by local mem0 (knowledge graph deferred), team
mode postponed, cost tracking open and self-learning out, whatsapp-web.js
for WhatsApp, opt-in analytics. baseline.md records build, typecheck,
lint and unit test results on macOS before scope work starts.
The marketplace installer and the skill security cache resolve paths from
os.homedir() at import time, so npm run test wrote fixtures into the real
~/.waggle/security-cache and ~/.waggle/plugins/registry.json. Point HOME
and USERPROFILE at a temporary directory per worker and silence npm's
update notice that a fresh home triggers (UF-022). Log the four test
files that fail on macOS (UF-023).
The generic dist rule kept vendor/pptxgenjs/dist/pptxgen.cjs.js out of
git, so the sidecar failed to start on a fresh clone (UF-001). The file is
pptxgenjs 4.0.1 from npm, kept byte-identical via -text so its SHA-256
can be checked. The s*.png rule also hid the Settings visual baseline
(UF-021).
A non-streaming /api/pull holds the response headers until the download
ends, and Node fetch gives up on headers after five minutes, cancelling
every larger model pull. Request stream:true and read the NDJSON progress,
failing on an in-stream error or a missing success status (UF-008).
The Select dropdown is portaled to <body> with z-50, under the wizard's
z-[9999] scrim, so it was invisible yet clickable through the scrim.
Lift it to z-[10000] and cover the stacking order with a test (UF-007).