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:
shumeiko.it
2026-10-20 01:02:18 +02:00
parent 2e1999a3f6
commit 5f088698dd
1383 changed files with 67 additions and 503605 deletions

View File

@@ -46,12 +46,6 @@ const DRIFT_SCRIPT_PATH = join(REPO_ROOT, 'scripts', 'oss-drift-check.sh');
const DRIFT_NODE_PATH = join(REPO_ROOT, 'scripts', 'oss-drift-check.mjs');
const DRIFT_BASELINE_PATH = join(REPO_ROOT, 'scripts', 'oss-drift-baseline.json');
const RETIRED_PARITY_SCRIPT_PATH = join(REPO_ROOT, 'scripts', 'parity-check.sh');
const SUPERSEDED_PLAN_PATH = join(
REPO_ROOT,
'docs',
'plans',
'E-4-OSS-EXTRACTION-VERIFIED-2026-05-20.md',
);
const PACKAGES_DIR = join(REPO_ROOT, 'packages');
function normalizedDriftHash(content: string): string {
@@ -207,11 +201,9 @@ describe('oss-subtree-split.sh — forbidden monorepo-level entries', () => {
const FORBIDDEN: readonly string[] = [
'apps',
'packages',
'sidecar',
'.planning',
'.scratch',
'.mind',
'benchmarks',
];
// .planning / .scratch / .mind are gitignored working dirs — forbidden from
@@ -417,14 +409,6 @@ describe('hive-mind publication boundary', () => {
}
});
it('invalidates the historical raw-push plan', () => {
const content = readFileSync(SUPERSEDED_PLAN_PATH, 'utf-8');
expect(content).toContain('SUPERSEDED');
expect(content).toContain('DO NOT FOLLOW');
expect(content).not.toMatch(/git push\s/);
});
it('uses Node as the primary drift checker and keeps the shell entrypoint thin', () => {
const wrapper = readFileSync(DRIFT_SCRIPT_PATH, 'utf-8');
const checker = readFileSync(DRIFT_NODE_PATH, 'utf-8');