refactor(web): remove the Benchmarks page

The page showed LoCoMo scores of the old hive-mind memory engine, which
the community edition does not run, so its numbers misled. Remove the
page and its test, the /benchmarks route, the command palette entry, the
route announcement label and the color-guard baseline entry. The e2e
route check now expects /benchmarks to show the not-found page.
This commit is contained in:
shumeiko.it
2026-11-04 10:04:02 +01:00
parent d920325268
commit 120640780c
13 changed files with 10 additions and 515 deletions

View File

@@ -42,7 +42,6 @@ const ROUTES = [
'/files',
'/approvals',
'/artifacts',
'/benchmarks',
'/platform',
] as const;

View File

@@ -842,14 +842,11 @@ test.describe('User Journey Tests', () => {
});
test('J-route-coverage: thin utility routes render or redirect clearly', async ({ page }) => {
await gotoApp(page, '/benchmarks');
await expect(page.locator('body')).toContainText(/benchmark|capability|score|memory/i);
await gotoApp(page, '/platform');
await expect(page.locator('body')).toContainText(/platform|local|governance|memory|agent/i);
// Payment pages are gone in the community edition (ADR-0001).
for (const route of ['/payment-cancelled', '/payment-success']) {
// Payment pages (ADR-0001) and the Benchmarks page are gone in the community edition.
for (const route of ['/payment-cancelled', '/payment-success', '/benchmarks']) {
await gotoApp(page, route);
await expect(page.locator('body')).toContainText(/page you.re after doesn.t exist/i);
}