Skip to content

fix: bundle Agents API for release - #2190

Merged
chubes4 merged 1 commit into
mainfrom
issue-2178-bundle-agents-api
May 22, 2026
Merged

fix: bundle Agents API for release#2190
chubes4 merged 1 commit into
mainfrom
issue-2178-bundle-agents-api

Conversation

@chubes4

@chubes4 chubes4 commented May 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Moves automattic/agents-api into production Composer dependencies so release packages include the runtime substrate.
  • Loads the bundled Agents API bootstrap idempotently and removes the WordPress Requires Plugins: agents-api activation dependency.
  • Updates Playground/Homeboy validation paths and adds a smoke test proving packaged installs do not depend on the separate GitHub-only plugin.

Fixes #2178.

Verification

  • php tests/release-bundled-agents-api-smoke.php
  • php tests/agents-api-bootstrap-smoke.php
  • ./vendor/bin/phpcs data-machine.php tests/release-bundled-agents-api-smoke.php
  • composer validate --strict (valid with existing warning about the version field)
  • composer install --no-dev --dry-run --no-interaction
  • homeboy test --path /Users/chubes/Developer/data-machine@issue-2178-bundle-agents-api --extension wordpress (1285 passed, 3 skipped)
  • homeboy release --path /Users/chubes/Developer/data-machine@issue-2178-bundle-agents-api --dry-run

Notes

  • homeboy lint --path /Users/chubes/Developer/data-machine@issue-2178-bundle-agents-api --extension wordpress still reports pre-existing admin React lint findings outside this change.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Drafted the bundled runtime implementation, release metadata updates, smoke coverage, and local verification commands for Chris to review.

@homeboy-ci

homeboy-ci Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
Deep dive: homeboy lint data-machine --changed-since 165c424

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-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/actions/runs/26311363621

Test

test — passed

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

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-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/actions/runs/26311363621

Audit

audit — passed

  • requested_detectors — 1 finding(s)
  • Total: 1 finding(s)

Deep dive: homeboy audit data-machine --changed-since 165c424

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-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/actions/runs/26311363621
Tooling versions
  • Homeboy CLI: homeboy 0.197.2+0ec7dcc8
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: dd23ee80
  • Action: unknown@unknown

@chubes4
chubes4 merged commit 5f09a47 into main May 22, 2026
5 checks passed
@chubes4
chubes4 deleted the issue-2178-bundle-agents-api branch May 22, 2026 22:50
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.

Bundle Agents API runtime for WordPress.org release

1 participant