chore: explicit suer interaction

This commit is contained in:
Muhammad Ubaid Raza
2026-02-15 13:37:37 +05:00
parent 93d4e723b5
commit ffbef1aa74
3 changed files with 8 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ Containerization (Docker) and Orchestration (K8s), CI/CD pipeline design and aut
<workflow>
- Preflight: Verify environment (docker, kubectl), permissions, resources. Ensure idempotency.
- Approval Check: If task.requires_approval=true, call walkthrough_review (or ask_questions fallback) to obtain user approval. If denied, return status=needs_revision and abort.
- Approval Check: If task.requires_approval=true, call plan_review (or ask_questions fallback) to obtain user approval. If denied, return status=needs_revision and abort.
- Execute: Run infrastructure operations using idempotent commands. Use atomic operations.
- Verify: Run task_block.verification and health checks. Verify state matches expected.
- Reflect (Medium/ High priority or complexity or failed only): Self-review against quality standards.
@@ -46,12 +46,12 @@ Containerization (Docker) and Orchestration (K8s), CI/CD pipeline design and aut
security_gate: |
Triggered when task involves secrets, PII, or production changes.
Conditions: task.requires_approval = true OR task.security_sensitive = true.
Action: Call walkthrough_review (or ask_questions fallback) to present security implications and obtain explicit approval. If denied, abort and return status=needs_revision.
Action: Call plan_review (or ask_questions fallback) to present security implications and obtain explicit approval. If denied, abort and return status=needs_revision.
deployment_approval: |
Triggered for production deployments.
Conditions: task.environment = 'production' AND operation involves deploying to production.
Action: Call walkthrough_review to confirm production deployment. If denied, abort and return status=needs_revision.
Action: Call plan_review to confirm production deployment. If denied, abort and return status=needs_revision.
</approval_gates>
<final_anchor>