feat: add DevOps IaC pack - #2
Conversation
|
Thanks for the contribution — the pack structure, documentation, Layer-1/Layer-2 separation, and test integration are well designed. Before merging, I think the Layer-1 validators need to address a few false-negative cases that currently allow changes violating the documented constraints to pass:
Please also add regression tests for these cases, especially:
The overall direction looks good. Once these validator semantics match the documented guarantees, this should be ready to merge. |
|
Thanks for the update. The previous findings have been addressed well: apply commands are now checked independently, Kubernetes checks are scoped per document and container, immutable references are enforced consistently, and the requested regression cases have been added. I found one remaining false-negative case before approval: Container detection depends on the first key being
|
Summary / Context
Adds pack-devops-iac v0.1 for Terraform/OpenTofu dependency safety, Kubernetes workload readiness, CI/CD plan gates, environment promotion, drift ownership, and rollback readiness.
The pack includes the full manifest/docs/retrieval/prompt structure, seven narrow Layer-1 validators, ten common pitfalls, focused positive/negative tests, catalog registration, and regenerated release metadata.
Problem & Why
Infrastructure changes need context beyond generic backend and security guidance. The existing roadmap called out pack-devops-iac, but no pack encoded deterministic infrastructure change and deployment safety rules.
The implementation keeps security, performance, and database responsibilities in their existing packs. Higher-judgment concerns such as blast radius, artifact promotion, and drift ownership remain Layer-2 self-checks instead of unreliable regex gates.
Test Notes
Related Issues
No linked issue; implements the pack-devops-iac item listed in the pack roadmap.
Docs / Workflow Impact
Adds an opt-in pack only. Existing workspaces are unchanged until they enable pack-devops-iac.
Wiki-specific checks
Project Spirit Check