chore: remove internal documents and service directories (P2.2 part 1)
The commercial repository carries the product's internal history: audits, screenshots, briefs, decisions, pricing, publication drafts, personal data and research runs. None of it belongs in the community edition. - delete judging/, "UAT 3/", benchmarks/ (including LoCoMo data under CC BY-NC), preflight-results/, gepa-phase-5/, notes/, decisions/, .understand-anything/, .agents/, .lovable/, the legacy sidecar/ package and waggle-cowork/ (an analysis of Claude Code sources) - delete docs/ except docs/oss, the user guides (without the team-mode guide), the reference, methodology, architecture, getting-started and contributing pages, which P2.4 rewrites - delete render.yaml, .parity-allowlist, the retired mind-parity and sync-mind workflows and 29 one-off scripts nothing references - delete tests that only checked removed files (sidecar package, Render blueprint, UAT capture, benchmark harness isolation, internal audit and signing docs); drop sidecar/ and benchmarks/ from the hive-mind subtree split guard; prune ignore, attribute, lint and test globs - replace the commercial README with an interim one for this edition Source comments still point at some deleted docs; P2.2 part 2 cleans them together with names and paths.
This commit is contained in:
@@ -79,36 +79,3 @@ describe('Docker Deployment', () => {
|
||||
expect(content).toContain('*.mind');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Render.com Blueprint', () => {
|
||||
it('render.yaml exists with web service', () => {
|
||||
const content = fs.readFileSync(path.join(ROOT, 'render.yaml'), 'utf-8');
|
||||
expect(content).toContain('type: web');
|
||||
expect(content).toContain('waggle-server');
|
||||
expect(content).toContain('healthCheckPath: /health');
|
||||
});
|
||||
|
||||
it('render.yaml explicitly uses the hosted local-sidecar mode', () => {
|
||||
const content = fs.readFileSync(path.join(ROOT, 'render.yaml'), 'utf-8');
|
||||
expect(content).toContain('startCommand: npx tsx packages/server/src/local/start.ts --skip-litellm');
|
||||
expect(content).toContain('WAGGLE_DATA_DIR');
|
||||
expect(content).not.toContain('fromDatabase:');
|
||||
expect(content).not.toContain('fromService:');
|
||||
expect(content).not.toContain('databases:');
|
||||
});
|
||||
|
||||
it('render.yaml has required environment variables', () => {
|
||||
const content = fs.readFileSync(path.join(ROOT, 'render.yaml'), 'utf-8');
|
||||
expect(content).toContain('ANTHROPIC_API_KEY');
|
||||
expect(content).toContain('CLERK_SECRET_KEY');
|
||||
expect(content).toContain('WAGGLE_LICENSE_KEY');
|
||||
expect(content).toContain('WAGGLE_FRONTEND_DIR');
|
||||
expect(content).toContain('STRIPE_SECRET_KEY');
|
||||
});
|
||||
|
||||
it('render.yaml has persistent disk for data', () => {
|
||||
const content = fs.readFileSync(path.join(ROOT, 'render.yaml'), 'utf-8');
|
||||
expect(content).toContain('disk:');
|
||||
expect(content).toContain('mountPath: /data');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user