zsh
$ git push origin feat/crud
✓ lint
✓ unit tests (llm mocked)
✓ build
● deploy → production
pipeline.log
( •_•)>⌐■-■
sprint-1
HELLOmy name isdevops
how do we ship this by demo day?
board.app
to do

rag pipeline

eval set

doing

crud api

ci cache

done

schema

live url

sprint-2-board.png
ᕦ(ò_óˇ)ᕤ
demo-day
.env.example
AI_API_KEY=# never commit
DATABASE_URL=
APP_ENV=production
ai engineering · s.y. 2026–2027

csp221a

the final development project. build it like a real team.

4 sprints · 4 consultations · 1 demo day · deployed free on the web

overview

your pitch becomes a real product

For the rest of the term your team builds, ships, and presents the full-stack AI application you pitched, the same way a professional software team works.

who are we presenting to?

the course staff is your client

Treat the instructor as your client and engineering leadership. Weekly consultations are your sprint reviews. Demo Day is where you show a working product to stakeholders and defend the decisions you made to get there.

By the end you should have a deployed product, a repository that tells the story of how it was built, and a presentation that proves you understand what you made.

choose-anything.md

you choose everything

Domain, framework, language, database, AI provider, host, and CI/CD tool are yours. There is no approved list. Be ready to justify every choice.

process-is-graded.md

process is graded

A polished app built in the last three days scores lower than a steady build with a visible history of planning, reviews, and deploys.

one-devops-engineer.md

one devops engineer

One teammate owns the CI/CD workflow and is graded on how well they design, automate, optimize, and manage it.

ship-continuously.md

you ship continuously

From Sprint 1 your app lives on the web, and every merge to main moves through an automated pipeline.

team

roles

Every team has exactly one DevOps Engineer. Everyone else is a Developer, and how you split development work is up to you. Declare roles in your README and at your first consultation.

devops-engineer.role

the devops engineer required

Owns the path from a developer's commit to a running production app: the pipeline, environments, secrets, deployments, and the numbers that show how fast and reliably the team ships.

They are not the team's backup coder. They may write application code, but their individual grade comes only from the CI/CD rubric.

developers.role
common splittypical ownership
Backend / APIAPI design, validation, database access, error handling
AI EngineerLLM integration, prompts, RAG or tools, output validation, evals
FrontendUI, state, wiring to the API, user-facing error states
Full-stackA vertical slice of features end to end

product owner duty

One person, any role, keeps the backlog prioritized and speaks for the product at consultations. This can rotate weekly.

code review

Every change to main goes through a pull request reviewed by at least one teammate.

honest attribution

Commits, pull requests, and issue assignments are how contribution is measured. Work that isn't in the repository is hard to credit.

Roles can change once mid-project with a good reason. Tell the instructor first and document the change.

requirements

what the finished product must do

The seven requirements from your pitch are now your acceptance criteria. How you meet them is your call.

acceptance-criteria.csv
#requirementwhat we'll look for at demo day
1CRUD on a real databaseCreate, read, update, and delete on your core resource, working live and persisting across refreshes and redeploys
2Non-trivial AI/LLM featureRAG, tool calling, structured extraction, or an agentic flow that does real work in the app
3Backend API (REST or GraphQL)The frontend never calls the LLM or database directly; the backend owns AI and data logic
4Frontend wired to the backendReal data in the UI, with loading, empty, and error states handled
5Relational database design2+ related tables or collections with a relationship the app actually uses
6Environment and secretsNo secrets in the repository or its history, a complete .env.example, secrets set per environment
7Error handlingGraceful behavior when the LLM times out, fails, or returns bad output, and when clients send malformed requests
ruleYour backend must do something with the AI's output before it reaches the frontend: validate, transform, store, trigger a next step, or reject and retry. Pure pass-through fails requirement 2.
tipThe requirements are a floor. Higher scores come from depth: an AI feature you've measured, an API that handles edge cases, a schema that survives tough questions. Scope changes are fine; log them.
lifecycle

four sprints, one loop

Each one-week sprint ends with a consultation. The goals describe a healthy pace, not gates. If your project needs a different order, explain why at consultation.

  1. sprint planningPick the week's work from the backlog. Break it into issues of a day or two, each with an owner.
  2. build in branchesOne branch per issue. Work lands through a pull request that passes the pipeline and gets a teammate's review.
  3. async standupsTwo to three times a week in your team channel: done, next, blocked. Keep them as evidence.
  4. continuous deploymentMerged work deploys automatically. Production always reflects main.
  5. sprint reviewThe consultation: demo what's deployed, walk the board, present the pipeline report.
  6. retrospectiveA short written retro in your sprint log: what went well, what didn't, one change for next sprint.
done =merged to main through a reviewed pull request, passed the pipeline, deployed, and checked in the deployed environment. "Works on my machine" is not done.
~/csp221a/sprint-1
favorites
week 1

foundation and walking skeleton

A thin, deployed version of the whole stack, end to end, even if it does almost nothing yet.

build this week

  • Repository with README, branch strategy, .gitignore, and .env.example
  • Backlog created from your pitch, with issues for every requirement
  • Database schema implemented and migrated
  • A minimal frontend calling one backend endpoint that reads from the database
  • First CI pipeline on every pull request: install, lint, build
  • First deployment to a live URL, triggered by the pipeline
  • One test call to your AI provider from the backend to confirm keys work

consultation 1 checks

  • Roles declared and backlog created
  • Schema migrated
  • Walking skeleton on a live URL
  • CI running on pull requests

watch this sprint

team workflow, git, and data modeling
devops track

build, run, and improve the pipeline

The DevOps Engineer is graded on one question: how well did you build, run, and improve the system that takes your team's code to production? Any CI/CD platform, any host. What's graded is the design, the automation, the measured improvement, and the evidence.

pipeline design

Check every pull request and deploy every merge to main with no manual steps.

environments

Production at minimum, ideally staging or per-PR previews, each with its own config and secrets.

secrets

Nothing secret enters the repo. Inject secrets from your CI or host's secret store, scoped per environment.

quality gates

Protected main branch, required checks, and required review before merge.

release and rollback

Know how to roll production back to the last good version, and prove you can.

measurement

Track pipeline performance weekly and back every optimization with numbers.

what should our pipeline look like?

a mature pipeline, for reference

This is a reference, not a required template. Build the stages your project needs, in an order that fails fast: cheap checks before expensive ones.

.github/workflows/ci.yml (example stages)
✓installdependencies, cached
✓lint + formatcheapest check first
✓type checkif your language has one
✓unit testsLLM calls mocked
✓buildbundle, image, or both
✓integration testsagainst a test database
✓security checksdependency audit, secret scan
✓deploy preview / stagingper pull request if you can
✓smoke testsagainst the deployed env
✓deploy productionon merge to main
✓health check + notifytell the team it shipped
optimization-levers.txt

Make the pipeline measurably faster and more reliable over the four sprints. Common techniques:

dependency + build cachingparallel jobsfail-fast stage orderpath filterscancel outdated runscontainer layer cachingsmaller base imagessplit slow test suitesfix flaky tests
ai-specific.md
  • Cost. Mock the provider in unit tests; keep live calls to a small scheduled smoke test.
  • Prompts are code. When a prompt changes, run the eval set automatically and report whether quality held.
  • Non-determinism. Test the shape and validity of output, not exact wording.
  • Outages. A provider outage shouldn't block deploys of unrelated changes.
  • Key hygiene. Separate keys per environment, with spending limits on non-production keys.
pipeline-metrics-log.md · update before every consultation
weekavg PR pipeline (min)main pipeline (min)success rate (%)prod deployslead time, merge→live (min)failed deploystime to recover (min)change made
sprint 1————————
sprint 2————————
sprint 3————————
sprint 4————————
Template to copy into your repo. These measures are adapted from DORA's software delivery metrics, which industry teams use to gauge delivery performance.
devops-submits.md
  • Pipeline configuration files in the repository
  • PIPELINE.md: each stage, why it exists, and its trigger
  • A pipeline diagram
  • The completed metrics log
  • An optimization log with before-and-after numbers
  • A deploy and rollback runbook any teammate could follow
  • An incident log with short postmortems
gradeWhat separates an excellent DevOps grade from a passing one is evidence of improvement. A pipeline that ends at 4 minutes because you brought it down from 14, with a log showing how, beats one set up in Sprint 1 and never touched.

watch for the devops engineer

ci/cd, github actions, containers
hosting

ship it to the web, for free

By the Sprint 4 consultation, your production app must run on a public URL on the web. Deploy as early as Sprint 1 so hosting problems surface while there's time to fix them.

recommended-free-stack
frontendVercelFree Hobby plan, deploys on every push
backend apiRender or RailwayRender's free web service, or Railway's trial
databaseNeonFree Postgres that doesn't expire
ci/cdGitHub ActionsOr your host's built-in deploys
free-tiers.csv · checked october 2026
hostgood forfree tier, in shortwatch out for
VercelFrontends and serverless API routesHobby plan is free, with Git-based deploys and preview URLspersonal use Hobby is for personal, non-commercial projects. Usage caps can't be raised without upgrading.
RenderA long-running backend APIFree web services with 750 instance hours a monthcold starts Idle services sleep after 15 minutes and take about a minute to wake. Free Postgres expires 30 days after creation, so don't use it for this project's database.
RailwayBackend plus attached services30-day trial with $5 in credit, then a small free allowancetrial clock Start it when you're ready to deploy so the trial covers Demo Day.
NeonYour Postgres databasePermanent free plan, no credit card, branches for previewscompute hours Free compute is capped per project; plenty for a class project.
1Set secrets in each host's dashboard. Your .env never leaves your laptop.
2Hit your backend a few minutes before consultations and Demo Day so a sleeping free service is awake.
3Free tiers change. Confirm the limits on the host's own pricing page before you commit to one.

Any other free host is fine too. You choose, as long as the app is publicly reachable and you can explain the trade-offs.

weekly

consultations

Each sprint ends with a 15-minute consultation scored out of 20. Show working software, be honest about what slipped, and leave with clear next steps. The whole team attends.

agenda · about 15 min
4 minLive demo of this sprint's work, from the deployed URL
3 minBoard walkthrough: planned, done, slipped, and why
3 minDevOps report: pipeline changes, metrics, incidents
2 minRisks and next sprint: top risk and what you'll deliver
3 minQuestions: any member may be asked to explain any code
bring.txt
  • The deployed app, open and ready
  • Your project board with this sprint's items
  • The repository with this sprint's pull requests
  • The sprint log: plan, standups, last retro
  • The updated pipeline metrics log
consultation-rubric · 20 points · each criterion 0–4
criterion4 · exemplary3 · proficient2 · developing1 · beginning
Sprint deliveryAll committed items done, or slips explained with sound reasoning and re-plannedMost items done; slips explainedAbout half done; vague on what slippedLittle planned work done; no clear account
Working deployed incrementNew features demoed live on the deployed app, stable throughoutWorks on the deployed app with minor issuesPartly deployed, or shown on localhostNo working demo, or screenshots only
Engineering processBoard current; small reviewed PRs; standups and retro loggedBoard mostly current; PRs reviewed; small gapsBoard stale or PRs merged without reviewNo visible process; direct pushes to main
Pipeline and DevOps reportPipeline improved with metrics to prove it; incidents logged with postmortemsPipeline running and maintained; metrics updatedPipeline unreliable or metrics missingPipeline mostly manual or broken
Risk awareness and planningNames the real top risk with a concrete mitigation; specific next-sprint planReasonable risks and planGeneric risks or vague planNo risk awareness or plan
0 means the item was missing. A member who can't explain their own code may have their share of the score reduced.
final

demo day

30 minutes per team: 20 minutes presenting, 10 minutes of panel questions, scored out of 100. Show it works, show how it works, and show you can keep it running.

run-of-show · 20 min
3 minProblem and product: who it's for and why it's worth using
4 minArchitecture: system diagram, key decisions, trade-offs
6 minLive demo on production: full CRUD and the AI feature
3 minAI deep dive: output processing, evaluation, graceful failure
4 minDevOps and delivery: pipeline, environments, metrics trend, incidents
live-deploy-challenge

At the start of your session the panel asks for a small visible change. A developer makes it, opens a PR, gets it reviewed, and merges. The pipeline must carry it to production before your session ends, with the DevOps Engineer narrating each stage.

panel-may-ask.txt
  • Explain any part of the codebase they pick
  • Show the app when the AI provider fails or returns bad output
  • Send a malformed request to your API
  • Show there are no secrets in your repo history
  • Roll production back to the previous release
demo-day-rubric · 100 points · team score
criterionptsexcellent (90–100%)satisfactory (60–80%)needs work (<50%)
Problem and product clarity10Clear user, real problem, convincing value; scope explainedProblem clear; value genericUnclear who it's for or why
Live demo, CRUD, and data15Full CRUD on production; related data used meaningfully; no crashesCRUD works with minor glitchesPartial CRUD, local-only, or failing
AI feature depth20Non-trivial AI doing real work; backend acts on output; evaluation shownWorks and is processed, but shallow or unevaluatedPass-through, bolt-on chatbot, or broken
Architecture and API design10Clean separation; sensible API; trade-offs explained with confidenceReasonable with some couplingFrontend reaches LLM or DB directly
Error handling and resilience10AI and request failures handled gracefully in a live drillMost handled; rough edgesCrashes, stack traces, silent failures
Security and secrets5No secrets in history; complete .env.example; per-env secrets; cost guardsHandled with minor gapsSecrets committed or hard-coded
Engineering process10Steady sprints, small reviewed PRs, maintained board, logs, retrosVisible but unevenMost work dumped near the deadline
Live deploy challenge5Change reaches production through the pipeline within the sessionManual workaround or lateNot deployed
Delivery and Q&A15Every member answers on their own work with depth; well pacedMost answered; some gapsMembers can't explain their work
individual

individual track rubrics

Each student also gets an individual score out of 100. Developers use the Developer Contribution rubric. The DevOps Engineer uses the CI/CD Workflow rubric instead.

developer-contribution · 100 points
criterionptsexcellent (90–100%)satisfactory (60–80%)needs work (<50%)
Ownership and scope25Owned a substantial, identifiable part of the product end to endMeaningful but narrower or unclear ownershipMinor or unclear contribution
Code quality20Readable, consistent, tested code that passes the pipeline cleanlyWorks, with gaps in tests or consistencyUntested, fragile, hard to follow
Consistency over time15Steady commits and PRs in every sprintMost sprints, some burstsMost work in the final days
Collaboration15Thoughtful PR reviews; active in standups; unblocks othersReviews and standups done, but lightRarely reviews or communicates
Technical understanding25Explains own code and decisions with depth; reasons about alternativesExplains with some gapsCan't explain own code
grading

how it adds up

Team scores and an individual score combine, so a strong team can't carry an absent member and one bad sprint doesn't sink a strong individual.

30%Weekly consultations · team · 4 × 20 = 80 pts
40%Demo Day · team · 100 pts
30%Individual track · developer or CI/CD rubric · 100 pts

Each component becomes a percentage, then gets weighted. Example: 70/80 on consultations (87.5%), 85/100 on Demo Day, and 90/100 individually:

0.30 × 87.5 + 0.40 × 85 + 0.30 × 90 = 87.25%
checklist

final deliverables

Submit the repository link and the production URL before code freeze. Ticks are saved in this browser only, as a personal checklist.

0 of 0 checked
submission.todo

PRODUCT

DOCUMENTATION

PROCESS

DEVOPS

faq

frequently asked questions

what to know before your first sprint.

can we use tools we didn't use in class?

Yes. Use whatever fits your product, and be ready to explain why you chose it over the alternatives.

can we use ai coding assistants?

Yes, the way professional teams do. You're still responsible for every line you merge. If you can't explain it at consultation or Demo Day, it counts against you.

can we change our project from the pitch?

Yes. Record what changed and why in your scope change log, and tell the instructor at your next consultation. Dropping one of the seven core requirements is not allowed.

does the devops engineer write app code?

They may, but their individual grade comes only from the CI/CD rubric. Developers shouldn't offload their own work onto them.

do we have to pay for hosting or ai?

No. The free tiers listed under hosting are enough for this project, and free or trial AI credits or a local model work too. Set spending limits on every key, and mock LLM calls in tests to keep CI costs near zero.

what if a teammate isn't contributing?

Raise it early with the instructor, not at Demo Day. The repository history and board make contribution visible, and individual scores reflect it.

what if our deploy breaks before a consultation?

Present it honestly: the incident, your diagnosis, and the fix or rollback. Handling a failure well is part of what's graded, especially for the DevOps Engineer.

what if production goes down on demo day?

Roll back to the last good release and keep going. A team that recovers calmly scores better than one that pretends nothing happened.