Skip to content

fix: route workspace clone CLI through ability#621

Merged
chubes4 merged 1 commit into
mainfrom
fix-codebox-host-workspace-backend
Jun 10, 2026
Merged

fix: route workspace clone CLI through ability#621
chubes4 merged 1 commit into
mainfrom
fix-codebox-host-workspace-backend

Conversation

@chubes4

@chubes4 chubes4 commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Route wp datamachine-code workspace clone through the registered workspace clone ability instead of directly instantiating the local Workspace service.
  • Keeps WP-CLI clone behavior aligned with ability backend selection so constrained WP Codebox runtimes can use the github_api remote workspace backend.
  • Adds a focused smoke test proving CLI clone passes arguments through to the ability and renders the returned workspace path.

Fixes #620.

Verification

  • php tests/smoke-workspace-clone-cli.php
  • php tests/smoke-remote-workspace-backend.php
  • php tests/smoke-remote-workspace-backend-filter.php
  • php tests/smoke-workspace-git-capabilities.php
  • php tests/smoke-workspace-preload-artifact.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosed the CLI bypass, drafted the minimal routing fix and smoke coverage, and ran focused verification. Chris remains responsible for review and merge.

@homeboy-ci

homeboy-ci Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since 1415cbe

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27311619229

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Save test baseline: homeboy test data-machine-code --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since 1415cbe

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27311619229

Audit

audit — passed

  • audit — 14 finding(s)
  • Total: 14 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since 1415cbe

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27311619229
Tooling versions
  • Homeboy CLI: homeboy 0.228.3+b38b0e4
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: fc0ba45d
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 99e7fb2 into main Jun 10, 2026
5 checks passed
@chubes4 chubes4 deleted the fix-codebox-host-workspace-backend branch June 10, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide host-backed workspace operations for WP Codebox agent CI

1 participant