Problem
The repository-wide PHP test loop fails after the workspace tests because tests/worktree-active-no-signal-scope.php loads WorkspaceWorktreeInventoryCleanup.php without loading WorktreeCleanupCandidateClassifier.
Reproduction
for test in tests/*.php; do php "$test" || exit 1; done
Observed on current origin/main (358cbb4) and independently during the Homeboy promotion gates for #951:
Class "DataMachineCode\Workspace\WorktreeCleanupCandidateClassifier" not found
inc/Workspace/WorkspaceWorktreeInventoryCleanup.php:84
Expected
Every standalone PHP test loads its direct runtime dependencies or a shared test bootstrap so the repository-wide loop reaches all tests.
Relationship
This is unrelated to #951. Its targeted gate, php tests/workspace-command-startup-bounds.php, passes before and after rebasing onto current main.
AI assistance
- Model: OpenAI GPT-5.6 Sol
- Tool: OpenCode
- Used for: reproduction, duplicate search, and issue drafting under Chris Huber's direction.
Problem
The repository-wide PHP test loop fails after the workspace tests because
tests/worktree-active-no-signal-scope.phploadsWorkspaceWorktreeInventoryCleanup.phpwithout loadingWorktreeCleanupCandidateClassifier.Reproduction
Observed on current
origin/main(358cbb4) and independently during the Homeboy promotion gates for #951:Expected
Every standalone PHP test loads its direct runtime dependencies or a shared test bootstrap so the repository-wide loop reaches all tests.
Relationship
This is unrelated to #951. Its targeted gate,
php tests/workspace-command-startup-bounds.php, passes before and after rebasing onto current main.AI assistance