Answer
Generally, AI-Scripts releases are backward and forward compatible with Junos. Upgrading Junos does not break AI-Scripts unless otherwise noted in the release notes. Best practice, however, is to upgrade Service Now along with Junos. AI-Scripts is not on the same release schedule as Junos. In fact this illustrates that Service Now and Junos releases are not interdependent.
NOTE: If you upgrade Junos using the jinstallpackage, you must reinstall the AI-Scripts package.
For information about AI-Scripts, see Service Automation Documenation Page.