commit fbb239a7b170a1b39e81fa22828f5171f8754c4e
parent bd52e7c3f22f7bc2265c17f71e0aab3307b2dcec
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 26 Oct 2026 20:39:53 -0400
export: Use with AI is the homepage's — a site's (and the hub's) header and slide-out menu drop it; the footer and Ask AI keep their links to the homepage doc
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
5 files changed, 12 insertions(+), 20 deletions(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -1,6 +1,7 @@
# Changelog
## [Unreleased]
+- **Use with AI is the homepage's.** A published site's header and slide-out menu no longer carry it (nor the hub's header); a site still reaches the homepage's AI and MCP doc from its footer and from Ask AI, and its corpus.json and llms.txt still name it. Rebuild a site to see it.
- **The site-swap intro no longer shifts vertically on the chime.** With the URLs under MEDIA the drawing used to rise to stay centred; the lockup is now centred as the plain intro centres it and the URLs hang below it, so on the chime it only moves sideways. Intros without a site swap are unchanged.
- **Record live works on YouTube.** On 2026-10-26 `pnpm ops record-live` on a live YouTube stream failed at once with "Requested format is not available" and recorded nothing, though the stream's first 33 minutes were there to record. The recorder asked for one stream holding both video and audio, which Rumble and Kick have and YouTube's from-the-start recording does not: it offers the video and the audio separately. On YouTube a recording now takes the video at the chosen height (720p by default, the tallest with `"maxHeight": null`) plus the best audio, and joins them when the stream ends. `"separate": true` or `false` chooses for any stream, and the Record live form has a **Streams** choice. Stopping a recording (`job cancel`), or a crash, before the two were joined no longer loses it: the video and audio left behind are joined without re-encoding and land as one mp4 with sound, and a pair an earlier run left is landed by the next one. Rumble and Kick record exactly as before. A stream recorded as one stream that turns out to have none says to try `"separate": true`. Needs a restart of the editor.
- **A report video's fact-check counter never cuts its label short.** The deck's count box showed the verdict's label and cut what did not fit with "…", so the Huck cut's count read "HUCK'S BLEND …". A verdict can now carry a `tallyLabel` (`render.chrome.factcheck.verdicts.<V>.tallyLabel`), a short word for the count box alone, and the Huck cut's says "Pitches"; the finale's totals and stats keep the full "Huck's Blend pitches". Without one, the box shows the label if it fits, else the longest run of the label's last words that fits. A `tallyLabel` that does not fit, or a label with no last words that fit, is refused by name when the manifest is checked, not found in the render. Labels that already fit draw exactly as before.
diff --git a/export/app/lib/nav.ts b/export/app/lib/nav.ts
@@ -1,12 +1,10 @@
-import { AI_DOC_URL } from "yt-dlp-transcript-common/lib/project";
-
export type NavLink = { href: string; label: string; external?: boolean };
// The header's inline nav (and the mobile sheet's first links), from what this
// build has. Ask AI is new: the chat was only reachable from the workspace
-// control or from Use with AI, which is not where anyone looks for it. Use
-// with AI is the homepage's AI and MCP doc (release 16 slice DX): off this
-// site, so a plain <a> in the same tab, not a client navigation. The site's
+// control, which is not where anyone looks for it. Use with AI is NOT in the
+// header: it is the homepage's (operator, 2026-10-26) — a site reaches the AI
+// and MCP doc from its footer and from Ask AI. The site's
// pages (site.json `pages`, release 26 A5) are linked each by its title, in
// the site's order, after Ask AI — there is no index of them.
//
@@ -28,6 +26,5 @@ export function headerNavLinks(has: {
...pages,
...(has.duplicates ? [{ href: "/duplicates", label: "Duplicates" }] : []),
...(has.downloads ? [{ href: "/downloads", label: "Downloads" }] : []),
- { href: AI_DOC_URL, label: "Use with AI", external: true },
];
}
diff --git a/export/app/lib/reports.test.ts b/export/app/lib/reports.test.ts
@@ -371,12 +371,12 @@ test("the header nav: a full site links its pages by title after Ask AI; a searc
const full = headerNavLinks({ cited: false, pages, duplicates: false, downloads: true });
assert.deepEqual(
full.map((l) => l.label),
- ["Search", "Ask AI", "Page one", "Page two", "Downloads", "Use with AI"],
+ ["Search", "Ask AI", "Page one", "Page two", "Downloads"],
);
assert.equal(full[2].href, "/pages/one/");
assert.deepEqual(
headerNavLinks({ cited: false, pages: [], duplicates: false, downloads: false }).map((l) => l.label),
- ["Search", "Ask AI", "Use with AI"],
+ ["Search", "Ask AI"],
);
assert.deepEqual(headerNavLinks({ cited: true, pages, duplicates: true, downloads: true }), pages);
// One page is the home page: nowhere else to go.
diff --git a/export/e2e-hub/use-with-ai-link.spec.ts b/export/e2e-hub/use-with-ai-link.spec.ts
@@ -25,11 +25,9 @@ test.beforeEach(async ({ page }) => {
await page.route("**/hub-summary.json", (r) => r.fulfill({ status: 404, body: "" }));
});
-test("the hub's header and footer Use with AI go to the homepage doc", async ({ page }) => {
+test("the hub's header has no Use with AI; its footer's goes to the homepage doc", async ({ page }) => {
await page.goto("/");
- await expectDocLink(
- page.getByRole("banner").getByRole("link", { name: "Use with AI", exact: true }),
- );
+ await expect(page.getByRole("banner").getByRole("link", { name: "Use with AI", exact: true })).toHaveCount(0);
await expectDocLink(
page.getByRole("contentinfo").getByRole("link", { name: "Use with AI", exact: true }),
);
diff --git a/export/e2e/use-with-ai-link.spec.ts b/export/e2e/use-with-ai-link.spec.ts
@@ -17,23 +17,19 @@ test.beforeEach(async ({ page }) => {
await installRoutes(page);
});
-test("the header's and the footer's Use with AI go to the homepage doc", async ({ page }) => {
+test("Use with AI is the homepage's: not in a site's header; the footer's goes to the homepage doc", async ({ page }) => {
await page.goto("/");
- await expectDocLink(
- page.getByRole("banner").getByRole("link", { name: "Use with AI", exact: true }),
- );
+ await expect(page.getByRole("banner").getByRole("link", { name: "Use with AI", exact: true })).toHaveCount(0);
await expectDocLink(
page.getByRole("contentinfo").getByRole("link", { name: "Use with AI", exact: true }),
);
});
-test("the slide-out menu's Use with AI goes to the homepage doc", async ({ page }) => {
+test("the slide-out menu has no Use with AI (the homepage's)", async ({ page }) => {
await page.setViewportSize({ width: 390, height: 844 });
await page.goto("/");
await page.getByRole("button", { name: "Open menu" }).click();
- await expectDocLink(
- page.getByRole("dialog").getByRole("link", { name: "Use with AI", exact: true }),
- );
+ await expect(page.getByRole("dialog").getByRole("link", { name: "Use with AI", exact: true })).toHaveCount(0);
});
test("Ask AI's Use with AI goes to the homepage doc", async ({ page }) => {