I loaded MCP through dependency in another project (NicolasAnquetil/MooseMCP)
as a result, testSearchPackagesListsPackagesForExistingProject was failing
Claude identified the error as:
- MCPPackageScopeQuery>>resolvedProjectsNamed: looks up 'MCP' in projectsByName, which is built from projectRegistrations
- that method filters MetacelloProjectRegistration registry registrations down to only those where loadedInImage is true.
- 'MCP' loadedInImage flag is false. That flag only gets flipped to true inside MetacelloScriptEngine's actual load: path ; it's never set when a project's code is just present/loaded another way (e.g. via Iceberg checkout in an image).
After reloading MCP "directly" through metacello (install baseline "default"), the test passes
I loaded MCP through dependency in another project (NicolasAnquetil/MooseMCP)
as a result,
testSearchPackagesListsPackagesForExistingProjectwas failingClaude identified the error as:
After reloading MCP "directly" through metacello (install baseline "default"), the test passes