@@ -755,7 +755,11 @@ console.log(`host installation tests passed selectors=5 dryRunWrites=0 collision
755755 const inspection = inspectGlobalHostConfig ( { packageRoot : ROOT , env, home } )
756756 assert . strictEqual ( inspection . ready , false )
757757 assert . strictEqual ( inspection . overallState , 'degraded' )
758- assert . strictEqual ( inspection . hosts . find ( host => host . host === 'grok' ) . contractStatus , 'unverified' )
758+ const grokInspection = inspection . hosts . find ( host => host . host === 'grok' )
759+ assert . strictEqual ( grokInspection . adapterReady , true )
760+ assert . strictEqual ( grokInspection . contractStatus , 'passed' )
761+ assert . strictEqual ( grokInspection . nativeStatus , 'unverified' )
762+ assert ( grokInspection . issues . some ( issue => issue . code === 'GROK_PLUGIN_REGISTRY_UNVERIFIED' ) )
759763 assert . strictEqual ( inspection . hosts . length , 5 )
760764 assert . ok ( fs . existsSync ( path . join ( home , 'gemini-cli-home' , '.gemini' , 'devcodex' , 'global-host-receipt.json' ) ) )
761765 assert . ok ( fs . existsSync ( path . join ( home , '.agents' , 'devcodex' , 'instructions.full.md' ) ) )
@@ -860,7 +864,7 @@ console.log(`host installation tests passed selectors=5 dryRunWrites=0 collision
860864 const statusAfterGlobalInstallFacts = JSON . parse ( statusAfterGlobalInstall . stdout ) . payload
861865 assert . strictEqual ( statusAfterGlobalInstallFacts . globalHostConfig . ready , false )
862866 assert . strictEqual ( statusAfterGlobalInstallFacts . globalHostConfig . overallState , 'degraded' )
863- assert . strictEqual ( statusAfterGlobalInstallFacts . entryFiles . instructionProjection . grokPlugin . globalAdapterReady , false )
867+ assert . strictEqual ( statusAfterGlobalInstallFacts . entryFiles . instructionProjection . grokPlugin . globalAdapterReady , true )
864868 assert . strictEqual ( statusAfterGlobalInstallFacts . entryFiles . instructionProjection . grokPlugin . workspaceSourceRequired , false )
865869 assert ( ! statusAfterGlobalInstallFacts . entryFiles . instructionProjection . issues . some ( item =>
866870 item . code === 'HOST_GROK_WORKSPACE_PLUGIN_MISSING'
@@ -873,7 +877,7 @@ console.log(`host installation tests passed selectors=5 dryRunWrites=0 collision
873877 assert . strictEqual ( doctorAfterGlobalInstall . status , 0 , doctorAfterGlobalInstall . stderr || doctorAfterGlobalInstall . stdout )
874878 const doctorAfterGlobalInstallFacts = JSON . parse ( doctorAfterGlobalInstall . stdout ) . payload
875879 assert . strictEqual ( doctorAfterGlobalInstallFacts . globalHostConfig . ready , false )
876- assert . strictEqual ( doctorAfterGlobalInstallFacts . installArtifacts . instructionProjection . grokPlugin . globalAdapterReady , false )
880+ assert . strictEqual ( doctorAfterGlobalInstallFacts . installArtifacts . instructionProjection . grokPlugin . globalAdapterReady , true )
877881 assert . strictEqual ( doctorAfterGlobalInstallFacts . installArtifacts . instructionProjection . grokPlugin . workspaceSourceRequired , false )
878882 assert ( ! doctorAfterGlobalInstallFacts . installArtifacts . instructionProjection . issues . some ( item =>
879883 item . code === 'HOST_GROK_WORKSPACE_PLUGIN_MISSING'
0 commit comments