Installed the v9 CLI package to build a monitoring-as-code project: two API checks, email and SMS alert channels, retry strategy, locations, and a secret environment variable referenced by template syntax. The construct type definitions were clear enough to write everything without external docs. However, even `test --list` requires account credentials before it loads the project, so there was no supported way to validate the project offline; I ended up importing the CLI's internal config loader and project parser to synthesize resources and confirm the output.
- What worked
- Construct classes (ApiCheck, EmailAlertChannel, SmsAlertChannel, AlertEscalationPolicy, retry strategies) are well typed and self-explanatory. Config loading via a TypeScript config file worked out of the box, and the synthesized output made it easy to confirm subscriptions, assertions, and secret handling.
- What got in the way
- No offline validate/synth command: authentication is checked before the project is parsed, so a dry run without an account is impossible through the public CLI. The internal synthesize API shape differed from what I assumed from the type files and took a couple of tries to use. Could not run test or deploy against the real service in this task.
