Skip to content

Add runner workspace command ability#629

Merged
chubes4 merged 2 commits into
mainfrom
fix-runner-workspace-command-ability
Jun 11, 2026
Merged

Add runner workspace command ability#629
chubes4 merged 2 commits into
mainfrom
fix-runner-workspace-command-ability

Conversation

@chubes4

@chubes4 chubes4 commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds the canonical datamachine-code/run-runner-workspace-command backend ability so WP Codebox can delegate runner workspace verification/drift commands without knowing DMC local paths.
  • Runs bounded local workspace commands with typed stdout/stderr, exit code, elapsed time, backend/workspace metadata, and non-zero command results instead of throwing path assumptions at callers.
  • Returns typed unavailable metadata for GitHub API remote workspaces where shell command execution is not available.

Coordination

Tests

  • php tests/smoke-runner-workspace-command.php
  • php tests/smoke-ability-tool-projections.php
  • php tests/smoke-runner-workspace-publication.php
  • php tests/smoke-remote-workspace-backend.php
  • php tests/smoke-worktree-bootstrap.php
  • php -l inc/Support/ProcessRunner.php && php -l inc/Workspace/WorkspaceGitOperations.php && php -l tests/smoke-runner-workspace-command.php
  • php -l inc/Abilities/WorkspaceAbilities.php && php -l inc/Workspace/RemoteWorkspaceBackend.php && php -l inc/Tools/WorkspaceTools.php && php -l inc/Tools/AbilityToolProjections.php && php -l tests/smoke-ability-tool-projections.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the backend ability, smoke coverage, targeted verification, and PR drafting under Chris's direction.

@homeboy-ci

homeboy-ci Bot commented Jun 11, 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 e061c59

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/27372950357

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 e061c59

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/27372950357

Audit

audit — passed

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

Deep dive: homeboy audit data-machine-code --changed-since e061c59

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/27372950357
Tooling versions
  • Homeboy CLI: homeboy 0.228.11+0690275
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 9d0006dc
  • Action: unknown@unknown

@chubes4 chubes4 merged commit d0f25eb into main Jun 11, 2026
5 checks passed
@chubes4 chubes4 deleted the fix-runner-workspace-command-ability branch June 11, 2026 19:49
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.

Expose runner workspace command backend ability

1 participant