Idea · Sep 14, 2026
Legacy Code Expedition
Students receive an aged open-source codebase, use AI agents to map its architecture, identify modernization opportunities, implement one improvement, and write a critical retrospective on where AI helped and where it failed.
What it would do
A structured multi-week assignment sequence built around a real, aging open-source project (5-10 years old, chosen by the instructor from a curated list). Phase 1 (week 1): AI agents generate an architectural map and flag outdated patterns (deprecated APIs, missing type hints, no CI, etc.). Students must validate every AI claim against the actual source. Phase 2 (week 2): Each student identifies three modernization opportunities, each justified with evidence from the codebase and grounded in a software engineering principle. Phase 3 (weeks 3-4): Students implement one improvement with full tests and a working CI pipeline. Final deliverable: a technical retrospective that honestly categorizes AI assistance into 'accelerated work', 'introduced errors we caught', and 'led us astray'. The retrospective is the real learning artifact, teaching students to reason critically about AI-augmented workflows rather than treat AI output as ground truth. Designed for upper-division software engineering or CS2 courses.