Skip to content

fix: pass resolver context to pending actions#2115

Merged
chubes4 merged 1 commit into
mainfrom
fix/pending-action-resolver-context
May 20, 2026
Merged

fix: pass resolver context to pending actions#2115
chubes4 merged 1 commit into
mainfrom
fix/pending-action-resolver-context

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 20, 2026

Summary

  • pass resolver context, including the resolver identity, to legacy pending-action can_resolve callbacks
  • preserve the Agents API handler-object path while giving existing callbacks auditable resolver metadata
  • add smoke coverage for legacy can_resolve context propagation

Testing

  • php -l inc/Engine/AI/Actions/ResolvePendingActionAbility.php
  • php tests/pending-action-resolver-contract-smoke.php
  • homeboy lint --path . --extension wordpress --changed-only
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosed the resolver context gap and drafted the Data Machine contract propagation plus smoke coverage; Chris remains responsible for review and merge.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 20, 2026

Homeboy Results — data-machine

Lint

lint — passed

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

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 598aa01

Audit

audit — passed

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

Deep dive: homeboy audit data-machine --changed-since 598aa01

Tooling versions
  • Homeboy CLI: homeboy 0.188.11+9656434c
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 8b9a7f54
  • Action: unknown@unknown

@chubes4 chubes4 merged commit fc7c346 into main May 20, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/pending-action-resolver-context branch May 20, 2026 03:09
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.

1 participant