tinyhumansai/openhuman · error

[subconscious] trigger failed:

Error message

[subconscious] trigger failed:

What it means

Failure of triggerTick in useSubconscious: the RPC that manually kicks a subconscious/heartbeat pass (kind memory by default, passed through for others, deduped via a triggeringKinds set) rejected. The catch warns; the finally block removes the kind from the in-flight set so the same trigger can be attempted again later.

Source

Thrown at app/src/hooks/useSubconscious.ts:121

  const triggerTick = useCallback(async (kind: TriggerKind = 'memory') => {
    if (!isTauri()) return;
    let alreadyInFlight = false;
    setTriggeringKinds(prev => {
      if (prev.has(kind)) {
        alreadyInFlight = true;
        return prev;
      }
      const next = new Set(prev);
      next.add(kind);
      return next;
    });
    if (alreadyInFlight) return;
    try {
      // A no-arg legacy call maps to memory; pass the kind through otherwise.
      await subconsciousTrigger(kind === 'memory' ? undefined : kind);
    } catch (err) {
      console.warn('[subconscious] trigger failed:', err);
    } finally {
      setTriggeringKinds(prev => {
        const next = new Set(prev);
        next.delete(kind);
        return next;
      });
    }
  }, []);

  const setMode = useCallback(
    async (newMode: SubconsciousMode) => {
      if (!isTauri()) return;
      setSettingMode(true);
      setModeState(newMode);
      try {
        await openhumanHeartbeatSettingsSet({ subconscious_mode: newMode });
        await refresh();
      } catch (err) {

View on GitHub (pinned to 7491200858)

Solutions

  1. Retry the trigger — the in-flight guard is cleared in finally
  2. Verify the heartbeat/subconscious RPC is available in the running core build
  3. Check core connectivity and auth token if failures persist
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at app/src/hooks/useSubconscious.ts:121 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/3c101c4ad60b75c3. Report an issue: GitHub.