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:
@@ -1,45 +0,0 @@
|
||||
import { readFileSync } from 'node:fs';
|
||||
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
const playbook = readFileSync(
|
||||
new URL('../../docs/code-signing-pilot-and-launch.md', import.meta.url),
|
||||
'utf8',
|
||||
);
|
||||
const pilotScript = readFileSync(
|
||||
new URL('./sign-windows-pilot.ps1', import.meta.url),
|
||||
'utf8',
|
||||
);
|
||||
const macPilotScript = readFileSync(
|
||||
new URL('./sign-macos-adhoc.sh', import.meta.url),
|
||||
'utf8',
|
||||
);
|
||||
|
||||
describe('internal pilot signing guidance', () => {
|
||||
it('routes Windows builds through the explicit pilot-signing override', () => {
|
||||
expect(playbook).toContain('npm run tauri:build:win:pilot-signed');
|
||||
expect(playbook).not.toMatch(/^npm run tauri:build:win$/m);
|
||||
expect(pilotScript).toContain(
|
||||
"Write-Host ' 1. npm run tauri:build:win:pilot-signed'",
|
||||
);
|
||||
expect(pilotScript).not.toMatch(
|
||||
/Write-Host '[ ]{2}1\. npm run tauri:build:win'\s*$/m,
|
||||
);
|
||||
expect(pilotScript).not.toMatch(/Write-Host '[ ]+1\. cd app/);
|
||||
});
|
||||
|
||||
it('does not claim an ordinary macOS build loads the signing override', () => {
|
||||
expect(playbook).toContain('macOS is deferred');
|
||||
expect(playbook).toContain('npm run tauri:sign:pilot:mac:adhoc');
|
||||
expect(playbook).not.toContain(
|
||||
'so every `npm run tauri:build:mac` produces an ad-hoc-signed `.app` automatically',
|
||||
);
|
||||
expect(playbook).not.toContain(
|
||||
'ships the macOS ad-hoc identity in the build-override config by default',
|
||||
);
|
||||
expect(macPilotScript).toContain(
|
||||
'Treat the input as unsigned until this script signs and verifies it.',
|
||||
);
|
||||
expect(macPilotScript).not.toContain('already passes');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user