dojo.md 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/courses/GENERATION_LOG.md +27 -0
- package/courses/api-error-handling/course.yaml +16 -0
- package/courses/api-error-handling/scenarios/level-1/error-response-format.yaml +131 -0
- package/courses/api-error-handling/scenarios/level-1/http-status-codes-basics.yaml +90 -0
- package/courses/api-error-handling/scenarios/level-1/rate-limiting-basics.yaml +135 -0
- package/courses/api-error-handling/scenarios/level-1/request-validation-errors.yaml +208 -0
- package/courses/api-error-handling/scenarios/level-2/circuit-breaker-pattern.yaml +189 -0
- package/courses/api-error-handling/scenarios/level-2/idempotency-retry-logic.yaml +159 -0
- package/courses/api-error-handling/scenarios/level-2/rfc-7807-problem-details.yaml +178 -0
- package/courses/api-error-handling/scenarios/level-2/webhook-error-handling.yaml +211 -0
- package/courses/api-error-handling/scenarios/level-3/distributed-tracing-errors.yaml +275 -0
- package/courses/github-actions-cicd/course.yaml +10 -0
- package/courses/github-actions-cicd/scenarios/level-1/actions-and-runners.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-1/basic-workflow-syntax.yaml +52 -0
- package/courses/github-actions-cicd/scenarios/level-1/branch-protection-checks.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-1/environment-variables-secrets.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-1/first-cicd-shift.yaml +62 -0
- package/courses/github-actions-cicd/scenarios/level-1/job-dependencies-outputs.yaml +62 -0
- package/courses/github-actions-cicd/scenarios/level-1/simple-ci-pipeline.yaml +57 -0
- package/courses/github-actions-cicd/scenarios/level-1/workflow-debugging.yaml +90 -0
- package/courses/github-actions-cicd/scenarios/level-1/workflow-status-notifications.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-1/workflow-triggers.yaml +56 -0
- package/courses/github-actions-cicd/scenarios/level-2/concurrency-control.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-2/conditional-execution.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-2/custom-actions-development.yaml +55 -0
- package/courses/github-actions-cicd/scenarios/level-2/dependency-caching.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-2/deployment-workflows.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-2/github-packages-publishing.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-2/intermediate-cicd-shift.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-2/matrix-builds.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-2/reusable-workflows.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-2/workflow-cost-optimization.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-3/advanced-cicd-shift.yaml +64 -0
- package/courses/github-actions-cicd/scenarios/level-3/compliance-automation.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-3/docker-action-development.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-3/github-environments.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-3/monorepo-ci.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-3/oidc-cloud-deployments.yaml +55 -0
- package/courses/github-actions-cicd/scenarios/level-3/release-automation.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-3/security-hardening.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-3/self-hosted-runners.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-3/workflow-optimization.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-data-architecture.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-economics-roi.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-executive-communication.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-incident-response.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-org-design.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-platform-architecture.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-training-program.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-vendor-evaluation.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-4/enterprise-cicd-governance.yaml +55 -0
- package/courses/github-actions-cicd/scenarios/level-4/expert-cicd-shift.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-ai-future.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-behavioral-science.yaml +70 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-board-strategy.yaml +56 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-consulting-engagement.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-industry-benchmarks.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-ma-integration.yaml +73 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-product-development.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-regulatory-landscape.yaml +72 -0
- package/courses/github-actions-cicd/scenarios/level-5/comprehensive-cicd-system.yaml +66 -0
- package/courses/github-actions-cicd/scenarios/level-5/master-cicd-shift.yaml +76 -0
- package/courses/github-pr-review/scenarios/level-2/api-change-review.yaml +82 -0
- package/courses/github-pr-review/scenarios/level-2/automated-review-tooling.yaml +53 -0
- package/courses/github-pr-review/scenarios/level-2/cross-team-review.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-2/intermediate-review-shift.yaml +66 -0
- package/courses/github-pr-review/scenarios/level-2/performance-review-patterns.yaml +99 -0
- package/courses/github-pr-review/scenarios/level-2/review-disagreement-resolution.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-2/review-metrics-analysis.yaml +63 -0
- package/courses/github-pr-review/scenarios/level-2/review-turnaround-sla.yaml +54 -0
- package/courses/github-pr-review/scenarios/level-2/stacked-pr-review.yaml +65 -0
- package/courses/github-pr-review/scenarios/level-3/advanced-review-shift.yaml +65 -0
- package/courses/github-pr-review/scenarios/level-3/ai-powered-review.yaml +58 -0
- package/courses/github-pr-review/scenarios/level-3/compliance-review-process.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-3/cross-functional-review.yaml +60 -0
- package/courses/github-pr-review/scenarios/level-3/incident-driven-review.yaml +63 -0
- package/courses/github-pr-review/scenarios/level-3/large-scale-review-operations.yaml +55 -0
- package/courses/github-pr-review/scenarios/level-3/monorepo-review-process.yaml +68 -0
- package/courses/github-pr-review/scenarios/level-3/review-automation-platform.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-3/review-culture-design.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-3/review-data-pipeline.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-4/enterprise-review-operations.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-4/expert-review-shift.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-4/review-data-architecture.yaml +69 -0
- package/courses/github-pr-review/scenarios/level-4/review-economics-roi.yaml +63 -0
- package/courses/github-pr-review/scenarios/level-4/review-executive-communication.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-4/review-incident-postmortem.yaml +69 -0
- package/courses/github-pr-review/scenarios/level-4/review-org-design.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-4/review-platform-architecture.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-4/review-training-program.yaml +66 -0
- package/courses/github-pr-review/scenarios/level-4/review-vendor-evaluation.yaml +76 -0
- package/courses/github-pr-review/scenarios/level-5/comprehensive-review-system.yaml +68 -0
- package/courses/github-pr-review/scenarios/level-5/master-review-shift.yaml +73 -0
- package/courses/github-pr-review/scenarios/level-5/review-ai-future.yaml +69 -0
- package/courses/github-pr-review/scenarios/level-5/review-behavioral-science.yaml +66 -0
- package/courses/github-pr-review/scenarios/level-5/review-board-strategy.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-5/review-consulting-engagement.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-5/review-devtools-product.yaml +71 -0
- package/courses/github-pr-review/scenarios/level-5/review-industry-benchmarks.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-5/review-ma-integration.yaml +76 -0
- package/courses/github-pr-review/scenarios/level-5/review-regulatory-landscape.yaml +78 -0
- package/courses/postgresql-query-optimization/course.yaml +11 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/explain-analyze-basics.yaml +80 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/first-optimization-shift.yaml +77 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/index-fundamentals.yaml +76 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/join-basics.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/n-plus-one-queries.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/query-rewriting-basics.yaml +69 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/select-star-problems.yaml +69 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/slow-query-diagnosis.yaml +63 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/vacuum-and-statistics.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/where-clause-optimization.yaml +74 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/autovacuum-tuning.yaml +76 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/composite-index-design.yaml +81 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/covering-indexes.yaml +74 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/cte-optimization.yaml +83 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/intermediate-optimization-shift.yaml +66 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/join-optimization.yaml +72 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/partial-and-expression-indexes.yaml +75 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/query-planner-settings.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/subquery-optimization.yaml +67 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/window-function-optimization.yaml +63 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/advanced-optimization-shift.yaml +71 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/connection-pooling.yaml +60 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/full-text-search-optimization.yaml +66 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/jsonb-optimization.yaml +88 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/lock-contention-analysis.yaml +80 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/materialized-view-optimization.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/parallel-query-execution.yaml +74 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/partitioning-strategies.yaml +71 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/specialized-index-types.yaml +67 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/write-optimization.yaml +65 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/data-architecture-analytics.yaml +64 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/database-executive-communication.yaml +64 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/database-migration-planning.yaml +57 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/enterprise-database-governance.yaml +52 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/expert-optimization-shift.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/high-availability-architecture.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/optimizer-internals.yaml +69 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/performance-sla-design.yaml +58 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/read-replica-optimization.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/vendor-evaluation.yaml +73 -0
- package/courses/rest-api-error-handling/course.yaml +11 -0
- package/courses/rest-api-error-handling/scenarios/level-1/authentication-errors.yaml +71 -0
- package/courses/rest-api-error-handling/scenarios/level-1/content-negotiation-errors.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-1/error-logging-basics.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-1/error-response-format.yaml +58 -0
- package/courses/rest-api-error-handling/scenarios/level-1/first-error-handling-shift.yaml +67 -0
- package/courses/rest-api-error-handling/scenarios/level-1/http-status-codes.yaml +46 -0
- package/courses/rest-api-error-handling/scenarios/level-1/not-found-errors.yaml +52 -0
- package/courses/rest-api-error-handling/scenarios/level-1/rate-limiting-errors.yaml +56 -0
- package/courses/rest-api-error-handling/scenarios/level-1/request-validation-errors.yaml +59 -0
- package/courses/rest-api-error-handling/scenarios/level-1/server-error-handling.yaml +55 -0
- package/courses/rest-api-error-handling/scenarios/level-2/api-versioning-errors.yaml +66 -0
- package/courses/rest-api-error-handling/scenarios/level-2/batch-request-errors.yaml +61 -0
- package/courses/rest-api-error-handling/scenarios/level-2/circuit-breaker-pattern.yaml +52 -0
- package/courses/rest-api-error-handling/scenarios/level-2/error-code-taxonomy.yaml +62 -0
- package/courses/rest-api-error-handling/scenarios/level-2/error-monitoring-alerting.yaml +53 -0
- package/courses/rest-api-error-handling/scenarios/level-2/intermediate-error-shift.yaml +69 -0
- package/courses/rest-api-error-handling/scenarios/level-2/pagination-errors.yaml +66 -0
- package/courses/rest-api-error-handling/scenarios/level-2/retry-and-idempotency.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-2/rfc7807-problem-details.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-2/webhook-error-handling.yaml +55 -0
- package/courses/rest-api-error-handling/scenarios/level-3/advanced-error-shift.yaml +72 -0
- package/courses/rest-api-error-handling/scenarios/level-3/api-gateway-errors.yaml +71 -0
- package/courses/rest-api-error-handling/scenarios/level-3/async-api-errors.yaml +67 -0
- package/courses/rest-api-error-handling/scenarios/level-3/caching-error-scenarios.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-3/chaos-engineering-apis.yaml +62 -0
- package/courses/rest-api-error-handling/scenarios/level-3/database-error-handling.yaml +79 -0
- package/courses/rest-api-error-handling/scenarios/level-3/distributed-error-propagation.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-3/error-budgets-sre.yaml +61 -0
- package/courses/rest-api-error-handling/scenarios/level-3/error-correlation.yaml +58 -0
- package/courses/rest-api-error-handling/scenarios/level-3/graphql-vs-rest-errors.yaml +73 -0
- package/courses/rest-api-error-handling/scenarios/level-4/compliance-error-handling.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-4/enterprise-error-governance.yaml +62 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-analytics-platform.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-cost-optimization.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-executive-communication.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-handling-architecture.yaml +67 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-org-design.yaml +68 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-sla-design.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-training-program.yaml +61 -0
- package/courses/rest-api-error-handling/scenarios/level-4/expert-error-shift.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-5/comprehensive-error-system.yaml +68 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-ai-future.yaml +75 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-behavioral-science.yaml +73 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-board-strategy.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-consulting-engagement.yaml +58 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-industry-benchmarks.yaml +72 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-ma-integration.yaml +68 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-product-development.yaml +66 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-regulatory-landscape.yaml +80 -0
- package/courses/rest-api-error-handling/scenarios/level-5/master-error-shift.yaml +73 -0
- package/dist/cli/commands/add.d.ts.map +1 -1
- package/dist/cli/commands/add.js +6 -5
- package/dist/cli/commands/add.js.map +1 -1
- package/dist/cli/commands/generate.d.ts.map +1 -1
- package/dist/cli/commands/generate.js +4 -0
- package/dist/cli/commands/generate.js.map +1 -1
- package/dist/cli/commands/list.d.ts.map +1 -1
- package/dist/cli/commands/list.js +6 -18
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/train.d.ts.map +1 -1
- package/dist/cli/commands/train.js +18 -18
- package/dist/cli/commands/train.js.map +1 -1
- package/dist/cli/index.js +93 -55
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/run-demo.js +2 -1
- package/dist/cli/run-demo.js.map +1 -1
- package/dist/cli/setup.d.ts +18 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +154 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/engine/agent-bridge.d.ts +5 -2
- package/dist/engine/agent-bridge.d.ts.map +1 -1
- package/dist/engine/agent-bridge.js +36 -9
- package/dist/engine/agent-bridge.js.map +1 -1
- package/dist/engine/loader.d.ts +21 -0
- package/dist/engine/loader.d.ts.map +1 -1
- package/dist/engine/loader.js +54 -1
- package/dist/engine/loader.js.map +1 -1
- package/dist/engine/training-loop.d.ts.map +1 -1
- package/dist/engine/training-loop.js +1 -0
- package/dist/engine/training-loop.js.map +1 -1
- package/dist/engine/training.d.ts.map +1 -1
- package/dist/engine/training.js +1 -0
- package/dist/engine/training.js.map +1 -1
- package/dist/generator/skill-generator.d.ts +1 -1
- package/dist/generator/skill-generator.d.ts.map +1 -1
- package/dist/generator/skill-generator.js +21 -2
- package/dist/generator/skill-generator.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +11 -26
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/session-manager.d.ts +3 -1
- package/dist/mcp/session-manager.d.ts.map +1 -1
- package/dist/mcp/session-manager.js +44 -22
- package/dist/mcp/session-manager.js.map +1 -1
- package/dist/types/schemas.d.ts +38 -13
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +9 -5
- package/dist/types/schemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-incident-response
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Respond to CI/CD incidents — handle platform outages, security breaches, and deployment failures at the organizational level"
|
|
7
|
+
tags: [github, actions, incident-response, outage, security, postmortem, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Head of Platform Engineering handling 3 major CI/CD
|
|
13
|
+
incidents simultaneously. Each requires a different response strategy.
|
|
14
|
+
|
|
15
|
+
Incident 1 — GitHub Actions outage (Severity: P1):
|
|
16
|
+
GitHub Actions has been experiencing degraded performance for 2 hours.
|
|
17
|
+
Workflow runs are queuing but not starting. GitHub's status page says
|
|
18
|
+
"Investigating." Your entire engineering org (500 developers) is
|
|
19
|
+
blocked. 15 production deployments are queued, including a critical
|
|
20
|
+
security patch. The CEO asks: "When will engineering be unblocked?"
|
|
21
|
+
You need to: determine the blast radius, activate the business
|
|
22
|
+
continuity plan, get the security patch deployed manually, and
|
|
23
|
+
communicate to the organization.
|
|
24
|
+
|
|
25
|
+
Incident 2 — Credential leak via CI logs (Severity: P1):
|
|
26
|
+
A workflow accidentally printed a database connection string (with
|
|
27
|
+
password) to the build logs. The logs are public (open-source repo).
|
|
28
|
+
The credentials provide read/write access to the production database
|
|
29
|
+
containing 2M user records. The log has been visible for 6 hours.
|
|
30
|
+
You need to: assess data exposure, rotate credentials, scrub the
|
|
31
|
+
logs, notify the security team, and determine if data was accessed.
|
|
32
|
+
|
|
33
|
+
Incident 3 — Deployment pipeline corruption (Severity: P2):
|
|
34
|
+
A misconfigured reusable workflow update caused all deployments to
|
|
35
|
+
deploy to the wrong environment. For 4 hours, staging deployments
|
|
36
|
+
went to production and production deployments went to staging. 3
|
|
37
|
+
untested features are now in production, and production data is being
|
|
38
|
+
written by staging code. No data loss yet, but data consistency is
|
|
39
|
+
at risk.
|
|
40
|
+
|
|
41
|
+
Task: Handle all 3 incidents. For each, write: the incident
|
|
42
|
+
commander's playbook (first 15 minutes, first hour, resolution),
|
|
43
|
+
the communication plan (who gets told what and when), the technical
|
|
44
|
+
resolution steps, and the post-incident review (root cause, corrective
|
|
45
|
+
actions, process improvements). Include: the unified incident report
|
|
46
|
+
for the CTO and the long-term platform resilience improvements.
|
|
47
|
+
|
|
48
|
+
assertions:
|
|
49
|
+
- type: llm_judge
|
|
50
|
+
criteria: "Incident response follows proper IC protocol — establishes incident commander, defines clear communication channels, provides regular status updates, and each incident has a clear escalation path and resolution criteria"
|
|
51
|
+
weight: 0.35
|
|
52
|
+
description: "Proper IC protocol"
|
|
53
|
+
- type: llm_judge
|
|
54
|
+
criteria: "Technical resolutions are correct — GitHub outage has a BCP (fallback to self-hosted or manual deploy for security patch), credential leak has immediate rotation + log scrubbing + access audit, and environment swap is fixed with immediate rollback and data integrity verification"
|
|
55
|
+
weight: 0.35
|
|
56
|
+
description: "Correct technical resolutions"
|
|
57
|
+
- type: llm_judge
|
|
58
|
+
criteria: "Post-incident improvements are systemic — identifies that all 3 incidents reveal platform resilience gaps (no GitHub fallback, secrets in logs possible, environment config as single point of failure) and proposes permanent fixes"
|
|
59
|
+
weight: 0.30
|
|
60
|
+
description: "Systemic post-incident improvements"
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-org-design
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design CI/CD organization — build teams, define roles, and create career paths for CI/CD platform engineering"
|
|
7
|
+
tags: [github, actions, org-design, platform-engineering, teams, career-paths, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the VP of Engineering creating a dedicated Platform Engineering
|
|
13
|
+
team that owns CI/CD. The company has 600 engineers and no centralized
|
|
14
|
+
CI/CD ownership — each team manages their own workflows, leading to
|
|
15
|
+
inconsistency, duplication, and poor developer experience.
|
|
16
|
+
|
|
17
|
+
Current pain points:
|
|
18
|
+
- 40% of developer time in surveys is "fighting CI/CD issues"
|
|
19
|
+
- No standard deployment process across 200 repos
|
|
20
|
+
- 3 different cloud authentication methods (static keys, OIDC, SSO)
|
|
21
|
+
- Self-hosted runners managed by 3 different teams with no coordination
|
|
22
|
+
- Security team manually audits CI/CD configurations quarterly
|
|
23
|
+
- New team onboarding takes 2 weeks just for CI/CD setup
|
|
24
|
+
|
|
25
|
+
Organizational mandate:
|
|
26
|
+
- Create a Platform Engineering team focused on CI/CD
|
|
27
|
+
- Headcount: 15 FTEs (mix of engineers, SREs, and program managers)
|
|
28
|
+
- Budget: $3M/year (headcount + infrastructure)
|
|
29
|
+
- Goal: Reduce "fighting CI/CD" from 40% to 10% within 1 year
|
|
30
|
+
|
|
31
|
+
Design questions:
|
|
32
|
+
1. Team structure: How to organize 15 people across different functions
|
|
33
|
+
2. Interaction model: How does the platform team serve 600 engineers
|
|
34
|
+
3. Service catalog: What services does the team provide
|
|
35
|
+
4. Career ladder: How do platform engineers grow
|
|
36
|
+
5. Success metrics: How to measure the team's impact
|
|
37
|
+
6. Funding model: Chargeback to teams vs central funding
|
|
38
|
+
|
|
39
|
+
Task: Design the complete organization. Write: the team structure
|
|
40
|
+
(roles, responsibilities, reporting), the service catalog (what the
|
|
41
|
+
team provides and what it doesn't), the interaction model with product
|
|
42
|
+
teams (self-service platform, office hours, embedded support), the
|
|
43
|
+
career ladder (from junior platform engineer to staff/principal), the
|
|
44
|
+
success metrics and OKRs for the first year, and the funding model
|
|
45
|
+
with cost allocation.
|
|
46
|
+
|
|
47
|
+
assertions:
|
|
48
|
+
- type: llm_judge
|
|
49
|
+
criteria: "Team structure is balanced — includes platform engineers (build tooling), SREs (reliability/observability), and a program manager (governance/adoption), with clear roles and the right ratio for a 15-person team"
|
|
50
|
+
weight: 0.35
|
|
51
|
+
description: "Balanced team structure"
|
|
52
|
+
- type: llm_judge
|
|
53
|
+
criteria: "Service catalog is clear about boundaries — defines what the team owns (shared workflows, runner fleet, deployment pipelines) vs what product teams own (app-specific tests, feature flags), with a self-service model that scales beyond the 15-person team"
|
|
54
|
+
weight: 0.35
|
|
55
|
+
description: "Clear service catalog boundaries"
|
|
56
|
+
- type: llm_judge
|
|
57
|
+
criteria: "Success metrics are measurable — includes both output metrics (platform uptime, deployment frequency) and outcome metrics (developer satisfaction, time-to-first-deploy for new teams), and the OKRs target reducing 'fighting CI/CD' from 40% to 10%"
|
|
58
|
+
weight: 0.30
|
|
59
|
+
description: "Measurable success metrics"
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-platform-architecture
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Architect a CI/CD platform — design the internal platform that manages runners, workflows, and deployments at enterprise scale"
|
|
7
|
+
tags: [github, actions, platform, architecture, runners, scaling, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Staff Engineer designing the internal CI/CD platform for
|
|
13
|
+
a 800-engineer organization. The platform sits between GitHub Actions
|
|
14
|
+
and the cloud infrastructure, providing a managed experience.
|
|
15
|
+
|
|
16
|
+
Platform requirements:
|
|
17
|
+
1. Runner management: Auto-scaled runner pools for different workloads
|
|
18
|
+
(CI, deployment, ML training, iOS builds)
|
|
19
|
+
2. Workflow orchestration: Standard deployment pipelines that teams
|
|
20
|
+
adopt via reusable workflows
|
|
21
|
+
3. Secret management: Centralized secret store (HashiCorp Vault)
|
|
22
|
+
integrated with GitHub Actions via OIDC
|
|
23
|
+
4. Artifact management: Central artifact store with retention policies
|
|
24
|
+
5. Observability: Metrics, logs, and traces for all workflow runs
|
|
25
|
+
6. Cost management: Per-team cost allocation and budget enforcement
|
|
26
|
+
|
|
27
|
+
Scale requirements:
|
|
28
|
+
- 5,000 workflow runs per day
|
|
29
|
+
- 200 concurrent jobs during peak
|
|
30
|
+
- 4 runner pools: Linux CI (150 runners), Linux GPU (10), macOS (20),
|
|
31
|
+
Windows (20)
|
|
32
|
+
- 99.9% uptime (CI platform down = all teams blocked)
|
|
33
|
+
- < 30 second job startup time (cold start)
|
|
34
|
+
|
|
35
|
+
Technical constraints:
|
|
36
|
+
- Runs on existing Kubernetes cluster (AWS EKS)
|
|
37
|
+
- Must use actions-runner-controller (ARC) for runner management
|
|
38
|
+
- Must integrate with existing Vault, Datadog, and PagerDuty
|
|
39
|
+
- Must support both GitHub Enterprise Cloud and self-hosted runners
|
|
40
|
+
- Budget: $500K/year for infrastructure
|
|
41
|
+
|
|
42
|
+
Task: Design the CI/CD platform architecture. Write: the system
|
|
43
|
+
architecture (components, data flow, integrations), the runner
|
|
44
|
+
auto-scaling design (scale-to-zero, warm pools, GPU scheduling),
|
|
45
|
+
the observability stack (metrics to collect, dashboards, alerts),
|
|
46
|
+
the cost management system (per-team tracking, budget alerts),
|
|
47
|
+
and the disaster recovery plan (what happens when the platform goes
|
|
48
|
+
down). Include architecture diagrams (text-based) and capacity
|
|
49
|
+
planning calculations.
|
|
50
|
+
|
|
51
|
+
assertions:
|
|
52
|
+
- type: llm_judge
|
|
53
|
+
criteria: "Architecture handles the scale — ARC configuration supports 200 concurrent jobs with proper auto-scaling policies, runner pool isolation prevents noisy-neighbor issues, cold start is addressed with warm pools, and the $500K budget is allocated across compute, storage, and networking"
|
|
54
|
+
weight: 0.35
|
|
55
|
+
description: "Scale-handling architecture"
|
|
56
|
+
- type: llm_judge
|
|
57
|
+
criteria: "Observability is comprehensive — tracks runner utilization, job queue depth, wait time, success rates, and cost per team. Integrates with Datadog for metrics and PagerDuty for alerts. Dashboards are designed for different audiences (engineers, managers, finance)"
|
|
58
|
+
weight: 0.35
|
|
59
|
+
description: "Comprehensive observability"
|
|
60
|
+
- type: llm_judge
|
|
61
|
+
criteria: "Disaster recovery is enterprise-grade — defines RTO and RPO for the CI platform, has a fallback plan when the platform is down (GitHub-hosted runners as failover), and the 99.9% uptime target is addressed with redundancy and monitoring"
|
|
62
|
+
weight: 0.30
|
|
63
|
+
description: "Enterprise-grade disaster recovery"
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-training-program
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design CI/CD training program — create a comprehensive curriculum for building GitHub Actions expertise across an organization"
|
|
7
|
+
tags: [github, actions, training, education, certification, onboarding, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're designing a company-wide GitHub Actions training program for
|
|
13
|
+
your 500-engineer organization. Currently, CI/CD knowledge is
|
|
14
|
+
concentrated in 10 people, and the rest of the org depends on them
|
|
15
|
+
for any workflow changes.
|
|
16
|
+
|
|
17
|
+
Current problems the training must address:
|
|
18
|
+
- Only 10 engineers can modify CI/CD workflows confidently
|
|
19
|
+
- New hires take 4 weeks before they can run their first deployment
|
|
20
|
+
- 40% of CI/CD support tickets are "how do I do X in GitHub Actions"
|
|
21
|
+
- Teams copy-paste workflows without understanding them
|
|
22
|
+
- Security misconfigurations are found quarterly in workflow audits
|
|
23
|
+
- 3 incidents in the last year caused by poorly written workflows
|
|
24
|
+
|
|
25
|
+
Target audience tiers:
|
|
26
|
+
1. All engineers: Basic workflow literacy (read and understand CI/CD)
|
|
27
|
+
2. Team leads: Workflow authoring (create and maintain team workflows)
|
|
28
|
+
3. Platform contributors: Advanced automation (build reusable
|
|
29
|
+
workflows, custom actions, platform integrations)
|
|
30
|
+
4. Security engineers: Security review of workflows
|
|
31
|
+
|
|
32
|
+
Available formats:
|
|
33
|
+
- Self-paced modules (budget: $40K to develop)
|
|
34
|
+
- Monthly live workshops (budget: $20K/year)
|
|
35
|
+
- Sandbox environment (dedicated GitHub org for practice)
|
|
36
|
+
- Certification program (gamification)
|
|
37
|
+
- Weekly office hours with the platform team
|
|
38
|
+
|
|
39
|
+
Constraints:
|
|
40
|
+
- Maximum 4 hours of training per engineer per quarter
|
|
41
|
+
- Must be available asynchronously (remote-first company)
|
|
42
|
+
- Must show measurable impact within 6 months
|
|
43
|
+
- Must reduce CI/CD support tickets by 50%
|
|
44
|
+
|
|
45
|
+
Task: Design the complete training program. Write: the curriculum
|
|
46
|
+
for each tier (learning objectives, modules, hands-on exercises),
|
|
47
|
+
the sandbox environment design (pre-configured repos for practice),
|
|
48
|
+
the certification system (levels, requirements, rewards), the
|
|
49
|
+
measurement framework (how to prove training reduces tickets and
|
|
50
|
+
incidents), and the rollout plan. Include sample exercises for each
|
|
51
|
+
tier.
|
|
52
|
+
|
|
53
|
+
assertions:
|
|
54
|
+
- type: llm_judge
|
|
55
|
+
criteria: "Curriculum is tier-appropriate — all-engineers learn to read workflows and trigger deployments, team leads learn to author workflows and manage secrets, platform contributors learn reusable workflows and custom actions, and security engineers learn vulnerability assessment"
|
|
56
|
+
weight: 0.35
|
|
57
|
+
description: "Tier-appropriate curriculum"
|
|
58
|
+
- type: llm_judge
|
|
59
|
+
criteria: "Sandbox environment is practical — provides pre-configured repos with progressive exercises, simulates real scenarios (failing tests, flaky CI, deployment issues), and allows safe experimentation without affecting production"
|
|
60
|
+
weight: 0.35
|
|
61
|
+
description: "Practical sandbox environment"
|
|
62
|
+
- type: llm_judge
|
|
63
|
+
criteria: "Measurement framework proves ROI — tracks leading indicators (training completion, sandbox exercise pass rates) and lagging indicators (support ticket volume, incident count, time-to-first-deployment for new hires), with a clear before/after comparison"
|
|
64
|
+
weight: 0.30
|
|
65
|
+
description: "ROI-proving measurement framework"
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-vendor-evaluation
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Evaluate CI/CD platforms — conduct a thorough comparison of GitHub Actions vs GitLab CI vs CircleCI vs Jenkins for enterprise adoption"
|
|
7
|
+
tags: [github, actions, vendor-evaluation, GitLab, CircleCI, Jenkins, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
Your company is evaluating CI/CD platforms for a 500-engineer
|
|
13
|
+
organization. The current state: 60% use GitHub Actions, 25% use
|
|
14
|
+
Jenkins (legacy), and 15% use CircleCI (from an acquisition). The
|
|
15
|
+
CTO wants to consolidate to a single platform within 12 months.
|
|
16
|
+
|
|
17
|
+
Evaluation criteria (weighted by importance):
|
|
18
|
+
1. Feature completeness (25%): Workflow capabilities, integrations
|
|
19
|
+
2. Security (20%): OIDC, secret management, supply chain, audit
|
|
20
|
+
3. Scalability (15%): Concurrent jobs, runner management, performance
|
|
21
|
+
4. Cost (15%): Per-minute pricing, storage, data transfer
|
|
22
|
+
5. Developer experience (15%): YAML syntax, debugging, documentation
|
|
23
|
+
6. Enterprise features (10%): SSO, audit logs, compliance, governance
|
|
24
|
+
|
|
25
|
+
Platforms to evaluate:
|
|
26
|
+
A. GitHub Actions (current primary)
|
|
27
|
+
B. GitLab CI/CD (considered for integrated DevOps platform)
|
|
28
|
+
C. CircleCI (current secondary from acquisition)
|
|
29
|
+
D. Jenkins (current legacy, considering modern alternatives)
|
|
30
|
+
|
|
31
|
+
Scale requirements:
|
|
32
|
+
- 500 engineers, 200 repos
|
|
33
|
+
- 2,000 workflow runs per day
|
|
34
|
+
- Multi-cloud deployment (AWS, GCP, Azure)
|
|
35
|
+
- SOC 2 + PCI DSS compliance required
|
|
36
|
+
- Must support self-hosted runners for compliance
|
|
37
|
+
- Monorepo support needed for 3 teams
|
|
38
|
+
|
|
39
|
+
Task: Conduct the complete vendor evaluation. Write: the evaluation
|
|
40
|
+
matrix (score each platform on each criterion with justification),
|
|
41
|
+
the total cost of ownership analysis (3-year TCO including migration),
|
|
42
|
+
the risk assessment for each platform (vendor lock-in, outage history,
|
|
43
|
+
feature roadmap), the migration plan from the current 3-platform state
|
|
44
|
+
to the recommended single platform, and the executive recommendation
|
|
45
|
+
with decision rationale. Include the pilot program design.
|
|
46
|
+
|
|
47
|
+
assertions:
|
|
48
|
+
- type: llm_judge
|
|
49
|
+
criteria: "Evaluation matrix is rigorous — each platform is scored on all 6 criteria with specific justifications (not generic), scores reflect real platform differences, and the weights are applied correctly to produce a weighted total"
|
|
50
|
+
weight: 0.35
|
|
51
|
+
description: "Rigorous evaluation matrix"
|
|
52
|
+
- type: llm_judge
|
|
53
|
+
criteria: "TCO analysis is complete — includes license/usage costs, migration effort (engineering hours), training costs, ongoing maintenance, and accounts for the different pricing models (per-minute vs per-user vs self-hosted). 3-year projection for all 4 options"
|
|
54
|
+
weight: 0.35
|
|
55
|
+
description: "Complete TCO analysis"
|
|
56
|
+
- type: llm_judge
|
|
57
|
+
criteria: "Executive recommendation is clear and defensible — makes a specific choice (not 'it depends'), addresses vendor lock-in risk, includes a migration timeline from 3 platforms to 1, and the pilot program validates the choice before full commitment"
|
|
58
|
+
weight: 0.30
|
|
59
|
+
description: "Clear executive recommendation"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: enterprise-cicd-governance
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design enterprise CI/CD governance — standardize workflows, enforce policies, and manage GitHub Actions across a large organization"
|
|
7
|
+
tags: [github, actions, enterprise, governance, policy, standardization, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Director of Platform Engineering at a 500-engineer company
|
|
13
|
+
with 200+ repositories across 3 GitHub Enterprise organizations
|
|
14
|
+
(legacy from acquisitions). The CEO has mandated CI/CD standardization
|
|
15
|
+
after 3 incidents caused by inconsistent deployment practices.
|
|
16
|
+
|
|
17
|
+
Current chaos:
|
|
18
|
+
- 200+ repos with 400+ unique workflow files
|
|
19
|
+
- No standard deployment process (some repos deploy on merge, some
|
|
20
|
+
need manual approval, some have no CI at all)
|
|
21
|
+
- 15% of repos have no branch protection
|
|
22
|
+
- Third-party actions are used without vetting (supply chain risk)
|
|
23
|
+
- No visibility into CI/CD costs per team
|
|
24
|
+
- Different teams use different cloud providers with no standard auth
|
|
25
|
+
- Compliance requirements differ by BU (SOC 2, PCI, HIPAA)
|
|
26
|
+
|
|
27
|
+
Governance requirements:
|
|
28
|
+
1. Policy layer: Define what's allowed and required across all repos
|
|
29
|
+
2. Platform layer: Provide standard workflows teams can adopt
|
|
30
|
+
3. Enforcement layer: Automatically detect and remediate violations
|
|
31
|
+
4. Visibility layer: Dashboard showing compliance status per repo
|
|
32
|
+
5. Exception layer: Process for teams to request policy exceptions
|
|
33
|
+
|
|
34
|
+
Task: Design the enterprise CI/CD governance framework. Write: the
|
|
35
|
+
policy document (required controls for all repos, with BU-specific
|
|
36
|
+
extensions), the platform offerings (standard reusable workflows,
|
|
37
|
+
approved action allowlist, shared runner pools), the enforcement
|
|
38
|
+
automation (organization rulesets, required workflows, action
|
|
39
|
+
allowlist), the compliance dashboard design, and the exception
|
|
40
|
+
process. Include: the migration plan for the 200+ repos and the
|
|
41
|
+
organizational model (centralized platform team vs federated ownership).
|
|
42
|
+
|
|
43
|
+
assertions:
|
|
44
|
+
- type: llm_judge
|
|
45
|
+
criteria: "Governance framework is comprehensive — covers policy definition, platform standardization, automated enforcement, visibility dashboards, and exception handling. The 5 layers work together cohesively"
|
|
46
|
+
weight: 0.35
|
|
47
|
+
description: "Comprehensive governance framework"
|
|
48
|
+
- type: llm_judge
|
|
49
|
+
criteria: "Enforcement is automated not manual — uses GitHub organization rulesets, required workflows, action allowlists (only approved actions can be used), and automated compliance scanning. Non-compliant repos are detected and flagged automatically"
|
|
50
|
+
weight: 0.35
|
|
51
|
+
description: "Automated enforcement"
|
|
52
|
+
- type: llm_judge
|
|
53
|
+
criteria: "Migration plan is realistic for 200+ repos — phased approach (not big-bang), provides standard workflows that teams can adopt incrementally, handles the 3-org consolidation, and includes success metrics"
|
|
54
|
+
weight: 0.30
|
|
55
|
+
description: "Realistic migration plan"
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: expert-cicd-shift
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Expert CI/CD shift — navigate vendor crises, compliance emergencies, and organizational challenges simultaneously"
|
|
7
|
+
tags: [github, actions, shift-simulation, crisis, vendor, compliance, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the VP of Platform Engineering during a week where 4 crises
|
|
13
|
+
converge on the CI/CD platform.
|
|
14
|
+
|
|
15
|
+
Crisis 1 — GitHub pricing change:
|
|
16
|
+
GitHub announced a 60% price increase for Actions minutes effective
|
|
17
|
+
in 90 days. Your current spend is $1.6M/year, projected to become
|
|
18
|
+
$2.56M/year. The CFO wants options: optimize, migrate to self-hosted,
|
|
19
|
+
or switch vendors. You need a cost mitigation plan by Friday.
|
|
20
|
+
|
|
21
|
+
Crisis 2 — Compliance audit finding:
|
|
22
|
+
The SOC 2 auditor discovered that 12% of production deployments have
|
|
23
|
+
no associated PR or code review (they were deployed via manual
|
|
24
|
+
workflow_dispatch triggers). This violates the change management
|
|
25
|
+
control. The auditor is asking for a corrective action plan within
|
|
26
|
+
2 weeks. The CTO wants to know how this happened.
|
|
27
|
+
|
|
28
|
+
Crisis 3 — Platform team attrition:
|
|
29
|
+
3 of your 15 platform engineers (including the runner fleet expert
|
|
30
|
+
and the reusable workflow architect) gave notice this week. They're
|
|
31
|
+
joining a competitor. Critical knowledge is at risk:
|
|
32
|
+
- Runner auto-scaling configuration (undocumented)
|
|
33
|
+
- Custom GitHub App for deployment orchestration (single maintainer)
|
|
34
|
+
- Vault integration for secret management (complex setup)
|
|
35
|
+
|
|
36
|
+
Crisis 4 — Developer revolt:
|
|
37
|
+
An internal blog post titled "Our CI/CD is Broken" got 200 upvotes.
|
|
38
|
+
Key complaints: "CI takes 30 minutes," "deployments fail randomly
|
|
39
|
+
and no one investigates," "the platform team says they'll fix it but
|
|
40
|
+
nothing changes." The CEO forwarded it asking for your response.
|
|
41
|
+
|
|
42
|
+
Task: Handle all 4 crises. For each, write: the immediate triage
|
|
43
|
+
(what to do today), the 2-week action plan, the 90-day resolution,
|
|
44
|
+
and the stakeholder communication. Then write the integrated strategy
|
|
45
|
+
memo showing how these crises are interconnected and the unified
|
|
46
|
+
approach to resolving them while maintaining team morale.
|
|
47
|
+
|
|
48
|
+
assertions:
|
|
49
|
+
- type: llm_judge
|
|
50
|
+
criteria: "Cost mitigation plan is practical — analyzes options (optimize existing workflows, expand self-hosted, partial vendor migration), provides specific savings projections for each, and the recommendation balances cost with migration risk within the 90-day window"
|
|
51
|
+
weight: 0.35
|
|
52
|
+
description: "Practical cost mitigation"
|
|
53
|
+
- type: llm_judge
|
|
54
|
+
criteria: "Compliance remediation is achievable — addresses the workflow_dispatch bypass with branch protection and required approvals, provides the corrective action plan within the 2-week deadline, and prevents recurrence through automated enforcement"
|
|
55
|
+
weight: 0.35
|
|
56
|
+
description: "Achievable compliance remediation"
|
|
57
|
+
- type: llm_judge
|
|
58
|
+
criteria: "Integrated strategy connects all crises — shows how attrition impacts the other 3 crises (knowledge loss makes optimization harder), how the developer revolt is connected to underinvestment, and the unified approach addresses root causes rather than symptoms"
|
|
59
|
+
weight: 0.30
|
|
60
|
+
description: "Integrated crisis strategy"
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-ai-future
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design the future of AI-powered CI/CD — architect intelligent pipelines that predict, prevent, and self-heal"
|
|
7
|
+
tags: [github, actions, AI, ML, intelligent-pipelines, future, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the VP of AI/ML at a CI/CD platform company designing the
|
|
13
|
+
next generation of intelligent CI/CD. Your platform serves 5,000
|
|
14
|
+
organizations running 10M pipeline executions per month. You need to
|
|
15
|
+
design the AI system that defines CI/CD in 2028-2030.
|
|
16
|
+
|
|
17
|
+
Current AI capabilities (baseline):
|
|
18
|
+
- Predictive test selection: 60% test reduction, 95% fault detection
|
|
19
|
+
- Flaky test detection: Identifies flaky tests with 85% accuracy
|
|
20
|
+
- Basic failure classification: Categorizes failures (infra/code/dep)
|
|
21
|
+
- Cost recommendations: Suggests caching and parallelism improvements
|
|
22
|
+
|
|
23
|
+
Target capabilities (next 3 years):
|
|
24
|
+
1. Predictive CI: Before running CI, predict which tests will fail
|
|
25
|
+
based on the code diff, reducing CI from 20 min to 3 min
|
|
26
|
+
2. Self-healing pipelines: Automatically fix common failures (retry
|
|
27
|
+
transient errors, update cached dependencies, adjust timeouts)
|
|
28
|
+
3. Intelligent deployment: Predict deployment risk, automatically
|
|
29
|
+
choose deployment strategy (canary % based on risk), and auto-
|
|
30
|
+
rollback before users are impacted
|
|
31
|
+
4. Natural language pipelines: "Deploy to staging with extra load
|
|
32
|
+
testing" → generates and executes the workflow
|
|
33
|
+
5. Cross-organization learning: Learn patterns from anonymized data
|
|
34
|
+
across all customers to improve recommendations
|
|
35
|
+
|
|
36
|
+
Constraints:
|
|
37
|
+
- Customer pipeline code must never leave their tenant
|
|
38
|
+
- False positives in test selection must be < 1% (missing a real
|
|
39
|
+
failure is unacceptable)
|
|
40
|
+
- Natural language pipeline generation must be reviewed before
|
|
41
|
+
execution (no autonomous deployment without approval)
|
|
42
|
+
- Cross-org learning must use differential privacy
|
|
43
|
+
|
|
44
|
+
Task: Design the AI-powered CI/CD system. Write: the product vision
|
|
45
|
+
(what CI/CD looks like in 2030), the ML architecture (models,
|
|
46
|
+
training, inference, privacy), the safety framework (preventing AI
|
|
47
|
+
from causing deployments of broken code), the ethical considerations
|
|
48
|
+
(cross-org learning, developer surveillance), and the go-to-market
|
|
49
|
+
roadmap. Include the key technical challenges and proposed solutions.
|
|
50
|
+
|
|
51
|
+
assertions:
|
|
52
|
+
- type: llm_judge
|
|
53
|
+
criteria: "Product vision is compelling and specific — describes concrete developer experiences in 2030 (not vague AI promises), shows the progression from current capabilities to target state, and acknowledges what AI cannot do (domain-specific testing, business logic validation)"
|
|
54
|
+
weight: 0.35
|
|
55
|
+
description: "Compelling specific vision"
|
|
56
|
+
- type: llm_judge
|
|
57
|
+
criteria: "ML architecture handles constraints — solves the privacy problem (federated learning or on-tenant models), achieves <1% false negative rate in test selection with confidence calibration, and the natural language pipeline generation includes human-in-the-loop review"
|
|
58
|
+
weight: 0.35
|
|
59
|
+
description: "Constraint-handling ML architecture"
|
|
60
|
+
- type: llm_judge
|
|
61
|
+
criteria: "Safety framework prevents AI-caused outages — defines clear boundaries (AI suggests, humans approve for production), includes circuit breakers for self-healing (rate limits on automated fixes), and addresses the ethical concerns of cross-org learning with differential privacy"
|
|
62
|
+
weight: 0.30
|
|
63
|
+
description: "Outage-preventing safety framework"
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-behavioral-science
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Apply behavioral science to CI/CD — use psychology and behavioral economics to improve developer adoption and reduce CI friction"
|
|
7
|
+
tags: [github, actions, behavioral-science, psychology, developer-experience, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Head of Developer Experience applying behavioral science
|
|
13
|
+
to CI/CD. Despite having excellent CI/CD infrastructure, developer
|
|
14
|
+
behavior isn't changing. You have the tools, but adoption and best
|
|
15
|
+
practices are lagging.
|
|
16
|
+
|
|
17
|
+
Observed behavioral patterns:
|
|
18
|
+
1. Learned helplessness: After years of slow, flaky CI, developers
|
|
19
|
+
don't trust the system even after improvements. 60% still run
|
|
20
|
+
tests locally before pushing (wasting 30 min/day) because "CI
|
|
21
|
+
might be broken again."
|
|
22
|
+
|
|
23
|
+
2. Present bias: Developers skip writing tests and security scans
|
|
24
|
+
to ship faster now, even though this causes 3x more incidents
|
|
25
|
+
later. The cost is delayed and distributed; the benefit is
|
|
26
|
+
immediate and personal.
|
|
27
|
+
|
|
28
|
+
3. Choice overload: The platform team offers 15 different workflow
|
|
29
|
+
templates, 8 runner types, and 12 optional integrations.
|
|
30
|
+
Developers choose the default (minimal) configuration 80% of
|
|
31
|
+
the time, missing valuable features.
|
|
32
|
+
|
|
33
|
+
4. Social proof gap: Teams with excellent CI/CD practices are
|
|
34
|
+
invisible. Teams don't know what "good" looks like because
|
|
35
|
+
there's no benchmarking or sharing of best practices.
|
|
36
|
+
|
|
37
|
+
5. Status quo bias: Teams resist migrating from Jenkins to GitHub
|
|
38
|
+
Actions (even when Actions is objectively better) because "Jenkins
|
|
39
|
+
works and we know it."
|
|
40
|
+
|
|
41
|
+
6. Feedback delay: When CI catches a bug, the feedback appears
|
|
42
|
+
15 minutes after the push. Developers have context-switched and
|
|
43
|
+
the feedback feels like an interruption rather than a helpful
|
|
44
|
+
catch.
|
|
45
|
+
|
|
46
|
+
Data available:
|
|
47
|
+
- 2 years of CI/CD usage data across 800 engineers
|
|
48
|
+
- Developer experience surveys (quarterly)
|
|
49
|
+
- A/B testing capability (workflow and UI modifications)
|
|
50
|
+
|
|
51
|
+
Task: Design a behavioral intervention program for CI/CD. For each
|
|
52
|
+
bias, write: the evidence from your data, the behavioral intervention
|
|
53
|
+
(nudge, default optimization, or environmental design), the
|
|
54
|
+
implementation in GitHub Actions (workflow changes, notifications,
|
|
55
|
+
gamification), and the A/B test design. Then write the unified
|
|
56
|
+
"Behavioral CI/CD" framework and the ethical considerations.
|
|
57
|
+
|
|
58
|
+
assertions:
|
|
59
|
+
- type: llm_judge
|
|
60
|
+
criteria: "Interventions are behavior-specific — addresses learned helplessness with trust-building (CI reliability dashboard, streak counters), present bias with immediate feedback and CI-as-a-service defaults, choice overload with opinionated defaults and progressive disclosure"
|
|
61
|
+
weight: 0.35
|
|
62
|
+
description: "Behavior-specific interventions"
|
|
63
|
+
- type: llm_judge
|
|
64
|
+
criteria: "Implementation is practical in GitHub Actions — interventions are embedded in the CI/CD workflow itself (not separate tools), uses workflow summary annotations, PR comments, Slack notifications, and gamification elements that fit the developer workflow"
|
|
65
|
+
weight: 0.35
|
|
66
|
+
description: "Practical GitHub Actions implementation"
|
|
67
|
+
- type: llm_judge
|
|
68
|
+
criteria: "A/B test designs are rigorous — each has a clear hypothesis, control group, sample size consideration, success metric, and duration. Ethical considerations address developer privacy and the line between nudging and manipulation"
|
|
69
|
+
weight: 0.30
|
|
70
|
+
description: "Rigorous A/B test designs"
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-board-strategy
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Board-level CI/CD strategy — present CI/CD as a strategic capability to the board of a public company"
|
|
7
|
+
tags: [github, actions, board, strategy, governance, competitive-advantage, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO of a $5B public technology company presenting to the
|
|
13
|
+
board of directors. The board has 3 CI/CD-related agenda items.
|
|
14
|
+
|
|
15
|
+
Agenda Item 1 — Competitive intelligence:
|
|
16
|
+
A competitor just published that they deploy 500 times per day with
|
|
17
|
+
99.99% success rate. Your company deploys 50 times per day with 95%
|
|
18
|
+
success. The board asks: "Are we falling behind? Is this a risk to
|
|
19
|
+
our market position?"
|
|
20
|
+
Your data: Your company releases features 40% faster year-over-year,
|
|
21
|
+
but the competitor's absolute velocity is 10x yours. However, your
|
|
22
|
+
change failure rate is improving while theirs has been static.
|
|
23
|
+
|
|
24
|
+
Agenda Item 2 — $15M infrastructure investment:
|
|
25
|
+
You're requesting $15M over 3 years to build an internal developer
|
|
26
|
+
platform with CI/CD at its core. The investment includes: platform
|
|
27
|
+
engineering team (20 FTEs), self-hosted runner infrastructure, custom
|
|
28
|
+
tooling, and AI-powered pipeline optimization.
|
|
29
|
+
The board asks: "What's the ROI? When does this pay back? What if
|
|
30
|
+
we just use GitHub Actions as-is without the platform investment?"
|
|
31
|
+
|
|
32
|
+
Agenda Item 3 — M&A technology assessment:
|
|
33
|
+
The company is acquiring a 500-engineer competitor. Due diligence
|
|
34
|
+
reveals: they use GitLab CI self-hosted, have no deployment
|
|
35
|
+
automation (manual deploys), and their CI takes 2 hours per run.
|
|
36
|
+
The board asks: "What's the integration risk? Timeline? Cost?"
|
|
37
|
+
|
|
38
|
+
Task: Prepare the board materials. For each agenda item, write: the
|
|
39
|
+
1-page board brief, the data visualizations (described in text), the
|
|
40
|
+
Q&A preparation (5 likely questions and answers), and the governance
|
|
41
|
+
recommendations. End with a unified strategic narrative connecting
|
|
42
|
+
all 3 items.
|
|
43
|
+
|
|
44
|
+
assertions:
|
|
45
|
+
- type: llm_judge
|
|
46
|
+
criteria: "Competitive analysis is nuanced — doesn't panic about the 10x gap, explains that absolute deploy frequency is less important than rate of improvement and change failure rate, and connects CI/CD velocity to business outcomes (time-to-market, customer satisfaction)"
|
|
47
|
+
weight: 0.35
|
|
48
|
+
description: "Nuanced competitive analysis"
|
|
49
|
+
- type: llm_judge
|
|
50
|
+
criteria: "Investment case is board-ready — presents the $15M as a 3-year investment with clear payback timeline, quantifies the 'do nothing' risk (cost of not investing), and the ROI model includes both tangible returns (cost savings) and intangible (developer productivity, talent retention)"
|
|
51
|
+
weight: 0.35
|
|
52
|
+
description: "Board-ready investment case"
|
|
53
|
+
- type: llm_judge
|
|
54
|
+
criteria: "M&A assessment is realistic — quantifies the integration risk (timeline, cost, talent retention risk during migration), proposes a phased approach, and connects the platform investment (Item 2) to faster M&A integration capability"
|
|
55
|
+
weight: 0.30
|
|
56
|
+
description: "Realistic M&A assessment"
|