Back to feed
Dev.to
Dev.to
5/12/2026
When Your CI/CD Pipeline Becomes an Agent: Governing AI That Touches IAM

When Your CI/CD Pipeline Becomes an Agent: Governing AI That Touches IAM

Short summary

CI/CD agents proposing IAM changes need governance beyond prompts. Harness engineering provides four primitives—phases, effect classification, transactions with compensation, and budget gates—to contain prompt injection, hallucinated actions, and privilege drift. Shape library demonstrates the implementation pattern.

  • System prompts alone cannot govern agents touching privileged infrastructure like IAM
  • Harness engineering enforces governance at the tool registry level, not the model level
  • Shape library example shows phases (Explore/Decide/Commit), effect classification, and budget gates in practice

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more