{"version":2,"generated":"design-proto/build-scenes.mjs","scenes":[
{"id":"legend","sheet":"00","shape":"wide","title":"How to read the drawings","alt":"A red line runs left to right through four things in a row. They are a solid block, a tall hatched block, an arched gate and a dashed block. Solid means plain code, hatched means a model runs there, the gate is a check, dashed is an outside part, and the red line is the route of one request.","parts":[{"t":"wire","kind":"path","pts":[[-70,0,0],[470,0,0]],"arrow":true},{"t":"box","at":[0,-35,0],"size":[70,70,44],"state":"built","n":1},{"t":"box","at":[120,-40,0],"size":[80,80,96],"state":"model","n":2,"heavy":true},{"t":"gate","axis":"x","at":[250,-40,0],"span":80,"h":78,"n":3},{"t":"box","at":[320,-35,0],"size":[70,70,44],"state":"ghost","n":4}],"steps":[{"n":1,"title":"Solid block: plain code","text":"Code with no model in it, such as parsers, APIs, routers and loaders.","pin":[35,0,44],"stop":0.194},{"n":2,"title":"Hatched block: a model","text":"A model runs here. It can be an LLM or a speech or vision network.","pin":[160,0,96],"stop":0.426},{"n":3,"title":"Gate: a check","text":"A check the request has to pass, such as a validator, a filter or a person.","pin":[254,0,96],"stop":0.6},{"n":4,"title":"Dashed block: an outside part","text":"A service or app the system talks to but does not contain.","pin":[355,0,44],"stop":0.787},{"n":5,"title":"Red line: one request","text":"The route one request takes through the system.","pin":[430,0,0],"stop":0.926}],"route":[[-70,0,0],[470,0,0]],"view":{"w":582,"h":388,"origin":[118,106]},"bounds":[474,300],"legend":["built","model","gate","ghost","path"]},
{"id":"docs","sheet":"01","shape":"tall","title":"Document pipeline","alt":"A tall tower of three open floors on two posts, standing on an outlined patch of ground. A red line enters the top floor through a messy stack of documents and a hatched vision-model block, drops to a floor with a review gate, drops to a floor with a solid load block, and runs down to a neat stack of sheets on the ground.","parts":[{"t":"wire","kind":"thin","pts":[[-12,-12,0],[274,-12,0],[274,142,0],[-12,142,0]],"close":true},{"t":"wire","kind":"ink","pts":[[0,130,0],[0,130,112]]},{"t":"wire","kind":"ink","pts":[[130,0,0],[130,0,112]]},{"t":"box","at":[0,0,112],"size":[130,130,8],"state":"built","n":4},{"t":"wire","kind":"path","pts":[[65,130,120],[65,65,120],[130,65,120]]},{"t":"box","at":[35,38,120],"size":[60,54,42],"state":"built","n":4},{"t":"wire","kind":"path","pts":[[130,65,120],[130,65,0],[214,65,0]],"arrow":true},{"t":"box","at":[224,42,0],"size":[38,46,2.5],"state":"paper","n":4,"ruled":0},{"t":"box","at":[224,42,4],"size":[38,46,2.5],"state":"paper","n":4,"ruled":0},{"t":"box","at":[224,42,8],"size":[38,46,2.5],"state":"paper","n":4,"ruled":3},{"t":"wire","kind":"ink","pts":[[0,130,120],[0,130,224]]},{"t":"wire","kind":"ink","pts":[[130,0,120],[130,0,224]]},{"t":"box","at":[0,0,224],"size":[130,130,8],"state":"built","n":3},{"t":"wire","kind":"path","pts":[[130,65,232],[65,65,232],[65,130,232]]},{"t":"gate","axis":"y","at":[30,84,232],"span":70,"h":48,"n":3},{"t":"wire","kind":"path","pts":[[65,130,232],[65,130,120]]},{"t":"wire","kind":"ink","pts":[[0,130,232],[0,130,336]]},{"t":"wire","kind":"ink","pts":[[130,0,232],[130,0,336]]},{"t":"box","at":[0,0,336],"size":[130,130,8],"state":"built","n":1},{"t":"wire","kind":"path","pts":[[-44,65,344],[130,65,344]]},{"t":"box","at":[6,45,344],"size":[38,46,2.5],"state":"paper","n":1,"ruled":0},{"t":"box","at":[9,42,348],"size":[38,46,2.5],"state":"paper","n":1,"ruled":0},{"t":"box","at":[12,39,352],"size":[38,46,2.5],"state":"paper","n":1,"ruled":3},{"t":"box","at":[74,38,344],"size":[50,54,52],"state":"model","n":2,"heavy":true},{"t":"wire","kind":"path","pts":[[130,65,344],[130,65,232]]}],"steps":[{"n":1,"title":"Documents come in","text":"Documents arrive unsorted. Nothing says yet what each one is.","pin":[-26,65,344],"stop":0.08},{"n":2,"title":"A vision model reads them","text":"A vision model classifies each document and extracts its data.","pin":[99,65,396],"stop":0.166},{"n":3,"title":"A person reviews","text":"The extraction waits for a person to review it. Nothing is loaded before that.","pin":[24,104,232],"stop":0.434},{"n":4,"title":"A load that can resume","text":"The reviewed data is loaded. If the load stops partway, it picks up where it stopped.","pin":[65,65,162],"stop":0.688}],"route":[[-44,65,344],[130,65,344],[130,65,232],[65,65,232],[65,130,232],[65,130,120],[65,65,120],[130,65,120],[130,65,0],[214,65,0]],"view":{"w":515,"h":643,"origin":[200,388]},"bounds":[387,555],"legend":["built","model","gate","path"]},
{"id":"query","sheet":"02","shape":"wide","title":"Natural-language query interface","alt":"A railway track with a switch. The straight express track is the template lane. A red line takes the detour instead, through a solid retrieval tunnel and a tall hatched LLM tunnel, then rejoins the straight track, passes under a validator gate and ends at a dashed Elasticsearch cylinder.","parts":[{"t":"wire","kind":"ink","pts":[[98,0,0],[98,-122,0],[376,-122,0],[376,0,0]],"n":3},{"t":"wire","kind":"ink","pts":[[82,0,0],[82,-138,0],[392,-138,0],[392,0,0]],"n":3},{"t":"wire","kind":"thin","pts":[[103,-43.333333333333336,0],[77,-43.333333333333336,0]],"n":3},{"t":"wire","kind":"thin","pts":[[103,-86.66666666666667,0],[77,-86.66666666666667,0]],"n":3},{"t":"wire","kind":"thin","pts":[[132,-117,0],[132,-143,0]],"n":3},{"t":"wire","kind":"thin","pts":[[174,-117,0],[174,-143,0]],"n":3},{"t":"wire","kind":"thin","pts":[[216,-117,0],[216,-143,0]],"n":3},{"t":"wire","kind":"thin","pts":[[258,-117,0],[258,-143,0]],"n":3},{"t":"wire","kind":"thin","pts":[[300,-117,0],[300,-143,0]],"n":3},{"t":"wire","kind":"thin","pts":[[342,-117,0],[342,-143,0]],"n":3},{"t":"wire","kind":"thin","pts":[[371,-86.66666666666666,0],[397,-86.66666666666666,0]],"n":3},{"t":"wire","kind":"thin","pts":[[371,-43.33333333333333,0],[397,-43.33333333333333,0]],"n":3},{"t":"wire","kind":"path","pts":[[90,-42,0],[90,0,0]]},{"t":"box","at":[60,-98,0],"size":[60,56,40],"state":"built","n":3,"ruled":3},{"t":"box","at":[196,-168,0],"size":[86,76,86],"state":"model","n":3,"heavy":true},{"t":"wire","kind":"path","pts":[[282,-130,0],[384,-130,0],[384,0,0]]},{"t":"wire","kind":"ink","pts":[[-70,8,0],[90,8,0]],"n":1},{"t":"wire","kind":"ink","pts":[[-70,-8,0],[90,-8,0]],"n":1},{"t":"wire","kind":"thin","pts":[[-30,13,0],[-30,-13,0]],"n":1},{"t":"wire","kind":"thin","pts":[[10,13,0],[10,-13,0]],"n":1},{"t":"wire","kind":"thin","pts":[[50,13,0],[50,-13,0]],"n":1},{"t":"wire","kind":"ink","pts":[[90,8,0],[384,8,0]],"n":2},{"t":"wire","kind":"ink","pts":[[90,-8,0],[384,-8,0]],"n":2},{"t":"wire","kind":"thin","pts":[[132,13,0],[132,-13,0]],"n":2},{"t":"wire","kind":"thin","pts":[[174,13,0],[174,-13,0]],"n":2},{"t":"wire","kind":"thin","pts":[[216,13,0],[216,-13,0]],"n":2},{"t":"wire","kind":"thin","pts":[[258,13,0],[258,-13,0]],"n":2},{"t":"wire","kind":"thin","pts":[[300,13,0],[300,-13,0]],"n":2},{"t":"wire","kind":"thin","pts":[[342,13,0],[342,-13,0]],"n":2},{"t":"wire","kind":"ink","pts":[[384,8,0],[530,8,0]],"n":4},{"t":"wire","kind":"ink","pts":[[384,-8,0],[530,-8,0]],"n":4},{"t":"wire","kind":"thin","pts":[[420.5,13,0],[420.5,-13,0]],"n":4},{"t":"wire","kind":"thin","pts":[[457,13,0],[457,-13,0]],"n":4},{"t":"wire","kind":"thin","pts":[[493.5,13,0],[493.5,-13,0]],"n":4},{"t":"wire","kind":"path","pts":[[-70,0,0],[90,0,0]]},{"t":"wire","kind":"flow","pts":[[120,0,0],[354,0,0]],"n":2},{"t":"wire","kind":"path","pts":[[384,0,0],[552,0,0]],"arrow":true},{"t":"box","at":[-58,-22,1],"size":[34,44,2.5],"state":"paper","n":1,"ruled":0},{"t":"box","at":[-54,-26,5],"size":[34,44,2.5],"state":"paper","n":1,"ruled":3},{"t":"box","at":[76,22,0],"size":[28,22,16],"state":"built","n":1},{"t":"wire","kind":"ink","pts":[[90,33,16],[102,33,46]],"n":1},{"t":"dots","pts":[[102,33,46]],"n":1,"r":5},{"t":"box","at":[206,26,0],"size":[60,40,22],"state":"built","n":2},{"t":"gate","axis":"x","at":[456,-40,0],"span":80,"h":70,"n":4},{"t":"cyl","at":[600,0,0],"r":38,"h":54,"state":"ghost","n":5}],"steps":[{"n":1,"title":"A question and a switch","text":"Someone asks about industrial time-series data in English or German. A router picks the track.","pin":[90,33,60],"stop":0.181},{"n":2,"title":"The express track","text":"High-confidence English questions match a template and skip LLM inference. The router also has rule-based fallbacks.","pin":[236,46,22],"stop":0.181},{"n":3,"title":"Retrieve, then generate","text":"Retrieval pulls matching schemas and example queries. The LLM writes the query in Elasticsearch DSL or KQL.","pin":[239,-130,86],"stop":0.498},{"n":4,"title":"Validate","text":"A validator checks the query before it runs.","pin":[460,0,88],"stop":0.896},{"n":5,"title":"Run it","text":"Elasticsearch executes the query.","pin":[600,0,54],"stop":1}],"route":[[-70,0,0],[90,0,0],[90,-130,0],[384,-130,0],[384,0,0],[552,0,0]],"view":{"w":760,"h":507,"origin":[132,116]},"bounds":[637,419],"legend":["built","model","gate","ghost","path"]},
{"id":"tts","sheet":"03","shape":"square","title":"Gujarati text-to-speech","alt":"A round disc cut into three slices, 80, 10 and 10 percent, drawn to scale. A tall hatched cylinder stands on the large slice. That is the fine-tuned F5-TTS model. One small slice is pulled out and carries a flag reading 4.2% CER. A red line runs from the disc through the model down to a small block with a screen, the web app. Fifteen pegs stand in an arc around it with a flag reading 4.21/5 MOS.","parts":[{"t":"wedge","at":[0,0,0],"r":120,"h":16,"a0":81,"a1":369,"state":"built","n":1},{"t":"wire","kind":"path","pts":[[-85,85,16],[0,0,16]]},{"t":"cyl","at":[0,0,16],"r":46,"h":130,"state":"model","n":2,"heavy":true},{"t":"wire","kind":"path","pts":[[33,33,16],[70,70,16],[70,70,0],[200,200,0]],"arrow":true},{"t":"wedge","at":[35.640260967534715,18.159619989581874,0],"r":120,"h":16,"a0":9,"a1":45,"state":"built","n":4},{"t":"wedge","at":[18.159619989581874,35.640260967534715,0],"r":120,"h":16,"a0":45,"a1":81,"state":"built","n":1},{"t":"flag","at":[120.94117558767915,52.623426583845784,16],"h":44,"text":"4.2% CER","n":4},{"t":"cyl","at":[154.52553307564904,283.3669821299884,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[283.36698212998846,154.52553307564907,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"box","at":[198,198,0],"size":[60,60,22],"state":"built","n":3},{"t":"box","at":[198,198,22],"size":[60,8,44],"state":"paper","n":3},{"t":"cyl","at":[299.4974284540413,170.10252402341496,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[170.10252402341496,299.4974284540413,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[311.38031640737177,189.11911991985565,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[189.11911991985568,311.3803164073718,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[318.3097008771851,210.44557242535788,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[210.44557242535788,318.3097008771851,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[319.8739171974208,232.81490797435083,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[232.81490797435083,319.8739171974208,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[315.9800375485993,254.89819683449178,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[254.89819683449178,315.9800375485993,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[306.85939166459434,275.38350289172496,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[275.383502891725,306.85939166459434,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"cyl","at":[293.0538238691624,293.0538238691624,0],"r":6.5,"h":18,"state":"built","n":5},{"t":"flag","at":[299.4974284540413,170.10252402341496,18],"h":40,"text":"4.21/5 MOS","n":5}],"steps":[{"n":1,"title":"About 10 hours of speech","text":"3,300 audio-text pairs from the IIT Madras corpus, male-speaker subset. Cleaned, then split 80/10/10. The slices are to scale.","pin":[66,-66,16],"stop":0.119},{"n":2,"title":"Fine-tune F5-TTS","text":"F5-TTS is fine-tuned in PyTorch on the large slice.","pin":[0,0,146],"stop":0.405},{"n":3,"title":"Serve it","text":"The model sits behind a Gradio inference API. A Flask web app calls it, with login, synthesis history and audio downloads.","pin":[234,234,22],"stop":1},{"n":4,"title":"Check 1, error rate","text":"4.2% character error rate on 330 held-out utterances.","pin":[89.33383600216992,49.15961998958187,16],"stop":0.642},{"n":5,"title":"Check 2, listeners","text":"A separate study. 15 native Gujarati speakers rated 50 sentences. Mean opinion score 4.21 out of 5.","pin":[257.95227021005843,314.9877089551371,18],"stop":1}],"route":[[-85,85,16],[0,0,16],[70,70,16],[70,70,0],[200,200,0]],"view":{"w":592,"h":592,"origin":[270,247]},"bounds":[377,503],"legend":["built","model","path"]},
{"id":"paper","sheet":"04","shape":"square","title":"Manuscript reformatting pipeline","alt":"Two large upright pages meet at a corner like an open book. The left page is the manuscript as uploaded, with ragged lines. The right page is the reformatted result, with a title and two even columns. On the floor between them a red line runs from the left page through a rack of ten thin plates and a gate to the right page. From the front, a dashed sheet feeds a hatched block and a gate, which feed the rack.","parts":[{"t":"poly","pts":[[0,0,0],[0,210,0],[0,210,250],[0,0,250]],"state":"paper","face":"right","n":1,"sw":2.8},{"t":"wire","kind":"thin","pts":[[0,188,216],[0,38,216]],"n":1},{"t":"wire","kind":"thin","pts":[[0,174,201],[0,78,201]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,186],[0,56,186]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,171],[0,128,171]],"n":1},{"t":"wire","kind":"thin","pts":[[0,174,156],[0,30,156]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,141],[0,78,141]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,126],[0,104,126]],"n":1},{"t":"wire","kind":"thin","pts":[[0,174,111],[0,36,111]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,96],[0,68,96]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,81],[0,138,81]],"n":1},{"t":"wire","kind":"thin","pts":[[0,174,66],[0,46,66]],"n":1},{"t":"wire","kind":"thin","pts":[[0,188,51],[0,88,51]],"n":1},{"t":"poly","pts":[[0,0,0],[210,0,0],[210,0,250],[0,0,250]],"state":"paper","face":"left","n":5,"sw":2.8},{"t":"wire","kind":"ink","pts":[[50,0,216],[160,0,216]],"n":5},{"t":"wire","kind":"thin","pts":[[75,0,200],[135,0,200]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,174],[98,0,174]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,174],[188,0,174]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,159],[98,0,159]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,159],[188,0,159]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,144],[98,0,144]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,144],[188,0,144]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,129],[98,0,129]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,129],[188,0,129]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,114],[98,0,114]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,114],[188,0,114]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,99],[98,0,99]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,99],[188,0,99]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,84],[98,0,84]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,84],[188,0,84]],"n":5},{"t":"wire","kind":"thin","pts":[[22,0,69],[98,0,69]],"n":5},{"t":"wire","kind":"thin","pts":[[112,0,69],[150,0,69]],"n":5},{"t":"wire","kind":"path","pts":[[0,125,78],[0,125,0],[160,125,0],[160,0,0]]},{"t":"box","at":[18,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[29,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[40,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[51,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[62,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[73,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[84,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[95,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[106,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"box","at":[117,98,0],"size":[3.5,54,40],"state":"built","n":4},{"t":"gate","axis":"y","at":[125,52,0],"span":70,"h":58,"n":5},{"t":"wire","kind":"path","pts":[[160,52,0],[160,0,0],[160,0,56]],"arrow":true},{"t":"wire","kind":"flow","pts":[[72,400,0],[72,162,0]],"n":3},{"t":"gate","axis":"y","at":[37,212,0],"span":70,"h":52,"n":3},{"t":"box","at":[42,268,0],"size":[60,56,58],"state":"model","n":2,"heavy":true},{"t":"box","at":[50,372,0],"size":[44,56,2.5],"state":"ghost","n":2}],"steps":[{"n":1,"title":"The manuscript, as uploaded","text":"A DOCX or PDF. The backend parses its structure and pulls metadata with GROBID.","pin":[0,60,150],"stop":0.115},{"n":2,"title":"Guidelines become rules","text":"A local LLM, served by Ollama, reads the journal's written guidelines and turns them into rules.","pin":[72,296,58],"stop":0.186},{"n":3,"title":"Rules are validated","text":"The rules are validated before the transformations use them.","pin":[72,216,70],"stop":0.21},{"n":4,"title":"Ten plain transformations","text":"Ten deterministic transformations apply the rules. No model is involved from here on.","pin":[72,125,40],"stop":0.358},{"n":5,"title":"Checked and reformatted","text":"Each reference DOI is verified against Crossref. The result comes out as DOCX or PDF.","pin":[130,0,150],"stop":0.795}],"route":[[0,125,78],[0,125,0],[160,125,0],[160,0,0],[160,0,56]],"view":{"w":602,"h":602,"origin":[372,297]},"bounds":[512,514],"legend":["built","model","gate","ghost","path"]},
{"id":"meeting","sheet":"05","shape":"strip","title":"Meeting Monitor AI","alt":"A ribbon that zigzags left to right in five legs, like a waveform. A red line runs along it. Leg one has a microphone, a row of audio bars and a gate. Leg two has a hatched WhisperX block and two thin speaker strips. Leg three has a second gate. Leg four has two hatched blocks, GLiNER and Gemini, the second with a dashed outline. Leg five has a solid block and a dashed screen, the desktop overlay.","parts":[{"t":"box","at":[342,-398,0],"size":[56,185,8],"state":"built","n":4},{"t":"wire","kind":"path","pts":[[370,-185,8],[370,-370,8]]},{"t":"box","at":[345,-352,8],"size":[50,52,66],"state":"model","n":4,"ext":true},{"t":"box","at":[345,-278,8],"size":[50,48,46],"state":"model","n":4},{"t":"box","at":[398,-398,0],"size":[185,56,8],"state":"built","n":5},{"t":"wire","kind":"path","pts":[[370,-370,8],[583,-370,8]],"arrow":true},{"t":"box","at":[432,-394,8],"size":[48,48,32],"state":"built","n":5},{"t":"box","at":[520,-398,8],"size":[7,56,50],"state":"ghost","n":5},{"t":"box","at":[157,-213,0],"size":[56,185,8],"state":"built","n":2},{"t":"wire","kind":"path","pts":[[185,0,8],[185,-185,8]]},{"t":"box","at":[163,-171,8],"size":[19,62,3],"state":"paper","n":2},{"t":"box","at":[188,-171,8],"size":[19,62,3],"state":"paper","n":2},{"t":"box","at":[160,-93,8],"size":[50,54,70],"state":"model","n":2,"heavy":true},{"t":"box","at":[213,-213,0],"size":[185,56,8],"state":"built","n":3},{"t":"wire","kind":"path","pts":[[185,-185,8],[370,-185,8]]},{"t":"gate","axis":"x","at":[273,-221,8],"span":72,"h":60,"n":3},{"t":"box","at":[-40,-28,0],"size":[253,56,8],"state":"built","n":1},{"t":"wire","kind":"path","pts":[[-40,0,8],[185,0,8]]},{"t":"cyl","at":[-14,0,8],"r":17,"h":34,"state":"built","n":1},{"t":"box","at":[22,-16,8],"size":[6,32,10],"state":"built","n":1},{"t":"box","at":[34,-16,8],"size":[6,32,22],"state":"built","n":1},{"t":"box","at":[46,-16,8],"size":[6,32,34],"state":"built","n":1},{"t":"box","at":[58,-16,8],"size":[6,32,16],"state":"built","n":1},{"t":"box","at":[70,-16,8],"size":[6,32,28],"state":"built","n":1},{"t":"box","at":[82,-16,8],"size":[6,32,12],"state":"built","n":1},{"t":"box","at":[94,-16,8],"size":[6,32,20],"state":"built","n":1},{"t":"gate","axis":"x","at":[122,-36,8],"span":72,"h":60,"n":1}],"steps":[{"n":1,"title":"Live audio, minus silence","text":"Call audio comes in live. A silence filter drops chunks with no speech before the model sees them.","pin":[126,0,86],"stop":0.167},{"n":2,"title":"Transcribe and split speakers","text":"WhisperX transcribes the audio and its diarization separates the speakers.","pin":[185,-66,78],"stop":0.293},{"n":3,"title":"Drop suspect phrases","text":"A phrase filter removes lines that are likely transcription hallucinations.","pin":[277,-185,86],"stop":0.506},{"n":4,"title":"Entities, then a cue","text":"GLiNER extracts entities. Gemini generates a contextual sales cue.","pin":[370,-254,54],"stop":0.669},{"n":5,"title":"Send the cue","text":"FastAPI sends the cue to a desktop overlay.","pin":[456,-370,40],"stop":0.872}],"route":[[-40,0,8],[185,0,8],[185,-185,8],[370,-185,8],[370,-370,8],[583,-370,8]],"view":{"w":997,"h":333,"origin":[103,145]},"bounds":[908,198],"legend":["built","model","gate","ghost","path"]},
{"id":"med","sheet":"06","shape":"square","title":"SynthMed","alt":"A large upright phone stands on the left with a report on its screen. A red line loops from the phone into an open tray, which is the local machine. Inside the tray the line passes a solid extraction block, three gates in a row and a tall hatched MedGemma block, then returns past a sheet of paper to the phone.","parts":[{"t":"box","at":[-110,-22,0],"size":[14,134,240],"state":"built","n":1,"heavy":true},{"t":"poly","pts":[[-96,-12,26],[-96,102,26],[-96,102,224],[-96,-12,224]],"state":"paper","face":"top","n":1},{"t":"wire","kind":"thin","pts":[[-96,2,200],[-96,88,200]],"n":1},{"t":"wire","kind":"thin","pts":[[-96,2,176],[-96,88,176]],"n":1},{"t":"wire","kind":"thin","pts":[[-96,2,152],[-96,88,152]],"n":1},{"t":"wire","kind":"thin","pts":[[-96,2,128],[-96,88,128]],"n":1},{"t":"wire","kind":"thin","pts":[[-96,2,104],[-96,88,104]],"n":1},{"t":"wire","kind":"thin","pts":[[-96,2,80],[-96,46,80]],"n":1},{"t":"wire","kind":"path","pts":[[-96,20,0],[60,20,0]]},{"t":"box","at":[60,-62,0],"size":[390,236,10],"state":"built"},{"t":"poly","pts":[[60,-62,10],[450,-62,10],[450,-62,34],[60,-62,34]],"state":"built","face":"left"},{"t":"poly","pts":[[60,-62,10],[60,174,10],[60,174,34],[60,-62,34]],"state":"built","face":"right"},{"t":"wire","kind":"path","pts":[[60,20,0],[60,20,10],[406,20,10],[406,116,10],[60,116,10],[60,116,0],[-80,116,0]],"arrow":true},{"t":"box","at":[92,-12,10],"size":[56,64,44],"state":"built","n":2},{"t":"gate","axis":"x","at":[176,-16,10],"span":72,"h":58,"n":3,"post":8,"th":8},{"t":"gate","axis":"x","at":[210,-16,10],"span":72,"h":58,"n":3,"post":8,"th":8},{"t":"gate","axis":"x","at":[244,-16,10],"span":72,"h":58,"n":3,"post":8,"th":8},{"t":"box","at":[296,-20,10],"size":[70,80,104],"state":"model","n":4,"heavy":true},{"t":"box","at":[196,92,10],"size":[64,48,2.5],"state":"paper","n":5,"ruled":3},{"t":"poly","pts":[[60,174,0],[450,174,0],[450,174,34],[60,174,34]],"state":"built","face":"left"},{"t":"poly","pts":[[450,-62,0],[450,174,0],[450,174,34],[450,-62,34]],"state":"built","face":"right"}],"steps":[{"n":1,"title":"A report, from the phone","text":"The Android app is where a medical report is picked and sent to the backend.","pin":[-96,45,150],"stop":0.014},{"n":2,"title":"Read the report","text":"The FastAPI backend extracts text from the PDF or image. OCR retries on failure, then drops to fallback processing.","pin":[120,20,54],"stop":0.205},{"n":3,"title":"Three checks","text":"The backend adds checks on model requests for units of measure, drug interactions and guideline thresholds.","pin":[214,20,86],"stop":0.29},{"n":4,"title":"MedGemma, run locally","text":"MedGemma analyzes the report. It is served locally through Ollama.","pin":[331,20,114],"stop":0.396},{"n":5,"title":"A structured answer","text":"The backend builds a structured response.","pin":[282,116,13],"stop":0.712}],"route":[[-96,20,0],[60,20,0],[60,20,10],[406,20,10],[406,116,10],[60,116,10],[60,116,0],[-80,116,0]],"view":{"w":727,"h":727,"origin":[236,359]},"bounds":[639,621],"legend":["built","model","gate","path"]},
{"id":"measure","sheet":"07","shape":"wide","title":"Image-based 3D object measurement","alt":"The same box drawn three times along a red line that climbs to the right. First it is a solid box with four photo cards standing around it. Then it is only a cloud of dots, with a few stray dots outside, and a hatched depth-model block beside it. After a gate it is a clean box with three dimension arrows marked W, D and H.","parts":[{"t":"wire","kind":"dim","pts":[[-39,-556,56],[39,-556,56]],"n":5,"text":"W","off":[10,-12]},{"t":"box","at":[-39,-540,0],"size":[78,112,56],"state":"built","n":5,"heavy":true},{"t":"wire","kind":"dim","pts":[[63,-540,0],[63,-428,0]],"n":5,"text":"D","off":[18,12]},{"t":"wire","kind":"dim","pts":[[59,-544,0],[59,-544,56]],"n":5,"text":"H","off":[16,5]},{"t":"wire","kind":"path","pts":[[0,130,0],[0,-422,0]],"arrow":true},{"t":"gate","axis":"y","at":[-52,-350,0],"span":104,"h":84,"n":4},{"t":"box","at":[-214,-246,0],"size":[72,80,70],"state":"model","n":3,"heavy":true},{"t":"wire","kind":"flow","pts":[[-142,-206,0],[-55,-206,0]],"n":3},{"t":"dots","pts":[[31.3723869434895,-228.45857408966802,56.16357152148316],[19.874386768031115,-176.509045111951,56.679573022378406],[40.03950676673069,-233.90523690376673,20.956960937453882],[16.45695441819586,-208.05864085283068,54.11418249998902],[33.72589339419542,-149.6128363195401,38.5560808137786],[38.176931388991385,-158.5807191771831,20.845765551946016],[-27.456941140329903,-229.68999970573466,58.18630849369164],[15.676345564972767,-151.1325457755628,49.15971219593646],[-0.848758409893493,-147.95515116325353,23.600809495710212],[-9.671746100844697,-221.3365568257107,56.07427427571932],[-8.039225317788881,-230.61771987803175,55.16285823176748],[10.927886069485867,-150.21081602559929,13.060912935557269],[39.08121763243397,-190.84066209632005,35.523585984261516],[40.0411587793106,-158.012264700845,22.216437256995793],[-12.196985756371628,-148.5263944910962,18.513590776600683],[36.888649611449175,-250.02570257546645,45.87447806721296],[-34.325021370698245,-149.76320212532917,54.22126408839657],[9.356796028025824,-148.07717303073832,7.716524351256213],[40.30563914487401,-163.97815066272304,50.8346893055526],[-22.12515527411604,-252.89933752287146,54.65688140325103],[37.690242781858075,-205.28115198145673,38.50141790439441],[-11.740423637088586,-161.8946407695276,53.5148488697665],[36.60498603345127,-188.66331184756166,51.6385539265529],[37.45837587209343,-199.85716047154605,54.61388377897157],[6.371160020060442,-255.13379866612786,57.070386799317966],[-34.351832111762754,-151.8461986488412,6.177156283602657],[40.91567839794591,-160.17459305546927,2.0754123637803885],[38.59800922642369,-156.37836583372126,42.833551359751056],[37.673738586331595,-163.6674275855382,22.30482214982846],[39.60755485580655,-198.24260509374673,19.680538145676504],[16.058668010662622,-150.941427535583,23.674131199565778],[40.86095624433875,-148.56391221939768,35.41481779674758],[11.314026731445471,-246.5494692186124,57.35700772463205],[38.73334506490889,-209.6774097714468,10.480455373637591],[1.7279160158838716,-148.71426713476623,31.44525360662735],[18.56275587112771,-149.79154436955767,1.4570556811322717],[16.067143953669422,-228.62081002449656,55.645854498793305],[23.362005930329676,-167.78887162883248,56.90452159447806],[39.505213315135435,-258.0559092771988,42.670890604458236],[36.901353077218566,-259.8129855563459,7.613761834620387],[-36.03054362141087,-195.77520723234636,54.168234133938434],[13.424908906652078,-232.2851951563662,55.613010576978795],[38.582186344583604,-177.46759674091246,22.225460848876025],[22.25793586939477,-150.74343333078707,56.04361937406642],[-24.257458531650464,-196.61659053718512,54.863612348848775],[6.845383798864381,-152.12384321476512,26.915431292222546],[-16.941935371347675,-150.43267943567255,0.23325665305985913],[-19.341738750618763,-157.18493724972242,55.68416580566399],[39.8092081166381,-153.84542469184166,44.85351717325557],[-7.279639411149382,-149.6628720882176,27.83005356966986],[40.1448754992545,-185.58430408504063,35.43766422357301],[38.935282090415846,-149.03043742130066,24.53140210385034],[38.21383431028288,-220.0162483595853,4.435960905829426],[40.43502917556792,-180.79938885676646,53.49033571290333],[25.359470585295686,-248.83785216991689,56.67597175630553],[40.86025566391659,-201.6651105508977,24.809236321975124],[38.670046731908826,-232.21929304661197,38.45209165962976],[8.940421432461791,-234.46784909999363,55.1899752671318],[38.03832359311093,-161.6288754749712,6.491654026551011],[-31.110611540084058,-216.5407624086555,57.98925238777383],[-21.460803995356336,-157.52368263156325,54.0841692702771],[-37.29918582960926,-148.74438386934082,45.466360962701195],[-10.885405184880552,-181.701112231799,56.44097026714169],[39.487773028662325,-185.31993237222542,41.084873151539306],[9.240750600928795,-238.05868369832575,54.61519605438932],[8.797490828809089,-147.972406510018,45.518498885221085],[16.333582593981916,-215.64876395983097,57.523354749206156],[34.33329512357399,-206.27988322953686,57.831466236306106],[40.790828304035045,-182.10990805998907,50.83834457529632],[41.243248284674834,-242.4124585296551,7.0135731766994915],[-30.794414084541806,-230.8105167603635,58.28291100113788],[-23.687117288441915,-258.3678330671358,54.207836945405155],[-3.7114649388061185,-238.8815894994799,53.96755201670693],[-1.359428196148682,-149.94609377460839,45.256903356526465],[41.32619462992353,-217.18754043415538,34.348905419161966],[40.51355720312034,-183.95326921178648,33.78859712266764],[17.329128825957486,-189.34332570146924,55.43475767361687],[-31.59466614578602,-150.72890919550736,3.715382439883138],[-25.26246952952932,-152.23909632989162,35.8354866373518],[23.912605389213464,-163.2795223713757,55.09112343871553],[29.3961214613617,-147.5332583184509,44.61811445868486],[8.808574604945523,-215.7495093574978,57.27662696120172],[40.567447471463794,-235.00958876894302,48.02270217240914],[-13.779817573856475,-148.14982501354527,14.183695226061948],[40.598831766331024,-204.60532069071445,48.53584262008585],[37.92699830533331,-152.26015640830627,38.714820157138085],[30.11831399966884,-242.9560148592368,57.57998659372329],[20.779693422969284,-151.34090095937293,46.41413596198621],[-35.61857057042353,-196.67902063493568,57.767229565543694],[39.312357860529964,-171.09801485231054,11.617034474209433]],"n":2},{"t":"dots","pts":[[74,-268,84],[88,-202,20],[-60,-126,66],[44,-112,4],[100,-150,60]],"n":4,"r":2.4},{"t":"wire","kind":"ink","pts":[[-118,-40,0],[-118,-40,30]],"n":1},{"t":"box","at":[-135,-42,30],"size":[34,4,30],"state":"paper","n":1},{"t":"wire","kind":"ink","pts":[[-110,54,0],[-110,54,30]],"n":1},{"t":"box","at":[-127,52,30],"size":[34,4,30],"state":"paper","n":1},{"t":"box","at":[-39,-50,0],"size":[78,112,56],"state":"built","n":1},{"t":"wire","kind":"ink","pts":[[104,-52,0],[104,-52,30]],"n":1},{"t":"box","at":[87,-54,30],"size":[34,4,30],"state":"paper","n":1},{"t":"wire","kind":"ink","pts":[[112,42,0],[112,42,30]],"n":1},{"t":"box","at":[95,40,30],"size":[34,4,30],"state":"paper","n":1}],"steps":[{"n":1,"title":"Overlapping photos","text":"Several photos of one object from different viewpoints, resized and preprocessed.","pin":[0,6,56],"stop":0.054},{"n":2,"title":"Points in space","text":"COLMAP runs structure from motion. It returns the camera poses and a sparse cloud of points.","pin":[0,-206,56],"stop":0.507},{"n":3,"title":"Depth, then real scale","text":"DPT-Large estimates depth for each photo. Scale recovery lines the depth up with the points and fuses them.","pin":[-178,-206,70],"stop":0.609},{"n":4,"title":"Drop the strays","text":"DBSCAN removes outlier points before anything is measured.","pin":[0,-346,102],"stop":0.862},{"n":5,"title":"Width, depth, height","text":"A FastAPI endpoint, POST /measure, returns the three dimensions. They were checked against manual measurements.","pin":[0,-484,56],"stop":1}],"route":[[0,130,0],[0,-422,0]],"view":{"w":834,"h":556,"origin":[218,432]},"bounds":[715,468],"legend":["built","model","gate","path"]},
{"id":"isp","sheet":"08","shape":"square","title":"ISP operations plane","alt":"A long low patch panel with nine sockets in a row on its face. Five dashed blocks and cylinders stand behind it, the outside network systems. A red line comes from the middle one, out of the middle socket and down to a low table that holds a ruled sheet and a blank sheet. It then turns along the front past the thin outline of a block, an arched gate, a solid block and a second gate, and ends at a short stack of sheets.","parts":[{"t":"box","at":[13,-130,0],"size":[40,40,56],"state":"ghost","n":1},{"t":"wire","kind":"ghost","pts":[[33,-90,0],[33,-68,0]],"n":1},{"t":"cyl","at":[98,-110,0],"r":20,"h":44,"state":"ghost","n":1},{"t":"wire","kind":"ghost","pts":[[98,-90,0],[98,-68,0]],"n":1},{"t":"box","at":[143,-130,0],"size":[40,40,66],"state":"ghost","n":1},{"t":"cyl","at":[228,-110,0],"r":20,"h":44,"state":"ghost","n":1},{"t":"wire","kind":"ghost","pts":[[228,-90,0],[228,-68,0]],"n":1},{"t":"box","at":[273,-130,0],"size":[40,40,56],"state":"ghost","n":1},{"t":"wire","kind":"ghost","pts":[[293,-90,0],[293,-68,0]],"n":1},{"t":"wire","kind":"path","pts":[[163,-90,0],[163,-68,0]]},{"t":"box","at":[0,0,0],"size":[326,16,70],"state":"built","n":2,"heavy":true},{"t":"box","at":[16,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[50,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[84,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[118,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[152,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[186,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[220,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[254,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"box","at":[288,16,24],"size":[22,5,22],"state":"paper","n":2},{"t":"wire","kind":"path","pts":[[163,21,35],[163,21,0],[163,112,0]]},{"t":"wire","kind":"path","pts":[[198,150,0],[340,150,0]]},{"t":"wire","kind":"path","pts":[[380,150,0],[448,150,0]],"arrow":true},{"t":"box","at":[118,112,0],"size":[80,72,8],"state":"built","n":3},{"t":"box","at":[126,120,8],"size":[32,46,2.5],"state":"paper","n":3,"ruled":3},{"t":"box","at":[163,134,8],"size":[28,38,2.5],"state":"paper","n":3},{"t":"wire","kind":"thin","pts":[[256,133,32],[290,133,32],[290,167,32],[256,167,32]],"n":4,"close":true},{"t":"wire","kind":"thin","pts":[[256,167,32],[256,167,0],[290,167,0],[290,133,0],[290,133,32]],"n":4},{"t":"wire","kind":"thin","pts":[[290,167,32],[290,167,0]],"n":4},{"t":"gate","axis":"x","at":[308,114,0],"span":72,"h":60,"n":4},{"t":"box","at":[340,130,0],"size":[40,40,36],"state":"built","n":5},{"t":"gate","axis":"x","at":[402,114,0],"span":72,"h":60,"n":5},{"t":"box","at":[460,127,0],"size":[38,46,2.5],"state":"paper","n":5,"ruled":0},{"t":"box","at":[460,127,4],"size":[38,46,2.5],"state":"paper","n":5,"ruled":0},{"t":"box","at":[460,127,8],"size":[38,46,2.5],"state":"paper","n":5,"ruled":3}],"steps":[{"n":1,"title":"Five kinds of network system","text":"Telemetry comes from GPON, RouterOS, RADIUS, SNMP and TR-069 systems.","pin":[163,-110,66],"stop":0},{"n":2,"title":"Nine adapters, 59 tools","text":"The 59 tools sit in one registry across 9 adapters. The registry is validated against a schema.","pin":[62,8,70],"stop":0.245},{"n":3,"title":"A diagnosis with its evidence","text":"Telemetry is combined into a diagnosis with supporting evidence. A connection diagnostic with a required measurement missing comes back inconclusive.","pin":[142,168,8],"stop":0.457},{"n":4,"title":"Dry run, then approval","text":"An action workflow starts with a dry run and waits at an approval step.","pin":[312,150,78],"stop":0.771},{"n":5,"title":"Checked and recorded","text":"Execution is checked, and the workflow leaves an audit record.","pin":[479,150,11],"stop":1}],"route":[[163,-90,0],[163,0,0],[163,0,35],[163,21,35],[163,21,0],[163,150,0],[448,150,0]],"view":{"w":538,"h":538,"origin":[106,159]},"bounds":[441,450],"legend":["built","gate","ghost","path"]},
{"id":"workbench","sheet":"09","shape":"square","title":"Workbench","alt":"A workbench on legs with an upright pegboard along its back edge. Two hatched plates, two solid plates and a ruled sheet hang on the board. On the bench top a red line leaves a dashed hatched block, the coding agent, crosses a strip cut into three pieces, passes under two arched gates and runs to the end of the bench. A toolbox with two sheets in front of it stands on the floor beside the bench, with an arrow pointing at the bench.","parts":[{"t":"box","at":[0,-8,100],"size":[300,8,126],"state":"paper","n":4},{"t":"dots","pts":[[30,0,124],[30,0,164],[30,0,204],[70,0,124],[70,0,164],[70,0,204],[110,0,124],[110,0,164],[110,0,204],[150,0,124],[150,0,164],[150,0,204],[190,0,124],[190,0,164],[190,0,204],[230,0,124],[230,0,164],[230,0,204],[270,0,124],[270,0,164],[270,0,204]],"n":4,"r":1.8},{"t":"box","at":[22,0,150],"size":[40,7,46],"state":"model","n":4},{"t":"box","at":[76,0,150],"size":[40,7,46],"state":"model","n":4},{"t":"box","at":[140,0,160],"size":[34,7,36],"state":"built","n":4},{"t":"box","at":[188,0,160],"size":[34,7,36],"state":"built","n":4},{"t":"box","at":[242,0,144],"size":[38,2.5,54],"state":"paper","n":4},{"t":"wire","kind":"thin","pts":[[248,2.5,188],[274,2.5,188]],"n":4},{"t":"wire","kind":"thin","pts":[[248,2.5,177],[274,2.5,177]],"n":4},{"t":"wire","kind":"thin","pts":[[248,2.5,166],[274,2.5,166]],"n":4},{"t":"wire","kind":"thin","pts":[[248,2.5,155],[262,2.5,155]],"n":4},{"t":"box","at":[290,0,0],"size":[10,10,90],"state":"built"},{"t":"box","at":[0,140,0],"size":[10,10,90],"state":"built"},{"t":"box","at":[290,140,0],"size":[10,10,90],"state":"built"},{"t":"box","at":[0,0,90],"size":[300,150,10],"state":"built","heavy":true},{"t":"wire","kind":"path","pts":[[64,75,100],[290,75,100]],"arrow":true},{"t":"box","at":[14,50,100],"size":[50,50,64],"state":"model","n":1,"ext":true},{"t":"box","at":[82,51,100],"size":[18,52,3],"state":"paper","n":2},{"t":"box","at":[109,51,100],"size":[18,52,3],"state":"paper","n":2},{"t":"box","at":[136,51,100],"size":[18,52,3],"state":"paper","n":2},{"t":"gate","axis":"x","at":[194,39,100],"span":72,"h":56,"n":3},{"t":"gate","axis":"x","at":[238,39,100],"span":72,"h":56,"n":3},{"t":"wire","kind":"flow","pts":[[352,104,0],[314,104,0]],"n":5},{"t":"box","at":[352,50,0],"size":[64,44,34],"state":"built","n":5},{"t":"wire","kind":"ink","pts":[[366,72,34],[366,72,46],[402,72,46],[402,72,34]],"n":5},{"t":"box","at":[350,122,0],"size":[34,44,2.5],"state":"paper","n":5,"ruled":3},{"t":"box","at":[392,122,0],"size":[34,44,2.5],"state":"paper","n":5,"ruled":3}],"steps":[{"n":1,"title":"A command from the coding agent","text":"Claude Code is a coding agent. Workbench is a setup kit for it, and its hooks check a shell command before it runs.","pin":[39,75,164],"stop":0},{"n":2,"title":"Read segment by segment","text":"Hooks read each shell command segment by segment, so a word inside a commit message or a grep pattern triggers nothing.","pin":[145,99,103],"stop":0.119},{"n":3,"title":"Denied, or asked first","text":"Stash, destructive commands and reads of .env, ~/.ssh and ~/.aws are denied. A push or a pull request asks first. A commit runs the repo's CI checks first.","pin":[198,75,174],"stop":0.69},{"n":4,"title":"What hangs on the board","text":"Two review agents, a reviewer and a gate runner. Two skills. A CLAUDE.md template for advisory rules, and a memory index per repo.","pin":[69,0,210],"stop":1},{"n":5,"title":"An installer that dry-runs","text":"It dry-runs by default and prints the plan and a JSON diff. It backs up settings before writing, and its merge lets your own values win.","pin":[388,144,3],"stop":1}],"route":[[64,75,100],[290,75,100]],"view":{"w":614,"h":614,"origin":[213,274]},"bounds":[447,526],"legend":["built","model","gate","ghost","path"]},
{"id":"sdn","sheet":"10","shape":"square","title":"SDN controller","alt":"Two tall towers stand side by side at the back with a small dashed cylinder between them. One tower is solid and the other is only an outline. A red line starts in front of a solid block, the policy API, passes under an arched gate and through a dashed database cylinder, turns through the solid tower, then turns again toward the front and stops at a low wall. The wall cuts the links between two dashed pods behind it and three in front of it. A hatched block beside the API has an arrow pointing into it.","parts":[{"t":"wire","kind":"ink","pts":[[280,-166,190],[324,-166,190],[324,-122,190],[280,-122,190]],"n":2,"close":true},{"t":"wire","kind":"ink","pts":[[280,-122,190],[280,-122,0],[324,-122,0],[324,-166,0],[324,-166,190]],"n":2},{"t":"wire","kind":"ink","pts":[[324,-122,190],[324,-122,0]],"n":2},{"t":"cyl","at":[310,-68,0],"r":14,"h":20,"state":"ghost","n":2},{"t":"wire","kind":"path","pts":[[-80,0,0],[-26,0,0]]},{"t":"wire","kind":"path","pts":[[56,0,0],[262,0,0]]},{"t":"box","at":[-130,-25,0],"size":[50,50,60],"state":"model","n":5,"heavy":true},{"t":"box","at":[0,-28,0],"size":[56,56,46],"state":"built","n":1},{"t":"gate","axis":"x","at":[112,-36,0],"span":72,"h":56,"n":1},{"t":"cyl","at":[196,0,0],"r":28,"h":44,"state":"ghost","n":1},{"t":"box","at":[280,-22,0],"size":[44,44,190],"state":"built","n":2,"heavy":true},{"t":"cyl","at":[242,96,0],"r":20,"h":20,"state":"ghost","n":3},{"t":"wire","kind":"ink","pts":[[242,116,0],[242,160,0]],"n":4},{"t":"cyl","at":[362,96,0],"r":20,"h":20,"state":"ghost","n":3},{"t":"wire","kind":"ink","pts":[[362,116,0],[362,160,0]],"n":4},{"t":"wire","kind":"path","pts":[[302,22,0],[302,134,0]],"arrow":true},{"t":"box","at":[218,160,0],"size":[168,10,24],"state":"built","n":4,"heavy":true},{"t":"wire","kind":"ink","pts":[[242,170,0],[242,206,0]],"n":4},{"t":"cyl","at":[242,226,0],"r":20,"h":20,"state":"ghost","n":3},{"t":"wire","kind":"ink","pts":[[302,170,0],[302,206,0]],"n":4},{"t":"cyl","at":[302,226,0],"r":20,"h":20,"state":"ghost","n":3},{"t":"wire","kind":"ink","pts":[[362,170,0],[362,206,0]],"n":4},{"t":"cyl","at":[362,226,0],"r":20,"h":20,"state":"ghost","n":3}],"steps":[{"n":1,"title":"One source of truth","text":"A FastAPI policy API is the source of truth. Policies are validated with Pydantic and stored in PostgreSQL.","pin":[28,0,46],"stop":0.209},{"n":2,"title":"Two controllers, one master","text":"Two Ryu OpenFlow controllers run as a high-availability pair. ZooKeeper leader election picks one master.","pin":[302,0,190],"stop":0.698},{"n":3,"title":"Watch, then reconcile","text":"A Kubernetes watcher follows pod events and a database watcher picks up policy changes. The controller reconciles flows.","pin":[362,226,20],"stop":0.876},{"n":4,"title":"Block rules, marked by a cookie","text":"High-priority DROP rules go in between matched source and destination sets. An OpenFlow cookie lets them be purged and reinstalled without touching baseline flows.","pin":[238,165,24],"stop":1},{"n":5,"title":"A closed loop","text":"An IsolationForest model flags anomalies on synthetic traffic and posts a block policy to the API.","pin":[-105,0,60],"stop":0}],"route":[[-80,0,0],[302,0,0],[302,134,0]],"view":{"w":650,"h":650,"origin":[178,235]},"bounds":[562,456],"legend":["built","model","gate","ghost","path"]},
{"id":"vpn","sheet":"11","shape":"wide","title":"WireGuard VPN provisioner","alt":"A dashed pipe runs between a solid block on the left and a dashed block on the right. A red line enters the solid block through a thin dashed plate, comes out toward the front and runs alongside the pipe. On the way it passes between two keys lying on the ground and crosses a ruled sheet. It then passes two upright cards, one with a QR pattern and one with ruled lines, and turns back to end at the dashed block.","parts":[{"t":"wire","kind":"path","pts":[[-110,0,0],[0,0,0]]},{"t":"box","at":[-56,-36,0],"size":[8,72,60],"state":"ghost","n":1},{"t":"box","at":[0,-40,0],"size":[80,80,80],"state":"built","n":1,"heavy":true},{"t":"poly","pts":[[80,14.142135623730951,25.85786437626905],[80,17.320508075688775,30],[80,19.318516525781366,34.82361909794959],[80,20,40],[80,19.318516525781366,45.17638090205041],[80,17.320508075688775,50],[80,14.142135623730951,54.14213562373095],[80,10.000000000000002,57.32050807568877],[80,5.176380902050415,59.31851652578136],[80,1.2246467991473533e-15,60],[80,-5.176380902050417,59.31851652578136],[80,-9.999999999999996,57.32050807568878],[80,-14.14213562373095,54.14213562373095],[435,-14.14213562373095,54.14213562373095],[435,-9.999999999999996,57.32050807568878],[435,-5.176380902050417,59.31851652578136],[435,1.2246467991473533e-15,60],[435,5.176380902050415,59.31851652578136],[435,10.000000000000002,57.32050807568877],[435,14.142135623730951,54.14213562373095],[435,17.320508075688775,50],[435,19.318516525781366,45.17638090205041],[435,20,40],[435,19.318516525781366,34.82361909794959],[435,17.320508075688775,30],[435,14.142135623730951,25.85786437626905]],"state":"paper","face":"top","n":5,"ext":true},{"t":"poly","pts":[[435,20,40],[435,19.318516525781366,45.17638090205041],[435,17.320508075688775,50],[435,14.142135623730951,54.14213562373095],[435,10.000000000000002,57.32050807568877],[435,5.176380902050415,59.31851652578136],[435,1.2246467991473533e-15,60],[435,-5.176380902050417,59.31851652578136],[435,-9.999999999999996,57.32050807568878],[435,-14.14213562373095,54.14213562373095],[435,-17.320508075688775,50],[435,-19.318516525781362,45.17638090205042],[435,-20,40],[435,-19.31851652578137,34.823619097949596],[435,-17.32050807568877,30],[435,-14.142135623730955,25.85786437626905],[435,-10.000000000000009,22.67949192431123],[435,-5.176380902050413,20.681483474218634],[435,-3.673940397442059e-15,20],[435,5.176380902050423,20.681483474218638],[435,10.000000000000002,22.67949192431123],[435,14.142135623730947,25.857864376269045],[435,17.320508075688767,29.999999999999993],[435,19.318516525781366,34.82361909794959]],"state":"paper","face":"top","n":5,"ext":true},{"t":"box","at":[435,-35,0],"size":[70,70,70],"state":"ghost","n":5},{"t":"wire","kind":"path","pts":[[40,40,0],[40,130,0],[470,130,0],[470,42,0]],"arrow":true},{"t":"box","at":[120,104.5,0],"size":[62,7,5],"state":"built","n":2},{"t":"box","at":[158,111.5,0],"size":[7,8,5],"state":"built","n":2},{"t":"box","at":[171,111.5,0],"size":[7,6,5],"state":"built","n":2},{"t":"cyl","at":[108,108,0],"r":16,"h":5,"state":"built","n":2},{"t":"cyl","at":[108,108,5],"r":6,"h":0,"state":"paper","n":2},{"t":"box","at":[134,148.5,0],"size":[62,7,5],"state":"paper","n":2},{"t":"box","at":[172,155.5,0],"size":[7,8,5],"state":"paper","n":2},{"t":"box","at":[185,155.5,0],"size":[7,6,5],"state":"paper","n":2},{"t":"cyl","at":[122,152,0],"r":16,"h":5,"state":"paper","n":2},{"t":"cyl","at":[122,152,5],"r":6,"h":0,"state":"built","n":2},{"t":"box","at":[216,102,0],"size":[46,56,2.5],"state":"paper","n":3,"ruled":4},{"t":"box","at":[290,98,0],"size":[52,4,70],"state":"paper","n":4},{"t":"wire","kind":"ink","pts":[[296,102,46],[310,102,46],[310,102,60],[296,102,60]],"n":4,"close":true},{"t":"dots","pts":[[303,102,53]],"n":4,"r":2.6},{"t":"wire","kind":"ink","pts":[[322,102,46],[336,102,46],[336,102,60],[322,102,60]],"n":4,"close":true},{"t":"dots","pts":[[329,102,53]],"n":4,"r":2.6},{"t":"wire","kind":"ink","pts":[[296,102,20],[310,102,20],[310,102,34],[296,102,34]],"n":4,"close":true},{"t":"dots","pts":[[303,102,27]],"n":4,"r":2.6},{"t":"dots","pts":[[316,102,58],[316,102,50],[316,102,40],[324,102,40],[332,102,40],[298,102,40],[306,102,44],[320,102,32],[328,102,26],[336,102,32],[320,102,18],[334,102,16],[328,102,12],[316,102,24]],"n":4,"r":2},{"t":"box","at":[352,98,0],"size":[44,4,70],"state":"paper","n":4},{"t":"wire","kind":"thin","pts":[[359,102,58],[389,102,58]],"n":4},{"t":"wire","kind":"thin","pts":[[359,102,47],[389,102,47]],"n":4},{"t":"wire","kind":"thin","pts":[[359,102,36],[389,102,36]],"n":4},{"t":"wire","kind":"thin","pts":[[359,102,25],[389,102,25]],"n":4},{"t":"wire","kind":"thin","pts":[[359,102,14],[376,102,14]],"n":4}],"steps":[{"n":1,"title":"Provisioning, behind Nginx","text":"The provisioner runs on Ubuntu Server and sits behind Nginx.","pin":[40,0,80],"stop":0.113},{"n":2,"title":"Generate the keypair","text":"It generates the WireGuard keypair.","pin":[122,152,5],"stop":0.496},{"n":3,"title":"Write the peer config","text":"It writes the peer config.","pin":[226,148,3],"stop":0.642},{"n":4,"title":"A QR code and an XML profile","text":"It exports a ready-to-scan QR code and an XML client profile.","pin":[396,100,70],"stop":0.736},{"n":5,"title":"No manual setup step","text":"The manual setup step drops out of VPN rollout.","pin":[258,0,60],"stop":1}],"route":[[-110,0,0],[40,0,0],[40,130,0],[470,130,0],[470,42,0]],"view":{"w":746,"h":497,"origin":[188,150]},"bounds":[566,409],"legend":["built","ghost","path"]}]}
