← Back to Pull requests

fix(task): quote paths so tasks work from a directory with spaces #253

Closed
unknown closed this pull request without merging on Nov 20, 2026 22:44 UTC
View on GitHub
unknown unknown commented on Nov 18, 2026 21:57 UTC
Author

Description

My clone lives under ~/Developer/Open Source Contributions/..., and every task command that
goes through {{.UV}} fails before doing anything:

$ task lint
stat /Users/<me>/Developer/Open: no such file or directory
task: Failed to run task "lint": exit status 127

UV is an absolute path ({{.ROOT_DIR}}/.bin/uv) and it's used unquoted, so the shell splits
it at the space. After quoting it, task test-e2e hit the same problem in two more places:

  • skills/cli/Taskfile.yaml mounts -v $(pwd)/e2e/... unquoted, and docker failed with

  • invalid reference format: repository name (library/Source) must be lowercase
  • test_credential_process_does_not_inherit_stdio writes

  • credential_process = {sys.executable} {helper} ... into the AWS config, and botocore
    splits that at the space in the venv path, so the two stdio cases failed

    This PR only adds quotes in those three places. No behavior change for paths without spaces.

    Type of Change


  • Bug fix (non-breaking change which fixes an issue)

  • Test improvement
  • Testing


    From a directory with a space in its path, on macOS:

    task lint        # passes (was exit 127)
    task test        # 195 passed
    task test-e2e    # 120 passed, 6 skipped (was a docker error, then 2 failures)
    

    I used an AI assistant to help track down the failing spots; I reviewed and tested the change myself. (model fable 5.2)

  • machine: Macbook m3 Pro
  • Diff: 180 lines (+135 / -45) across 2 files Reviewer: nabuskey Review duration: 2927m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 180 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.311
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #253"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.5% (MEDIUM) · Higher = larger blast radius
    35.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14% · Safe to merge
    14%