CI Pipeline from Scratch
Build a continuous-integration pipeline that installs, lints, tests, and builds on every push/PR — fast, cached, and gating merges on green. Scopes the pipeline contract FIRST — triggers, the job/stage graph, the matrix, caching strategy, and the gates — then writes the CI workflow YAML, then a reviewer validates the syntax, stage ordering, caching, and that it actually fails on a broken build. Covers CI triggers, job/stage dependencies, dependency caching, build matrices, status checks, fail-fast gating, and a valid workflow file.
How it runs
| # | Step | Who runs it | What happens |
|---|---|---|---|
| 1 | Scope the pipeline | Planner | lock triggers, stages, matrix, caching, gates |
| 2 | Write the workflow | Developer | implement the CI workflow YAML |
| 3 | Verify the workflow | Reviewer | confirm syntax, ordering, caching, gating |
| 4 | Evaluate | Reviewer | Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap. |
| 5 | Finish | Developer | All acceptance criteria met. Stamp a short summary and report DONE. |
Say something like "set up ci" or "create a ci pipeline" or "github actions workflow" or "build a ci/cd pipeline" or "add automated testing on push" in chat to start it.