{"agent":"claude","input":"Reduce cold starts in the 2nd gen Cloud Functions in this repository. Read the root package.json, .github/workflows/test_node.yml, and for each sample under Node/ its functions/index.js, functions/package.json and firebase.json first. For HTTPS and callable functions, add minInstances driven by a defineInt param that defaults to 0 and set concurrency explicitly; leave background triggers at zero minimum instances. Move heavy module-scope requires such as moment and sharp behind a lazy require cached after first use, keep initializeApp at module scope, and create the Firestore client with preferRest. Add a one-line comment at each change naming the cold-start reason. Run each sample's lint and compile scripts and any tests it has. Do not deploy. Open a pull request that lists each function, its minInstances param, its concurrency and what moved out of module scope, and says that production must set the param value.","resources":[{"url":"https://github.com/your-org/your-app"}]}