A requirements traceability matrix is a table that links each requirement to the design, code, tests and results that deliver it, so you can see what is covered and what a change will touch. It keeps itself current when the tools that do the work create the links as a side effect and nobody types them in afterwards.
This guide gives you a template to copy, a worked matrix and the way each link is made and kept current in an AI SDLC, where agents write and change code faster than a spreadsheet can follow. It is written for the architects, QA leads and engineering managers who own the answer to "is every requirement built and verified?"
01A release that regulators reconstructed from its own records
In October 2026 the US Food and Drug Administration published a warning letter to O.N. Diagnostics about version 3.0.0 of VirtuOst VFA, a vertebral fracture assessment software. The letter is dated 1 September 2026 and follows an inspection in March. Orrick and the FDA Law Blog report that the release combined a new machine learning model, a move from a desktop application to a web platform and a second platform migration. FDA said the software had gone beyond its original clearance, that the new model needed validation and that the platform migration called for re-verification and re-validation of the whole codebase, including third-party libraries.
The detail that matters for this guide is how FDA built its case. It relied on the company's own release notes for version 3.0.0, dated June 2024 and on its software version control log. Two years after the release, the records of what changed had to answer which parts of the software were affected and what had verified them.
The letter does not cite traceability. The question underneath it is the one a requirements traceability matrix answers: for this release, which requirements changed and which verification covers each one? A matrix that updates itself answers that from one view and the rest of this guide shows what such a matrix contains.
02A requirements traceability matrix template you can copy
The matrix below comes from Order Hub, the sample project used across Orlian materials and covers a delivery slot booking feature. It is an illustration. Each row is one requirement and each column is a link to the work that delivers it.
To reuse it, copy this header into a spreadsheet or a repository file:
Read the matrix in two directions. Going forward, a requirement leads to its design, code, test, result and release. Going backward, any test, pull request or release item leads to the requirement that justifies it. Empty cells are the findings. REQ-SLT-004 has no design, code or test, so it is a gap. A pull request that cites no requirement ID is an orphan and the NASA Software Engineering Handbook asks teams to review orphans because they may be work nobody asked for.
03Why a requirements traceability matrix goes stale
The NASA handbook is direct about the cause. Spreadsheets and other manual methods do not update automatically, so they need diligent upkeep and the handbook recommends giving the matrix a named owner and reviewing it at major phases. That advice describes a system where the matrix lives in one place while the work changes in four others: the requirements tracker, the repository, the test runner and the release pipeline. Every edit in those places leaves the matrix one step behind.
Three things make the gap grow:
- Links are typed after the work. The person who closes a pull request has already moved on, so the matrix update waits for a quiet moment.
- Changes arrive from several tools at once. A requirement edit, a test rerun and a hotfix can land on the same day in three different places.
- The matrix is checked at reviews. Between reviews nothing tells the team that a row has stopped matching reality.
An AI SDLC speeds up all three. Faros AI's study of 10,000 developers found 98% more pull requests merged and 91% longer review times, so there are more changes to link and a review queue with less time for housekeeping. A matrix kept by hand falls behind faster in that setting and the remedy is to have the tools create the links.
04One requirement, one week
A row in the matrix is one requirement plus everything linked to it: its test, its code, the latest test result and the release it shipped in. Take the requirement that customers can change a booked slot until a cutoff time. Fig 1 shows that row at the start and after each day of a week in which support moves the cutoff from 18:00 to 12:00.
Nobody types into the row. Each highlighted cell changed when the tool that owns it recorded the work, so the row always shows the true state. If the test were still failing on day 5, the row would say Fail and the team could hold the release. Months later the same row still answers the question an inspector or auditor asks: what changed and was it tested?
05How each link is made and kept current
Every link in the matrix has a tool that can create it as a side effect of normal work. Fig 2 shows the chain and the list below explains how each link is made.
- Requirement to design. The requirement is a typed item with a stable ID and each design item cites that ID when it is created.
- Design to code. Commits and pull requests carry the requirement ID and a check fails any pull request that cites none. That check also catches orphans.
- Requirement to test. Tests are tagged with the ID or generated from the requirement, so the link exists from the first line. AI coding agents: when they need a spec shows the same ID travelling through tests and code.
- Test to result. The test runner reports each run against the test ID, so the Result cell fills in whenever the test runs.
- Result to release. The pipeline writes the Release cell when the build ships, with the build's test results attached.
Two further checks keep the matrix honest. A gap check lists any requirement with an empty cell and an orphan check lists any change with no requirement ID. When a requirement changes, every cell linked to it is flagged for review, which is what day 1 of Fig 1 shows.
Anthropic's engineering post The components of agent memory describes a pattern with the same shape. Raw transcripts stay as the record and the notes and wiki pages built on top of them are consolidated and corrected against that record. A self-updating matrix works in the same way. Commits, test runs and pipeline events are the record and the matrix is a view built from them. The comparison is an analogy, since the post concerns agent memory.
06What to automate and what a person confirms
Automating the links does not remove people from the matrix. It changes the question they spend time on. A link shows that a test exists for a requirement and it cannot show that the test covers what the requirement means. That judgement stays with a person and review time moves from keeping a sheet up to date to the exceptions the checks surface.
Fig 3 compares the two ways of working. The change at the start is the same in both. Only the second keeps the matrix accurate between reviews.
07Where Orlian fits
Orlian builds this matrix into the AI SDLC it runs. Its Plan wing turns a business requirements document into typed requirements with IDs, as described under AI requirements, specs and test cases. The same ID then follows the work through test, code, verification and release, a path Orlian calls the red thread. Each wing writes its own links, so the matrix is a view of the project with no separate upkeep. The agents stop at five signed human gates and each signed approval becomes one more link on the row.
For a release like the one in the FDA letter, the question "what changed and what verified it?" becomes a filter on the Release column. What an AI SDLC adds around the matrix is covered in What is an agentic SDLC?. To see the matrix built for Order Hub, ask us for a walkthrough.

