Building a Model by Interview
/dethereal:interview builds a threat model from a conversation. It asks you about your system one question at a time, and you answer in your own words: no code, no repository, no security vocabulary. As the model grows, it is saved to the Dethernety platform after each part, if you agree, so you can open the picture in the platform's editor and correct it there. At the end you sign off a first draft of your system: a quick model that /dethereal:threat-model --full takes further.
This page shows the Claude Code form of the command; see Starting an Interview for the Codex and OpenCode forms.
Who It Is For
- People who would rather talk than write. An architect, a manager, or an engineer without the code at hand. You need not know any security term: the questions are in plain words ("how does it check who's calling?").
- No repository needed. The interview builds the model from what you say. It reads a document only when you offer one (see Documents You Share).
- Any language, or dictation. The conversation follows your language, and follows you if you switch. Dictated product names are written as the product spells them, so a transcribed "coffee" comes back as "Kafka".
- Running, half-built or planned systems. Mixed is normal: each part is recorded as built or planned, as you say (see Systems Not Built Yet).
- Two people answering together. For example an integrator and its customer, or a team and the group IT that runs part of its infrastructure (see Two People Answering Together).
If you have the code and want the model discovered from it, use the guided workflow instead.
Before You Start
- Sign in to the platform with
/dethereal:loginif you want classes and the picture on the platform. Without a sign-in the interview still runs, locally: it asks you to sign in or skip, and on skip it says once that nothing can be given a class or saved until you sign in, and checks again at the end of each part. - Run it in your project folder. The model is written to
./threat-models/<name>/inside the project, unless you name another folder inside it. - Allow one or two sittings. You can pause at the end of any part and go on later.
Starting an Interview
| Harness | Command |
|---|---|
| Claude Code | /dethereal:interview |
| Codex | $dethereal:interview |
| OpenCode | /dethereal-interview |
> /dethereal:interview
> /dethereal:interview ./threat-models/web-shop
What the argument does:
| You run | What happens |
|---|---|
| No argument | A new interview. It never picks an existing model, even when the project has only one. |
| A path with no model yet | A new interview, with its model in that folder. |
| The path of a paused interview | Resumes it (see Pausing and Resuming). |
| The path of a signed-off interview | Says in one line that the interview is signed off, and points you to /dethereal:threat-model --full <model-path>. |
| The path of a model that did not start as an interview | Says in one line that the interview starts new models only, and points you to /dethereal:threat-model <model-path>. |
What a Session Looks Like
graph LR
setup[Set-up] --> one[Part 1] --> two[Part 2] --> three[Part 3] --> four[Part 4] --> five[Part 5] --> six[Part 6:<br/>final read-back]
six --> signoff[Sign-off]
one & two & three & four & five -. pause .-> R["Resume with<br/>/dethereal:interview <model-path>"]
signoff --> F["Take it further with<br/>/dethereal:threat-model --full"]
Each part opens with its spoken title and ends with a read-back. Once you have answered a part's read-back, its answers are written to the model and, if you chose to save as you go, saved to the platform.
The Set-Up
The set-up is two short turns.
- First, the interview says how long it usually takes, that "I don't know" and "not sure" are always good answers, and that a few questions start with a code in brackets, such as
[prompt: interview-readback]: a marker for the tool, which you can ignore and answer as usual. Then it asks the system's name, what it does in a sentence, and how far along it is: running, being built, or only planned. - Second, it asks:
- if anything is built, whether it holds real people's data yet, even a few beta customers ("in use with real data" is recorded apart from "launched");
- whether anyone else is answering, and from which side, by role;
- only if you write in a language other than English: whether the model's names should be in English, the default, or in your language (see Language).
It then creates the model folder and checks your sign-in. Once you are signed in, it asks the save question.
The Six Parts
| Part | Spoken title | What it asks about |
|---|---|---|
| 1 | How it's used | "Walk me through what happens when a customer does …", prompted with "and then?" and "where does that go?". The components, the flows between them and the outside parties (a customer's browser, a payment provider) come from your story. Each journey you named at the set-up (billing, say, or a bank feed beside the invoicing) is walked before the read-back, a planned one in the future tense (see Systems Not Built Yet) unless you put it off; one not walked is listed under "Still open", never dropped. A class is proposed in plain words ("a managed Postgres database?"; see Part 1: Classes). |
| 2 | What would hurt | "What would be worst if it were stolen, changed, or down for a day?", every copy of it (exports, shares, test copies, tapes, and the provider's backups, drawn as a store of their own with a flow from the store they copy; a store you are not sure keeps it is mapped as assumed), what keeps working while the main system is down, and "who would want this?". Insiders are proposed as soon as you name staff with privileged access (admins, support, group IT), in whatever part you name them. |
| 3 | Who else uses it | Admins, support, partners and the deploy pipeline, walked through like part 1. The interview offers a pause at its end. |
| 4 | Where things live and who runs them | The internet, your network, a cloud account, a vendor: these give the boundaries and their zones, said in plain words ("anyone on the internet can reach it", "a provider you have vetted", "inside your network"; see Part 4: Zones). Who runs each part goes in its description. |
| 5 | How each part is protected | Sign-in, encryption in transit and on disk, whether access is denied by default, and monitoring, on the parts the server ranks as mattering most, nearest the most valuable data first. On a store, or a part people or systems sign in to, denied by default means it turns away anyone without a login it grants: "nobody gets in without a login" is a plain yes, a guest or anonymous account anyone can use is a plain no, and when the login is a shared directory's (a domain sign-in, a group's tenant), the identity-provider question decides it instead. Who can reach the part over the network is asked of the boundary it sits in, never recorded as this protection and never a reason to leave it unknown. |
| 6 | What we have, and what's still open | The final read-back, the counts, the list of open questions, and the sign-off (see Signing Off). |
The order of the parts sets what is asked next, never what you may say. When you jump ahead, the interview notes it ("Noted: backups go to S3, I'll come back to that.") and comes back to it in its part, no later than that part's read-back. When you keep returning to one area, it follows you.
Part 1: Classes
The classes come from the platform's catalogue, matched to what you described; the interview never names one without it.
- Only on your plain yes. A class is written only when you say a plain yes to it, in a read-back or a question of its own. It is never written first and announced afterwards.
- A type said plainly takes the generic class. "A load balancer" gets the generic load balancer class, confirmed in the read-back.
- A hedged product stays open. When you are not sure which product is behind it, that stays an open question, which names the class each answer leads to: "managed by AWS: ElastiCache Cluster; run by the team: Redis / Valkey".
- A class of the part's own type. A part drawn as a store is never offered a process class, such as a workstation class for a laptop. When the class that fits is of another type, the interview asks about the part instead ("is the laptop something people work on, or only where the file is kept?") and redraws it on your plain answer. An outside party is never redrawn for a class: it takes a class of its own type, or none.
- Your team's own tools are outside parties. A code host, a ticket desk or a CI service holds your team's work, not the data your system serves or processes: it is drawn as an outside party, not as a part of your system, even when a store class names it.
- A provider's sign-in service is an outside party. A sign-in service a provider runs (Supabase Auth, Auth0, Cognito, Firebase Auth, an Entra ID tenant), like the provider's other managed services your system only calls, is drawn as an outside party with the External Cloud Service class, unless a class made for that service fits. It sits with the other outside parties until part 4 gives the provider's services a boundary of their own. A sign-in server your team runs itself (Keycloak on your own hosts) is a part of your system, with the Identity Provider class; a sign-in built into the app is that app's sign-in setting, not a part of its own. When you are not sure who runs it, that is an open question naming the class each answer leads to.
- The catalogue is read before "none fits". When no match fits a part or a flow, the interview reads the catalogue's classes of that type first, so a class whose description names what the part is ("WireGuard/OpenVPN endpoint" for an OpenVPN server) is still offered.
- A flow without a class gets one with its first protection. The platform keeps a protection only on a part or flow that has a class, so a flow still without one is offered its class in the part 5 read-back or defaults list that settles its first protection.
Part 4: Zones
In part 4, each boundary gets a zone from who can reach it (see Boundary Trust Zones). Who runs a part never sets its zone.
- "Vetted" is written only when you say a party was checked: a contract, a security review, an assessment. Trust in a person is written "trusted by the team, not vetted".
- "A provider you have vetted" (the Trusted external zone) goes only to:
- an outside party you name as a vetted partner;
- the managed services of the cloud provider your system runs in — key management, a secret manager, managed logs, a sign-in service or identity tenant the provider runs — on your plain trust in that provider. They sit in a boundary of their own that holds nothing else.
The zone goes only on a boundary whose every element is an outside party, with no boundary inside it; Gate 1 flags one that holds anything else (see Quality Gates). - It never goes to:
- a party that sends into the system on its own — a webhook, a callback, a file drop, or a provider's scheduler that calls your system over an address the internet can reach (a cron hitting a route), even one your own cloud provider runs. It stays on the open internet even when vetted, with "vetted" in its description, in a boundary of its own: whoever can forge what it sends reaches the part that receives it, so how that part checks the caller is asked as its sign-in. A trigger is no outside party only when you say plainly that it calls nothing the internet can reach: it then goes in the description of the job it starts. When that is not known, it is an open question ("can the internet call the route the scheduler calls?");
- a SaaS tool your team signs in to or configures (a support panel, a ticket desk, a CRM) that you have not named as vetted, even when the system calls its API;
- a provider service that takes internet traffic for the system — a CDN, an API gateway, a managed load balancer. It is a part anyone on the internet can reach;
- your team's own account, network and the stores in it, or another unit of your organisation's account: these are zoned by who can reach them, not by your trust in the provider;
- the other companies of your group that use a shared service, even when vetted.
- A place you are not sure of. When you are not sure which network a boundary is on, it is drawn at the top of the model, however deep that network sits, with no zone and an open question, even when both places you name have the same zone ("its own VLAN, or still the office network"): inside a zoned one it would take that zone. On a plain answer it moves in and takes the zone. Not knowing only who can reach a part you placed plainly leaves it where it is.
- A store whose reach is unknown. When you say plainly where a store is but not who can reach it — a bucket, snapshots or a queue reached through the account's permissions — its boundary gets no zone, and an open question someone can answer: "can anyone outside the team's own sign-ins reach the backup bucket: is it public, shared with another account, or open by a link?". Part 5 then asks who can read it and what is in it, whatever its rank. How your team reaches it ("through the dashboard, with our accounts") does not say who else can; on a plain "only our own sign-ins: nothing public, shared or by link", it moves into the boundary of the account or project it belongs to, and takes that boundary's zone.
- Your own network. A network you name as your own and run — "our datacentre, behind our firewall" — counts as inside your network, even when you are not sure what the internet can reach there ("everything through the VPNs, I'd think"). That hedge is an open question on the parts it covers, saying what it affects ("if the internet reaches the file server directly, it is internet-facing"), not a disagreement with where you placed the network. A part in it gets a boundary of its own inside it, one anyone on the internet can reach, when you say the internet reaches it (a web server counts only then), or when it is a remote-access VPN endpoint. A cloud account, subscription or project, and any network in one (a VPC, a VNet), is not placed this way: it is still zoned by who can reach it.
- Devices that travel with people. Laptops and phones count as the least trusted of the places you name for their people: if they work at home, in a coworking space or while travelling, that is the open internet.
Part 5: What Was Already Said
Part 5 does not ask again what you already said plainly in an earlier part: a sign-in ("customers log in with email and password, or with Google"), a protocol ("the file goes over SFTP"), a plain "there's no login", or a plain reason a setting does not apply ("nothing calls it"). It names them in one line at its opening — "From what you told me I'll note: … Tell me if any is wrong" — reads them back in its read-back with your earlier answers as their basis, and writes them with the part. A hedge, or a sweeping statement about many parts at once ("everything is encrypted"), is never carried forward: each setting it would cover is asked, one by one. A setting another unit configures that you have not seen set is not carried either, and not asked again: it is already an open question (see Settings Others Configure).
A plain "nothing monitors
Part 5: Provider Defaults
In part 5, the interview may offer provider defaults for encryption on disk, and for encryption in transit where the provider enforces it with no way to turn it off, as a numbered list with each basis. It never offers one for sign-in, access control or monitoring, which your team sets. Each default you accept plainly is written with "provider default, not checked" in the element's description. Any you know were changed, or are not sure of, are asked or stay open.
Read-Backs
Each part ends with a read-back: at most six plain bullets of what the part adds, then a "Still open: …" line, then "What's wrong or missing?". One part's items may share a bullet; when there are more than fit, more items share a bullet, never a second message. Nothing is dropped. The read-back is the last message of its turn: nothing happens until you reply, and the part is written after your reply.
- Every "no" is in it. One you said plainly is said back as a statement ("the admin console has no login of its own"); one the interview only inferred, which you did not say, is asked as a question ("so the admin console has no login of its own?"). One said while a way in to that place is still open is said with that way beside it (see Negations). One that is contradicted or disputed is said back as the disagreement, quoting both statements.
- Anything you hedged is under "Still open", never among the bullets. Your reply settles only what the bullets stated: a hedge needs its own plain answer, and "the rest sounds right" settles none of it, nor a "no" the interview only inferred.
The read-back never shows JSON and never slips in a proposed value. Your corrections are applied before anything from the part is written.
The Questions It Always Asks
People leave these out, so the interview asks each in plain words in the part it belongs to, and records each as answered, out of scope, or open as soon as it comes up, in whatever part; until then it is not yet asked, and a pause names it:
- Getting in from outside: admins, support, other sites, people working from home: "what do they open or click to start work, and do they ever see a warning?" A way in is drawn as the hops you state: the person, the VPN endpoint, then each part they open. How the onward flow is protected is asked on its own, never taken from the tunnel, and what they open once connected is asked when you did not say. For each part another unit of your group or a provider runs that your team or group signs in to administer, a tenant, dashboard or console (an Entra ID or Okta tenant, the group's firewall, the Supabase or Vercel dashboard): who can sign in to administer it, and how, second factor included, asked in one question that lists those parts. This question stays not yet asked until it has been asked of each such part, even when the rest is answered, and such a part that turns up later sets it back to not yet asked until it is asked of that part too; what you don't know is an open question for whoever administers the part for your team or group.
- The deploy pipeline: "how does a change to the code get to the live system?" Once you name a pipeline or a deploy step: "who can start a deploy to the live system, and do they sign in with a second factor?"
- Backups and restore.
- Support tools and support access, including "can support see the app as a customer sees it, or sign in as one?"
- Shared service accounts and shared keys, without the password or key itself, and for one that opens everything, "what else uses it?"
- The identity provider: "how do people sign in, and who runs that?" For a sign-in shared with others, such as a group's tenant: "when someone on it you never gave access to signs in to <the system>, are they turned away, or let in with some default access?" A plain answer sets whether that part denies access by default; the tenant's own setting, unless you have seen it, is an open question.
- DNS and certificates: "who renews your domain name and the padlock certificates?"
- Logging and monitoring: where a part's logs go, and whether anyone or anything watches them or alerts on them. A tool they go to (a log collector, a SIEM, an uptime check) is recorded as the part's monitoring; if you are not sure anyone watches it, that is an open question, and if you say nobody reads it, it is recorded as "collected, not watched". A log that stays where it is written and nobody reads is recorded as "recorded, not watched", not as monitoring.
- Third parties: payment, email or SMS, a CDN or container registry, other SaaS; for a tool that records what users see or type, whether it hides on-screen data.
- The rules the data is under: a law, a contract or a customer's terms about where data may be kept, how long it must be kept, and who may see it.
How Your Answers Are Taken
Nothing is guessed silently. Structure comes from you: a part or flow the interview suggests enters the model only on your plain yes. There are two exceptions, each drawn as "assumed" from what you said plainly and read back to you so you can correct it: a flow from whoever holds a full-access key to what the key opens, and a flow whose route alone you don't know (see Drawn as Assumed). A store already drawn may also be marked as an assumed copy of the most valuable data, when you hedge only whether it keeps that data.
"I Don't Know" and "Not Sure"
- "I don't know" is a good answer. The field stays empty and is recorded as not known, and the final counts show it.
- A hedge ("I think", "probably", "maybe") draws nothing: no part, no flow, no protection. One exception: a store already drawn, when you hedge only whether it keeps the most valuable data, is mapped as assumed; the other is a flow whose route alone you don't know (see the same section). A hedge leaves an open question — or, for how a provider's service behaves that your team cannot change, an assumption the interview notes but writes nowhere in the model. A hedge is read by its meaning in your language; when the interview cannot tell whether you know or think something, it asks once.
- A plain "no" is recorded as a no: "there's no login" is a real answer, not an unknown.
- "Does not apply" is recorded with your reason, and the field stays empty.
A hedge about whether a list is complete ("I think that's everything") holds back nothing you already said plainly.
A hedge holds back only what it covers. When you name what uses a part and hedge only whether something else does too — "the webshop keeps sessions in Redis; whether the backend writes there too, I don't know" — the flow you named is drawn, and only the rest stays open. "The webshop, or the backend too" names the webshop plainly: its flow is drawn, and only the backend stays open. Only an "or" that leaves which one open ("the webshop or the backend, I don't know which") draws neither; when the interview cannot tell which you meant, it asks once.
A hedged detail inside a plain statement stays hedged wherever it is written, in a description or on the forwarded list: "the database password was seen in its task definition, perhaps as an environment variable (not confirmed)", never "as an environment variable". When the detail bears on where a secret is kept or who can read it, it is also an open question.
Settings Others Configure
A setting another unit of your organisation configures (group IT), or an outside IT provider your team hires to configure it, counts as your team's. A cloud provider's own defaults are not covered here: they are the provider defaults offered in part 5. You confirm one only by having set it or seen the setting itself: the policy or the console page, with who it covers. A prompt on your own sign-in is not seeing it.
- Stated as fact without that, however plainly ("everyone has MFA, group enforces it"), it is what you were told. The interview asks once per setting, before that part's read-back: "have you seen that setting, or is it what <the unit> told you?"
- Unless you have seen it, it is an open question for that unit, holding what you were told, under "Still open" in the read-back. It is never written as a value or as a fact.
- Your own settings, your team's, and how you sign in yourself are never asked this. In "the app signs in through Entra, with MFA for everyone", the sign-in method is written as you said it, and only the group's MFA stays open.
Drawn as Assumed
When you say plainly that a part works from a store but not by which route — "the back office works from the same database; directly or through the backend, I don't know" — the interview may draw one flow straight from that part to the store. It does so only when you named both routes, the part is one your team runs, not an outside party, and the direct flow crosses no boundary that the route through the other part would not cross; otherwise the route is only an open question.
- The flow's name ends "(route assumed)", and its description says "assumed: route not known, directly or through
". - The route stays an open question, for the role who can answer it. No flow to the other part is drawn on that basis, and no provider default is offered for its encryption in transit.
- It is read back as assumed: the arrow stands for a route not yet known. The final read-back lists it among the ways in, as assumed.
- Once the route is answered, the hops you state replace it.
When the source itself is hedged, or may be a copy of the store, no route-assumed flow is drawn.
An assumed copy. When you say plainly that the most valuable data reaches a store already drawn — a database, a share, a bucket, a disk, a queue, a cache — and hedge only whether it stays there ("the import goes into its MySQL; whether the names stay there, I don't know"), that store is still mapped as holding it, marked assumed:
- Its description says "assumed:
kept here, not confirmed", with your lean when you lean to "no" ("assumed kept; the team thinks deleted after import"). - Whether the data stays is an open question, saying what it affects, for the role who can answer it.
- It is read back as assumed, and the final read-back lists it as assumed.
- On a plain yes, "assumed" goes; on a plain no, the mapping is removed.
A process or flow the data only passes through is never mapped this way: whether it keeps the data is only an open question.
Short Lists and Going Faster
Settings you either know or don't may come as a short list, one group of parts at a time, and whenever you ask to go faster. Each line names one part and at most two settings, or one setting on several named parts ("closed by default: the load balancer, the VPN server, the webshop?").
- A blanket reply — "the rest I don't know", "all of that to the senior developer" — settles only the settings the list's lines named. It never settles a setting you already answered plainly for that part: that answer stands. The interview never offers a reply that settles more than the list shows.
- Settings handed to a role are recorded as not known, with that role, and go on that role's part of the forwarded list.
- Going faster is offered only when you ask for it. The interview then says how much is left ("about 27 settings on 12 parts") and asks you to choose: more short lists, or those settings put, unasked, under "Not asked in the interview" on a role's part of the forwarded list, which leaves them open until someone answers them. A reply that names short lists, a hedge or a dismissal means more short lists. Going faster skips questions, never a part's opening, nor the read of your edits in the editor that comes with it. Settings put on the list are recorded as not asked, with that role, never as declined: they count as not asked in the counts, the read-back, the sign-off question and
open-questions.md. The check on the key protections then stays open, so the interview cannot say that every protection was asked.
Disagreements
The interview checks your answers against each other and against the picture: "everything is internal" followed by a vendor webhook, a store nothing writes to, a crown jewel with no way in. A later answer of yours counts too, when it contradicts, narrows or hedges something you said plainly earlier about the same thing: a remembered event ("they fixed something on a Sunday with nobody in", against "they only come when we call"), or "I think so; I'd have to check the two newer tables", against "the database handles the permissions". Each part's answers are also checked against your set-up answers before its read-back: "it's live for some customers" against "we're not live yet" is a disagreement, unless your set-up answer on real data already says who uses it ("closed beta, 12 pilot agencies, real invoices") and the later statement fits it. These are open questions, not disagreements:
- a hedge about something you never said plainly;
- a hedge on one part after a sweeping statement ("everything is encrypted", then "the backups, I think so");
- a hedge on what the internet can reach, after you placed a network plainly (see Part 4: Zones);
- "it's what they told me", said of another unit's setting you had stated (see Settings Others Configure).
It raises one conflict at a time, quoting both statements in your words:
Earlier you said "…"; later, "…". How do these fit together?
1. the first 2. the second 3. something else 4. not sure
No choice explains one statement away. When the answer is a hedge or "not sure", the conflict stays open: neither side is drawn, anything already drawn from either side is marked "disputed:
Negations
A "no" is checked against the ways in to the place it covers: a way in is an open question, an open conflict or a hedged path by which an outside party could see or change data held there.
- A "no" the picture contradicts — "only customers come in from outside", with a VPN and a webhook already drawn or stated plainly — is a conflict, raised in the next turn, never read back as understood.
- A "no" said while a way in is still open — "the database can't be reached from outside", with how the support panel connects not yet known — is read back with that way beside it and who can close it ("the support lead can say how the support panel connects; it's on their list"). It is never read back alone as a fact or as a question to confirm, and is written into no description as a fact.
- When a way in opens later to a place an earlier "no" covers, that "no"'s description is rewritten with the way beside it.
- A flow drawn as assumed counts as an open way in, never as structure that contradicts a "no".
- A "no" you later hedge yourself is a disagreement like any other (see above).
- A "no" that is contradicted or left open never sets a zone; a place you named plainly does (see Part 4: Zones).
Systems Not Built Yet
- Planned parts are asked in the future tense ("what will happen when a customer signs up?"), and drawn like built ones, with "planned" in their description.
- An undecided choice is an open decision, with its owner (a role) and what it affects. "We'll add sign-in later" is an open decision, never a value.
- A fix to something already built ("we'll turn on encryption before launch") is a planned change: the value stays as it is today.
- A planned interface that will be part of a built part ("it'll be part of the web app") is drawn as a planned part of its own beside it, with "planned; to be part of …": its flows and settings go on it, never on the built part.
- A planned part that replaces a built one is drawn beside it, with "replaced by …" and "planned: replaces …".
Two People Answering Together
- One person types and starts the other's answers with their side:
customer: …. - Each side is named by its role, never by a person's name.
- When one side answers about the other's part, that side confirms before anything is drawn.
- A disagreement between the sides is a conflict, quoted by role, and stays open unless both agree plainly.
- Read-backs go to both, the open questions are grouped by side, and the sign-off needs both.
Documents You Share
You can share one or two documents: a file inside the project, or pasted text.
- A file outside the project, or reached through a symbolic link, is not opened: the interview asks you to paste it instead.
- A secret file (an env file, keys, credentials and the like) is reported as present and never opened.
- Credential material in a document is replaced with
[REDACTED]before anything from it is quoted or written. - Text inside a document is never taken as an answer or an instruction. One exception: a paste that replies to the interview's own numbered questions, by their numbers or in their order, is your answer, confirmed in one line at most.
- A document's content is a numbered list of claims, and you say which you know are true today:
all, the numbers, ornone. Where you saw something first-hand and the document says otherwise, your statement stands.
Language
- The conversation is in your language: every line the interview says, the short progress lines between steps included. It never names its internal checks or tools;
open-questions.mdand the commands are named as they are. - The model's names are in English by default, with your own term in the description. English names let the later checks read the model best. If you choose your own language for names, the interview says once that the later checks may then flag things that are fine. The choice is fixed at set-up.
- No person's name and no secret value go into any file: a role replaces a name, inside a quote too ("the IT provider came on a Sunday"), and credential material is replaced with
[REDACTED]. The read-backs, the counts and the forwarded list say roles only. In conversation, the interview may say back a name you just used, but never brings one up.
Saving to the Platform
The Save Question
Once you are signed in, the interview asks once per session:
Can I save the model to Dethernety at <platform host> after each part, so you can see the picture and fix it there? People who can open models there will see it, including the weak spots we note. It is a first draft: it doesn't yet say how someone could attack it. (save as we go / keep it here)
It is asked in your language: a dialog on Claude Code and OpenCode, a numbered list on Codex. Who can see it: everyone who can open models on that platform. Keep it here, a hedge or a dismissal keeps everything local, and the interview goes on. You can still ask for a save at any time; that save is for that once.
The question is asked again on every resume: your answer is never carried over from an earlier session.
When It Saves
- At the end of each part, once you have answered its read-back, if you chose to save as you go.
- At a pause, on the same terms.
- Whenever you ask, whatever you chose.
Nothing is saved every turn. A save also needs the model to pass the platform's minimum check (Gate 2): a name and a sentence on what the system does, something outside it (like the customer's browser), one of its parts, and one thing passing between them. Until then the interview says once what the picture still needs. Before each save, it asks you not to edit the picture until it says the save is done.
The Picture in the Editor
After the first save, the interview gives you a link to the model in the platform's editor (<platform URL>/dataflow?id=<model id>) and asks: "Open this link: does the picture match the journey you told me? Fix it there, or just tell me." Later saves say what changed in one line, removals included: "added: Queue, Admin VPN; removed: Old FTP".
Your Edits in the Editor
The interview reads the platform's model at the start of each part after the first save, when you chose to save as you go — even right after a save of its own, and when you asked to go faster — and whenever you say you changed the picture. It first saves any answers not yet on the platform, so reading your edits cannot overwrite them: when you chose to keep the model here, it asks before that save, and if nothing can be saved yet (the picture is not complete enough, you are not signed in, or you said no), it does not read, and says it will once the answers are saved.
- A box only moved: nothing is said.
- Any other edit is said back in one line, with its effect, and "tell me if that was by accident".
- An edit that moves a part into another boundary, turns a part inside the system into an outside party or back, sets a zone, marks or unmarks the most valuable data, or sets a protection is not taken as stated. Instead of the one-line say-back, it is asked as a question of its own, naming the part and what the edit changes, and quoting what you said earlier when the edit contradicts it; a zone is checked first against the zone rules:
In the picture, the queue is now inside the office network, so only internal services reach it. Earlier you told me "…". Did you mean to change it, or was it by accident? (I meant it / by accident / not sure) - When it is asked. An edit found as a part opens is asked before that part's read-back; one found later, as the next question, while you can still say why you made it: before the next part writes into that boundary or zones it, and in part 6 before the final read-back. One found by the save at a pause is said back in the pause message and asked when you resume. Until it is asked, it is kept in the interview's record, and the interview is not done while one waits.
- Your answer. "I meant it" keeps the edit, and "by accident" undoes it. An edit that contradicts what you said is recorded as a disagreement before it is asked, and either answer settles it; with two people, only the same plain answer from both sides does. "Not sure", a hedge, or an answer that settles neither ("we're moving it next month", a planned change) leaves it open: as that disagreement, or otherwise as an open question for the role who can answer it.
- While it is open, a zone or protection the edit set is held back as an open question, and a mark or unmark of the most valuable data goes back to what you said. A move, or a part turned into an outside party or back, stays in the picture, its description saying "disputed:
", or "unconfirmed editor edit: " when you had said nothing about it before. - "I meant it" keeps an edit only where the placement rules allow. Who runs a part never sets where it lives: a store of your system's data moved among the outside parties because a provider runs it stays a part of your system, and the interview asks where it lives.
If a save finds the platform's model changed since the last save, it never overwrites your edit. It reads the platform's model and writes your unsaved answers on top again. Only two kinds of answer are held back and asked about instead:
- An answer about a part you deleted, or that depends on one: one that names it as the boundary something sits in or as a flow's end, and a new part, never saved, whose boundary or end you deleted. The answers one deleted part holds back are asked together, once per deleted part, the choices said as what they keep: "You removed Redis from the picture. I had from you: the webshop keeps sessions there, and a sign-in flow to it. Remove those too, or put Redis back?".
- An answer on a field your edit also changed: "In the picture, <element> is now <what the edit made it>. Earlier you told me <the answer>. Which holds?".
Otherwise, a part whose description, name, position or zone you changed holds back nothing that depends on it, such as its flows: the change itself is said back and asked about as above. A part you renamed in the editor keeps what you said about it. If the interview cannot tell what changed in the picture since its last save, it asks once whether to add all the unsaved answers to the picture as it is now. If the save is refused three times, the interview stops saving, keeps the unsaved changes locally, and goes on.
What the Descriptions Say
The interview writes markers into descriptions, so the platform, and anyone who opens the model there, sees what is stated and what is not:
| Marker | Where | When |
|---|---|---|
in progress: an interview not yet signed off | The model's description | From the first save until the sign-off, so nobody analyses a half-built model without knowing |
signed off as a quick model; the full check has not been run | The model's description | At the sign-off, with open items: N, listed in open-questions.md when items are left open |
in use with real data | The model's description | When a built part holds real customers' data |
not stated: <field> (<why>) | An element's description | At the sign-off, for each field not known, not applicable, still to decide, or a hedged provider default |
disputed: <both statements> | An element's description | A disagreement left open |
unconfirmed editor edit: <what it made it> | An element's description | An editor edit that moves a part, or turns it into an outside party or back, still open, when you had said nothing about it before (see Your Edits in the Editor) |
planned, replaced by …, planned: replaces … | An element's description | Planned parts and replacements |
provider default, not checked | An element's description | A provider default you accepted |
assumed: <basis> | A flow's description | A flow drawn as assumed, such as from the holder of a full-access key to the store it opens; read back for you to correct |
assumed: <the data> kept here, not confirmed | A store's description | An assumed copy of the most valuable data, until you answer whether it stays there |
(route assumed) | The end of a flow's name | A flow whose route alone you don't know, with assumed: route not known, directly or through <the other part> in its description (see Drawn as Assumed) |
recorded, not watched: <the log> | An element's description | A log is written there, but nobody reads it and nothing alerts on it: recorded as no monitoring |
collected, not watched: <the tool> | An element's description | The part's logs go to a tool (a log collector, a SIEM), but nobody reads it: the tool is still recorded as its monitoring |
run by: <role or unit> | An element's description | Who runs the part |
Signing Off
Part 6 opens, like every part, by reading your edits in the editor, and asks about any still waiting; once the final read-back starts, no new question comes inside it. It checks that the essentials are covered: the model passes Gate 2, the most valuable data and every copy of it are mapped (an assumed copy counts), the key protections on the parts that matter most are answered or recorded as open, every boundary has a zone or an open question, and every always-asked question is answered, out of scope or open. A protection counts as recorded only once a question asked it. Open items do not block a sign-off: they are listed. No value is ever invented to make a check pass.
The forwarded list. Before the final read-back, the interview writes open-questions.md in the model folder, for you to forward to the colleagues who can answer. It opens with the line "This lists weak spots in the system: share it only with the people who need to answer." Its items are grouped by who can answer, by role (with two people, by side), and numbered 1 to N across the groups, each with what it affects:
- every open question, open decision and planned change;
- every open disagreement, with both statements;
- every protection that is only assumed, as a question to confirm ("Confirm: the invoice files are encrypted on disk, the provider's default");
- the settings you declined, by part, under the role you handed them to or the one who can answer;
- under "Not asked in the interview", the key protections not yet recorded as asked, one item per part: under the role you put them on when you chose to go faster, and with no role otherwise (for example after an early sign-off, or for a part that became one of the parts that matter most later).
It ends with the resume command for whoever runs the tool. Its last number is the number of open items: the final read-back, the sign-off question and the model's description all say that number, and no other count of what is open. After any correction, the list is written again and the new number said.
The final read-back covers, in plain words: what is still open, naming each part of your system (not an outside party) still without a class, and the decisions still to make; the journeys, as a short story; the most valuable data and every way in to each place it is kept, a hop drawn as assumed and an assumed copy each saying "assumed"; the agreed assumptions; the open questions; what was not covered; and the counts, once.
The counts come from the Dethereal server, which counts the key protections on the parts that matter most from the model files and the interview's record, never by hand. Each protection is in exactly one group, said as it is:
Of 24 key protections on the parts that matter most: 10 you told me for what's built and 2 for what's planned, 4 are the provider's default and not checked, 3 you didn't know, 1 doesn't apply, 2 are still to decide, 2 I didn't get to ask.
"I didn't get to ask" is a protection not yet recorded as asked: one no question named — a blanket "I don't know" counts only the settings a question named — one still holding a placeholder value, or one whose entry in the interview's record the counts cannot read. The interview says that every protection was asked only when none is left in that group. Then it names the parts whose place is still open, and says the number of open items, the forwarded list's last number, and where the ones not settled are in that list, by who can answer: "the 3 you didn't know and the 2 I didn't get to ask are items 1–9, for the senior developer". If the server's counts cannot be read, the interview says so and counts from the files by the same rules; the key protections are then not taken as covered until the server's counts can be read.
Then the last save, and the sign-off question:
<N> things are still open, <M> of them list settings I didn't get to ask; they're in open-questions.md. Signing off means this is your system as far as you know today. It doesn't yet say how someone could attack it or what to fix: that is the next step. Sign off, stop for now, or keep going? If you just close this, nothing is signed off; you can go on later. (sign off / pause / keep going)
The part about the settings not asked is said only when there are some. Like N, M counts items of the list, not settings.
| Answer | Effect |
|---|---|
sign off | The descriptions get their sign-off markers, the state moves as far as the parts done allow, the model is saved, and the run ends with the footer below. With two people, both sides must agree. |
pause | As in Pausing and Resuming. A dismissal, a hedge, or a reply that picks none of the three also counts as pause: nothing is signed off. |
keep going | The interview asks about the biggest open item, then comes back to the sign-off. |
[done] Interview of "<name>" signed off: a first draft of the system; how it could be attacked is the next step.
[next] When you're ready: /dethereal:threat-model --full <model-path> (check the model in full and take it further; or ask whoever set this up)
After the footer, the interview says how many backups lie beside the model folder.
You can also sign off at the end of any part: the interview goes to part 6's read-back and sign-off, with the parts not done named as open.
Pausing and Resuming
Pause at the end of any part; the interview offers it once, at the end of part 3. A pause, like a stop at the end of a session, saves first (on the terms in When It Saves) and lists in plain words:
- the open items;
- the parts not done yet, by their spoken titles;
- the questions it always asks that have not come up yet;
- that copies of the most valuable data may still be found (backups, exports, test copies, a tool that records what users see): always before you have answered part 3's read-back, and after it while a place you named for that data is not yet drawn, mapped or recorded as not covered, naming that place.
A stop in the middle of a part names that part as not done; its answers not yet read back are kept, and read back when you resume. An edit in the editor that the pause's save found is said back, with its effect. Then the pause ends:
[next] When you're ready: /dethereal:interview <model-path> (go on with the interview)
Resume with the same command and the model's path:
> /dethereal:interview ./threat-models/web-shop
The interview opens with a three-bullet recap, said as a message of its own (what the model holds, what is still open, and the assumptions not yet confirmed). Only then does it ask the save question again, once you are signed in, and take up the part where it stopped, at its biggest gap: the part opens with its spoken title and, after the first save, reads your edits in the editor first. A question left unanswered is asked again first, then each edit still waiting to be asked, before the part's next question.
After the Sign-Off
The interview moves the model through the workflow states as the parts are done, so the rest of Dethereal reads it right. It is a quick model, marked as such from the set-up (for example ENRICHING (quick)):
| When | State |
|---|---|
| Set-up | SCOPE_DEFINED |
| After part 1 | DISCOVERED |
| After part 4 | STRUCTURE_COMPLETE |
| At the sign-off, after part 5 | ENRICHING |
A sign-off before part 4 leaves the model at DISCOVERED (or SCOPE_DEFINED before part 1's writes). The interview never moves a model to REVIEWED: the sign-off is not the review.
To take the model further, run the full guided workflow on it:
> /dethereal:threat-model --full ./threat-models/web-shop
At its Step 8, the enrichment agent writes into the empty fields what your interview answers state, quoting your words, without asking you again (Step 8: Enrichment). See Deepening a Quick Model. Once the full workflow has taken the model over, /dethereal:interview on its path no longer resumes it.
What Is Written and Where
In the Model Directory
| Path | What it holds |
|---|---|
manifest.json, structure.json, dataflows.json, data-items.json, attributes/ | The model, in the split-file format. Saved to the platform when you agree. |
.dethereal/scope.json | The scope: the system's name and description, the most valuable data, who would want it, and named laws or standards. The keys the scope shares with the platform are saved with the model. |
.dethereal/interview.json | The interview's own record: the stage reached, the question waiting for an answer, which key protections each question asked (the log the final counts read), the ones you chose to put on a role's list unasked, assumptions, open questions and decisions, planned changes, disagreements, what you declined or left out, the changes not yet saved, and, after a save, each element's platform id. Never sent to the platform; committed with the model, like scope.json. No person's name and no secret value. |
open-questions.md | The forwarded list (see Signing Off). Never sent to the platform. It lists weak spots: share it only with the people who need to answer. |
Backups
The first save, and every read of your edits from the platform, leave a full copy of the model folder beside it, named <folder>.backup-<time>; later saves leave none. A backup keeps anything later removed from the model, so do not commit the backups with the model. You may delete them once the interview is signed off. The interview never deletes one and never writes an ignore rule itself; it suggests one, for example in .gitignore:
threat-models/*.backup-*/
What It Does Not Do
- Built from your answers. The model comes from what you say and the documents you share and confirm; the classes come from the platform, and provider defaults are proposed with their basis for you to accept.
- No threats. The interview raises no threats and no attack paths: the model "doesn't yet say how someone could attack it". That is the next step, on the platform and in the full workflow.
- No controls. It records the protections you describe as security attributes, and creates or links no security controls.
- No review. A signed-off interview is a quick model, never REVIEWED.
Known Limits
- A fact about one person can spread to a group. The interview may sometimes write what you said about your own account into a part's description as if it held for everyone who uses that part: "I get an Authenticator push" can become "users sign in with a push". It never sets a protection value this way. Check the descriptions in the read-backs or on the platform, and correct any you didn't say.
- A stated protection can be left open. When an answer comes in reply to a question about something else, the interview may record the protection as not known instead of taking your answer; it then shows as an open question. Answer it again, or set it in the platform's editor.
- Resuming on Codex and OpenCode. When you resume a paused interview in a new session, it may skip the short recap of where you left off. It still asks your pending question, and any edit you made on the platform, first.
- After a compaction on Codex and OpenCode. When the harness compacts the conversation, nothing outside the conversation's own summary reminds the assistant that an interview is running, and it may carry on from that summary without reading the model files again. If it seems to have lost track, or an answer looks out of step with the picture, run
$dethereal:interview <model-path>(Codex) or/dethereal-interview <model-path>(OpenCode) to pick it up cleanly: the interview's record on disk lets it resume, and it asks again whether to save as it goes. - Short messages on Claude Code. A short message just before a question may show as a one-line summary. Read-backs and questions are always shown in full.
- Editing the picture during a save. An element you add in the platform's editor while a save is running can be removed by that save. Don't edit the picture until the interview says the save is done.
- Other suggestions between sessions. While an interview is paused, the platform,
/dethereal:statusor/dethereal:helpmay suggest other commands for its model./dethereal:interview <model-path>is the one that resumes it;open-questions.mdsays so too. - New models only. The interview does not take up an existing model: for one, use
/dethereal:threat-model <model-path>.
Troubleshooting
| What you see | What it means | What to do |
|---|---|---|
| Asked to sign in or skip | No session for the platform | Run /dethereal:login, then answer signed in; or skip, and the interview goes on locally. |
| Says the picture cannot be saved yet | The model does not pass Gate 2 yet | Go on with part 1: the interview names what is still needed. |
| Says it stopped saving | The platform's model kept changing during saves | Stop editing the picture, then ask for a save. Your unsaved answers are kept. |
Points you to /dethereal:threat-model | The path holds a model that did not start as an interview | Use /dethereal:threat-model <model-path>, or run /dethereal:interview with a new folder. |
| Says the interview is signed off | The interview was signed off, or the full workflow took the model over | Use /dethereal:threat-model --full <model-path>. |
Next: The 11-Step Guided Workflow — take a quick model further with --full
