Skip to content

Route pending action aliases through Agents API#2196

Merged
chubes4 merged 2 commits into
mainfrom
issue-1989-agents-api-surfaces
May 23, 2026
Merged

Route pending action aliases through Agents API#2196
chubes4 merged 2 commits into
mainfrom
issue-1989-agents-api-surfaces

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 22, 2026

Summary

  • Route Data Machine pending-action list/get/summary aliases through the canonical Agents API pending-action functions.
  • Intentionally migrate those Data Machine alias/REST surfaces to canonical Agents API pending-action response shapes as part of the Data Machine 1.0 cleanup direction.
  • Extend pending-action Agents API contract smoke coverage with behavioral list/get assertions for the canonical alias shape (preview, agent, creator, metadata.datamachine).

Tests

  • php -l inc/Engine/AI/Actions/PendingActionInspectionAbility.php
  • php -l tests/pending-actions-agents-api-contract-smoke.php
  • php tests/pending-actions-agents-api-contract-smoke.php
  • php tests/pending-action-resolver-contract-smoke.php
  • composer lint -- inc/Engine/AI/Actions/PendingActionInspectionAbility.php tests/pending-actions-agents-api-contract-smoke.php
  • php tests/agents-api-package-contract-smoke.php passed with existing warnings about old vendor/automattic/agents-api/inc/* paths

AI assistance

Fixes #1989

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 22, 2026

Homeboy Results — data-machine

Lint

lint — passed

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

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

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 9caa8a9

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

Audit

audit — passed

  • requested_detectors — 5 finding(s)
  • intra-method-duplication — 2 finding(s)
  • Total: 7 finding(s)

Deep dive: homeboy audit data-machine --changed-since 9caa8a9

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/26334830669
Tooling versions
  • Homeboy CLI: homeboy 0.197.2+6771513c
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: dd23ee80
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 5aef383 into main May 23, 2026
5 checks passed
@chubes4 chubes4 deleted the issue-1989-agents-api-surfaces branch May 23, 2026 14:16
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.

Migrate Data Machine chat/access/session/approval surfaces behind Agents API

1 participant