ScriptRepository design document

Under development

re #6174
Discussion for ScriptRepository

re #6174