📘 The lecture script: A Theory of Architecture–Application Fit

The lecture notes AISE502: AI in Software Engineering II – Lecture Notes, Core Part: A Theory of Architecture–Application Fit (Dr. Florian Herzog, FH Graubünden, Autumn Semester 2026; five parts, 45 sections, about 212 pages) are the backbone of this module. They develop one coherent theory: software architecture is the set of significant, hard-to-reverse decisions, driven by measurable quality attributes, made by systematically matching an application's requirements profile against the capability profiles of architectural patterns, and validated empirically over the whole software lifecycle.

How the script is used. Every weekly section names the sections to read before the lecture (reading plan below). The project's design deliverables A1 and A2 use its methods – quality attribute scenarios, utility tree, R(a), the three-stage match, ADR, measurement contract. And it is the open-book material of the written examination: script and own notes on paper, closed internet; the reading for the examination is the whole script, Parts I–V.

⚠️ Living document – the script can change during the semester. The notes are altered and updated along the lecture: corrections, sharper wording and additional examples are worked in as we go, and section or page numbers may shift as a result. The version on this page is always the current one. Re-download it after every announced update and discard older copies – including printed ones you intend to bring to the examination.

📄 Download: AISE502_Vorlesung_Skript.pdf – [link]

Reading plan: which sections belong to which week
WeekLectureScript sections
1Lecture 1: Architecture as a Decision ProblemPart I, Sections 1–2 (Section 2: introduced this week, completed in week 2)
2Lecture 2: The Twelve Dimensions – and How Requirements Become MeasurablePart I, Sections 2–3 (Section 2: completed this week)
3Lecture 3: The Supply Side, the Match, and the Decision RecordPart I, Sections 4–6
4Lecture 4: Patterns I – Layered, Modular Monolith, HexagonalPart II, Sections 8–10
5Lecture 5: Patterns II – Microservices and Event-Driven ArchitecturePart II, Sections 11–12
6Lecture 6: Pipelines, Serverless, the View Across – and Your Class (C10)Part II, Sections 13–17; Part III, Section 28 (Sections 19–20: preview of the C1/C2 mirror pair only; read in full in week 8)
7Lecture 7: The Fit, Formally – Three Cases, the Procedure, the MatrixPart IV, Sections 30–32, 34, 37 (Section 37: introduction only)
8Lecture 8: Requirements Profiles I – Application Classes C1–C5Part III, Sections 18–23
9Lecture 9: Classes C6–C9 – and Ten Profiles Side by SidePart III, Sections 24–27, 29
10Lecture 10: The Fit II – Hybrids, Evolution Paths, and the Decision ProcedurePart IV, Sections 35–36, 33
11Lecture 11: The Fit III – The Measurement Contract, Conway's Law, and the Limits of the TheoryPart IV, Sections 37–39
12Lecture 12: The AI Dimension I – Axis A Evidence, Axis B FoundationsPart V, Sections 40–42 (Section 42: subsections 42.1–42.5 only)
13Lecture 13: Threats, the Shifted Matrix, Agent Orchestration – and SynthesisPart V, Sections 42–45 (Section 42: subsections 42.6–42.7 only)
14Lecture 14: Synthesis, Presentations, and Architecture Defence–

Section 7 (Summary: The Red Line) closes Part I and is not assigned to a particular week; Section 28 (C10) is read in week 6 because it is the class of the course project.