paperclipai/paperclip · error

Choose a wiki root folder path before fixing all configurati

Error message

Choose a wiki root folder path before fixing all configuration errors.

What it means

Error "Choose a wiki root folder path before fixing all configuration errors." thrown in paperclipai/paperclip.

Source

Thrown at packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6041

      toast({ tone: "error", title: "Skill sync failed", body: err instanceof Error ? err.message : String(err) });
    } finally {
      setSkillBusy(false);
    }
  }

  async function fixAllConfigurationErrors() {
    if (!context.companyId || !hasConfigurationErrors) return;
    const confirmed = typeof window === "undefined" || window.confirm(
      "Fix all detected LLM Wiki configuration errors? This may recreate missing wiki baseline files and restore plugin-managed agents, projects, routines, and skills to their current defaults.",
    );
    if (!confirmed) return;

    setAllRepairBusy(true);
    try {
      if (!data.folder.healthy) {
        const path = folderPath.trim() || data.folder.path?.trim() || "";
        if (!path && !data.folder.configured) {
          throw new Error("Choose a wiki root folder path before fixing all configuration errors.");
        }
        await bootstrap(path ? { companyId: context.companyId, path } : { companyId: context.companyId });
      }

      if (skillHealthWarnings.length > 0) {
        await resetSkills({ companyId: context.companyId });
      }

      const shouldResetAgent =
        data.managedAgent.source !== "managed" ||
        !managedAgentIsReady(data.managedAgent) ||
        Boolean(data.managedAgent.defaultDrift?.changedFiles.length);
      const shouldResetProject =
        data.managedProject.source !== "managed" ||
        !managedProjectIsReady(data.managedProject);

      if (shouldResetAgent) {
        await resetAgent({ companyId: context.companyId });

View on GitHub (pinned to 5716fe907e)

Solutions

  1. Choose a wiki root folder path in the plugin settings, then run fix-all again.

When it happens

Trigger: Thrown at packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6052 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of paperclipai/paperclip@5716fe907e (2026-08-18). Data as JSON: /api/errors/688648bc7fab78d8. Report an issue: GitHub.