Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit b48bbb85043d49de9a3131e6a6b63a9d5753bac8
parent 3bdc533cde4dc212f2c4964d434e8dce6ce3f6a3
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 11 Nov 2026 08:05:20 -0500

corpus: the tests that pin corpus.json's spec read 6, and a channel config's key count 45 (demo epic D1 items 4-5)

Three compose tests pinned `corpus.spec` at 5 (a cited site, a site with
reports, the tags pointer); the channel config key list grows by
remoteOnly, remoteArchive and remoteUrl. The full common run's two other
failures (recordLive's SIGINT, storedUrlDownload's no-progress drops) pass
alone: the machine was under an e2e build and a tsc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Diffstat:
Mcommon/controller/curatedTagsBuild.test.ts | 2+-
Mcommon/lib/channelConfigSchema.test.ts | 2+-
Mcommon/publish/composeReports.test.ts | 6+++---
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/common/controller/curatedTagsBuild.test.ts b/common/controller/curatedTagsBuild.test.ts @@ -217,7 +217,7 @@ test("compose 1: the site publishes /tags.json and corpus.json points at it", as const corpus = JSON.parse( readFileSync(path.join(paths.exportPublicDir, "corpus.json"), "utf8"), ); - assert.equal(corpus.spec, 5); + assert.equal(corpus.spec, 6); assert.equal(corpus.tags.videoField, "curatedTags"); assert.match(corpus.tags.url, /\/tags\.json$/); assert.match( diff --git a/common/lib/channelConfigSchema.test.ts b/common/lib/channelConfigSchema.test.ts @@ -39,7 +39,7 @@ test("one key list: docs = coercions = schema shape, sync-state keys inside it", assert.deepEqual(Object.keys(CHANNEL_CONFIG_COERCIONS), [...CHANNEL_CONFIG_KEYS]); assert.deepEqual(Object.keys(channelConfigObjectSchema.shape), [...CHANNEL_CONFIG_KEYS]); assert.deepEqual(Object.keys(CHANNEL_CONFIG_FIELD_DOCS), [...CHANNEL_CONFIG_KEYS]); - assert.equal(CHANNEL_CONFIG_KEYS.length, 42); // 2026-10-30: `skipShorts` + assert.equal(CHANNEL_CONFIG_KEYS.length, 45); // 2026-11-11: `remoteOnly`, `remoteArchive`, `remoteUrl` (demo epic D1) assert.equal(sameKeys, true); assert.equal(fits, true); for (const k of CHANNEL_SYNC_STATE_KEYS) assert.ok(CHANNEL_CONFIG_KEYS.includes(k), k); diff --git a/common/publish/composeReports.test.ts b/common/publish/composeReports.test.ts @@ -342,7 +342,7 @@ test("a cited site: exactly its reports, moments, cited media and contract — t assert.ok(!JSON.stringify(readJson(pub("m", "index.json"))).includes("40.00")); }); -test("a cited site's contract: site.json without channels, corpus.json scope cited at spec 5, the cited llms.txt and sitemap", () => { +test("a cited site's contract: site.json without channels, corpus.json scope cited at spec 6, the cited llms.txt and sitemap", () => { const site = readJson<{ siteId: string; channels: unknown[]; pwa: boolean }>(pub("site.json")); assert.equal(site.siteId, "cited"); assert.deepEqual(site.channels, []); @@ -355,7 +355,7 @@ test("a cited site's contract: site.json without channels, corpus.json scope cit reports?: { index: string; count: number }; }>(pub("corpus.json")); assert.equal(corpus.spec, CONTRACT.corpusSpec); - assert.equal(corpus.spec, 5); + assert.equal(corpus.spec, 6); assert.equal(corpus.site.id, "cited"); assert.equal(corpus.site.scope, "cited"); assert.equal(corpus.site.audience, "public"); @@ -640,7 +640,7 @@ test("a full site with reports keeps its corpus and links each moment into it", const corpus = readJson<{ spec: number; site: { scope?: string; audience?: string }; channels: unknown[]; reports?: { count: number } }>( pub("corpus.json"), ); - assert.equal(corpus.spec, 5); + assert.equal(corpus.spec, 6); assert.equal(corpus.site.scope, undefined); assert.equal(corpus.site.audience, undefined); assert.equal(corpus.channels.length, 2);