Remove LLM Wiki health job stub

This commit is contained in:
Dotta committed 2026-05-09 23:41:04 -05:00
1 parent 559ab2afdc
commit dc015bea9a
3 files changed
+1 -15

No files matched your search

@@ -88,7 +88,6 @@ const manifest: PaperclipPluginManifestV1 = {
categories: ["automation", "ui"],
capabilities: [
"events.subscribe",
"jobs.schedule",
"api.routes.register",
"database.namespace.migrate",
"database.namespace.read",
@@ -324,14 +323,6 @@ const manifest: PaperclipPluginManifestV1 = {
}
}
],
jobs: [
{
jobKey: "folder-health-check",
displayName: "Wiki folder health check",
description: "Records lightweight health metadata for configured wiki roots.",
schedule: "0 * * * *"
}
],
tools: [
{
name: "wiki_search",
@@ -203,10 +203,6 @@ const plugin = definePlugin({
});
}
ctx.jobs.register("folder-health-check", async (job) => {
ctx.logger.info("LLM Wiki folder health job invoked", { runId: job.runId, trigger: job.trigger });
});
ctx.data.register("overview", async (params) => {
const companyId = readCompanyIdFromParams(params);
return getOverview(ctx, companyId);
@@ -1511,7 +1511,7 @@ Duplicate headings receive stable suffixes.
});
});
it("registers worker data, actions, jobs, and tools", async () => {
it("registers worker data, actions, and tools", async () => {
const harness = createTestHarness({ manifest });
await plugin.definition.setup(harness.ctx);
@@ -1522,7 +1522,6 @@ Duplicate headings receive stable suffixes.
expect(overview.operationCount).toBe(0);
expect(overview.eventIngestion.enabled).toBe(false);
await harness.runJob("folder-health-check");
const pages = await harness.executeTool<{ content?: string }>("wiki_list_pages", {
companyId: COMPANY_ID,
wikiId: "default",