Skip to content

test: load ToolSchemaNormalizer in AI request inspector smoke #3400

Description

@chubes4

Problem

php tests/ai-request-inspector-smoke.php fatals on current main before reaching its CLI assertions:

Class "DataMachine\Engine\AI\ToolSchemaNormalizer" not found
inc/Engine/AI/ProviderRequestAssembler.php:95

The standalone smoke manually loads ProviderRequestAssembler but does not load or autoload its ToolSchemaNormalizer dependency. This reproduces unchanged on authoritative main and is unrelated to the CLI registry contraction in #3399.

Expected

The standalone bootstrap explicitly loads the dependency it exercises, or uses the repository autoloader consistently, so the smoke reaches all assertions without relying on incidental production includes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions