Shutter 1.5.2 finishes the work left from the review of 1.5.0. Nothing changes in the gate, its policy or the stored data.
Full change log: https://github.com/MxSalata/shutter/blob/main/CHANGELOG.md
IRIS AI Hub agents for failed HL7 deliveries, in an Interoperability production.
The AI board proposes; the gate disposes.
For judges · How Shutter works (guide) · At your trust (guide) · Results · The agents · Limits · What's new
Current release 1.5.2; the videos and measurements were recorded on the releases named beside them.
Shutter is my vision for the hundreds of failed HL7 messages that go unactioned, or that system administrators and integration engineers have to review by hand. Its main point is to pick up those failures, so that integration engineers can do their projects instead of firefighting failures every day.
On an ordinary day a hospital’s integration engine can see hundreds of failed messages. Engineers put right what they can by hand, and the rest can go unactioned. Shutter won’t fix them all, but it helps with most: in my work on interoperability with 28 NHS hospitals, most failures were of the kinds it knows. It resends the failed patient movements that pass its checks, closes those the receiver already has, and for the rest stops, writes nothing, and identifies the patient for a person to review.
When a hospital’s HL7 delivery fails, the usual fix is Resend, and when two systems move a patient at the same moment, that resend can write over the bed manager’s newer ward. Shutter’s IRIS AI Hub agents decide how to put the failure right; a deterministic gate decides whether anything is written.
Why I built it: the failures above are the ones I met in my interoperability work with 28 NHS hospitals. At one trust we checked every interface daily for failed messages, and I wrote a 30-page guide to handling them. Not every clinical system checks what it receives. When a bed transfer from I.PM failed to reach NerveCentre and clinicians corrected the history there by hand, resending the failures in order could displace several patients, because NerveCentre won’t put two patients in one bed and moves the other to the waiting area. Blindly resending coding messages from NerveCentre to Careflow would overwrite a patient’s coding and end-date it as of today, and on older PAS systems a resent A02 for a past spell could reopen it, leaving two active spells. That is why Shutter reads the receiver before it writes. While building Shutter I filed AI Hub bug reports #11, #12, #22 and #23.

Five minutes, nothing to install and no key. The trial plays recorded runs in your browser. Each Run plays for several seconds, then a banner above the cards on Scenarios names the case to open; from a case, Scenarios in the left menu takes you back to the cards.
| Click | Look at | |
|---|---|---|
| 1 | Open the trial, choose Approver on its sign-in page (no password) and, in the welcome dialog, choose Start with S2 (if the dialog has been closed, the same button is on Home, under New here?) | Scenarios, in Board mode: the four agents propose the plan. Try these three first has a card for each scenario, with its own Run button |
| 2 | Run S2, open C-000002 from the banner, then Decide on the resend and Approve the resend | A transfer that never arrived. After the approval, Outcome reads “Delivered: verified at the receiver”, and the Decision receipt under it reads “12 passed”, “Approved by approver”, “1 write” and “Effect verified at the receiver”. Further down, 6. What was verified says “Verified: Committed and current”, from the receiver’s receipt |
| 3 | Run S3 and open C-000003 | A transfer that had already arrived: only the acknowledgement was lost. Outcome reads “Nothing to send: verified at the receiver”, and 5. What was written reads “0 writes by Shutter” |
| 4 | Run S8 in Board and open C-000008 | Two systems moved the same patient at the same recorded time. The case is Escalated, with 0 writes in the Decision receipt, and The board reads “1 dissent kept”, with the Conformance specialist marked Dissent |
| 5 | Still on C-000008, press Compare the two runs, under the row of stages | S8 side by side: Rules only and the board: what a plain resend writes, WARD-B over the bed manager’s WARD-C, against the board’s 0 writes, as in the picture below. One refusal of the gate’s catalogue check is lifted on purpose for this recording; a real case gets the whole gate |

S8 played twice on the same evidence. The Rules only run is exempted on purpose from one refusal of the gate’s catalogue check, ENTRY_NOT_NAMED_WRITE, to show what a plain resend writes. On a real case the whole gate runs and holds that resend, so “every check passed” in the picture means all twelve passed with that one refusal lifted. This is a demonstration of a plain resend’s consequence, not evidence that AI alone prevents it.
Then on real IRIS. The online demo is a fictional hospital on real IRIS for Health with AI Hub build 2026.3.0AI.154.0.
| Type or click | Look at | |
|---|---|---|
| 6 | Sign in as demo / shutter, play the same three scenarios and open the case the banner names |
The same three failures on a running production. The demo account replays the recorded agents; the judges’ account, supplied by the organisers, calls them live |
| 7 | On S8’s case, choose In IRIS: Message trace. Sign in to Cloudflare Access (GitHub or an emailed code), then to IRIS, read-only, as demo-trace / Shutter-Demo-IRIS-Portal |
The agents’ lanes in IRIS’s Visual Trace (pictured under Where the agents sit) |
Two things to know about the demo. It is one hospital shared by every visitor: if someone else runs the same scenario, its reset of the receiver closes a case of yours still waiting, so run it again. And it resets on the hour: for up to a minute it answers with errors, then everyone is signed out, so start a scenario well before the hour.
Or on a throwaway instance of your own: on a stock AI Hub image, once IPM is loaded in USER (one line, in Try it), zpm "repo -reset-defaults" then zpm "install iris-shutter" installs the demo in about two minutes, with no API key.
Or watch it: I recorded a 13-minute walkthrough and narrated it myself. After a short start in the trial it runs live on the online demo, from an escalated case to an approved resend verified at the receiver (recorded on release 1.4.4). A two-minute cut (MP4, attached to release 1.4.5) shows a failure like S2’s that the demo hospital played, in Site policy mode: the site’s policy proposes the resend from the catalogue, with no agent, and a person approves it. In Board mode, as in the five steps above, the board investigates first.
Read the code: CaseWorkflow runs the case; the AI Hub agents, three specialists and a coordinator, read the sealed evidence; the coordinator calls SubmitPlan; the gate checks the plan; an IRIS Workflow task takes the approval; one conditional write follows, and the verifier reads the receiver’s receipts and history.
FHIR R4: on the online demo (not the trial), choose Site policy under Run mode, then Run S35; there it updates the demo’s own test FHIR server, held to the answers IRIS for Health’s FHIR server gave (what to look for).
The browser trial replays recorded workflow and gate outcomes; on IRIS the gate runs on the server. The trial makes no model call and sends nothing to IRIS, so it leaves out what needs a live instance: the Single investigator, receiver outages, convening the board or reinvestigating a case, free-text questions (the suggested ones are answered from recordings), and the Management Portal, where only S8’s Message trace has a screenshot. A reload starts the recording afresh.
The online demo’s bed manager is a simulated receiver with a versioned HTTP API (Downstream.API), reached through Shutter’s Downstream Out operation (Shutter.Operation.Ward), so case recovery runs end to end. Its sign-ins:
| Sign-in | What you can do |
|---|---|
demo / shutter |
Read, open the written explanations (live answers need the judges’ account), approve waiting cases, and run scenarios from their recordings (no model call, no spend); no reset |
| Judges’ account, supplied by the organisers | Run scenarios with live agents or Convene the board, one run at a time |
Live spending on the demo is capped at 5 USD an hour and 15 USD a day. Within the hourly cap the judges’ account has a share of 4 USD, and all judges sign in to that one account, so they share it. When that is spent, live runs are refused until the next hour, and the demo account still plays the scenarios from their recordings. The caps bound Shutter’s estimates, not the provider’s invoice (how the budget works).
To play the Rules only run yourself: on Scenarios, scroll below the cards to Run mode and choose Rules only, then press Run S8 in Rules only on the S8 card and open C-000021. The trial’s recorded Rules only case, C-000021, is already approved and written.

A plain Resend sends the same message again without reading the receiver first, so it can repeat something the receiver already holds or revive a cancelled movement. The S numbers are scenarios on the trial’s Scenarios page; F09 is a held-out test case.
| What happened | A plain Resend | Shutter | See it |
|---|---|---|---|
| The transfer never arrived, and nothing has happened since | The right action, taken without checking that it is still right | One write, on condition that the receiver is still at the version Shutter read, after a rehearsal and an approval. The receiver’s own receipt and history then confirm it | S2 |
| The transfer arrived; only the acknowledgement was lost | Sends it a second time | Reads the receiver’s receipt, closes the case and writes nothing | S3 |
| A later transfer has already moved the patient on | Can put the patient back in the earlier ward | The board closes the case as superseded and writes nothing. A resend proposed by rules is blocked by the gate | S1 |
| A nurse moved the patient by hand while the resend waited for approval | Writes over her move | The approval is bound to the receiver’s version, so nothing is sent. Planned again on fresh evidence, the resend is stopped and her ward stands | S20 |
| The bed is already occupied | Fails again or, at a receiver that makes room, displaces the other patient | Reads who holds the bed, as a token. It waits for the occupant’s own case when their move out also failed, and otherwise escalates | S23a to S23c |
| The source cancelled the transfer six minutes later | Revives a cancelled movement | The catalogue matched a resend. On release 1.0.0 Site policy followed that match and wrote it in all three runs, while both agent modes escalated in all six; since then the gate also stops that write | F09 |
| The message is a patient merge | Sends the merge again | Never sent by default: the gate blocks every plan, and an email to the PAS team is drafted | S15 |
The gate is code with no model in it. Its twelve checks are the questions an engineer asks before resending a message by hand. It runs twice: when a plan is proposed, and again just before the write, after the approval and a fresh read of the receiver. Each check answers pass, block or unknown, and an unknown blocks a write as a block does.
| Before a resend, ask | The gate’s check | For example, it refuses |
|---|---|---|
| Is this the right patient’s encounter? | identity |
An encounter at the receiver that belongs to another patient (PATIENT_MISMATCH) |
| Could the message be read at all? | conformance |
A message IRIS cannot parse (PARSE_FAILED). In S25 a second parser, HAPI in Java through PEX, then says whether the message is sound and only the site’s schema is missing |
| Is the write exactly the failed operation, unchanged? | intent |
A patient merge (MERGE_WITHHELD, S15), a cancel the receiver cannot take (CANCEL_UNSUPPORTED, S16), a changed payload (PAYLOAD_CHANGED) |
| Has anything happened to the patient since? | ordering |
A later movement (SUPERSEDED_BY_LATER_EVENT, S1), a newer message still on its way (NEWER_MESSAGE_PENDING, S24), a bed whose occupant has not left (WAITING_FOR_OCCUPANT_CASE, S23a), a time in the hour that happens twice when the clocks go back (EVENT_TIME_IMPLAUSIBLE, S21 in Rules only) |
| Does the receiver’s current state allow this event? | state_transition |
An event that state does not allow (INVALID_TRANSITION) |
| Does the receiver already hold it? | effect |
A write the receiver has already committed (ALREADY_COMMITTED) |
| Did a person approve exactly this plan? | authorization |
No approval (NO_APPROVAL), or one given before the receiver changed (APPROVAL_RECEIVER_CHANGED, S20) |
| Did the receiver rehearse this exact write? | rehearsal |
A write with no dry run, or one made at another version or payload (DRY_RUN_MISSING, DRY_RUN_STALE) |
| Is the receiver still as it was read? | concurrency |
A receiver that has changed since (RECEIVER_CHANGED) |
| Is the evidence still fresh? | evidence |
Stale observations (STALE_EVIDENCE); a fresh read is tried at most 3 times |
| Can this receiver keep the promises a safe write needs? | capability |
A receiver without conditional writes, receipts, a readable history or dry runs (CONNECTOR_INCAPABLE) |
| Does the plan agree with the known failures? | catalogue |
A plan whose outcome disagrees with the matched entry (OUTCOME_MISMATCH), or a pattern the catalogue has never seen (NEW_PATTERN) |
Each reason code has its own plain words, what is missing, who owns it and what triggers a new look, and an escalation drafts the email to the team the site profile names.
Every check, with its reason codes and source · Failure scenarios and their boundaries · Every scenario, step by step
A receiver is the system the message was going to. A receipt is that receiver’s own record of a message it holds.
A catalogue entry describes a known failure and its safe outcome. The site profile is the site’s written policy, including what each receiver permits and what needs a person. The shipped non-demo profile asks a person before every resend.
For an API-recovery incident, one approval binds the incident’s plan. Its cases become chains per encounter, released in order, each item’s own evidence, dry run and dispatch checks completed before the next proceeds.

What “verified” means on S2’s case, in the trial: after the write, the verifier read the receiver’s committed history and its receipt and found the effect there. The closing record also says what was not verified.

What Shutter may do depends on the receiver. A case resends a patient movement only to a receiver that offers the API in the table’s first column; a FHIR R4 entry allows the one narrower update described under the table. The demo’s bed manager offers that API; a site’s own receiver must be shown to. A plain MLLP receiver with no API and no FHIR entry gets no resend from a case; the one resend it can get is an outage’s, through the engine (the table’s second column), where its site profile entry is set up for it. What each kind of receiver gets
| Case recovery through the receiver’s API | Outage recovery through the engine | |
|---|---|---|
| What is sent | One mapped operation, not the original HL7 message | Stored HL7 messages that never arrived, unchanged and in order |
| What the receiver must offer | Versioned reads, conditional writes, receipts, readable history and non-mutating dry runs | A watched receiver configured for engine_resend; a current-state or history-of-record receiver must also declare ack_level: application |
| Release | Approval bound to the exact plan, or release under the site’s written policy | One approval bound to the offered set |
| Completion evidence | Verified at the receiver: the operation is read back in its receipt and history | Completed in the engine: each new header’s delivery outcome. What a completed header proves at the receiver is what the site declared in ack_level, not something Shutter establishes |
| Duplicates | The receipt and history establish what the receiver holds | The receiver’s declared duplicate answer closes a message as already delivered. Where duplicate refusal is not declared, the approver first checks the receiver and confirms it |
| What is not claimed | A guarantee beyond the receiver API’s contract | Shutter reads nothing at the receiver and does not claim receiver-side verification |
A FHIR R4 receiver is a third, narrower contract: one version-aware update (If-Match) with no dry run and no receipt (FHIR R4).
The receiver contract defines the API path. CONTRACTS 17.8 defines the engine resend.

The board is four business operations inside the production, not an external service attached to its logs. Each is a Shutter.Bridge.Operation.Agent item (Agent Conformance, Agent Encounter, Agent Impact, Agent Coordinator) running the %AI.Agent subclass named in its AgentClass setting.
Their typed tools read the sealed evidence and search interface knowledge, and each run ends with a submit tool that returns a finding or a plan; no tool writes to a receiver. Case-scoped authorisation, a pinned list of tool names and evidence-reference checks constrain each run. Every tool call is audited in the production’s Visual Trace.

S8’s case in IRIS’s Visual Trace, from a replay: each board member has its own lane, and the recorded specialists answer in turn within milliseconds. Live, they start together and take 12 to 16 seconds each. Trace an agent shows each tool call as its own step.
What the agents add, where the catalogue runs out:
The four modes:
demo account’s replays.Both agent modes ship. In the release 1.4.3 rerun (12 cases, 36 runs in each of the two modes) the board equalled the single investigator, 0.167 each as settled with no wrong write, at about 3.8 times the cost: 0.480 against 0.127 USD a run. So the board’s measured advantage is not better decisions than one agent. What the board supplies is separate review perspectives, kept dissent and reasoning a person can review. The single investigator is the economical choice.
Also included: Ask Shutter about the page on screen, a read-only production review, and audited read-only MCP access to cases, evidence and plans.
Agent source · AI Hub integration
The cases are synthetic, and nothing here was measured at a hospital.
On 11 November 2026 all twelve held-out cases were played again on release 1.4.3: three runs of each case in each mode (Site policy with a live board played ten of the twelve), the agent modes live on claude-opus-5-5, on AI Hub build 2027.1.0AI.109.0 (the newer of the two supported builds; the online demo runs 2026.3.0AI.154.0). It is a regression rerun on cases that have influenced fixes since release 1.0.0, not a new held-out test, and the instance was upgraded in place, not installed fresh. No later release has been rerun.
Loss runs from 0 for a right outcome to 20 for a wrong write executed. It is not a recovery rate: in all three board runs of F08 the answer graded right and the case still ended blocked for a person, although the receiver had committed the operation.
| Mode, release 1.4.3, with the cases and runs scored | Mean loss | Wrong writes executed | USD per run |
|---|---|---|---|
| Board: 12 cases, 36 runs | 0.167 | 0 | 0.480 |
| Single investigator: 12 cases, 36 runs | 0.167 as settled, 0.667 by the unchanged grader | 0 | 0.127 |
| Site policy with a live board: 10 cases, 29 runs (not F03 or F12) | 0.900 | 0 | 0.040 |
| Rules only: 12 cases, 36 runs | 4.000 | 0 | 0 |
| Always escalating, computed once per case: 12 cases, not played | 1.250 | 0 | 0 |
No mode executed a wrong write in this rerun: the gate stopped the ones Site policy and Rules only proposed. The board, and the single investigator as settled, graded as on release 1.0.0 and made the same 12 writes, all verified. The single investigator’s 0.667 counts F08’s three runs as false closures (0.500 on 1.0.0, where two runs took that path); the fair-test page gives both readings, and no blind re-grade was done this time.
Earlier evidence, in brief. In the original held-out comparison on release 1.0.0 (12 cases, 36 runs in each mode) the board lost 0.167 and the single investigator 0.167 or 0.500, depending on one disputed grading, and neither executed a wrong write. Site policy without a model key and Rules only each executed 3 wrong writes there. Always escalating, computed once per case, would have lost 1.250. An all-Sonnet 5.5 board reached the same grades as the Opus 5.5 board in all 36 runs on release 1.0.0, at 0.24 USD per run against 0.48.
All twelve on 1.4.3 · Full comparison on 1.0.0, scoring and every run · F03 and F07 on 1.3.2 · What the catalogue demonstration does and does not show
Every case page leads with three answers: what happened, what Shutter did, and what needs you now.


The quickest install: two commands once IPM is loaded, about two minutes, no API key. On a stock AI Hub build 2026.3.0AI.154.0 image, in the USER namespace. The stock image has no IPM there, so the first line loads it from this repository’s vendor/ipm/zpm-0.10.10.xml, copied into the container first (docker cp vendor/ipm/zpm-0.10.10.xml <container>:/tmp/zpm.xml). Skip that line where IPM 0.10.4 or later is already loaded:
Do $SYSTEM.OBJ.Load("/tmp/zpm.xml", "ck")
zpm "repo -reset-defaults"
zpm "install iris-shutter"
That installs the registry’s latest version as the demo (130 seconds when measured on 15 November 2026). With no provider configured, the agents replay their recordings. Then open /shutter/index.html on the instance’s web port, sign in as approver / shutter, and run S2, S3 and S8.
Use a throwaway instance for this. Without -Ddemo=0 the install is the demo: users with the published password shutter, the demo receiver, the scenario player and a daily purge of every message type in that namespace older than 90 days. A load in a namespace running another production is refused, but do not rely on that near a feed: a hospital install is the next block with -Ddemo=0 added, and it starts in shadow mode.
In its own namespace, as a hospital would install it (with -Ddemo=0 as well), with a clone at <module> inside the container:
Do $SYSTEM.OBJ.Load("/src/Shutter/Setup.cls", "ck")
Write ##class(Shutter.Setup).CreateNamespace("SHUTTER")
Do $SYSTEM.OBJ.Delete("Shutter.Setup")
zn "SHUTTER"
Do $SYSTEM.OBJ.Load("/vendor/ipm/zpm-0.10.10.xml", "ck")
zpm "repo -reset-defaults"
zpm "install iris-shutter"
Start from a namespace that has no Shutter in it (USER on a stock instance). The registry’s version can lag this repository; for the exact clone, replace the last two lines with zpm "load <module>". On plain IRIS for Health Community 2026.2, with no AI Hub, load the core instead, zpm "load <module>/core", which replays recorded agent runs. INSTALL.md explains each command, upgrades, uninstalling and how to play scenarios from a terminal.
You need Docker, at least 5 GB of memory and about 25 GB of disk. The replay edition pulls a roughly 6 GB image, then is healthy in about 8 minutes on 8 cores.
git clone https://github.com/MxSalata/shutter.git
cd shutter
./install.sh --replay
Open http://localhost:52773/shutter/index.html and choose Not now if offered the trial.
The installer checks Docker, Compose, memory, disk, ports and the image before changing anything. The replay edition uses public IRIS for Health Community 2026.2. It needs no AI Hub Early Access file.
Get AI Hub Community build 2027.1.0AI.109.0 from the Early Access portal. If you installed the replay edition first, switch editions before this: install.sh refuses an .env made for the other edition. Copy .env.example to .env and set ANTHROPIC_API_KEY for live agents, then:
./install.sh --image-file irishealth-community-2027.1.0AI.109.0-docker.tar.gz
Build 2026.3.0AI.154.0 is also supported. With both images loaded, ./install.sh chooses 109.
The contest’s own route, docker compose up: with build 154 loaded and tagged as the contest’s instructions say, nothing else is needed (about 2.5 minutes to healthy, no key):
docker load -i irishealth-community-2026.3.0AI.154.0-docker.tar.gz
docker tag irishealth-community:2026.3.0AI.154.0
docker compose up -d
On build 109, start it with SHUTTER_IMAGE=irishealth-community:2027.1.0AI.109.0 docker compose up -d instead. Without a configured provider, the board replays recordings; it does not run a local model.
A replay makes no model call and executes no tool. It restores a recorded answer and tool calls, marked replay, then runs the gate against the plan.
| Where | Sign-in |
|---|---|
| Local web app | approver / shutter approves; operator / shutter runs and reads but cannot approve |
| Local Management Portal | _SYSTEM / SYS, namespace SHUTTER; use approver / shutter for the Workflow inbox |
| Online demo’s read-only Shutter in IRIS | After GitHub or emailed one-time-code sign-in, demo-trace / Shutter-Demo-IRIS-Portal |
Run S2, S3 and S8 as above. Then try S2’s approval as an operator, submit it from two tabs, or approve its Workflow task with an empty plan digest. The expected results are refusal, one write only, and no dispatch respectively.
Exact steps and expected answers · Windows, Apple silicon, ports and edition switching · Troubleshooting
What it needs. Your engine must be IRIS for Health with Interoperability: 2026.3 or later with AI Hub for the agents, or 2026.2 for the core alone, which calls no model. The onboarding helpers read only their own instance, so plan for Shutter on the engine’s instance. Install it in a namespace of its own with -Ddemo=0, without the demo users or receivers. Map your users to the operator and approver roles, and your approvers to the Workflow role.
What it touches. Start on captured synthetic traffic in a sandbox. A watched production is one of yours that onboarding has connected, and onboarding edits it: it adds two items, Shutter Forwarder and its own Ens.Alert, renames the site’s Ens.Alert to Site Alerts (which still gets every alert first) and maps classes. That production then depends on Shutter’s database to start. Shutter hears only what the engine calls a failure: a message accepted by a transport ACK and then lost downstream opens no case. The module’s Hospital and Downstream packages can also collide with a site’s classes; a dedicated namespace matters. What Shutter reads and writes, and where · A pre-install report · Rolling back
A non-demo installation starts in shadow mode. It investigates and records proposals but sends no rehearsal, recovery write, blind-resend preview, outage resend or escalation email until recovery is enabled. Email has one exception: notifications.shadow_delivery: "enabled" in the site profile lets escalation emails go out in shadow mode. Enabling recovery does not send the emails that shadow mode held back.
Before enabling it:
SELECT Shutter.Setup_ClearProvider() removes it.The failure census can compare watched failures with opened cases. A redacted case bundle supports audit and handover; warehouse history can inform a person without enabling writes.
A trust’s own scenarios can stop a case, and never release one. A site entry sends the trust’s own pattern (a ward, a receiver, a sending system) to a person with the trust’s instructions; it has no field that could allow a resend or a closure. One person writes it and proves it on stored cases, a second approves the exact version, through the API in this release (CONTRACTS 6.8). A worked example follows one rule from the case to its approval.
Five-step pilot · Pilot decision pack · Clinical safety, hazards and data flow (a review of 1.0.0, current controls at its top)
These failures sit outside patient movements. In both kinds no agent is convened and the case itself resends nothing: a person decides.
Where document handling is switched on in both places, the receiver’s site profile entry and its source’s Shutter Forwarder, a failed MDM^T01 to T11, including MDM^T02, becomes a document exception at any size: the Forwarder posts the document’s metadata, not the message, so the ordinary 2 MB forwarding limit is lifted. So does an ORU^R01 with an OBX whose OBX-2 says ED or RP; a report sent as Base64 under TX or ST takes the ordinary path. Without a document profile, a failed MDM gets the ordinary case instead, with the message copied into Shutter’s store, and one over 2 MB gets no case.
The case shows the document’s identity, status and chain for a person to review, never its content: the document number, the parent, every PID-3 identifier, the statuses and the delivery, and what the message store holds for that document. Shutter keeps no copy of the message: an MDM^T02’s Base64 document stays in the source’s message store. A drafted email supports the handover; a draft is not proof that anyone was notified.
An individual failure is investigated, not resent. Its case carries the receiver’s own response, the OBX it names and findings about characters above plain ASCII. The escalation draft names the relevant fields but takes no result value, units or comment.
An eligible outage is recovered through the engine. At a receiver configured for engine_resend, Shutter lists the messages that never arrived. After one approval, Engine Resend sends them unchanged, one at a time, in order, stopping at the first message that does not complete. These resends are completed in the engine, with the duplicate-handling contract above. An unknown send result is read again from its new engine header for up to seven days, without sending again.
What cannot safely join that set is held: a newer message on the same or a linked order; a newer patient message that cannot be shown to concern another order; a patient merge or identity change; an unresolved case on the same order; evidence Shutter cannot read; and a message whose “never sent” cannot be established. Shadow mode and Stop Shutter recovery hold this path too.
On the online demo: two optional paths on the Scenarios page, P1 (a result the demo’s results system refuses) and P2 (that receiver’s outage, recovered under one approval), both played on a stand-in receiver inside the instance, with no agent and no model call (scenarios.md).

Document exceptions and their contract · Outage recovery contract
An optional FHIR R4 profile repairs one failed A02 as a ward-location update to an existing, in-progress Encounter. It sends at most one person-approved PUT per approval, with the ETag the receiver returned in If-Match, and closes the case only after finding the version that carries its marker in the Encounter’s history. This profile has no receiver-side dry run, and says so on every decision. A 412 is not retried. A lost answer is reconciled through the receiver’s history and never resent, and an incomplete or untrusted history may leave it unknown for good. Verification concerns the Encounter record, not the patient’s physical location or delivery to any downstream system. No agent plans a FHIR case. In this release the receiver must be InterSystems IRIS for Health’s own FHIR R4 server.
It runs end to end in CI on IRIS for Health 2026.2 against Shutter’s own test FHIR server, which is held to the answers IRIS for Health’s FHIR server gave when measured. It was also run against IRIS for Health’s own FHIR server on 14 November 2026: the request, the answers and the history are in receipt-fhir.md. On the online demo (not the trial), scenario S35 plays it against Shutter’s own test FHIR server.
No other recovery writes over FHIR: no create, no admission or discharge, no merge, no documents, no Provenance, no $validate as a rehearsal. Details and limits: fhir.md.
Release checks and agent evaluations are different evidence. The latest release checks are for release 1.4.8; the latest comparative agent evaluation remains the 1.4.3 rerun.
Release 1.4.8: CI covered the web and browser suites and three IRIS shards on the commit preceding the tag’s two documentation fixes. On a stock AI Hub build 154 image, zpm "install iris-shutter" installed 1.4.8 from the public registry in 130 seconds, with no API key, and the health route answered 1.4.8 with the production running (15 November 2026).
| Scope | Recorded checks |
|---|---|
| Release 1.4.7 | CI on the tagged commit (run 49): the web and browser suites and three IRIS shards, 1,276 unit tests, the scenario checks with FHIR’s S35 among them, the FHIR conformance kit (244 exchanges) and the pathology check. The same IRIS job ran 13 full rounds on the tag with no failure. A fresh install on AI Hub build 154 is recorded step by step in its receipt |
| Release 1.4.3 | 1,083 unit tests passed on AI Hub build 154 and 1,074 on IRIS 2026.2, none failed. Role checks covered judges running but not resetting, upgraded permissions and attribution of scenario runs. Web and relevant browser suites included accessibility checks |
| Pathology, release 1.4.0 | All 56 pathology-rig rows passed on build 154. An end-to-end check counted receiver sends under shadow mode and the recovery stop |
| Replay CI, figures at 1.1.0 | Full installation on IRIS 2026.2, 37 receiver-contract tests, 26 scenarios end to end and approval-boundary attacks over HTTP |
| AI Hub installs and live agents | Separate fresh-install checks on builds 109 and 154 on release 1.0.0 (6 November 2026), and on build 154 on release 1.4.7 (14 November, no live call), recorded live runs, and live comparative tests up to the 1.4.3 rerun. CI cannot download the Early Access image, so replay CI does not replace this evidence |
The approval boundary tests stale versions, wrong digests, insufficient roles, repeated approval and a receiver changed after approval. Privacy checks inspect recordings.
Release-specific checks · Approval boundary · Build 109 evidence · Build 154 evidence
| Technology | What it does and where to inspect it |
|---|---|
| Workflow Engine | EnsLib.Workflow tasks bind approvals to the plan digest: case workflow, incident workflow |
| IRIS Vector Search | Agents search interface knowledge in IRIS vector tables through %AI.RAG.VectorStore.IRIS: Library.cls. Every recorded investigation searches at least once. In the trial, open S8’s case (C-000008), then an agent’s Recorded tool calls: the Coordinator’s first call is search_playbooks, Encounter Integrity’s search_lifecycle |
| Embedded Python | zoneinfo resolves IANA feed time zones for event ordering: Time.cls |
| Custom Adapter | An inbound adapter walks the HL7 index for the encounter’s other messages: Adapter.cls |
| Java PEX | HAPI 2.6.0 provides an independent Second Parser when IRIS cannot read a message: PEX implementation. An IPM install needs pex/build.sh before this item runs |
| Docker | Reproducible demo installation: Compose, Dockerfile |
| IPM | Published package iris-shutter, for IRIS 2026.3 or later: module.xml |
| Community Opportunity DPI-I-689 | Interoperability as the agent tracing tool: idea, reproduce the trace |
| Online demo | A real IRIS production with a fictional hospital and a new failure every seven minutes. The browser-only trial is separate |
| AI Hub bug reports | #11, #12, #22, #23, #24 |
| Embedded Python bug reports | #26, #27 |
| Articles | Building on AI Hub, testing the recovery gate, integrating at a site |
| Questionnaire | Submitted on 3 November 2026 |
| Video | Demo video on YouTube; the MP4 with captions is attached to the 1.4.4 release |
AI Hub features, constraints and implementation experience
Every limit, with effect, workaround and status · Failure scenarios and their boundaries · What happens when a model fails · Picking up where Shutter stopped
I set Shutter’s requirements and made its architectural and safety decisions, including the deterministic gate, approval tied to the exact plan and verification at the receiver. I tested the trial and the online demo myself, sent back the changes I wanted, and decided each release.
Shutter was built with substantial AI assistance: coding assistants wrote much of the code and documentation under my direction, and I used model-based review workflows. I take responsibility for the published project.
Shutter is an entry in the InterSystems Programming Contest AI Agents in Interoperability Workflows, contest 49.