mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-21 10:55:13 +00:00
chore: explicit suer interaction
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user