Skip to content

Plugin reads platform-specific paths that do not exist on Linux #103

@fdefilippo

Description

@fdefilippo

Description

The plugin attempts to read several filesystem paths that only exist on specific platforms or configurations, causing repeated ENOENT errors on Linux servers.

Errors observed (Linux, running as root)

  1. ENOENT: /Users/fh2497/Library/Application Support/Claude/claude_desktop_config.json — macOS-only Claude Desktop config path
  2. ENOENT: /home/user/agent_memory/memory.json — hardcoded /home/user/ path
  3. ENOENT: /home/user/data/agent_memory/config/user_profile.yaml — same issue

Impact

  • Logs are spammed with error entries on every check
  • Not a crash, but noisy

Expected behavior

The plugin should gracefully skip paths that do not exist (log at debug level, not error), and use os.homedir() with a configurable fallback.

Related

Environment

  • OS: Linux (Enterprise Linux 10.1)
  • Plugin version: v0.3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions