Skip to content

Fix completion assertions for runtime tool aliases#2605

Merged
chubes4 merged 1 commit into
mainfrom
fix/completion-assertion-runtime-tool-alias
Jun 8, 2026
Merged

Fix completion assertions for runtime tool aliases#2605
chubes4 merged 1 commit into
mainfrom
fix/completion-assertion-runtime-tool-alias

Conversation

@chubes4

@chubes4 chubes4 commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Treat each tool's logical name, declared name, and provider/runtime-safe runtime_tool_id as valid completion assertion names.
  • Record successful tool results under runtime aliases as well as logical names so alias-based requirements can complete.
  • Covers the filesystem_write requirement with logical client/filesystem-write execution in the request-builder smoke test.

Why

Latest WP Codebox exposed Studio Web browser generation failing before tool execution with:

Completion assertions require unavailable tool(s): filesystem_write.

The model sees the provider-safe alias, while Data Machine executes the logical Agents API tool name. Completion assertions need to understand both names instead of rejecting the request before generation.

Testing

  • php tests/request-builder-tool-transcript-smoke.php
  • php -l inc/Engine/AI/DataMachineCompletionAssertions.php
  • php -l tests/request-builder-tool-transcript-smoke.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (gpt-5.5)
  • Used for: Diagnosed the latest WP Codebox lab failure, drafted the completion-assertion alias handling, and ran targeted local verification. Chris remains responsible for review and merge.

@homeboy-ci

homeboy-ci Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine

Audit

audit — passed

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

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/27161952044
Tooling versions
  • Homeboy CLI: homeboy 0.222.22+42655bcf
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 4d4decda
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 75c6670 into main Jun 8, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/completion-assertion-runtime-tool-alias branch June 8, 2026 19:34
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