Skip to content

Matrix CWD doesn't expand tilde (~) paths #150

@c-h-

Description

@c-h-

Bug

When launching via agentctl launch --matrix, the cwd field in the matrix YAML doesn't expand ~ to the home directory. Instead it's treated as a relative path from the current working directory:

Parallel launch failed: Not a git repository: /Users/ms/.openclaw/workspaces/kindo/~/code/mono

Repro

# matrix.yaml
cwd: ~/code/mono  # <-- not expanded
agentctl launch --matrix matrix.yaml
# Error: Not a git repository: <cwd>/~/code/mono

Expected

~/code/mono should resolve to /Users/<user>/code/mono, same as shell expansion.

Workaround

Use absolute paths in matrix YAML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions