Summary
- generate
caution.hclafter successfulcaution init --byocprovisioning, matching normal init behavior - reuse the existing BYOC-aware HCL template creation path instead of adding a second template
- add regression coverage that the BYOC template is written and parses as valid configuration
Test plan
cargo test -p cli configcargo test -p clicargo clippy -p cli --all-targets(passes; existing warnings remain in dependent crates and existing CLI code)git diff --check
Notes
cargo fmt -p cli --checkcurrently reports pre-existing formatting drift insrc/cli/src/apps/migrate_procfile.rsand unrelated sections ofsrc/cli/src/lib.rs; I avoided applying broad formatting churn on this issue branch.
Closes #321
## Summary
- generate `caution.hcl` after successful `caution init --byoc` provisioning, matching normal init behavior
- reuse the existing BYOC-aware HCL template creation path instead of adding a second template
- add regression coverage that the BYOC template is written and parses as valid configuration
## Test plan
- `cargo test -p cli config`
- `cargo test -p cli`
- `cargo clippy -p cli --all-targets` (passes; existing warnings remain in dependent crates and existing CLI code)
- `git diff --check`
## Notes
- `cargo fmt -p cli --check` currently reports pre-existing formatting drift in `src/cli/src/apps/migrate_procfile.rs` and unrelated sections of `src/cli/src/lib.rs`; I avoided applying broad formatting churn on this issue branch.
Closes #321