AISE502 Β· Moodle sections (preview, not for pasting)
Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week 12 Week 13 Week 14 πŸ“˜ Lecture script πŸ› οΈ Project exercise

Week 1: Architecture as a Decision Problem

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 1: Architecture as a Decision Problem Β· 2 lessons lecture + 2 lessons exercise
This lecture introduces the module and frames architecture selection as a decidable matching problem: four production systems, two facts, a five-element framework, six assumptions A1–A6, two maxims.

πŸ“Ž Materials: Slide set of Lecture 1 (added below by the lecturer) Β· Script: Part I – Sections 1 (The Decision Problem) and 2 (The Coordinate System: Twelve Profile Dimensions). Section 2: introduced this week, completed in week 2.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part I – Sections 1 (The Decision Problem) and 2 (The Coordinate System: Twelve Profile Dimensions). Section 2: introduced this week, completed in week 2.

🧩 Exercise session: Project kickoff: form teams, set up repository and tooling including agentic coding tools, build domain understanding, sketch a first ontology and collect raw stakeholder wishes.

πŸ› οΈ Project work this week Β· Milestone M1 – Requirements and Ontology (weeks 1–3)

No deliverable is due this week.

Week 2: The Twelve Dimensions – and How Requirements Become Measurable

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 2: The Twelve Dimensions – and How Requirements Become Measurable Β· 2 lessons lecture + 2 lessons exercise
This lecture completes the twelve profile dimensions D1–D12, each with its measurement instrument, then builds the demand side R(a): scenarios, QAW, utility tree, workload shape and hard constraints.

πŸ“Ž Materials: Slide set of Lecture 2 (added below by the lecturer) Β· Script: Part I – Sections 2 (The Coordinate System: Twelve Profile Dimensions) and 3 (Constructing the Demand Side: The Requirements Profile R(a)). Section 2: completed this week.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part I – Sections 2 (The Coordinate System: Twelve Profile Dimensions) and 3 (Constructing the Demand Side: The Requirements Profile R(a)). Section 2: completed this week.

Also before the lecture:

🧩 Exercise session: Requirements workshop I: in stakeholder roles the team runs a compressed QAW, refines the top scenarios into the six-part form with numeric response measures and begins the utility tree.

πŸ› οΈ Project work this week Β· Milestone M1 – Requirements and Ontology (weeks 1–3)

No deliverable is due this week.

Week 3: The Supply Side, the Match, and the Decision Record

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 3: The Supply Side, the Match, and the Decision Record Β· 2 lessons lecture + 2 lessons exercise
Lecture 3 completes Part I: the supply side C(p) from tactics, the three-stage non-compensatory match run live on C10, and the decision record (ADR/MADR) with its measurement contract.

πŸ“Ž Materials: Slide set of Lecture 3 (added below by the lecturer) Β· Script: Part I – Sections 4 (Constructing the Supply Side: The Capability Profile C(p)), 5 (The Match: fit(a,p)) and 6 (Recording and Testing the Decision).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part I – Sections 4 (Constructing the Supply Side: The Capability Profile C(p)), 5 (The Match: fit(a,p)) and 6 (Recording and Testing the Decision).

Also before the lecture:

🧩 Exercise session: Requirements workshop II: teams finalise R(platform) – weights, workload shape and knock-out constraints – fix the ontology as a contract, and complete the A1 requirements dossier (scenarios, utility tree, R(a)).

πŸ› οΈ Project work this week Β· Milestone M1 – Requirements and Ontology (weeks 1–3)

πŸ“Œ Due this week: Deliverable A1 (end of week 3): requirements dossier

Week 4: Patterns I – Layered, Modular Monolith, Hexagonal

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 4: Patterns I – Layered, Modular Monolith, Hexagonal Β· 2 lessons lecture + 2 lessons exercise
This lecture opens Part II and derives the capability profiles of L, MM and HX inductively – problem, topology, twelve dimensions, engineering consequences, and open-source systems to build and study.

πŸ“Ž Materials: Slide set of Lecture 4 (added below by the lecturer) Β· Script: Part II – Sections 8 (L – Layered Architecture / 3-Tier), 9 (MM – Modular Monolith) and 10 (HX – Hexagonal Architecture / Ports and Adapters).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part II – Sections 8 (L – Layered Architecture / 3-Tier), 9 (MM – Modular Monolith) and 10 (HX – Hexagonal Architecture / Ports and Adapters).

Also before the lecture:

🧩 Exercise session: Architecture study I (2 lessons): the teams inspect Apache Fineract and cosmicpython/code for boundaries and ports, shortlist L, MM or MM+HX for the platform core against R(platform) from A1, and draft the C4 context and container diagrams.

πŸ› οΈ Project work this week Β· Milestone M2 – Architecture Decision and Solution Design (weeks 4–7)

No deliverable is due this week.

Week 5: Patterns II – Microservices and Event-Driven Architecture

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 5: Patterns II – Microservices and Event-Driven Architecture Β· 2 lessons lecture + 2 lessons exercise
This lecture derives the capability profiles of the two distributed patterns, MS and EDA, from their tactics and quantum boundaries, and introduces the resilience primitives for distributed edges.

πŸ“Ž Materials: Slide set of Lecture 5 (added below by the lecturer) Β· Script: Part II – Sections 11 (MS – Microservices) and 12 (EDA – Event-Driven Architecture).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part II – Sections 11 (MS – Microservices) and 12 (EDA – Event-Driven Architecture).

🧩 Exercise session: Architecture study II (2 lessons): teams design the edges of their platform – the ingestion queue and resilience against external-API failure – sketch the service contracts and run the matrix pre-filter of the candidate patterns against their A1 requirements profile.

πŸ› οΈ Project work this week Β· Milestone M2 – Architecture Decision and Solution Design (weeks 4–7)

No deliverable is due this week.

Week 6: Pipelines, Serverless, the View Across – and Your Class (C10)

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 6: Pipelines, Serverless, the View Across – and Your Class (C10) Β· 2 lessons lecture + 2 lessons exercise
Lecture 6 closes the pattern catalogue with PF and SL, reads all seven columns side by side (Maxims 3 and 4), and opens Part III with C10, your project's class.

πŸ“Ž Materials: Slide set of Lecture 6 (added below by the lecturer) Β· Script: Part II – Sections 13 (PF – Pipes-and-Filters / Batch Pipeline), 14 (SL – Serverless / FaaS), 15 (Stepping Back: What Seven Patterns Generalise To), 16 (Reading the Catalogue as a Whole) and 17 (Outlook: Agent Orchestration as an Emergent Composition Pattern); Part III – Section 28 (C10 – AI-Native Advisory Platforms). Sections 19–20: preview of the C1/C2 mirror pair only; read in full in week 8.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part II – Sections 13 (PF – Pipes-and-Filters / Batch Pipeline), 14 (SL – Serverless / FaaS), 15 (Stepping Back: What Seven Patterns Generalise To), 16 (Reading the Catalogue as a Whole) and 17 (Outlook: Agent Orchestration as an Emergent Composition Pattern); Part III – Section 28 (C10 – AI-Native Advisory Platforms). Sections 19–20: preview of the C1/C2 mirror pair only; read in full in week 8.

Also before the lecture:

🧩 Exercise session: The match: each team runs the full three-stage procedure against its A1 requirements profile – knock-out with the shape gate, veto with documented mitigations, ordinal reading with sensitivity check – takes the decision and begins the ADR.

πŸ› οΈ Project work this week Β· Milestone M2 – Architecture Decision and Solution Design (weeks 4–7)

No deliverable is due this week.

Week 7: The Fit, Formally – Three Cases, the Procedure, the Matrix

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 7: The Fit, Formally – Three Cases, the Procedure, the Matrix Β· 2 lessons lecture + 2 lessons exercise
This lecture runs the three-stage match end to end on C6, C1 and C2, states the procedure formally, reads the 7 Γ— 10 matching matrix and introduces the measurement contract.

πŸ“Ž Materials: Slide set of Lecture 7 (added below by the lecturer) Β· Script: Part IV – Sections 30 (Three Matches, Three Stages), 31 (The Procedure in General), 32 (The Matching Matrix), 34 (Reading the Matrix as a Whole) and 37 (The Measurement Contract). Section 37: introduction only.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part IV – Sections 30 (Three Matches, Three Stages), 31 (The Procedure in General), 32 (The Matching Matrix), 34 (Reading the Matrix as a Whole) and 37 (The Measurement Contract). Section 37: introduction only.

Also before the lecture:

🧩 Exercise session: The two-lesson exercise slot finalises the solution design (service cut and contracts, walking-skeleton plan, measurement contract) and holds the design-review gate at which each team defends its ADR – the last two-lesson slot before it becomes a one-lesson standup/coaching session from week 8.

πŸ› οΈ Project work this week Β· Milestone M2 – Architecture Decision and Solution Design (weeks 4–7)

πŸ“Œ Due this week: Deliverable A2 (end of week 7): architecture dossier (ADR + C4 + measurement contract) + design-review gate

Week 8: Requirements Profiles I – Application Classes C1–C5

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 8: Requirements Profiles I – Application Classes C1–C5 Β· 3 lessons lecture + 1 lesson standup/coaching
Part III turns to the demand side: the requirements profiles of application classes C1–C5, derived from documented challenges and binding scenarios – every closing verdict a preview for Part IV.

πŸ“Ž Materials: Slide set of Lecture 8 (added below by the lecturer) Β· Script: Part III – Sections 18 (Application Classes as Requirements Profiles), 19 (C1 – Core Banking / Transaction Systems), 20 (C2 – Social Media / Content Platforms), 21 (C3 – Back-Office / Workflow Applications), 22 (C4 – ERP / Enterprise Core Systems) and 23 (C5 – E-Commerce Platforms).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part III – Sections 18 (Application Classes as Requirements Profiles), 19 (C1 – Core Banking / Transaction Systems), 20 (C2 – Social Media / Content Platforms), 21 (C3 – Back-Office / Workflow Applications), 22 (C4 – ERP / Enterprise Core Systems) and 23 (C5 – E-Commerce Platforms).

Also before the lecture:

🧩 Exercise session: The exercise slot becomes a one-lesson standup/coaching session as the implementation phase begins with Sprint 1 of the walking skeleton (M3); implementation happens mainly in self-study time.

πŸ› οΈ Project work this week Β· Milestone M3 – Walking Skeleton (weeks 8–9)

No deliverable is due this week.

Week 9: Classes C6–C9 – and Ten Profiles Side by Side

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 9: Classes C6–C9 – and Ten Profiles Side by Side Β· 3 lessons lecture + 1 lesson standup/coaching
This lecture completes the demand side: classes C6–C9 in the same rhythm, then the consolidated requirements table with its seventeen footnotes and five cross-class observations.

πŸ“Ž Materials: Slide set of Lecture 9 (added below by the lecturer) Β· Script: Part III – Sections 24 (C6 – Scientific Simulation / Batch Compute), 25 (C7 – Decision Support / BI Analytics), 26 (C8 – Real-Time / IoT Streaming), 27 (C9 – Collaboration / Messaging) and 29 (Stepping Back: Ten Profiles Side by Side).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part III – Sections 24 (C6 – Scientific Simulation / Batch Compute), 25 (C7 – Decision Support / BI Analytics), 26 (C8 – Real-Time / IoT Streaming), 27 (C9 – Collaboration / Messaging) and 29 (Stepping Back: Ten Profiles Side by Side).

Also before the lecture:

🧩 Exercise session: Coaching session (1 lesson): the teams finish the walking skeleton and the milestone check M3 takes place – the end-to-end thin slice must run.

πŸ› οΈ Project work this week Β· Milestone M3 – Walking Skeleton (weeks 8–9)

πŸ“Œ Due this week: Milestone check (week 9): walking skeleton runs end-to-end

Week 10: The Fit II – Hybrids, Evolution Paths, and the Decision Procedure

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 10: The Fit II – Hybrids, Evolution Paths, and the Decision Procedure Β· 3 lessons lecture + 1 lesson standup/coaching
This lecture treats fit as a function of time (hybrids, evolution paths), then runs the eight-step decision procedure through ADR-007 and reads the ten matrix rows cell by cell.

πŸ“Ž Materials: Slide set of Lecture 10 (added below by the lecturer) Β· Script: Part IV – Sections 35 (Hybrids and Evolution Paths), 36 (The Decision Procedure) and 33 (Cell Rationales: The Ten Rows in Detail).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part IV – Sections 35 (Hybrids and Evolution Paths), 36 (The Decision Procedure) and 33 (Cell Rationales: The Ten Rows in Detail).

Also before the lecture:

🧩 Exercise session: The exercise slot is one lesson of standup/coaching for milestone M4: implementing the deterministic Performance, Risk and Optimization services with exact tests against the reference vectors.

πŸ› οΈ Project work this week Β· Milestone M4 – Deterministic Core and Resilience (weeks 10–11)

No deliverable is due this week.

Week 11: The Fit III – Measurement Contract, Conway's Law, and the Limits of the Theory

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 11: The Fit III – The Measurement Contract, Conway's Law, and the Limits of the Theory Β· 3 lessons lecture + 1 lesson standup/coaching
Part IV closes with the measurement contract in depth (fitness functions, DORA, C10 reference contract, cost of change), Conway's law as third fit dimension, and six limits of the theory.

πŸ“Ž Materials: Slide set of Lecture 11 (added below by the lecturer) Β· Script: Part IV – Sections 37 (The Measurement Contract), 38 (The Third Fit Dimension: Conway's Law and Team Topologies) and 39 (Limits of the Theory – Applied to Itself).

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part IV – Sections 37 (The Measurement Contract), 38 (The Third Fit Dimension: Conway's Law and Team Topologies) and 39 (Limits of the Theory – Applied to Itself).

Also before the lecture:

🧩 Exercise session: One lesson of standup/coaching: the teams complete the resilience patterns on all external calls and verify graceful degradation, closing milestone M4 at the end of the week.

πŸ› οΈ Project work this week Β· Milestone M4 – Deterministic Core and Resilience (weeks 10–11)

πŸ“Œ Due this week: Milestone check (end of week 11): deterministic core fully tested and resilient

Week 12: The AI Dimension I – Axis A Evidence, Axis B Foundations

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 12: The AI Dimension I – Axis A Evidence, Axis B Foundations Β· 3 lessons lecture + 1 lesson standup/coaching
Part V opens as Assumption A6 falls due: the Axis A evidence and its resolution, then the Axis B foundations from the wrongly wired sentiment call to the eval harness.

πŸ“Ž Materials: Slide set of Lecture 12 (added below by the lecturer) Β· Script: Part V – Sections 40 (Two Axes, One Method), 41 (Axis A: AI as a Tool Shifts the Economics of the SDLC) and 42 (Axis B: AI as a Runtime Component). Section 42: subsections 42.1–42.5 only.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part V – Sections 40 (Two Axes, One Method), 41 (Axis A: AI as a Tool Shifts the Economics of the SDLC) and 42 (Axis B: AI as a Runtime Component). Section 42: subsections 42.1–42.5 only.

Also before the lecture:

🧩 Exercise session: One-lesson standup/coaching slot on milestone M5: teams wire the AdvisorAgent and its 2–3 sub-agents into the lecture's reference architecture – typed port β†’ gateway β†’ queue β†’ ontology guard – with every LLM call through the gateway and the ontology guard active on all insights.

πŸ› οΈ Project work this week Β· Milestone M5 – Multi-Agent Orchestration, Evaluation, and Hardening (weeks 12–13)

No deliverable is due this week.

Week 13: Threats, the Shifted Matrix, Agent Orchestration – and Synthesis

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 13: Threats, the Shifted Matrix, Agent Orchestration – and Synthesis Β· 3 lessons lecture + 1 lesson standup/coaching
The last lecture of new material: Axis B completed (threats, regulation), the shifted matrix, agent orchestration as the eighth pattern, synthesis with Maxim 8, and exam orientation.

πŸ“Ž Materials: Slide set of Lecture 13 (added below by the lecturer) Β· Script: Part V – Sections 42 (Axis B: AI as a Runtime Component), 43 (How AI Shifts the Matrix), 44 (Agent Orchestration: The Emergent Eighth Pattern) and 45 (Synthesis: One Theory, Five Parts). Section 42: subsections 42.6–42.7 only.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: Part V – Sections 42 (Axis B: AI as a Runtime Component), 43 (How AI Shifts the Matrix), 44 (Agent Orchestration: The Emergent Eighth Pattern) and 45 (Synthesis: One Theory, Five Parts). Section 42: subsections 42.6–42.7 only.

Also before the lecture:

🧩 Exercise session: One lesson of standup and coaching on the closing M5 work: eval harness as a CI gate, token-cost and latency observability, threat model and hardening, caching and batching, optional distinction work; M5 is checked at the end of the week.

πŸ› οΈ Project work this week Β· Milestone M5 – Multi-Agent Orchestration, Evaluation, and Hardening (weeks 12–13)

πŸ“Œ Due this week: Milestone check (end of week 13): eval harness in CI + guard + cost observability

Week 14: Synthesis, Presentations, and Architecture Defence

🎯 Learning objectives

πŸ§‘β€πŸ« Theory

Lecture 14: Synthesis, Presentations, and Architecture Defence Β· 1 lesson synthesis + 3 lessons presentations and defence
One lesson of synthesis and exam hints with no new material, then three lessons of final presentations, architecture defence and peer reviews (Deliverable A3, milestone M6).

πŸ“Ž Materials: Slide set of Lecture 14 (added below by the lecturer) Β· Script: No new script sections – the reading for the examination is the whole script, Parts I–V.

πŸ§‘β€πŸ’» Self-study and assignments

πŸ“– Reading before the lecture: No new script sections – the reading for the examination is the whole script, Parts I–V.

Also before the lecture:

🧩 Exercise session: Three lessons of final presentations, architecture defence and peer reviews (Deliverable A3, milestone M6): each team presents its system, defends its trade-offs and reflects on where AI helped and hurt; slot length per team, presentation order and the peer-review form are to be announced.

πŸ› οΈ Project work this week Β· Milestone M6 – Presentation and Architecture Defence (week 14)

πŸ“Œ Due this week: Deliverable A3 (week 14): final presentation with architecture defence, peer reviews

πŸ“˜ Lecture script

πŸ“˜ 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.

πŸ› οΈ Project exercise

πŸ› οΈ Project exercise: AI-Augmented Portfolio Intelligence Platform

Over the whole semester, in teams, you design, build and operate a modular, AI-augmented analysis platform for stock portfolios. The platform ingests market prices (structured) and company news (unstructured), turns news into validated insights with an AI component, computes risk, performance and optimisation figures in deterministic services, and exposes everything API-first through an orchestrated multi-agent advisor – with a thin dashboard for demonstration only. It is a Software Engineering II project: its centre of gravity is architecture – how you structure a system so that it meets its quality attributes and stays maintainable while one part of it (the news understanding) is non-deterministic, fallible and costly. Whether the services ship as one modular monolith or as several deployables is your architecture decision (week 6), which you defend in week 14.

AI appears in two roles: as a tool you build the system with (Axis A) and as a component inside the system (Axis B). Everything the lecture teaches – profiles, matching, ADRs, measurement – you apply to this system. The project counts 50 % of the module grade.

❗ The single most important rule. The AI agents may only obtain and interpret quantitative values through the deterministic services – they must never compute a risk number, a return or an allocation themselves. An agent that β€œestimates” a volatility is an architecture defect. This separation of deterministic from non-deterministic system parts is the core engineering lesson of the course, and it is graded.
πŸ“Ž Documents
Two phases, six milestones

Weeks 1–7 – design phase: the two-lesson exercise slot produces the requirements, studies candidate architectures against the patterns taught in the lecture, and decides and documents your architecture. Weeks 8–13 – implementation phase: the exercise slot becomes a one-lesson standup/coaching session; implementation happens mainly in self-study time. Week 14: presentations, architecture defence and peer reviews. The project work for each week is listed in the weekly sections; the exercise sheet remains the normative source.

MilestoneWeeksContentDeliverable / check
M1 Requirements and Ontology1–3Domain model and ontology; at least eight quality attribute scenarios with response measures (three of them for the AI components); utility tree; R(platform) with weights, workload shape and hard constraints; repository and tooling.Deliverable A1 (end of week 3): requirements dossier
M2 Architecture Decision and Solution Design4–7Study the reference systems; run the three-stage match; ADR with rationale and C4-style diagram; bounded contexts β†’ services and contracts; measurement contract with numbers (eval pass rate β‰₯ 95 %, p95 latency ≀ 20 s, token budget, zero boundary violations); walking-skeleton plan.Deliverable A2 (end of week 7): architecture dossier + design-review gate
M3 Walking Skeleton8–9Thin end-to-end slice: MarketDataService delivers prices, a minimal ResearchAgent produces one validated Insight; stable API and a placeholder UI.Check (week 9): the skeleton runs end-to-end
M4 Deterministic Core and Resilience10–11Performance, Risk and Optimization services fully tested against the reference vectors; resilience patterns on all external calls; graceful degradation verified.Check (end of week 11): core fully tested and resilient
M5 Multi-Agent Orchestration, Evaluation, and Hardening12–13Advisor orchestrates 2–3 sub-agents through contracts, every LLM call through the gateway, ontology guard active; evaluation harness as a CI gate; cost and latency observability; topology ADR; threat model incl. prompt injection; optional distinction work.Check (end of week 13): eval harness in CI + guard + cost observability
M6 Presentation and Architecture Defence14Present the system, defend the architectural trade-offs, reflect on where AI helped and hurt (Axis A and B), peer reviews; show one measurement-contract violation caught by CI.Deliverable A3 (week 14): final presentation with architecture defence
Deliverables and assessment

Evaluation of the project emphasises: architecture & trade-offs (decomposition, contracts, deterministic/non-deterministic separation, ADRs), robustness (resilience, guards, graceful degradation), quality (tests for the deterministic services, eval harness for AI), AI integration (anti-corruption layering, ontology guarding), operation (observability of cost and latency), and the distinction criteria for top marks (sheet, Section 5). The other 50 % of the module grade is the written examination (60 minutes, open book, closed internet).

Hints from the sheet