Skip to content

Framework reload memory script fails on Windows with mixed path separators #2

@jcmrs

Description

@jcmrs

Framework reload memory script fails on Windows with mixed path separators

Problem

The framework reload protocol fails to execute the memory script on Windows due to mixed path separators in the command.

Error

When running /framework:reload, the memory script execution fails:

node C:\Users\jcmei\.claude\plugins\cache\axivo\framework\1.0.0/skills/framework-initialization/scripts/memory

Error: Cannot find module 'C:\Development\MCP\INTERNAL\claude-collab\Usersjcmei.claudepluginscacheaxivoframework1.0.0\skills\framework-initialization\scripts\memory'

Root Cause

The reload command uses mixed path separators (backslashes and forward slashes):

  • Path starts with: C:\Users\jcmei\.claude\plugins\cache\axivo\framework\1.0.0/
  • Notice: backslashes (\) at the beginning, forward slash (/) after version

Node.js on Windows cannot resolve this correctly and attempts to interpret it relative to the current working directory, resulting in the mangled path shown in the error.

Expected Behavior

The path should use consistent Windows backslashes:

node C:\Users\jcmei\.claude\plugins\cache\axivo\framework\1.0.0\skills\framework-initialization\scripts\memory

Impact

Severity: Low

  • Framework reload still completes successfully by reading instructions.json and memory.json directly
  • Memory script provides timestamp information (supplementary, not critical)
  • Core framework functionality is not affected

Location

File: plugins/framework/commands/reload.md
Line: Command template using ${CLAUDE_PLUGIN_ROOT} variable

Suggested Fix

Ensure path construction uses platform-appropriate separators throughout the reload command template, or normalize the path before passing to Node.js.

Environment

  • OS: Windows 11
  • Node.js: v24.7.0
  • Framework Version: 1.0.0
  • Commit: 1883ab9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions