Updated for Fall 2026
This activity is part of Milestone 6 — see that page for the milestone’s deliverables, rubric, and deadlines.
Do Your Documents Still Describe Your System?
Your technical-documents/ folder was written over six milestones by several people, mostly before the code it describes. The requirements came first, the designs in Milestones 2 and 3, the implementation in 4 and 5, and the Implementation Decisions sections were patched in as things changed.
Code and documents drift apart. An endpoint gets renamed during implementation and the endpoint table never hears about it. A wire frame shows a field that got dropped. A system test’s expected result was written against the design and never checked against the real response. Nobody decided to let the documents go stale; nobody was assigned to keep them current.
The Team Project will hand you a much larger system with documents you did not fully write, and you will be relying on those documents to understand the code. This activity asks you to check your own documents first.
Checking two long artifacts against each other for inconsistencies is tedious for a person and something an AI assistant is reasonably good at. It is also something it will get wrong with complete confidence, because it cannot run your system. So the split is the same as in Milestone 0: the assistant produces candidate mismatches; you produce findings. And under the Milestone 6 AI rules, the assistant may tell you a document is wrong, but you edit the document.
This is an individual activity. Complete it in your individual repository, after the team’s final work is integrated and UC6 is merged.
Stage 1: Compare
You will run this AI-assisted comparison on the first item (API End point documentation) and one of the other options listed below (items 2-4).
- API endpoint documentation in
technical-documents/backend-design.mdagainst your controllers and DTOs - UC6 in
technical-documents/requirements.mdagainst your UC6 service, controller, and frontend page - Wire frames and design explanation for UC2 and UC4 in
technical-documents/frontend-design.mdagainst the components that implement them - System tests for UC6 in
technical-documents/system-tests.mdagainst the requirements and the code
Give your AI assistant the document section and the code, one pairing at a time:
I have a technical document and the code that is supposed to implement it.
Here is the document:
<paste the relevant section of technical-documents/...>
Here is the code:
<paste the relevant classes or components>
List every place where the document and the code disagree: names, paths,
HTTP methods, request or response fields, status codes, validation rules,
error messages, steps in a flow, or behavior the document describes that
the code does not have (and the reverse).
For each one, quote the exact line from the document and name the exact
class and method in the code. Do not tell me which one is correct, and do
not rewrite the document.
If you are not using AI, do the same comparison by hand for the first pairing only, line by line, and record how long it took.
Stage 2: Verify
The assistant has read two pieces of text. It has not run anything. For every candidate mismatch, check it against the running system:
- For an endpoint mismatch, send the request in Postman and look at the actual response.
- For a behavior mismatch, run it through the browser.
- For a naming mismatch, find the code yourself.
Classify each one:
- Real, document is wrong — the code is right and the document is stale.
- Real, code is wrong — the document (usually the requirement) is right and the code does not meet it. This is a defect.
- False alarm — there is no actual disagreement. Say what the assistant misread.
Then look for what it missed. Spend ten minutes checking the same pairing yourself, and record any mismatches the assistant did not report.
Stage 3: Correct
- Document is wrong — fix the document yourself, by hand. Use an issue, a branch, and a pull request, as you would for code.
- Code is wrong — file an issue. Fix it if it is a requirement your use case is responsible for; otherwise leave the issue open and note it.
- False alarm — nothing to change.
Deliverable: technical-documents/doc-alignment-m6.md, containing
- which two pairings you checked and the prompt you used
- a table with one row per candidate mismatch, plus one row for each one you found yourself
| # | Document and line | Code location | Found by (AI / me) | Verified how | Classification | Issue or PR |
|---|---|---|---|---|---|---|
- two or three sentences on which kind of document drifted most, and why you think that one did
Reflect
Record your reflection in retros/retro-m6.md in your individual repository. The milestone asks you specifically:
Where did your documents disagree with your system, and which one (documents or system) was wrong?
Beyond that:
- How many of the assistant’s candidate mismatches were real? What did the false alarms have in common?
- What did you find that it missed?
- When the document and the code disagreed, how did you decide which one was right? Was the requirement ever the thing that was wrong?
- If you found drift in documents the team wrote, tell your team. The team repository’s documents are part of what is graded this milestone.
Done Criteria
- Two pairings checked on a merged and integrated individual repository.
- Every candidate mismatch verified against the running system and classified.
- Document corrections made by hand and merged through pull requests; code defects have issues.
technical-documents/doc-alignment-m6.mdis complete.retros/retro-m6.mdis complete, including the drift question.
