Reference architecture set
Worked Examples: Four Composite Cases
Stephane Jolicoeur · AOSIQ · November 2026
Companion to the reference architecture. Four short cases showing the working method and the four parts in use, on a fictional company.
About these examples
The company is fictional. Fernhill Supply is an invented regional wholesale distributor. It takes orders from retailers, manages stock across a few warehouses, and ships overnight. It runs a vendor order-management package on a long-lived platform, with decades of in-house changes on top.
The cases are composites. Each one combines patterns that show up again and again in long-lived systems. None describes a real event, a real company or a real product, and there are no real figures in them.
Each case follows the working method from the reference architecture:
- Question
- Live evidence
- Documented intent
- Fill the gap
- Hypothesis, stated as one
- One owned change
- Measured verification
- Knowledge captured
The point of each case isn't the fix. It's showing which part of the architecture found what, and what the next person inherits.
Example 1: The fix that installed but never took effect
Question. The vendor shipped a fix for back-ordered lines being dropped from pick lists. Fernhill applied it, and the fix reported success. A week later, back-ordered lines are still missing. Where is the fix not running?
Live evidence. Live observation shows the fix's release level is applied on every system. It also shows where the program behind pick lists actually resolves when the job runs: on production, an in-house library sits ahead of the vendor library in the search order, and it holds an older, customized copy of the same program.
Documented intent. The vendor's release notes name the replaced program. An old in-house change record explains the customized copy: a special packing rule for one large customer, added years ago.
Gap. Nothing records that the custom copy needed to be re-checked when the vendor changed the original. The steward logs it as a missing process, not just a missing fact.
Hypothesis. Unconfirmed: the fix is installed, but production runs the in-house copy, which doesn't contain it.
One owned change. The development team merges the vendor's fix into the custom copy, keeping the packing rule. It's promoted through the normal path.
Measured verification. A check written before the change confirms the program now resolves to the merged version on every system. Pick lists from the next overnight run include the back-ordered lines.
Knowledge captured. An episode records the symptom, the evidence and the cause. A new living document lists every in-house copy of a vendor object, with a check that flags any vendor release touching one of them. That check now runs as part of every release review.
Example 2: The report that was wrong one week a year
Question. In the first week of January, the weekly sales-by-warehouse report shows almost nothing for that week, and far too much for the last week of December. It's fine the rest of the year. Where does the week get assigned?
Live evidence. Live observation traces the report job to the program that assigns each order to a reporting week, and to the date fields it reads. Comparing orders from the boundary week with orders from a normal week shows the January orders carrying December's week number.
Documented intent. The functional spec says weeks run Monday to Sunday and are numbered within the calendar year. It doesn't say what happens when a week spans two years.
Gap. The spec is silent, so the assistant says so and doesn't pick a rule. The finance lead is asked which year a boundary week belongs to. The answer becomes a documented rule.
Hypothesis. Unconfirmed: the week number is derived from the week's starting Monday, so a week that starts in December stays in December even when most of its days fall in January.
One owned change. The development team changes the derivation to match the documented rule, tested on the test system with dates on both sides of several year boundaries.
Measured verification. The report is rerun on the test system for the boundary weeks of the last few years. Totals per week now match a straight count of orders by date. A golden question about boundary weeks is added.
Knowledge captured. The rule goes into the spec, so the silence is gone. An episode records the symptom, because it will only show up again once a year, when nobody remembers it.
Example 3: The job that ran before its data was ready
Question. On some mornings, the replenishment job orders too little stock for one warehouse. Other mornings it's fine. Nothing in the job's own log shows an error. What's different on the bad mornings?
Live evidence. Live observation lists the job's start and end times across recent runs, alongside the jobs that feed it. On the bad mornings, replenishment starts while the job that loads that warehouse's end-of-day stock counts is still running. On good mornings, the load finishes first.
A wrong turn, withdrawn. The first hypothesis was a bad count file from the warehouse. The data didn't support it: the files were complete on the bad mornings too. The record says so in plain words, and the investigation moves on.
Documented intent. The runbook says replenishment "runs after the nightly loads". The scheduler shows it runs at a fixed time instead, with no dependency on the load. When the time was set, the load was much faster than it is now.
Hypothesis. Unconfirmed: on mornings when the load runs long, replenishment reads a partly loaded table and sees too little stock already on order.
One owned change. The operations team replaces the fixed start time with a dependency on the load's successful completion.
Measured verification. Over the following weeks, the start time of replenishment is checked against the load's end time on every run. It never starts first, and the order quantities for that warehouse stop swinging.
Knowledge captured. The runbook now says how the dependency is enforced, not just that it should be, and it carries a check that fails if the dependency is ever removed. A second episode covers the withdrawn hypothesis, so the next person doesn't start there.
Example 4: The vendor was right, but it wasn't the whole answer
Question. The overnight batch has been finishing later and later, and now it sometimes runs into the start of the business day. The vendor's support team says a missing index on the order-history table is the cause. Is that the whole story?
Live evidence. Live observation shows the step with the history table is indeed the slowest, and its query does scan the whole table. It also shows two other things: the history table is far larger than the vendor's sizing guide expects, and a different step spends much of its time waiting on a lock held by an in-house reporting job.
Documented intent. The vendor's documentation describes a purge job that keeps the history table to a set retention period. The scheduler shows the purge job exists but has been on hold for a long time. Nobody remembers why. An old change record shows it was held during a data migration and never released.
Separate problems, separated. Three faults are hiding behind one symptom:
- The missing index (the vendor's diagnosis, correct).
- The purge job on hold, so the table kept growing.
- The reporting job's lock on a table the batch needs.
Each one gets its own owner, its own change and its own verification.
Hypothesis. Unconfirmed: the index would bring the slow step back within range for now, but the table would keep growing until the purge runs again, and the lock wait would remain whatever happens to the index.
One owned change, three times. The index goes in first, as the vendor advised. The purge is released after the data owner confirms the retention period. The reporting job is moved to a time it can't overlap the batch.
Measured verification. Each change is measured on its own, step by step, so it's clear which change bought what. The vendor's fix helps, and it's credited. The other two account for the rest.
Knowledge captured. The purge job gets a living document with a check that fails if it's ever left on hold. The episode records all three causes, including that the vendor's answer was right but not the whole answer, so nobody stops at the first plausible cause next time.
What the four share
| Case | What live evidence found | What documentation added | What was left for the next person |
|---|---|---|---|
| 1. Fix never took effect | An in-house copy shadowing the vendor's program | Why the custom copy existed | A list of in-house copies, checked on every release |
| 2. Wrong one week a year | January orders carrying December's week | A silent spec, then a written rule | The rule in the spec, a golden question, an episode |
| 3. Ran before its data | A start time that overlapped its upstream load | A runbook that claimed a dependency that didn't exist | An enforced dependency with a check that guards it |
| 4. Right but too small | Two more faults behind the vendor's correct one | A purge job that was never released | A check on the purge, an episode with all three causes |
Three lessons run through all four:
- The documentation was rarely wrong, just incomplete or out of date. Live evidence showed where it had drifted. The fix wasn't only to the system but to what's written about it.
- Governed action played the smallest part. Every change was made by the team that owns the system, through its normal path. The assistant's value was in finding and verifying, not in acting.
- Every case ended with a check, not just a note. The next time the same thing drifts, the knowledge base will say so on its own.
Want to know where your own system stands? The knowledge risk assessment covers Stages 0 to 2, read-only from start to finish.
Request a 30-minute call