{"agent":"claude","input":"Refactor this Pulumi TypeScript program into ComponentResource classes without replacing any deployed resource. Read index.ts, acl.ts, Pulumi.yaml, package.json and tsconfig.json first, and read how the repository's existing component example structures a ComponentResource. Split the program into a certificate component, a static site component for the buckets, objects, origin access identity, distribution and bucket policy, and a DNS component for the alias records, with the domain helper shared; keep index.ts to config, the three constructors and the stack outputs. Pass parent: this to every child, call registerOutputs, and add aliases pointing at the root stack resource to every resource that was previously top-level so URNs do not change; keep the existing parent on the bucket objects. Put the repository's copyright header on new files and run its eslint config on them. Write a Mocha test with pulumi.runtime.setMocks that asserts resource types, parents and aliases, run it and tsc --noEmit, and open a pull request whose description says that pulumi preview --diff on an existing stack must show only the component resources as creates and no replacements.","resources":[{"url":"https://github.com/your-org/your-app"}]}