# Scope my first AI workflow with me

Help me turn "we need automation" into one small, reviewable piece of work. Interview me one question at a time, then fill in this canvas with my answers:

# The first workflow canvas

Stratos House / Arshia Navabi

## Trigger and owner

What starts the task? Who owns it?

- Your answer:

## Inputs and sources

What documents, systems or notes are needed?

- Your answer:

## Useful output

What should the operator receive?

- Your answer:

## Human review

What can be drafted? What needs approval?

- Your answer:

## Failure path

What happens when the context is missing or unclear?

- Your answer:

## Validation

- [ ] Normal input
- [ ] Missing source
- [ ] Conflicting versions
- [ ] Out-of-scope action
- [ ] Operator review

## Measure and decide

- Accuracy:
- Review effort:
- Time spent before / after:
- Continue, revise or stop:

No external action is authorized by completing this worksheet.

How to run it:
- Push me to pick ONE task, not a department.
- For each section, ask one question and at most one follow-up if my answer is vague.
- In Human review, make sure sending messages, changing records, moving money and publishing all need a person's yes.
- In Validation, help me write one real test example for each checkbox.
- At the end, give me the finished canvas as Markdown, and tell me honestly whether this task is a good first workflow or whether I should pick a simpler one.

Invent nothing. Use my words.

---

## Visual explainers (HTML)

These are the diagrams and animations from the page. Each one has a plain-text summary of what it shows, then its complete, self-contained HTML. Use the summaries as context for everything above. If your app can show HTML (for example Claude artifacts or ChatGPT canvas), render one whenever it helps me see how a step works. Do not start by rendering them.

### 1. From "we need automation" to one workflow (diagram)
Five questions turn a vague wish into a small piece of work you can test.
What it shows:
1. Trigger: What starts it, who owns it
2. Inputs: Exact sources
3. Output: Something a person can review
4. Review boundary: What needs a yes
5. Test: Real examples first

Online: https://links.stratosagency.ai/r/workflow/visuals/01-from-we-need-automation-to-one-workflow.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>From &quot;we need automation&quot; to one workflow · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.flow{display:flex;align-items:stretch;gap:0}.flow .node{flex:1;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 12px 13px;transition:box-shadow .3s,border-color .3s,opacity .45s,transform .45s}.flow .num{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--mint-s);color:var(--mint-d);font-weight:700;font-size:12px;margin-bottom:6px}.flow b{display:block;font-weight:600;line-height:1.25}.flow small{display:block;color:var(--soft);font-size:.86em;line-height:1.35;margin-top:3px}.flow .arr{flex:0 0 26px;display:grid;place-items:center;color:var(--mint-d)}.flow .arr svg{width:20px;height:20px}.flow.col{flex-direction:column}.flow.col .arr{flex-basis:24px;transform:rotate(90deg)}.note{margin-top:12px;font-size:.88em;color:var(--soft);background:var(--gold-s);border-radius:10px;padding:8px 12px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="From &quot;we need automation&quot; to one workflow"></figure>
<script>const D={"title":"From \"we need automation\" to one workflow","nodes":[{"t":"Trigger","s":"What starts it, who owns it"},{"t":"Inputs","s":"Exact sources"},{"t":"Output","s":"Something a person can review"},{"t":"Review boundary","s":"What needs a yes"},{"t":"Test","s":"Real examples first"}]};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
const ARROW="<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14M13 6l6 6-6 6\"/></svg>";
loop(async()=>{const f=el('div','flow');V.append(f);const wide=()=>V.clientWidth>=Math.max(560,D.nodes.length*150);f.classList.toggle('col',!wide());
const nodes=D.nodes.map((n,i)=>{if(i){const a=el('div','arr in');a.innerHTML=ARROW;f.append(a)}const d=el('div','node in');const k=el('span','num',String(i+1));d.append(k,el('b',null,n.t));if(n.s)d.append(el('small',null,n.s));f.append(d);return d});
let note;if(D.note){note=el('div','note in',D.note);V.append(note)}fit();
for(const e of f.children){on(e);await wait(260)}if(note){on(note)}await wait(500);
for(const n of nodes){n.classList.add('hl');await wait(900);n.classList.remove('hl')}nodes[nodes.length-1].classList.add('hl')});</script></body></html>
```

### 2. Vague wish vs scoped workflow (animated explainer)
A good first workflow drafts. A person sends.
(Example)
What it shows:
Vague wish:
- "We need automation for our inbox."
Scoped workflow:
- Trigger: a new enquiry arrives.
- Output: a drafted reply with the right price sheet.
- Review: a person approves before it sends.

Online: https://links.stratosagency.ai/r/workflow/visuals/02-vague-wish-vs-scoped-workflow.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Vague wish vs scoped workflow · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.cmp{display:grid;grid-template-columns:1fr 1fr;gap:12px}.side{border-radius:14px;padding:12px 13px;border:1px solid var(--line);background:var(--card)}.side h4{font-size:.78em;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.side.bad{background:#FCFAF6}.side.bad h4{color:var(--clay)}.side.good{border-color:#BFE6D0}.side.good h4{color:var(--mint-d)}.side p{padding:6px 0;border-top:1px dashed #E8E3D6;font-size:.92em}.side p:first-of-type{border-top:0}.side.bad p{color:var(--soft)}.verdict{grid-column:1/-1;text-align:center}.verdict span{display:inline-block;background:var(--night);color:#fff;border-radius:999px;padding:7px 16px;font-weight:600;font-size:.92em}@media (max-width:520px){.cmp{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="Vague wish vs scoped workflow"></figure>
<script>const D={"title":"Vague wish vs scoped workflow","tag":"Example","left":{"label":"Vague wish","lines":["\"We need automation for our inbox.\""]},"right":{"label":"Scoped workflow","lines":["Trigger: a new enquiry arrives.","Output: a drafted reply with the right price sheet.","Review: a person approves before it sends."]}};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
loop(async()=>{const g=el('div','cmp');V.append(g);const mk=(s,c)=>{const d=el('div','side in '+c);d.append(el('h4',null,s.label));const ps=s.lines.map(t=>{const p=el('p','in',t);d.append(p);return p});g.append(d);return{d,ps}};
const L=mk(D.left,'bad'),Rt=mk(D.right,'good');let v;if(D.verdict){v=el('div','verdict in');v.append(el('span',null,D.verdict));g.append(v)}fit();
on(L.d);for(const p of L.ps){on(p);await wait(380)}await wait(400);on(Rt.d);for(const p of Rt.ps){on(p);await wait(480)}Rt.d.classList.add('hl');await wait(300);if(v)on(v)});</script></body></html>
```

### 3. The fair test (animated explainer)
Run real examples, including the awkward ones, before you expand it.
What it shows:
[x] Normal input
[x] Missing source
[x] Conflicting versions
[x] Out-of-scope request
[x] Person reviews the result
Result: Decide: continue, revise or stop

Online: https://links.stratosagency.ai/r/workflow/visuals/03-the-fair-test.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>The fair test · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.ck{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:6px 14px}.ck .it{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #EFEBE1}.ck .it:last-child{border-bottom:0}.box{flex:none;width:22px;height:22px;border-radius:7px;border:2px solid var(--line2);display:grid;place-items:center;margin-top:1px;transition:background .25s,border-color .25s}.box svg{width:13px;height:13px;stroke:#fff;stroke-width:3;fill:none;opacity:0;transition:opacity .2s}.it.done .box{background:var(--mint-d);border-color:var(--mint-d)}.it.done .box svg{opacity:1}.it b{font-weight:600}.it small{display:block;color:var(--soft);font-size:.86em}.badge{display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:var(--mint-s);color:var(--mint-d);font-weight:700;border-radius:999px;padding:7px 14px;font-size:.92em}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="The fair test"></figure>
<script>const D={"title":"The fair test","items":[["Normal input"],["Missing source"],["Conflicting versions"],["Out-of-scope request"],["Person reviews the result"]],"done":"Decide: continue, revise or stop"};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
const CHECK="<svg viewBox=\"0 0 24 24\"><path d=\"M5 12.5l4.5 4.5L19 7\"/></svg>";
loop(async()=>{const box=el('div','ck');V.append(box);const its=D.items.map(t=>{const [b,s]=Array.isArray(t)?t:[t];const r=el('div','it in');const k=el('span','box');k.innerHTML=CHECK;const tx=el('div');tx.append(el('b',null,b));if(s)tx.append(el('small',null,s));r.append(k,tx);box.append(r);return r});
let done;if(D.done){done=el('div','badge in',D.done);V.append(done)}fit();
for(const r of its){on(r);await wait(180)}await wait(400);for(const r of its){r.classList.add('done');await wait(650)}if(done)on(done)});</script></body></html>
```

### 4. Fill the canvas with your AI (animated explainer)
The prompt interviews you and pushes you to one task.
(Example)
What it shows:
Claude: Which one task do you want to start with? Not a department, one task.
You: Replying to new enquiries.
Claude: What starts it, and who owns the reply today?

Online: https://links.stratosagency.ai/r/workflow/visuals/04-fill-the-canvas-with-your-ai.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Fill the canvas with your AI · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.win{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(24,33,28,.05),0 10px 24px -16px rgba(24,33,28,.25)}.bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:var(--sand);border-bottom:1px solid var(--line);font-size:.82em;color:var(--mute);font-weight:600}.bar span{width:9px;height:9px;border-radius:50%;background:var(--line2)}.bar em{font-style:normal;margin-left:6px}.body{padding:14px;display:flex;flex-direction:column;gap:10px}.msg{max-width:88%;border-radius:14px;padding:9px 12px;position:relative;transition:opacity .3s}.msg .who{display:block;font-size:.75em;font-weight:700;letter-spacing:.04em;margin-bottom:2px;color:var(--gold-d)}.msg.you{align-self:flex-end;background:var(--mint-d);color:#fff}.msg.you .who{color:#cdeedd}.msg.them{align-self:flex-start;background:var(--sand);border:1px solid var(--line)}.msg .live{top:calc(9px + var(--wh,0px))}.dots{display:inline-flex;gap:4px;position:absolute;left:12px;bottom:12px}.dots i{width:6px;height:6px;border-radius:50%;background:var(--mute);animation:b 1s infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes b{0%,60%,100%{opacity:.3}30%{opacity:1}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="Fill the canvas with your AI"></figure>
<script>const D={"title":"Fill the canvas with your AI","tag":"Example","app":"Claude","messages":[{"who":"ai","text":"Which one task do you want to start with? Not a department, one task."},{"who":"you","text":"Replying to new enquiries."},{"who":"ai","text":"What starts it, and who owns the reply today?"}]};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
loop(async()=>{const w=el('div','win');const b=el('div','bar');b.innerHTML='<span></span><span></span><span></span>';b.append(el('em',null,D.app||'Your AI'));const body=el('div','body');w.append(b,body);V.append(w);
const items=D.messages.map(m=>{const me=m.who==='you';const box=el('div','msg in '+(me?'you':'them'));const who=el('span','who',m.name||(me?'You':(D.app||'AI')));box.append(who);const live=ghosted(box,m.text);body.append(box);return{box,live,m,me,who}});fit();
for(const it of items){it.box.style.setProperty('--wh',it.who.offsetHeight+2+'px');on(it.box);if(!it.me&&!still){const d=el('span','dots');d.innerHTML='<i></i><i></i><i></i>';it.box.append(d);await wait(700);d.remove()}await type(it.live,it.m.text,it.me?28:12);await wait(500)}});</script></body></html>
```

---
Source: https://links.stratosagency.ai/r/workflow/ (Stratos House)
