Files
speech-on-dgx-spark/docs/en/assistant.md
T

964 KiB
Raw Blame History

Assistant and panel

← README

Voice chat

The Assistant page needs the microphone, which browsers only allow over https; the panel therefore also listens on https://SPARK:31443 with a self-signed certificate (one browser warning). The LLM connection is under Settings → Language model (default: the own language model behind the LLM-Tor, http://127.0.0.1:31006/v1). "Model" offers the models the server reports (/v1/models, admin only, kept 60 seconds, "Reload" asks at once); "Automatic" takes the first, "Type another …" opens a text field, which also stays (with the reason) when the list cannot be read. Thinking is off for the chat so the answer starts at once. An animated face shows listening, thinking and speaking, its mouth follows the voice; it stands only in the assistant, on every other page "Ask Spark" at the top (computer: next to "Spark" in the side menu, phone: top bar) starts talking. Faces: Robot (default), Comic (spiky hair, short mustache above the upper lip) Comic (woman) (long dark hair, side parting, lashes, lips that open when speaking) and Wave (no face: on a calm tile one line that runs out softly at both ends; while speaking the middle swings with the loudness, a faint echo behind it, while listening it follows the microphone, on an error it turns red; colours only from the panel, light and dark by themselves; companions as a still, Pebble as a line). The comic faces look around, blink, raise their brows, tilt their head and show the state with a ring: grey idle, blue listening, yellow thinking, green speaking, red error. Every profile picks its face under Me → Conversation → Display (Default, Robot, Comic, Comic (woman), Wave), valid on all its devices (panel, iPhone app under Settings → Face, companions as a still, Pebble); Default takes the admin's pick under Settings → Defaults → Face, which applies to guests, shared devices and everybody without an own pick; the presets never copy a face into a profile. The server only takes fixed names (profiles.FACES), every device asks through profiles.face_of; more faces go into static/js/face.js. The small picture before each answer shows the chosen face too. The switch "Gesicht zeigt, was es tut" (off) shows a sign beside the head, taken only from panel events, never from the model's text: a magnifier for searches (web, documents, earlier conversations), a calendar sheet for calendar and briefing, a letter for mail, a light bulb for Home Assistant, a note pad for memory and reminders, thought bubbles while thinking. After a completed action it is pleased and winks, on errors it looks puzzled with a question mark, after 5 minutes without conversation or use it sleeps ("zzz"); a tap, key or the mouse wake it.

Start page and password: the panel opens with the assistant. Status, settings, voices and logs need the panel password (button "Settings"; the login ends after 7 days without use and renews while in use). "Assistant without password" under Settings → Security is off on new installs: guests are locked out, profiles sign in with name and PIN (devices with a key keep working), the admin with "Admin". Switched on, the assistant is open to everyone on the network. Guests only get questions and answers: the model answers from its own knowledge without any tool (no web search, timers, briefing, memory, history on the Spark, smart home); above the history it says "Without a profile: questions and answers only" with Sign in. This also holds for a voice a shared speaker does not recognize as its owner's, and for the admin in a browser without an own profile. Change the password under Settings → Security; scripts can use HTTP Basic.

Release: what the admin switches on under Features works at once for every profile, without a per-profile switch. Only the admin blocks single profiles (People and devices → Blocked functions or in the function's detail). A profile only sets up its part (place, account, device) and can only switch off what the Spark does unasked (notes on its own, phone notifications, the morning sheet, night speaker updates); these are on from the start.

Blocked, but own data: when the admin blocks a function for a profile, its page under Me disappears; the data stays the profile's. While something is left, Me shows a card: "The admin blocked "Weather" for you (People and devices → Blocked functions). Stored: 1 entry." with "Delete data" (asks first). It deletes exactly what deleting on the function's page removes, passwords and keys included (place, stop, calendars, mailboxes, address books, reminders, voice samples, Home Assistant connection, Telegram link, paired devices, MCP connections and services, the reMarkable with its documents, knowledge folders, rules of "Proactive" and of inbox tidying); then the card goes. Not included: all documents at once and chats, because others belong to them. Technically every module registers its data in features.OWN (count, delete); /api/whoami names under locked only function, page and count, never contents; deleting goes through DELETE /api/profile/owndata/{key} (only the own browser login, never a device key or guest, only while blocked, rate limit owndata). Journal: "profiles: own data deleted while blocked | weather | 1 entries …" (area memory).

On the phone: below 760 px the page opens with the big face (tap = talk) and two buttons: "Settings" opens "Me" ("Hey Spark" at the top), "History" the messenger view (bar with arrow back to the face, small face, state, profile, menu; the history; at the bottom text field and mic button, stop during the answer). The browser remembers the view open last. The menu (☰) holds new conversation, earlier conversations, conversation settings, language, light/dark and, for admins, every tab.

Like the app: on a phone (below 760 px) the page looks like the iPhone app, the same on iPhone and Android. At the bottom the tabs Spark (conversation), Today (setup, cards and sentences as Me → Overview, below them "My pages": Calendar, E-mail, Lists, Open, Contacts, Knowledge book, Find, Collections, Dungeon Master and Open WebUI, as far as released, in the menu's order), Me and Manage, by role (guests only Spark, Manage only admin); one's own documents are under Me → Documents (no own tab since V01.1.482, the bar has 5 at most). Spark shows the face (smaller once there are bubbles), history, mic button and text field; top left "New" and "History" (sheet from below, swipe down closes), on the right only "● N notes" and "⋯": it holds Search, Read aloud, Conversation settings and Report a fault (guests: the menu). The conversation's column is as high as the visible part of the window (Safari from iOS 26 lays its bar over the page, 100dvh alone cut the tabs off). Between 761 and 1100 px (iPad upright, narrow window) the side menu shows symbols only, the name shows when pointing at it; the tiles under Status then stand two by two. On a phone one's own pages (Calendar, E-mail, Lists, Open, Contacts, Knowledge book, Find, Collections) run the full width without a card around them, the footer with the version and "What's new" stands only under the lists Today and Manage. Me and Manage are lists like the iOS settings; sub-pages slide in from the right, "‹ Back" or the back gesture goes one level back. Manage: status, Features, People and devices, Settings, Logs, Update, Backups, Appearance. Under Appearance "Show the computer layout" switches to the other phone view (this browser only), the menu's "Show like the app" returns. So every page of the menu is reachable in portrait too, not only in the sidebar in landscape; in the other phone view the menu lists a profile's own pages, an admin all of them. Presentation only: no own endpoints, the server checks rights. Bubbles start about 16 px from the edge and run up to 40 px before the other edge; "Read again" and "Delete" show only after a tap on the message, below the bubble.

Typing comes first: while something is typed into the text field, the face draws only about ten instead of sixty pictures a second (until 1.5 s after the last letter), and the page asks only four times a second which face is on screen. Typing stays smooth on slow phones, tablets and in the Android app. In the iPhone app the line to type in is its own view; a letter redraws only that line.

Typing comes first, part 2: while text stands in the field, the field is marked "hastext" (not "typing", so the waiting dots .typing::after do not run invisibly). The face's loading wheel turns only while it shows (thinking, searching). The conversation is closed off (#chatlog{contain:strict}), so a letter does not lay out every bubble of a long conversation again.

Quick start and tidier pages: an admin's page start on a slow phone takes about 2 s. Jump links check menu visibility once per frame. The cards under Status (Listening now, Services, NAS, Usage and others) ask the Spark only while Status is open, all together when it opens. The text behind „Guide“ is written at the first tap; there is no page of all guides any more. The start page goes out gzipped (about 40 KB), every script and style file carries its fingerprint: after an update the browser loads only what changed and keeps the rest up to a year. On computers the face column is 320 px wide (buttons and switches one below the other). Away from the assistant every page ends with room for the floating face. Status has a menu like Settings: symbols and the blocks Watch (Summary, Live, Logs), Check (Checks, Improve, Hands-on test) and Technology (Usage, Models, Architecture); the footer stands at the bottom of the window. On phones „Manage“/„Verwalten“ fits whole into the back button. Features and People and devices have symbols too; every group of Features carries the symbol of the same group under Me. The profile list shows a coloured circle with initials, one line "last … · 2 devices · 30 facts", setup as a bar with "14/15", a chevron (the whole line opens the person), search field and selects of one height, "+ New profile" beside the count; devices show their kind as a symbol (speaker, iPhone app, watch, terminal, Home Assistant, own key).

As an app on your phone: open https://SPARK:31443 in the phone's browser, accept the certificate warning, then "Add to Home screen" (iPhone: Safari → Share → "Add to Home Screen"). The assistant starts full screen with its own icon. Because of the self-signed certificate Android creates a shortcut, without an entry in the app list.

Better recognition: a fixed default language (Settings → Speech recognition) instead of "auto" helps most with short sentences. The "Context" field takes often misheard names and terms, which the model then prefers. 1.7B is more accurate than 0.6B and needs about 2–3 GiB more.

Second recognizer: Parakeet. Under Settings → Speech recognition → "Recognizer" the admin picks Qwen3-ASR (GPU) or Parakeet (primeline/parakeet-primeline, a German fine-tune of NVIDIA Parakeet TDT 0.6B v3; the download is the int8 ONNX export flozen1981/parakeet-primeline-onnx, run via sherpa-onnx; idea from winidi/dictate). Parakeet runs on the CPU (about 1 GiB), the Qwen3-ASR engine is stopped meanwhile. It ignores the context field, a stream returns the text in one piece. The first start downloads about 640 MB.

Conversation comfort: the assistant knows the date and time (the browser's time zone; can be turned off under Settings → Language model). Conversations are kept (for profiles on the Spark) and can be reopened and continued from the list "Conversations"; the bin at the top deletes the open one. With "live transcript" the text appears while you speak; recognition is usually done by the pause.

Assistant page "speak first" (since V01.1.489, Dominik 2026-11-16, plan assistent-entschlacken/plan.md, no switch): on a computer and a tablet the assistant is one card instead of three columns (face, list, conversation). While the conversation is empty it shows the start view: the face big, its state ("Ready.", "listening for "Hey Spark""), the suggestions "Try this" and "Recent" with the three newest conversations. With the first question the face becomes small and stands on the left of the header, its state beside it; the conversation stands in a reading width in the middle. The header has the button for the conversations, the title, "New", "● N" (what needs you under Open, a click shows the list, instead of the line "Still open" above the conversation) and "⋯" with the switches "Hey Spark", Room, Hands-free and Read aloud, "Conversation settings" and "Delete this conversation". One speaks with the round button in the text field (the microphone while the field is empty, a stop while an answer runs, the send arrow with text), the space bar or a click on the face. Times and reminders stand small above the text field. On the phone "Recent" and the suggestions stand below the face while the conversation is empty. The page opens the last conversation as before; the start view comes with "New".

Conversations as a list (since V01.1.453, no switch): instead of a drop-down the conversations stand as a list, grouped by Today, Yesterday, Last 7 days and Older, each row with the title, the last answer in one line and the time; the open one is blue. On top "+" for a new conversation and "Search all conversations". Since V01.1.489 the button on the left of the header opens the list over the conversation at every width (on a computer as a drawer from the left); a pick, Escape, a click beside it or the button close it. On the phone the button is in the menu under "Earlier conversations". The list only redraws what changed (keyFill), nothing jumps.

Calm answers (since V01.1.453, no switch): what an answer used (tools, origin such as "Source: e-mail") stands in one grey line. The buttons under an answer (thumbs, "⋯") only show when you point at the answer, on a phone after a tap; their room stays, nothing jumps. Rare buttons (Report, To the reMarkable, To the knowledge book, To "My documents") are behind "⋯" in the same row. The buttons of a note the assistant sent by itself ("Less of this", "Not now") show the same way.

Conversations by topic (since V01.1.454, Features → Conversations by topic, chat.convo_topics, off; never guests or an unknown voice): every topic gets its own conversation, by fixed rules of the panel (gespraechsthema.entscheide): a new one begins after a 30 minute pause (PAUSE_S) or when the Weiche puts the question into another group than the conversation's (calendar, weather, parcel …), 3 minutes have passed since the last question (WECHSEL_S) and the question is no follow-up; small talk, questions about the Spark and about memory never count as a change of topic. Before the first word the turn tells the page (event "thema"); it puts question and answer into a new conversation and shows a line "New conversation". The conversation carries the group of its first question as a symbol in the list. After the first answer the language model writes a short name in the background from the first question only (never from an answer, so never from mail or web text; task "Gespräch benennen", speech goes first; at most 48 characters, one line, no marks). With the pen in the header you rename it yourself, an own name is never overwritten; the pin pins it (at most 20, profiles.MAX_PINNED): pinned ones stay on top and never go into the archive. Beyond profiles.MAX_CONVOS the oldest go into the archive (convos-archiv.json, sealed, at most 500) instead of being lost; "Load older conversations" under the list shows them page by page, a question in one brings the conversation back. Continuing needs nothing of its own: the page sends the last messages along, and "Summarize long conversations" brings back what no longer fits. Notes the Spark says by itself no longer go into the conversations. Endpoints: POST /api/profile/convos/meta (name, pin; 2 KB, rate limit), GET /api/profile/convos/archiv?vor= (30 per page); both 403 while the function is off. Log (area Conversation): "thema neu pause|wechsel" or "gleich" with the group, "name ok|leer|fehler", "meta ok|abgelehnt", "archiv N dazu, M im Archiv", never a text.

Guides: every service that can be switched on has an openable guide (what it does, what you need, setup, example phrases, what leaves the house, switching off, troubleshooting): next to its switch under Features and at the top of its page under "Me". There is no page "Guides" of its own any more since V01.1.391 (it repeated in some 300 folding lines without a search what stands next to every switch): the search (Ctrl K, group "Guides") finds every guide and opens it at its place. The four guides without a switch and without a Me page stand where they are needed: "Hey Siri, ask Spark", "Pebble watch" and "Open WebUI and own programs" in their card under People and devices → Apps and interfaces, "Firmware by hand" at the bottom of the details of the system updates (the button "Install by hand" opens it); "Set up a Synology" stands at the top of Me → Storage. A manager no longer has the menu entry Features (it only showed the guides there). Groups are the same everywhere: Conversation, My day, Mail and documents, Home, On the go and devices, Security and access. Texts in app/panel/static/js/guides.js; a self-test checks that no switch is left without a guide and group.

Weather, contacts, parcels: three small services, off by default; once the admin releases them under Features they work for every profile (each profile sets up place and address book under "Me"), never for guests. Weather comes straight from Open-Meteo (no key, only the coordinates leave, own address configurable); the Spark builds fixed sentences from the numbers, also for the briefing and the proactive weather note. Contacts reads an address book over CardDAV (iCloud: https://contacts.icloud.com with an app-specific password, Nextcloud, others) once a day, kept encrypted: phone numbers, e-mail addresses, birthdays (briefing and notice), names instead of addresses in mail; contact text counts as outside text. Parcels recognises shipping mails of DHL, Hermes, DPD, GLS, UPS and Amazon in the own mailbox (14 days; the inbox and every other folder except sent, drafts, trash, spam and the collected views, since V01.1.412, also own folders like "Deliveries"; the mail server searches only for the carriers' senders, nothing is changed) and says what comes today, is on its way, waits for pick-up or was delivered; no carrier is asked, parcel lines count as mail text. Parcels above the mail list (idea from pl_mail, part of "Parcels", no switch of its own): above the inbox stand at most 3 open parcels, the ones coming today first, from the last reading (memory or the sealed supply; if it is older than 10 minutes the Spark reads again in the background, never while the page waits). "Track" opens only the carrier's fixed tracking page (DHL, Hermes, DPD, GLS, UPS) with the tracking number, never a link from the mail; Amazon has none. ✕ hides a parcel until it has a new state (POST /api/profile/parcels/hide, kept in the sealed supply). Live (node e-mail): today N× parcels shown. Log mail: parcels strip shown | <count>, mail: parcel hidden, mail: parcel hide refused. iPhone: the same lines above the list.

Telegram: your own bot from @BotFather (guide in the panel). The admin switches it on under Features and enters the token (encrypted); the Spark polls Telegram itself, no open port needed. Each profile links its Telegram under "Me" with a one-time code (10 minutes) and writes or sends voice messages (recognition on the Spark). Strangers get one fixed sentence, groups nothing. Per profile, all off at first: answers as voice messages, notifications over Telegram, personal data (calendar, mail, contacts, parcels, documents; also in notifications) and switching the smart home, only with the code word. Commands: /neu, /stimme, /trennen. When a message names a panel place ("Me → Telegram"), it gets "Open in the panel" if the panel address for links (https) is set under Features → Telegram.

Own speakers (ESP32): ESP32-S3 boards (16 MB flash, PSRAM, INMP441 microphone, MAX98357A amplifier, e.g. XiaoZhi breadboard boards) become a voice assistant in the room. Firmware: the open XiaoZhi firmware at a fixed version, German, wake word "Jarvis", no cloud address; a GitHub Action (.github/workflows/firmware.yml, settings in firmware/xiaozhi.json) builds it as release fw-<version>. The Spark fetches the newest daily (or on a button), checks every file against manifest.json and keeps the previous one. Set up under "Me" → Speakers: over USB from Chrome or Edge (Web Serial, esptool-js 0.5.7 in the panel) the browser writes firmware and a settings block (Wi-Fi, Spark address, device key); the Wi-Fi password never reaches the Spark. Without a PC a board shows or says a 6-digit code. Each speaker is a device key of its profile (voice, memory, smart home with code word, room). Updates at start over Wi-Fi (per device "auto" can be switched off) or over USB. Admin switch chat.esp32, off at first, released for every profile; the reverse proxy must pass WebSockets. Variants: no display, OLED 128×32, OLED 128×64, colour display, Waveshare ESP32-S3-AUDIO-Board (round, ES8311 audio chip, two microphones; display and camera optional). Updates follow the board type reported at start; the no-display variant never touches the display pins and loads no font or emoji. Start check only by POST of at most 16 KB, at most 3 open codes per address, firmware only from github.com downloads with a size limit.

Device updates: Features → "Device updates" (admin, off by default) makes the Spark look for firmware for speakers, Android app and Spark companion every 6 hours, only from GitHub's download addresses, with size and checksum from the manifest; Look now in Status → Device updates asks at once. The card shows per kind of device the version on the Spark, the last check and every device with its version. Profiles with such a device and the profile for admin notes get one notification per new version (not for the version present at switch-on). The companion shows its own updates. My status has one row per kind of device ("update comes tonight", "1 of 2 up to date"), the live view the target "Geräte-Updates" with counts. Update speakers at night (sub-switch; on for every profile, can be switched off under Me → Conversation → Devices → "Update my speakers at night", plus "Updates by themselves" at the speaker): boards fetch firmware only when they start. In the night window (default from 05:15 for 60 minutes, after the nightly Spark update) the Spark first restarts one connected, unused speaker; if it comes back with the new version within 10 minutes, the others follow one by one at least 30 minutes apart. Otherwise the round stops for this version, owner and admin get a notification, and it goes on only after Go on distributing in Status. Never during a conversation, in room mode, during a test, a Notaus or own Notaus, and never during a Spark update. Firmware 2.5.2.8 builds on XiaoZhi 2.5.2 (commit 49b4380): uniform I2S for microphone and speaker, an unreadable serial number is ignored; all own patches (own server only, board without display, wait instead of dropping sound, Notaus button, quiet at once on the wake word, stop while it speaks) apply. Boards take only newer versions by update; going back to 2.5.1.7 only over USB.

Interrupting a speaker: while an own speaker talks, the board only listens for its wake word "Jarvis" (with echo cancelling where the board has a reference channel, such as Waveshare) or the button, and is then quiet at once: the firmware drops the rest of its play queue (firmware/patch_unterbrechen.py) and listens. Saying only "Stopp", "Halt", "Ruhe", "Hör auf" or "Danke, das reicht" (fixed word list stoppwort.py, whole sentence) sends nothing to the language model: the speaker stays quiet and waits for its wake word; Check shows "Stopp gehört". Other questions are answered. Stop while it speaks (admin: Features → Own speakers → Stop while it speaks, off at first, then for every profile) works without the wake word: at every connection the Spark asks the board through the MCP tool self.spark.stop_word (firmware/patch_stoppwort.py) to keep its microphone on while speaking; only boards with a reference channel do so (breadboard boards do not). The Spark cuts what it hears into pieces (at most STOP_PIECE = 3 s, one recognition at a time; a piece arriving meanwhile is checked after it, never thrown away); only a whole sentence from stoppwort.stop counts, not when it is in the last four sentences said (echo). It then sends tts stop with spark_quiet (the board drops its queue), ends the answer without a second plain stop and closes the connection as after a whole "Stopp": the board waits for its wake word, nothing listens on. Nothing is stored; the log only says "stop word while speaking", the live overview counts "Lautsprecher hört auf „Stopp““ under connections. When the switch goes off, an asked board is told "off" once at its next connection.

Stopping means off: a whole sentence of stop words or a goodbye ("Stopp", "Halt", "Hör auf", "Schon gut", "Danke, das reicht", "Tschüss", "Danke, das war's", in English "stop", "be quiet", "that's all", "bye") ends the talk everywhere by a fixed rule, never through the model: one list in stoppwort.py for page, apps, Begleiter, Telegram, Siri, speakers, phone, barge-in and room mode. The chat checks before the switch (chat_turn.prepare): no model answer, no tool, nothing stored, a waiting question back lapses, log only "chat: ende stopp | web". The answer is the event ende: page and Android app write "Stopped.", the Begleiter stops reading aloud, Telegram and Siri get "Okay." or "Tschüss!". Afterwards no device opens the microphone by itself, not even with hands-free. "Stopp die Musik" or "Halt, wie spät ist es?" stay questions; "Gute Nacht" only ends a phone call; "Nicht jetzt" to a note of the Spark stays that note's feedback (two hours' pause). "Hey Spark, stopp" only stops: no tone, no microphone. The page keeps a turn number: Stop, a new or another conversation (also from Find, Open and Me) and a stop word end the turn; afterwards neither the end of the sound nor a running recognition nor returning to the tab opens the microphone; during "Transcribing …" Stop works and the question is not sent. When nothing listens any more, the page releases the microphone track. An answer always lands in the conversation it was asked in. The Android app closes the connection on Stop; the Begleiter does not ask a wake-word question when "microphone closed" or pause came meanwhile. Kill switch stage 3 ends whatever is talking (laufend.py, see Security and operation); Home Assistant Assist stops computing as soon as Home Assistant aborts. The iPhone app has its own list.

Questions wait (idea from OpenFuse): a question typed in the chat while the Spark still answers no longer cuts the answer off: it stands in a line above the text field ("Waiting until the answer is done") and goes out on its own once the answer and the voice are done, in order, at most 5. Each waiting question has "Send now" (stops the current answer) and ✕. Stop or a stop word holds the line: the questions stay and only go out by hand; a newly typed question then goes at once. With a picture attached a question goes at once as before. The queue lives only in the open page (chat.js, users.js sendTyped), nothing on the Spark.

Checking a speaker: under Me → Speakers every speaker has a Check button. It shows whether the admin switch is on and the profile not blocked, whether there is firmware for the board variant, whether the board ever checked in, which address is in the board (warning for https://<IP> or port 31443, whose self-signed certificate the board refuses, for localhost and a missing address) and what the speaker did lately: start check, connection, refused connection with reason, wake word, microphone (length, loudest moment and mean in dB, speech yes/no), what was understood and sound sent back. These lines stay in memory only (40 per speaker, gone when the panel restarts) and follow live (every 2 seconds while the page is visible); in room mode it only says that a sentence was heard and whether it speaks in a pause, never what was heard. Check network asks the address from the Spark the way the board does: GET /api/esp32/ping (answers with a marker of this Spark) and a WebSocket with x-spark-probe: 1; this shows whether the address leads to this Spark, the certificate is accepted, the reverse proxy redirects or blocks WebSockets. Allowed like Home Assistant (home network yes, the Spark's own service ports no), only these two paths, answers of at most 4 KB, six checks in ten minutes per profile; without NAT loopback on the router it can fail although the board reaches the Spark. Test: sound and microphone plays the soft tone and a test sentence at the next "Jarvis" or button press (at once when connected) and checks the microphone with the next sentence: the speaker says what it understood or that it heard nothing. Read the board's log (USB) connects the board in Chrome or Edge, restarts it and reads for 45 seconds; the page translates known lines (Wi-Fi, certificate refused, Spark unreachable, status 403, pairing code, conversation connection, crash, brownout, sound error). The text stays in the browser, words like token or password are blacked out; Copy takes it along for a bug report. Every speaker has a Volume slider (0 to 100; the Spark sends it at every connection through the MCP tool self.audio_speaker.set_volume, at once when connected) and a Microphone choice less sensitive / normal / more sensitive (speech threshold about −41, −47 or −53 dB). A level from about −47 dB (normal) and three times above the background noise counts as speech; quiet recordings are raised up to 20 times before recognition. The log shows "esp32: microphone at …" with length and level, the start checks ("esp32: start check from …") and the reason of every refused connection. The Spark buffers the sound: it starts only with 0.6 seconds ready, keeps at most 0.7 seconds in flight (the board holds 1.2 seconds) and after a stall collects 0.3 seconds again. When speech output could not keep up, Check shows "Ton stockte N-mal" and the log "esp32: sound stalled"; if it stutters without that line, the board's Wi-Fi is the cause. When its buffer is full the board waits instead of dropping sound; the connection then slows the Spark down. The board fetches new firmware at its next start (unplug it briefly).

Speaker page: Me → Speakers shows "My speakers" at the top (one line per speaker with its state: connected, room mode until, update available) and "Add a speaker" with Set up a new board over USB (Chrome/Edge on a PC) and Board shows a code. Tapping a speaker opens its page: Sound (volume, microphone), Room mode ("Listen now" Start/Stop, duration, how much it may say, What it may offer with the same seven kinds as in the browser, stored per speaker on the Spark, room in Home Assistant, detect more, and with "Ignore TV voices" also who it listens to and trial), Voice (teach "My voice through this speaker"), Firmware (version, update now, updates by themselves, rewrite the firmware over USB), Check (checks with a readable board name, check network, sound and microphone test, live recent events, board log over USB) and Remove speaker at the bottom. Admin: Features → Own speakers shows the firmware state and the address with Check address (like "Check network", admin only, at most 6 checks in 10 minutes). Under People and devices and Me → Security speaker keys are marked "Speaker, managed under Me → Speakers" and cannot be moved to another profile.

Lists for shopping and tasks: "Put milk on the shopping list", "What is on my to-do list?". Admin switch, off at first, then for every profile. Each of the two lists lives either on the Spark (an iPhone shortcut with the device key fetches new entries via POST /api/tasks/inbox?list=einkauf, header X-Speech-Device, into the Reminders app; a GET only reads) or in a CalDAV task list of a calendar account (Nextcloud, mailbox.org, Radicale). Adding happens at once, ticking off and deleting by voice only after "Yes". After outside text the assistant adds nothing in the same answer.

Page Lists: the lists have their own page in the menu (after E-mail, only with the function) and in the iPhone app under My things → Lists; Me → Overview and Today in the app show the shopping with its number and first entries. Besides shopping and tasks there are up to 20 own lists (name, symbol; rename, delete with entries); "Put screws on the DIY store list" reaches an own list, the assistant never makes an unknown one. Every entry shows who put it on, when and from where (page, app, voice, Telegram, phone, watch, reMarkable, job, …). Ticking off on the page is one tap without a question; ticked off entries stay 14 days under "Recently done" with "Bring back". The shopping list sorts by departments (fixed word list, never the model) and adds up amounts ("milk 2x" and "3 milk" become "milk 5×"). Endpoints: GET /api/profile/tasks, POST /api/profile/listen, PUT/DELETE /api/profile/listen/{id}, POST /api/profile/tasks/{list} (/done, /undo), DELETE /api/profile/tasks/{list}/{entry}; each with login, profile binding, CSRF, 8 KB and rate limit listen; looking and deleting also work while the profile is blocked. Log: lines tasks: with fixed words and numbers only (an own list is "own", never its name); Status → Live shows with the calendar only counts of own lists and of entries added and ticked off today. Tests: app/tests/test_listen.py.

Lists like Apple Reminders (Apple style stage 4, plan "7a"): on the left the search across all lists, four tiles Today (due today or earlier), Scheduled (with a date, by day), All and Flagged, below them the lists with colour (ten fixed colours) and symbol; lists and entries are dragged with the mouse into one's own order, an entry dropped on a list on the left moves there. At the end of every list stands an empty row: type, Enter, the next entry (several with commas). ⓘ on every entry opens beside it (on a phone as a sheet from below) title, note, date, time, remind, flagged, priority (!, !!, !!!) and list; every field saves at once, "Delete" there only for the list's owner. The date is the same field "due" as for tasks from meetings. Remind needs date and time and the function Timers and reminders (Functions → Timers and reminders): then it becomes a reminder of the profile that set it and rings on its devices like any other; ticking off, deleting or a new time take it back. Ticked off entries stand under "N done · Show". The iPhone app shows the same tiles, colours, the row "New reminder", info per entry and "Edit" to sort. Lists in Reminders passes time, note and priority (DUE, DESCRIPTION, PRIORITY) and takes them back from there. Endpoints: PUT /api/profile/tasks/{list}/{entry} (info, with to move: away only as the owner, there only with write along), PUT /api/profile/tasks/{list}/order, PUT /api/profile/listen/order, colour via PUT /api/profile/listen/{id} (color); the same rules as above. Log: tasks: edit|move|sort … and tasks: list order with numbers only.

Share lists: its own admin switch under Functions → Lists for shopping and tasks, off at first; released, it holds for every profile, guests never. The owner of a list shares it on the page Lists with "Share …" (or in the iPhone app) per profile: off, see or add to it (adding and ticking off; deleting, renaming and sharing stay with the owner). Lists from a calendar account (CalDAV) cannot be shared. Shared lists stand under "Shared with me" with "from …", also in the app; by voice: "Put butter on Sabine's shopping list". Whoever a list is not shared with does not learn it exists (same answer as for no list); whoever may only see gets a clear no when adding. Others' entries arrive at most every 10 minutes bundled as a note ("Anton put 3 entries on "Shopping"."), switched off with "Note on new entries" (each profile's setting). The assistant reads shared entries as outside data (tasks_show outside), never as a command. Endpoint: PUT /api/profile/listen/{id}/share with {to, level}, login, profile binding, CSRF, 8 KB, rate limit listen; a shared list is u_….{list} there. Log: tasks: list share | ok see|add|off and tasks: add einkauf shared | … with profiles.log_name, never names or contents; Status → Live only counts shared lists. Tests: Teilen in app/tests/test_listen.py.

Lists in Reminders: its own admin switch under Functions → Lists for shopping and tasks, off at first; it works with the calendar server for calendar apps (Functions → Calendar and daily briefing). A profile's own lists on the Spark (shopping, tasks, own lists; not a list in a calendar account, never another profile's, no shared one) show as task lists (VTODO) under /caldav/<profile>/liste-<list>/ in the iPhone's Reminders app (or Thunderbird, DAVx5 with tasks.org), through the same CalDAV account and app password as the Spark calendars. Both ways: putting on, ticking off, bringing back and deleting in Reminders change the list on the Spark and vice versa (ctag and etags). What comes in is data: exactly one VTODO with a title, of it only the title (cut) and whether it is done; else 415; a wrong If-Match 412; at most as many entries as a list holds. An entry from Reminders shows the source "iPhone Reminders" and keeps object name and UID. The door is the calendar server's: app password, only the own path, My emergency stop, rate limit caldav. Log: tasks: lines with "from calendar app", never the entry; Status → Live counts changes from Reminders with the calendar. Plus a widget "Shopping" for the home and lock screen of the iPhone app: the open entries of the shopping list, reloaded on every list change in the app, else about every 30 minutes (the iPhone's key, only with the lists released). Code: app/panel/listendav.py, ios/SparkWidgets/SparkWidgets.swift; tests: app/tests/test_listendav.py.

Write link: its own admin switch under Functions → Lists for shopping and tasks → "Write link", off at first; released, it holds for every profile, only the admin blocks single ones. On the page Lists at an own list "⋯" → "Share …" → "Link for people without a profile": expiry 7 days, 30 days or 1 year, optionally "may see the list", then "Make link". Link (https://<panel>/#liste=<code>) and QR code show only once; the Spark keeps only the code's hash (mitschreib-links.json in the state folder), at most 20 open links per profile. The link opens a small page with the list's name: entry (several with commas), optionally a name, "Put on"; with "see" also the open entries (texts only). No ticking off, no deleting, no other list, no tool, no model. The entry shows the source "write link" and the typed name, the note to the others says "name (Link)". The assistant reads such entries as outside text. "Revoke" works at once; expiry, a deleted list, a list in a calendar account or the switch turned off end the link as well. Protection: the code stands after the # and reaches neither the proxy nor the panel log, other sites (Origin) are refused, its own rate limit, wrong codes lock like a wrong PIN, the owner's Mein Notaus holds every entry off. Log only "tasks: link made 30d | Profil …", "tasks: link refused | bad code"; State → Live counts open links, entries through them and refusals. On the iPhone under Lists → list → "Share …", with QR code and "Pass on the link".

Everything open in the assistant: what needs you comes as a card with buttons into the day's conversation (the main conversation of "One conversation for all channels"): urgent finds from "For you" (bill, contract, reply, suspicion) and reminders that rang. In the conversation the card is small (since V01.1.482): symbol and title, below two lines at most, two buttons and "⋯" with all further ones, "Later: …" and "On the page Open"; the page Open shows it whole. On the card you deal with it at once ("Done", "Remind me", "Not important", "More of this") or open the place to go on ("Add to calendar …", "Draft a reply …", "Draft a cancellation …"; nothing is sent or saved before that place). "Later" puts the card away: this evening (6 pm, in the evening in three hours), tomorrow morning (8 am), next week (Monday 8 am) or no time; at that time it comes back once as "Wieder da: …" into the conversation and as a notification on one device. The page Open in the menu (after Lists, only with the function; Android through the panel view) shows Needs you, Later (by time), Done (7 days, with "Bring back"), the list on the left, the card on the right; on a computer a button "● N" on top of the conversation stands for what needs you (a click shows the list; the page's notes stand beside the bug there), on a phone a button "● N" on top of the assistant counts the notes and what needs you together (a tap shows both as a sheet with "Show everything under Open"), the menu entry carries the number, Me → Overview a card. iPhone app: cards in the conversation, My things → Open, a Today card. Done on one device is done everywhere. Technology: vorgaenge.py keeps vorgaenge.json per profile (one Vorgang per key fuerdich:<id> or erinnerung:<id>, state offen · gesehen · spaeter · erledigt · weg, counter rev). The conversation keeps only the number (vg) on an assistant message; every page draws the card from the store (GET /api/profile/vorgaenge?seit=<rev>; the stream /api/profile/vorgaenge/stream sends numbers only). Buttons are fixed names (vorgaenge.AKTIONEN); POST /api/profile/vorgaenge/act checks owner, kind, the source's rules (fuerdich.acts), state (rev, else 409 with the new state) and emergency stop, then the source's function runs. For you and the Vorgang are marked together. Only the panel makes a Vorgang, never the model; a sender from a mail stays text. Admin switch "Everything open in the assistant" under Timers and reminders, off at first, then for every profile (can be blocked), guests never. Open → Settings removes the done ones or all; mails and reminders stay. Everything open: proposals with a yes button: when the assistant proposes something that happens only after your yes (a new appointment, moving or deleting one, sending a mail by voice, tidying the mailbox, saving a draft), the card "Waiting for your yes" stands under the answer with exactly what would happen (what, when, where, calendar; for a mail to, subject, text). The first button says what it does ("Add", "Move", "Delete", "Send", "Save as draft", "Do it") and acts like a typed "yes"; then the card shows the checked result ("Added to „Privat“"). "Change …" opens the Calendar page's form for an appointment, the E-mail page's writing window for a mail, both filled in; only there is it saved or sent. "Cancel" drops the proposal. The card also stands on the page Open under "Needs you" and in the iPhone app, so you confirm proposals from a speaker or from Telegram on the phone. It lasts as long as the proposal (15 minutes, mail by voice 5 minutes), has no "Later" and closes after an answer in the conversation, a newer proposal or the time ("Answered in the conversation", "New proposal", "Expired"). At the press the panel checks owner, state, emergency stop and the module's switches again (such as "Send mails"); a mail's text stays only while it waits. The card comes with "Everything open in the assistant", also without "Show steps and approvals"; without it the yes/no card of "Show steps and approvals" stays. Meeting tasks under Open: when the Spark companion puts a meeting's tasks onto a list ("Ausgewählte auf die Liste"), every new task also becomes a card "From a meeting" under Open (not in the conversation), with the list, the meeting time and "due" as its deadline. "Done" ticks the list entry off, "Bring back" brings it back, "Not important" only hides the card. The card follows the list: ticked off (page, voice, app, iPhone Reminders) done, taken back open, deleted gone. Overdue tasks stay open. Technology: kind besprechung in vorgaenge.ARTEN, key besprechung:<list>:<entry>, vorgaenge.from_meeting, tasks.card_follows, tasks.tick_from_card. Technology: profiles.pending_set reports every waiting proposal to vorgaenge.from_pending (kind vorschlag, key vorschlag:<name>:<time>, words from the module's card(): calendars, senden, tidy). The yes button (vs_ja, stage ja) calls the same function as the typed "yes" (calendars.carry, senden.carry, tidy.carry_out) and answers {text, gelungen}; vorgaenge.sweep closes the cards after every answer and every minute. The approval card (ablauf.waiting) carries the number (vg), the panel and the iPhone then show the card. Live (calendar node) counts waiting proposals and those confirmed by button today.

Agent functions: the assistant works longer for you. Admin: Features → "Jobs" on and a level per profile: off (default), read and report only or also act after "Yes". The profile sees its jobs under Me → Jobs. Never guests, other voices or ESP32 speakers.

  • Background jobs: "Research which heat pump fits the pool and let me know." The job runs in the background (search, read pages, with "my data" also appointments, reminders, documents), then a notification comes by browser, iPhone app and Telegram (as set under Me → Notifications). The report is under Me → Jobs and in the log, on request as a document under "My documents" (switch "Also keep every report under "Documents"" or "As document" at the job). Limits: one job at a time on the Spark, it waits while someone talks to the assistant; 8 rounds, 4 searches, 5 pages, 12 tool calls, 15 minutes, 20,000 characters; 3 waiting and 20 jobs per day and profile. Reading tools only; the report counts as outside text and is never learned.
  • Scheduled jobs: "Sum up my appointments of the week every Monday at 7." The assistant reads the plan back in fixed words, it is saved only after "Yes". Once, daily, weekdays, weekly or monthly, at most 10, pause and delete under Me → Jobs. If the Spark was off for more than 3 hours at the planned time, that run is skipped.
  • Watching and own tasks: "Let me know when there is new firmware for my FRITZ!Box." or "Tell me as soon as the flight to Rome costs less than 100 euros." The panel recognizes the sentence itself, reads the watch out in fixed words (name, how often, price limit) and makes it only after "Yes"; default daily at 8. Each run is a reading job; the model only names candidates (FUND: value | address | quote). A find is new only when the panel checks: page read in this run or returned by the search, quote stands there word for word, value is in the quote, amount below the price limit, value not yet known. Only then a notification in fixed words (value and address) goes out, otherwise only the history (14 days) records the run. After 5 errors in a row or 90 days without anything new the watch pauses itself and says why. At most 10 per profile. Change by voice ("Watch that every Monday instead", after "Yes", can be undone) or under Me → Jobs → Own tasks: one list with search and filters for watches, scheduled jobs, repeating reminders, smart home rules of "Speaking up by itself" and important mail senders; every row has a switch (off = paused, stays saved), the detail has change, "Check now", "Forget what is known", history and delete. A paused reminder rings on no device. The iPhone app shows watches and scheduled jobs under "By itself" with a switch and delete. Admin: Features → Jobs → "Watching" (off), for every profile with agent functions, never for guests. Page change (idea from OpenFuse, seitenvergleich.py): when the task is just an address ("https://avm.de/service/downloads") or says "Let me know when https://… changes", no language model is asked: each run reads exactly that page (chat.page_text, public only, the Notaus first) as Markdown, takes up to 300 lines of 200 characters and compares them with the last run by fixed rules. What is still there is no news; a line where only a time changed ("5 minutes ago", a time of day, a date) is no news either; a line where only a number changed (price, version, stock) is "changed"; every other new line is "new", the old lines left over count as "removed". Each old line stands for one new line at most. Of the last run only three short checksums per line are kept (stand), never the text. The first run only keeps the starting point. The note gives the counts and the first changed line ("1 neu, 2 geändert (avm.de)"), the report up to 5 new and 3 changed lines. There is no price limit and no "every time" for it; "Start afresh" forgets the stand. Way of comparing after OpenFuse page-diff.ts (MIT). Logs: agent: watch run | kind page|model | result neu|still|bericht|fehler | new … | dropped ….
  • Jobs with plan, questions and proposals: a job has three tools that only concern itself. job_plan writes its steps as a list (at most 6) and ticks them off; Me → Jobs shows it live. job_ask asks one question with up to 4 answers to tap and waits up to 10 minutes, only in jobs you started yourself (scheduled jobs and watching never ask); the notification only says that a question waits. The panel refuses questions about passwords, PINs or codes. job_propose makes one proposal at most: a reminder, an appointment or an entry on your shopping or task list, never smart home, mail or anything outside your profile. The job carries out nothing: under the report the proposal stands in full in fixed words (with a warning when outside text was read before) and "Yes" / "No". Only your yes carries it out, only unchanged (checksum), open and at most 24 hours old; emergency stop and the function's release apply as always. With "Add" you add to a running job up to three times; the sentence reaches the model in its next step as your own words. All also in the iPhone app (open the job); Android shows the panel page. Admin: Features → Jobs → "Jobs with plan, questions and proposals" (off), for every profile with agent functions, never for guests. Logs only fixed words: agent: job plan | steps … | done …, agent: job asks, agent: job question answered|unanswered|refused, agent: job proposal saved|done|declined|failed|refused, agent: job steer taken|refused. Self-tests test_auftragsplan.
  • Routines (level "also act" only): "Remember as routine Evening: terrace light on, pool to 36 degrees." After "Yes", later "Evening" is enough. Every step is a Home Assistant sentence and runs like a spoken command (same allowlist, same code word); at most 8 steps and 20 routines.
  • Services over MCP: switch "Services over MCP" below "Agent functions". The admin enters name, address (Streamable HTTP) and token (login plus a fresh code; token in the vault, never sent back). Every tool is off until the admin sets it to "read" or "act"; profiles are ticked per service. Reading answers count as outside text; acting tools only propose and run after "Yes". If a service changes a tool's description or inputs, it is off again after "Fetch tools again". The Spark never starts a program itself; home network addresses only with the permission under Security.
  • Own MCP services: switch "Own MCP services for profiles" below "Services over MCP". Every profile connects up to five own services under Me → My MCP services (fresh code, key encrypted) and releases every tool itself ("Read" or "Act after yes"). Optionally in background jobs (read only) and with sign-in (OAuth). The admin sees all of them under Apps and interfaces and can block each at once. Details: APIs and integration.

Chats with other Sparks: write to people on another Spark by their address. Admin: Features → Chats → "Chats with other Sparks" (off), below it this Spark's address from outside (e.g. speech.example.de, the name only, reachable over https; without it the function stays off) and "Who may connect": only paired Sparks (default) or every Spark like e-mail. Pairing: "Make a pairing code" (valid one day and once, spark.example.de#…), the other Spark's admin enters it under "Code of another Spark"; both compare the fingerprint in "Connected Sparks" (there Allow, Block, Remove, contacts, in/out, waiting). No profile switch: for everyone with Chats, Chats → + New chat → "🌐 Someone on another Spark" shows the own address (name@spark.example.de, with QR code and Share), a field for a request and the contacts. Requests to me show on top of the chat list as "Contact requests" with Accept, Decline, Block; only after Accept does a message get through, Decline tells the other Spark nothing (no new request from there for 30 days), at most 20 open requests per person. The chat for two carries 🌐: ticks (✓✓ = the other Spark has the message), read receipts, replies, reactions, change, take back. Technically every Spark has its own Ed25519 key (derived from the Spark's key, moves only with a move backup), public at /.well-known/spark-verbund. Every message is an HTTPS POST to the other Spark's /api/verbund/in, signed together with the receiving domain, with a time (±10 minutes) and a one-time number; a different key later is refused. Outbound only to public addresses (Wächter), nothing during the emergency stop. When the other Spark is away, retries follow after 1 and 5 minutes, then hourly, at most 7 days, then ⚠ "not delivered". What comes from another Spark is someone else's text: never to the language model or a tool, the own speaker can read it out. The other Spark only learns address, display name and message and gets the same answer to every request, whether the person exists or not. Live (tile Chats): "🌐 Verbund: Sparks, contacts, in/out today, waiting"; logs (area "Messages and chats"): verbund: sent, verbund: refused signature, verbund: retry, never a domain, name or text. The service watch checks "Reachable for other Sparks". The iPhone app shows such chats with 🌐; asking and accepting work in the browser. Photos and files to other Sparks: Admin: Features → Chats → Chats with other Sparks → "Photos and files to other Sparks" (off, needs "Photos, files and voice in chats"). Then photos, files and voice messages go too, with the same buttons. The own Spark sends the file first, alone and signed (a head with time, one-time number, SHA-256 and size in a header), to /api/verbund/blob, then the message with the hash. The other Spark takes a file only from an allowed Spark with a known key (checked before a byte is read), exactly with the head's size and hash, at most 500 MB per Spark and day and 2 GB waiting, keeps it sealed until the message (at most a day) and makes it anew like an own upload: a photo drawn again (without place), a file recognised by its content (else nothing arrives), a voice message encoded again and written down by its own speech recognition. None of it goes to the language model. When the other Spark takes no files, the message shows ⚠. Live: tile Chats "files today n in / n out"; logs: "verbund: file in | kb 812", "verbund: refused file limit", "verbund: files dropped | n 1", numbers only.

Groups with other Sparks: Admin: Features → Chats → Chats with other Sparks → "Groups with other Sparks" (off, needs "Group chats"). Group admins also pick accepted contacts on other Sparks (🌐) when creating it or under "Add people". The group belongs to the Spark it was created on: only there its admins change name and members, and it passes every message on to the other Sparks (once per Spark, signed, same queue as chats for two). On the others it reads "managed on another Spark"; leaving works there, the home Spark hears it. Text only; photos, editing and taking back do not work in these groups. At most 10 other Sparks per group. Nothing goes to the language model; logs with numbers only ("verbund: group …"), Status → Live shows the number of groups from here and from others.

Messages in chats: messages to others go through the chats. Admin: Features → "Chats" (off), below it "Message to everybody" and "Announcements on speakers" (both off); once released they work for every profile. Me → Conversation → Chats holds "Who may write to me" (every profile with chats or only picked ones, plus Blocked and the own call name), "New messages on my speaker" (nothing, only who wrote, who wrote and read the text on request) and "Message to everybody" (on, can be switched off). Guests can neither send nor receive.

  • Sending: "Tell Anna dinner is ready", "Write sb that I'll be late" or "Message to Ben: …". The panel reads recipient and text itself (fixed rules), searches only among profiles that take messages from you, reads the message back and writes it into the chat only after a plain "Yes" (marked 🎙). When chats are off for you, the assistant asks whether to switch them on; your "Yes" switches on only your profile. When sending is not possible it names the reason.
  • Message to everybody: "Tell everybody we leave at eight" goes into the fixed group "Alle", which holds everybody who did not switch off "Message to everybody"; nobody adds or removes members, no admins. "Stop taking part" under ⓘ switches it off for you. At most 5 messages to everybody per hour.
  • On the speaker: when no page of the profile is open, the own speaker says a new chat message at once ("Nachricht von Anna."), else at the next wake word within two hours (at most 3). Never in quiet hours, never from muted chats, from private chats only who wrote. It never reads the text into the room unasked: with "read the text on request" it adds "Sag „Lies die Nachricht vor“, dann lese ich sie dir vor.", and the text is read only to the profile's recognized voice (speaker ID on, voice taught; otherwise the offer is left out).
  • Announcement: "Announcement in the living room: dinner is ready" (or "everywhere") after "Yes", or Chats → + → "📢 Announcement": pick speakers, type the text. Only on speakers whose owner allows announcements; one not connected says it at its next wake word within ten minutes.
  • Reading and replying: "Do I have new messages?" reads unread chat messages as outside text, never as an instruction; "Reply to her: coming" and "Yes". A message's content locks everything that changes something for the rest of the answer and the next turn, and never goes into the memory.
  • iPhone: "Message with Spark" (Siri) writes into the chat, "everybody" into the group "Alle"; the Today card "Chats" counts unread chat messages.
  • Logs (area "Messages and chats") and Live (tile "Chats", with "Alle: N people" and "N read aloud") show numbers only. The "Who may write to me" lists (messages.json) are part of the backup.

Chats: writing like in a messenger, everything on the Spark. Admin: Features → "Chats", below it "Group chats" (both off); released for every profile. Under Me → Conversation → Chats each profile sets "Read receipts" (on) and "Text in the notification" (off). The menu has "Chats" (on a phone the "Chats" tab with the number of unread messages): the list on the left, the chat on the right; on a phone two pages with "‹" back. Ticks: ✓ sent, ✓✓ arrived on a device, blue ✓✓ read (only when both have read receipts on). Tap a message: reaction (👍 ❤️ 😂 😮 😢 🙏), reply, copy, change (15 minutes), take back for all (1 hour). ⓘ: mute (1 hour, 8 hours, always), "messages disappear" (24 hours, 7 or 90 days; in groups the admins set it), clear the chat for me, in groups name, members, admins and leave. Only who the other person takes may write (Me → Conversation → Chats → "Who may write to me": from whom, blocked); the sender only hears "does not take messages from you right now", never why. "Tell Anna dinner is ready" lands in the chat with Anna (marked 🎙), "Do I have new messages?" reads unread messages as foreign text, never as an instruction. Texts, group names and previews are stored encrypted with AES-256-GCM under users/_chats/ (key derived from the Spark's key, each message bound to its chat and number) and are part of the backup. An open Chats page gets changes at once over a connection that carries numbers only; otherwise a notification goes to every set-up device (iPhone, Android, companion, browser), only "💬 name" and "New message", never through Telegram, not when muted or in quiet hours. Limits: 4000 characters per message, 240 messages per hour, 50 people per group. When a profile is deleted, its messages disappear from every chat. Logs (area "Messages and chats") and Live (tile "Chats": chats, messages today, open connections, notifications) show numbers only.

Photos, files and voice in chats: Admin: Features → Chats → "Photos, files and voice in chats" (off). Then the chat shows 📎 on the left (photo or file) and 🎤 on the right (voice message: tap, speak, ➤ sends, "Discard" throws it away; after 5 minutes it sends by itself). Photos: JPEG, PNG or WebP up to 15 MB, saved anew by the Spark (at most 2048 pixels, preview 480 pixels), without place and camera data. Files: PDF, Word, Excel, PowerPoint, OpenDocument and text (txt, csv, md) up to 25 MB, recognised by content, never by name; the name is cleaned and gets the extension of the real type. Files are only for download (never opened in the panel). Voice messages are stored as AAC (plays everywhere, iPhone included), speech recognition writes what was said underneath. Everything is stored encrypted (AES-256-GCM, bound to chat, message and part) under users/_chats/<chat>/, at most 2 GB per person; taken back, disappeared and deleted messages take their files with them. The file name travels in the request header, search words in the body (POST), so nothing lands in the access log. "Do I have new messages?" names photos and files only as "📷 Photo" or "📄 File". Live (tile "Chats") shows count and size, never names.

Invite into a chat: Admin: Features → Chats → "Invite into a chat" (off) and People and devices → New people "only by invitation". Then Chats → + New chat shows "Invite someone": a name as a suggestion, "Make invitation", QR code and link (copy or share). The invited person picks a name and PIN and lands in the chat with you at once ("… joined with your invitation"); chats are on for them, both take messages from each other (unless someone is blocked). Each invitation works 7 days and once, at most 3 open per person; the admin sees them under New people and can withdraw them. When the switch is off or the admin blocks the inviting person, the link stops working. The new profile gets what the admin released, never a role; the second sign-in step applies as for every invitation.

Private chats, end-to-end: Admin: Features → Chats → "Private chats (end-to-end)" (off). Then Chats → + New chat shows "🔒 Private" beside every person. The first time, the device gets its own key (ECDH P-256, made in the browser, not exportable, in IndexedDB); that counts like a new device and needs the second step's code. The device encrypts every message itself (AES-256-GCM, the message key wrapped for every added device of both people, HKDF over ECDH); photos are drawn anew first (no place or camera data), files and voice messages go with their own key. The Spark stores only the encrypted form and cannot read it; the assistant only says "private message", the search finds nothing, notifications say "🔒 New message". Under ⓘ are the safety number (12 × 5 digits, compare once face to face) and "Your devices" with Remove; when a device is added or removed, a line shows in the chat. History for a new device: when the person already has a device, the new one waits a day for the history and shows a 6-character code in the private chat; an older device shows "🔒 New device" on top of Chats with the same code and "Transfer" or "Not me" (takes the new device out at once). "Transfer" wraps each message key once more for the new device on the old one; the Spark stores only that wrap (marked with the device that made it) and never changes the encrypted text. The code comes from the new device's public key: a slipped-in key would give another code. The Spark takes wraps only from an older own device of the same person, once per new device and only within that day. Without an older device a new device only reads what comes after it. Needs https. Browser, Android app and iPhone app (key in the Secure Enclave, the same encryption with CryptoKit, also safety number and history transfer; the app key reaches the private chat paths only while the iPhone app is on, other device keys never). Live: tile Chats "🔒 private, devices, today, history transfer: n waiting"; logs: "private key added", "sent | kind priv", "private history shared | n 120", "private history refused", numbers only. Calls, voice and video: Admin: Features → Chats → "Calls (voice and video)" (off). Then every chat of two on this Spark (ordinary or 🔒 private, not with other Sparks) shows 📞 and 🎥 at the top. Every open Chats page of the other person rings, their devices get "📞 Name is calling"; they answer with or without video or decline, and their other devices stop ringing. Sound and picture go encrypted over WebRTC (DTLS-SRTP) straight from device to device; the Spark only brings the two together (offer, answer, network candidates, checked for form and size only, never stored or logged) and passes each signal only to the one device holding the call on the other side. Fixed rules: both have Chats and Calls, the other person takes messages from the caller, nothing rings in their quiet hours or with "Do not disturb" (missed), whoever is on a call is busy, 20 calls per hour, 45 seconds of ringing, at most 4 hours. Every call leaves one line in the chat ("📞 Call · 4:12", "Missed call", "Call declined"). When the admin switches calls off, running calls end within a minute. Browser, Android app (with camera from 1.3.1) and iPhone app with Apple's call screen (see iphone-app.md, "Voice and video calls"); iPhones ring through a VoIP push from Apple that carries only the call's random number, the app asks the Spark who calls (GET /api/anrufe/info, only for the two in the call), without a second "is calling" notification. Live counts "rang on the iPhone". Running and ringing calls show as connections "Anruf im Chat" and "Anruf klingelt" (count only) on Live, the summary and the HDMI Steuerzentrale, under devices one entry per call from ringing to hanging up with both sides: devices ("Browser ↔ iPhone-App"), voice or video, ringing or connected ("Videoanruf · verbunden"), both people ("Anna ↔ Tom"), each name only with that profile's consent (else "Person"), never the chat. Calls by the assistant (rufen.py): Admin: Features → Chats → "Calls by the assistant" (off, needs "Calls (voice and video)"). The assistant understands "Ruf Sabine an", "Videoanruf mit Sabine", "Call Sabine", "Video call Sabine", "Can you call Ben?". The panel reads name and kind (voice, video, phone) from the person's own words by fixed rules; no tool for the model, the model only says the sentence. The name works as for messages (name or call name, several matches get the question with buttons) and only for someone who takes calls from the caller (anrufe.why_not). Only the "Yes" on the same device in the same conversation calls (approval card "Call"); "Yes, with video" or "voice only" changes the kind, anything else drops the proposal. After the yes the panel opens the chat of the two; browser, Android app (page) and iPhone app start the call at once (event anruf). Asked at a speaker, on the phone, over Telegram (with personal data), at the watch, with Siri, CarPlay or the companion, the call waits three minutes on the Spark: every device of the profile gets "📞 Sabine anrufen" (at most 6 per hour, never over Telegram), the next page or app opened shows "Sabine anrufen? · Anrufen · Nicht jetzt" at the bottom (iPhone: a question when opened). "Anrufen" starts it, "Nicht jetzt" removes it on every device. "By phone": when the name fits no profile or the person says "übers Telefon"/"by phone", the iPhone app calls with the iPhone contacts (iphone_action); on Android the panel looks the name up in the own address book (Contacts → Settings, exactly one contact with a number, mobile first) and after the yes opens the phone app with the number (event waehlen, Android app 1.4.2 and later); only the tap on the green button dials. Never for guests, someone else's voice or under the Notaus. Spark diary: "Call started". Live, tile Chats: "per Assistent heute … gefragt, … gestartet, … aufs Handy, … übers Telefon, … abgelehnt" (numbers only). Journal: chats: call assistant proposed|started here|sent to devices|phone app opened|declined|refused | why …, never a name or a number. Calls when away: Admin: Features → Chats → "Calls when away" (off) and the address from outside (empty: the address for other Sparks). Then the Spark runs its own relay (coturn, unit speech-spark-turn, only while the switch is on; the distribution's coturn service stays masked). In the router forward UDP 3478 and UDP 49160 to 49200 to the Spark. Each device gets an access per call that expires after an hour (TURN REST, secret derived from the Spark's key); the relay only passes packets to public addresses, never into the home network or to the Spark itself, without console, with limits per person and in total, without log. Status → Services shows "Relay for calls". Live: tile Chats "📞 Calls: running, ringing, today, relay on/off"; logs: "call started | video 1", "call answered | secs 4", "call ended | secs 252", "call not answered | why rejected", "call refused | why limit", "call relay started", numbers and fixed words only. The relay takes the address from outside only as a public IPv4 address (an extra IPv6 record, often an fd… home address, does not get in the way). When the Spark cannot find it for a moment, a running relay keeps its last address ("call relay kept | why not found", Live "alte Adresse"); otherwise Live names the reason ("Adresse von außen zeigt ins Heimnetz", "Notaus: kein Internet", "Adresse von außen nicht gefunden") and the log says it once per reason and panel start, "call relay refused | why home address"; when it is back: "call relay back". Reason "address from outside points into the home network": inside the home network the name only gives the Spark a home address (mostly a local DNS entry in the router, such as the UniFi console's local DNS records, or on the NAS). The relay needs the public IPv4 address and does not start otherwise; this is a correct refusal, not a bug: under Features → My day → Calls when away enter a name that gives the public address also at home (e.g. an own DynDNS name without a local entry), or remove the local entry. Status → Logs shows a fixed hint for it.

No envelope in the assistant: there is no envelope beside the input and no "Message" button above the conversation; you write under Chats, "Tell Anna …" goes into the chat.

Many profiles: under People and devices the admin searches by name, call name or device, filters with a segment (All, Unused = not used for 90 days, No device, No 2FA = without second step), sorts (name, last used, newest) and pages through 25 at a time. "Details" shows each profile's devices, last use, call name, change PIN, reset second step and delete; deleting needs the fresh code like changing the PIN. The device list shows only the devices of the profiles shown. The profile of an own device key (script, shortcut) and of a new device is picked from a list of all profiles; the iPhone app, speakers, Pebble watch and Home Assistant keys are set up by each profile itself under Me, show "🔒 fixed" with where they are managed, and can only be deleted here (the server refuses moving them too). "Last used" counts the browser login (without the address) and device keys. Call name: optional per profile ("Tom", "Dad"), set by the admin in the details or by the profile under Me → Conversation → Chats; unique among all names and call names. Same names: when several profiles fit (two "Thomas"), the assistant asks "Thomas Müller or Thomas Meier?" (at most 4); the answer ("Müller", "the first", call name) picks only among these, then comes the "Ja". When more than 4 fit it asks for the full name. An unknown name gets at most 3 similar ones, never the whole list; "to everybody" names at most 4 and "and N more".

Home Assistant Assist over Wyoming: Home Assistant uses the Spark's speech recognition and voice (Voice PE, HA app, ESPHome speakers). Admin: Features → "Home Assistant Assist (Wyoming)" on and enter Home Assistant's address (Wyoming has no password; with no address the Spark answers nobody). The field suggests the address from a profile's Home Assistant setup (home network addresses only; behind a reverse proxy enter the real HA address by hand) and shows addresses refused lately. In HA: integration "Wyoming Protocol", host = the Spark, port 31003; in the voice assistant pick "spark" for speech-to-text and text-to-speech. The service runs inside the panel and needs the full install. Status → Live shows every transcription and spoken answer for Home Assistant as a request of the device "Home Assistant" (way Hearing → text to Home Assistant, or Speaking → back), refused senders under Entrance; never the words. The Spark answers "describe" at once with the voice list from memory (read again in the background every 10 minutes), because HA waits only 1 second (else "Unable to get info").

Calling the Spark (phone): call the Spark from a phone in the house (DECT handset of the FRITZ!Box, IP phone) and talk to it like to an own speaker. The Spark signs in at the telephone system as an IP phone (app/panel/telefon.py, a small SIP part of its own in the panel, no foreign software): REGISTER with digest sign-in (MD5 or SHA-256), incoming calls with INVITE, ACK, BYE, CANCEL, OPTIONS and INFO; sound as RTP in G.722 (HD, 16 kHz) or G.711 (a-law, µ-law), own code in app/panel/telefon_ton.py; keys after RFC 4733. Admin: Features → Phone on; below, a wizard in four steps: 1. pick the system or "Search the home network" (asks fritz.box, speedport.ip and the gateway with SIP OPTIONS, home network only), 2. the clicks to add the Spark there as an IP phone, with a suggested user name and password to copy, 3. enter the access (address, port, user name, password in the vault; saving asks for the code, level "confirm") and "Check connection" with a plain answer ("User name or password wrong", "The system does not answer" …), 4. call the Spark's internal number from a handset (FRITZ!Box usually **620): the calling number shows up and is assigned to a profile or as a "Shared phone". Templates (FRITZ!Box, Telekom Speedport, Gigaset, Asterisk/FreePBX, 3CX, UniFi Talk, other SIP system) are in app/telefonanlagen.json; a new system is a new entry. A call: "Hallo Anna, hier ist der Spark.", question, answer (Weiche and chat as at a speaker, short, without lists), listening again; after 20 seconds of silence "Noch etwas?", after another 10 seconds it hangs up; "Stopp" or # interrupts the answer; a goodbye ("Tschüss", "Danke, das war's", "Ich lege auf", also in the middle of an answer) and right after "Noch etwas?" a "Nein danke" end the call: "Tschüss!", then the Spark hangs up (fixed word lists, never the model). The phone's BYE ends the call at once; if none arrives, the Spark hangs up after 8 seconds without a sound packet, unless the phone holds the call (log telefon: kein ton mehr vom telefon seit 8 s, aufgelegt); at most 15 minutes. Against choppy sound a thread of its own sends at a 20 ms beat, also while the panel is busy; speech starts only once 200 ms are ready or the sentence is complete, after every gap it buffers more (at most 0.8 s). The log line telefon: aufgelegt nach … names gaps, late packets and kodieren … ms je sekunde ton at the end. Fixed rules decide who is calling: a profile's handset uses that profile, personal things only when the speaker recognition clearly knows the voice (as at a shared speaker); at the shared phone the voice picks the profile per question, else questions and answers as a guest; an unassigned handset only hears that it belongs to no profile yet (with Phone: take guests questions and answers as a guest, never a tool); calls from outside are refused, except to confirm a number (Me → Phone) and with Features → Phone → Calls from outside. One call at a time (up to 2), another caller hears "busy". Sound is never stored; questions and answers are in the profile's history ("Telefon DD.MM."). Status → Live shows the telephone system with signed in yes/no and today's numbers, Logs the area "telefon" (only internal numbers like **611, never a number from outside, profiles through profiles.log_name), the Dienst-Wächter reports a lost sign-in. Self-test test_telefon with a made-up telephone system.

Me → Phone: each profile sets up under Me → Phone what belongs to it (app/panel/telefon_ich.py, file users/<id>/telefon.json, numbers and PIN in the vault). My phone numbers: mobile and landline (at most 5; adding asks for the code, level "confirm"). A number counts only once confirmed: the page shows a 4-digit code (valid 15 minutes), you call the Spark from that number and type it; after three wrong ones it is void. Only for this does the Spark take a call from outside. So nobody puts someone else's number on their profile, and a number belongs to at most one profile (0170… and +49170… count as the same). Phone PIN: 4 to 8 digits, not all the same, not in a row; changing only with a fresh code (level "change protection"). On the phone you type it and #: on the own handset it stands in for the voice for the rest of the call, at the shared phone it picks its profile. Three wrong ones in 15 minutes lock the PIN at that phone for 30 minutes, the handset's profile gets a notification. The PIN is a salted PBKDF2 hash, never spoken, shown, given to the language model or logged; when the Spark does not clearly know the voice at the own handset, it says on personal questions that the PIN helps. My handsets shows the handsets the admin assigned, My calls time, length, kind and number of questions of each call (no number, no words), deletable one by one or all. The page is in features.ME_PAGES and so also in the iPhone and Android app. Live counts right and wrong PINs and confirmed numbers, Logs only fixed words (telefon: pin richtig …, telefon: nummer bestaetigt …, never a number, code or PIN).

Calls from outside: with Features → Phone → Calls from outside (default off) the Spark takes calls the telephone system puts through from outside (in the FRITZ!Box choose the numbers the IP phone "Spark" rings for). Fixed rules in telefon.Call.outside: a number confirmed under Me → Phone picks its profile; because shown numbers can be forged, personal things only with a sure voice or after the phone PIN, and the greeting names nobody. Unknown or hidden numbers are refused; with Unknown callers as guests (the same switch as for unassigned handsets) they get questions and answers as a guest, never a tool, at most 20 a day; a PIN makes no profile out of them. If the number's profile is blocked, the call is refused. Logs only "telefon: anruf extern bekannt als …", "… unbekannt als gast" or "… abgelehnt", never the number; Live counts calls from outside and guests, My calls shows them as "From outside".

Calls in Live, Summary and the control centre: every phone call stands as one request under the devices from picking up to hanging up, as "Telefon" (with the handset's name when the profile allows names in Live), reason "Anruf" or "Spark ruft an"; never a number. The questions in the call are requests of their own but stand on their call's card (one card per call, e.g. "db · Anruf · 2 questions"), their ways start there; the list below shows them one by one.

Troubleshooting the phone: A router between the Spark and the PBX: if both are in different networks with NAT in between (e.g. FRITZ!Box → UniFi Dream Machine → home network), the Spark sees it in the answer to its sign-in (Via "received"), signs in again with the router's address and names it for the sound too (log telefon: nat zwischen spark und anlage). The wizard under Features → Phone then says what the router needs: forward UDP 31060 and 31062-31069 to the computer with the panel, best only from the PBX's address, and switch SIP ALG off; this means the second router (e.g. the UniFi box behind the FRITZ!Box), not the FRITZ!Box. Without these forwards no call from outside reaches the Spark, and a test call rings without sound. Simpler: put the Spark into the same network as the PBX. The line telefon: nat zwischen spark und anlage, anlage sieht port 31060 is a hint, not an error, and comes once per address and panel start. Every call ends in the log with telefon: aufgelegt nach … s, … fragen (reason), ton raus N pakete, davon M mit sprache, rein K pakete. M zero: no speech output (before it stands telefon: sprachausgabe with the kind of error or leer); K zero: the PBX sends no sound. If the PBX refuses a call of the Spark, its answer code is logged (telefon: anruf raus antwort 403). If the PBX describes the sound only in the early answer (183), the Spark takes that one.

The Spark calls: with Features → Phone → The Spark calls (default off) the Spark places calls itself (app/panel/telefon_anruf.py decides with fixed rules, telefon.Call.dial dials: INVITE with digest sign-in, ringing up to 30 seconds, else CANCEL). Wake-up call and reminder by call, only ordered by the profile itself: "Call me tomorrow at 7" or "Remind me by call at 3 pm about the dentist" (tool anruf_planen, "Have the Spark call"; it only gets time, kind and text, never a number). The wake-up call says "Guten Morgen, hier ist der Spark. Es ist 7 Uhr.", then you can keep talking; a reminder is read only once the voice fits or the phone PIN was typed (if there is neither voice nor PIN to check, at once), else it comes as a note. Call back: whoever calls from on the go with an unsure voice can say "Ruf mich zurück" instead of the PIN; the Spark hangs up and calls the stored, confirmed number matching the call. A forged number thus never reaches the forger, and the call back counts like the PIN for that call. Call on outages (its own switch): if a service of the service watch is gone 10 minutes or longer, the Spark calls the admin besides the note, at most once an hour, never between 10 pm and 7 am (like "Only collect at night", always for calls), never in the admin's quiet hours or during "Do not disturb"; if the service is still gone afterwards, the call comes then (log telefon: alarm in ruhezeit, nur push and telefon: alarm nach ruhezeit angerufen). Whom: the profile's assigned handset; with Whom the Spark calls → also confirmed own numbers else the confirmed number (needed for the call back). Never a number from the conversation, a mail or the language model. How often: at most 5 calls per profile and day, never during "Do not disturb" (ordered calls also ring in the own quiet hours); not answered once more after 5 minutes, then a note. Every profile can switch off "The Spark may call me" under Me → Phone → Calls from the Spark and see and delete planned calls there; My calls shows them as "The Spark called". In wizard step 4 "Spark calls" calls an internal number with a test sentence. Live counts calls out, answered ones, call backs, alarm calls and planned ones; logs name kind, profile and result, never a number from outside or a reminder text. There is deliberately no confirmation call to an unconfirmed number (the Spark would otherwise call any number typed in); confirming works by a call from that number.

Weather place: postcode and place ("76307 Karlsbad") work; the name is searched in Germany and the postcode compared. When several places fit, the others can be picked; coordinates ("48.87, 8.50") work too.

Web search: switch on "Websuche" under Features and enter the address of your SearXNG instance below it. If SearXNG's settings.yml allows json under search: formats:, the panel uses the JSON API, otherwise the normal results page; "Test connection" shows whether it works. The LLM searches by itself when a question needs current information (the LLM server needs tool calling; the own language model has it on). The assistant says it is looking it up, reads the top pages and shows the sources under the answer. When the search is off or has no address, the assistant says so; the log has a line "chat: web search …" per question (offered, off, no address, locked). Asking in so many words ("such im Internet", "google mal", "recherchier", "schau online nach", "search the web") always goes through the search. After reading a mail the search is locked for the rest of that answer (a mail could otherwise carry content to the web). An answer from mail (also a proactive mail note) stays in the next turn only when the new question is about it ("what else does she write?", "read the first one"); then the search stays locked and the assistant says so. Any other question ("what is going on in politics today?") leaves the mail answer out and searches. A "yes" or a button of the question card to a question of that answer (for example after the daily briefing) always keeps it, locked as above (since V01.1.449, report 4: before, the model only saw "yes"); log line "chat: answer from mail before; this message answers its question - that answer is kept, search locked".

Wake word "Hey Spark": with the checkbox below the chat the assistant keeps listening. On "Hey Spark" it listens; "Hey Spark, what's the weather?" in one go is taken as the question. The browser detects speech bursts, the speech recognition on the Spark checks the phrase, nothing goes to the internet. The screen stays on; on a phone keep the app in the foreground.

The "Me" window: grouped like the Features page (conversation, my data, my day, mail and contacts, home, on the go and devices, access); on a computer it starts with an Overview (state per page, e.g. "2 calendars connected"), on a phone the state sits below each list entry. Notifications and the daily briefing have the page Notifications. The button with your name (or "Guest") at the top of the history and the settings icon below the face open the window. On the left: Conversation, logged in Memory, Log and Security, depending on features Documents, Calendar, E-mail, Smart home, Voice, Von selbst (speaking up by itself) and Raum-Modus (room mode); as a guest "Sign in". Conversation holds listening (stop on silence, live transcript, barge-in and its sensitivity), answer (voice, profiles only; speaking rate, answer length) and display. Guests always hear the default voice. Logged in, settings live in the profile on the Spark and apply on every device, including speakers with a device key; as a guest only in the browser. "Hey Spark" is set per device (it keeps microphone and screen awake). Defaults for guests and new profiles: Settings → Defaults. The speaking rate keeps the pitch and also works for other apps that send speed to the TTS API (vllm-omni backend).

Own documents: logged-in profiles upload own files under "Me" (PDF, Word, Excel, PowerPoint, OpenDocument, text, Markdown, HTML, CSV, e-mail as .eml; up to 20 MB each, at most 200 per profile). When asked, the assistant searches them and names document and page below the answer. Guests upload nothing, no profile sees another's documents. Can be turned off under Features.

Knowledge from uploads: a profile's documents live in the SQLite file users/<profile>/wissen.db (documents, text pieces, FTS5 full-text index over rough word stems, meaning vectors, pages still to be read). Older documents (docs/<id>.json) are taken over when first opened, also after restoring an old backup. The backup copies the file with SQLite's backup function, so it is complete even while being written. Under Me → Documents "View" shows the stored text with pages (and a kept original: pictures and PDFs in the browser, everything else as a download), every document has a switch "the assistant searches it", "Try the search" shows hits without the language model, and sources below an answer can be clicked. Three switches below "Own documents", off by default, only the admin under Features; once released they work for every profile (admin defaults never switch them on, never guests):

  • Read pictures and scans: photos (JPEG, PNG, WebP) and PDF pages without text (the page's biggest picture) are cleaned like chat pictures (format check, at most 40 megapixels, upright, 1600 pixels, no location or camera data) and wait in the database. The language model reads page by page and briefly describes what it shows, with no tools and only after a minute without anyone talking to the assistant (wissen.quiet(), where the speech priority rule hooks in); at most 30 pages per document, 200 waiting and 100 read pages per profile and day, two tries per page. Text in a picture stays information, never a command. In the assistant, "Picture to My documents" below the answer keeps an attached picture; in Telegram /merken as an answer to a photo or as its caption (also needs "Photos over Telegram").
  • Meaning search: multilingual-e5-small (quantized ONNX, about 120 MB) runs on the CPU in its own low-priority process (docembed.py, embed_worker.py; at most half of the cores, as SCHED_IDLE only in otherwise unused time, so speech and the panel come first; a partial index finds pieces without a vector), starts only with at least 8.5 GB of free memory, takes about 300 MB and ends after 10 minutes without work. Work means only new pieces and questions to the document search; "Search locally first" uses the model only when it runs anyway and does not extend the 10 minutes. Status → Summary shows a green "working" only while computing, otherwise a green "standby" (loaded with its memory, or not loaded), plus what last needed it and in how many minutes it stops; the check also runs during a Notaus. Pieces get a vector in quiet moments; the search merges full-text and meaning ranks. A question waits at most 8 seconds for its vector, otherwise full text only. The model comes once from Hugging Face; checksums are then kept in state/doc-embed.json, other files are refused. Fixed packages: onnxruntime 1.22.1, tokenizers 0.22.1.
  • Keep originals: the file stays under users/<profile>/docs/files/ (pictures cleaned), up to the space per profile (chat.doc_quota_mb, 50 to 5000, default 500); when full only the text is kept. Opening only as a download (Content-Disposition: attachment, HTML as application/octet-stream), never as a panel page. Security: document text is outside text (READS_OUTSIDE): wrapped as data, actions and memory locked, never learned. After document_search the web search is locked for the rest of that answer too (a document could otherwise carry content away). File names go to the model only quoted, shortened and without data markers. API: GET /api/profile/wissen, PUT /api/profile/wissen/{id} (use), GET /api/profile/wissen/{id}/file (?view=1 for pictures and PDFs), GET /api/profile/wissen/{id}/text (also for the iPhone app under My things → Documents), POST /api/profile/wissen/search, POST /api/profile/wissen/picture; all need a profile login, changes only from the own browser, rate limit doc. Self-tests: app/tests/test_wissen.py.

Document status: under Status → Summary the card “Own documents” appears once the admin switches on “Read pictures and scans” or “Meaning search” (GET /api/admin/wissen, admin login only). It shows the meaning model's state (off, starting, running with its memory in MiB, waiting for 8.5 GiB free memory, error with reason), pieces with a vector, waiting pages, pages read today and when last. Only sums over all profiles, never profile or document names or contents.

Progress: under Me → Documents every document being read shows "page 3 of 12 read" with a bar and why it is not moving: "reading page 4 now", "waits for a quiet minute" (someone talks to the assistant), "daily limit reached, continues tomorrow" or "Read pictures and scans is off". With meaning search "meaning 40 of 120" follows (and whether the model waits for free memory). While something runs and the list is open, it refreshes every 10 seconds. Everyone sees only their own documents. The iPhone app shows "page x of y read".

Shared documents: with the admin switch Features → Own documents → Shared documents (off by default, released for every profile) every finished document has "For everyone". A ticked document stays in its owner's database and is not read again; every other allowed profile finds it in its search (source "…, geteilt von name") and under "Shared for everyone by others" with "View". Only the owner takes the sharing back, changes or deletes; the admin sees under Status → Summary what is shared and can take it back. Guests, Telegram without "personal" and voices a shared speaker does not recognize as its owner get no shared documents. Their text stays outside text. Agents search only their own documents.

Sharing with profiles: admin switch Features → Sharing with profiles (chat.share, off by default; once released for every profile, guests never). Every finished own document has „Share“: a dialog with a person search, Off or See per profile, plus „All profiles“ (like „For everyone“, with Shared documents). Saving needs a fresh code. The other profile finds the document under Me → Documents (source „From others“), in its search and under Me → Shared; for its assistant it is outside text. Me → Shared shows everything in one place in two tabs: Shared with me (documents, calendars and lists of others, „new“ since the last visit, Open) and Shared by me (per person „Take back“, for documents „Change“; works at once). The data stays with the owner, no copy; calendars and lists are shared on their own page, they hang on geteilt.py as adapters. Note on shared things (Me → Shared, on by default): a note „Name shared something with you“ to the recipient's devices, at most one every 10 minutes, more are collected. Limits: 50 people per document, 500 singly shared documents per profile. Stored in users/<profile>/geteilt.json. Live (tile „Shared“) and logs (area messages, geteilt: …) show numbers only.

Complete scans and reading again: scanned PDF pages (under 40 characters of text) are rendered as whole pages with pypdfium2 (fixed version 4.30.0, about 30 MB of memory for a moment per page) and handed to the language model; so pages stored as strips or JBIG2 are not lost. Up to 300 scanned pages per document are read, at most 100 per profile and day; the rest follows on the next days. Pages from knowledge folders (NAS) and own pages (upload, app, Telegram, notebooks) count apart, up to 600 waiting each, own pages are read first so a big knowledge folder does not block an upload. If the own queue is full, the message says how many pages wait and what helps (upload later or delete a document still being read). The document names any limit that applies ("only the first 300 of 412 pages without text", "2 pages without a readable picture skipped", "pages without text not read (Read pictures and scans is off)"). "Read again" under Me → Documents reads a document once more from its kept original (owner only, only with "Keep originals"); place, "For everyone" and "The assistant searches it" stay. A document attached to a question in the iPhone app takes along only its first 20,000 characters; the answer then says it is only the beginning and that under "My documents" the whole text is searched.

Read long documents at night: admin switch under Features → Own documents → Read pictures and scans (chat.doc_night, off) with a night window (doc_night_from/doc_night_to, default 01:00 to 06:00, may cross midnight). By day the Spark reads in quiet moments only documents with at most 10 waiting pages, longer ones only after 30 minutes without a question or in the night window. At night pages are counted apart, up to 400 per profile and night on top of the daily limit of 100. Speech comes first (vorrang.py). Me → Documents names the reason: "long document, read at night from 01:00" or "daily limit reached, continues at night from 01:00".

Docling server: sub-switch "Docling server" under Features → Own documents (chat.docling, off by default; works only with an address). A docling-serve on another machine in the home network reads uploaded PDFs, Office files and pictures a second time in quiet moments, with tables, columns and OCR; its Markdown replaces the text read by the Spark (pieces, meaning vectors and the summary card are made again, the document says "mit Docling gelesen"). Scanned pages go to Docling first: pages with at least 40 characters found are no longer read by the language model, the rest waits for the language model. Set up by the main admin only, with a fresh code: address https://… or http://… (http only to a home network address, with a warning; checked before every call, also after name resolution), API key (DOCLING_SERVE_API_KEY, stored sealed, never shown; a new address asks for it again), with its own certificate "Check certificate" as for the offsite backup (compare the fingerprint, accept exactly that one). "Read sample" sends a built-in sample page with a table and shows time and text, never a profile's file. The server gets only the file, named dokument.<ext>, never profile, file name or question. Applies to all profiles once the admin switches it on; each profile can switch "Read with Docling" off under Me → Documents (doc_docling, on by default, no admin preset), guests never. Until Docling has read it the file stays in users/<profile>/docling-wait/ (also without kept originals); if the server does not answer the Spark asks again 10 minutes later, after 2 days the language model reads. Switching off (admin or profile) lets waiting files go at once. Live shows "Docling-Server" with waiting and today's files (numbers only), the service watch asks /health, logs under Knowledge (docling: …), protection level "Data" for saving. Starting the server (other machine, Docker): docker run -d --name docling -p 5001:5001 -e DOCLING_SERVE_API_KEY=<long random key> quay.io/docling-project/docling-serve-cpu:v1.37.0; with a GPU the image docling-serve-cu128. For https put a Caddy or nginx in front.

Size and space: PDFs may be up to 100 MB, set from 20 to 300 MB under Features → Own documents → Largest PDF file (chat.doc_max_mb); other kinds of files up to 20 MB. Uploads that are too big are refused before reading, the page says so before uploading. The "space per profile" (chat.doc_quota_mb, default 500 MB) counts all uploads of a profile together (database with text, vectors and waiting pages plus originals). At most 1000 own documents per profile (documents.MAX_DOCS, before 200; documents of the NAS source count against their own limit). When it is full, the Spark takes nothing new; originals are kept only while there is room. Me → Documents shows "Used: 120 MB of 500 MB" with a bar. Under Status → Summary the admin sees the use per profile and gives single profiles their own value (50 to 50,000 MB, state/doc-quotas.json, in the backup).

Read on: "View" shows the text in parts of about 200,000 characters; "Read on" fetches the next (GET /api/profile/wissen/{id}/text?start=). Only the view is split, the search uses the whole text (up to 2 million characters per document).

Document card and tags: admin switch Features → Own documents → Document card and tags (chat.doc_brief, off; released for every profile). In quiet minutes (speech priority applies) the language model reads the beginning of each finished document once (up to 3,000 characters, wrapped as outside text) and notes title, kind (contract, invoice, insurance, manual …), sender, date, deadline, number and 3 to 6 tags; at most 200 a day, existing documents bit by bit without being read again. The fields are checked (length, characters, date YYYY-MM[-DD], kind from a fixed list). Instead of file names the assistant sees one line per document (with many, the 30 that fit best, plus all tags) and can narrow document_search with tags or art; without a matching passage it gets the fitting cards. Under Me → Documents title, kind, deadline and tags show at the document; tags filter the list (also others' shared ones), "Tags" sets own ones (empty = automatic again; owner only). "View" shows "Belongs with": documents with the same number, the same sender or two tags in common. With the profile switch Fristen anbieten (doc_due, off) a deadline gets a "Remind" button (six weeks before at 9:00, else the day before); the assistant never sets a reminder from a deadline by itself. document_search stays offered in a narrowed tool set, and words like insurance, policy, warranty, manual, tax notice, cancellation period, tax, doctor's letter, findings, receipt, certificate count as a question about documents.

Search check: admin switch Features → Own documents → Search check (chat.search_check, off), below it Test questions by the Spark (chat.search_check_auto, off) and Test questions per day and profile (chat.search_check_day, 5 to 100, default 20); no profile switch, never for guests. Each profile keeps up to 300 test questions with a known right place (users/<id>/suchpruefung.json, in the backup): added by hand under Me → Documents → Search check → Add a test question, from an answer with "Name the right place" below its sources line, or by the language model in quiet minutes (vorrang, at most 3 per document). A model question is outside text and must keep fixed rules (one line, 8 to 160 characters, a question mark, no links, no command words, never four words in a row from the piece, at most 75 % of its words from the piece), else it is dropped. Once a night (2 to 5 o'clock, from 5 questions) or with "Check now" (at most every 10 minutes) every question goes through the search the assistant uses (documents.search): words only, meaning only (with meaning search) and mixed; noted are the place of the right document among the first 30, whether the right page was among the first 5, and the time (median and slowest 10 %). The profile sees the shares among the first 5 and first, the history of the last runs and "Found badly" with "Try" (the first 5 hits now). The admin sees only sums over all profiles under Status → Checks → Check the search, the live overview the number of questions and the share; the journal fixed words and numbers only. The fixed test bank app/tests/data/suchbank.json (20 invented papers, single and 10 multi-document questions) keeps the word search at no less than 85 % among the first 5 in test_suchpruefung.

Context in the sections (no switch): documents are cut at their headings: Markdown headings (Docling, .md), "§ 3 …", "TOP 2 …", "Artikel 4", numbered lines like "2.1 Kosten", bold lines of their own ("Wichtige Hebel:"), a line of its own ending in a colon over the next paragraph, and short lines of their own over a paragraph, also with a bracket at the end ("Stufe 1 – Briefing (lesend, ca. 3 Monate)") or a short word before a colon ("KI-Readiness: Wie ich …") (fixed rules in documents.heading, never a model). Such a line also counts in the middle of a paragraph without an empty line before it (documents.paragraphs, as in pasted chats and notes): when the line before ends a sentence or is a list or table line, the line below is long and does not go on in lower case, and the line is clearly shorter than its neighbours; so a text broken at the page's width is never cut, a line of a numbered list and the head of a table pasted with tabs never become a heading. This holds for documents read again (select them under Me → Documents and "Read again"). Inside a section about 900 characters with 150 overlap; small sections go with the next one; a Markdown table stays one piece up to 2,400 characters. Text without headings is cut continuously. Every piece gets a context line chunks.head from title (the card's, else the file name), kind and the headings above it (chunks.part). The word search looks at the context lines in a second index (ftshead) with weight 0.4 next to the piece's text; the meaning search embeds context line and piece together. When the line changes (a new card), the vector is computed again in quiet moments. Existing documents get their lines in quiet minutes (20 documents per step, no model, log line wissen: kontext gebaut | N dokumente, an event in the live overview); Me → Documents shows how many wait. The model sees the section in the source line ("Vertrag.txt, Seite 2, Abschnitt § 4 Kaution"), cut to 60 characters, without brackets and quotes, because it is outside text. test_suchpruefung asks for at least 85 % among the first 5.

Knowledge question instead of Spark help, only fitting passages: "what can you tell me about/on X …" ("Was kannst du mir über/zu/zur/von X …") counts as a question about X (hilfe.ABOUT), such as "Was kannst du mir zur Frauenkirche in Dresden erzählen?", unless X names the Spark, its panel or one of its functions; the list of example sentences only comes with "What can you do?" (hilfe.can_ask). With "look in the archive or Kiwix" the question goes to the own archive. document_search only passes on passages holding at least 60 % of the search words (the same rule as "Look locally first", lokal.cover; filler words like "information", "look", "archive", "Kiwix" do not count). If all drop out so, the model gets a fixed sentence: nothing fitting, say so, do not present other passages as an answer and look in the archive, Wikipedia or the web if offered (chat_tools.NOTHING_FITS); log line wissen: dokumentsuche | N stellen ohne die suchwörter weggelassen. Both sentences are in the Weiche's test bench; self-test test_wissensfrage.

Tables in PDFs row by row (pdftabellen.py, no switch): pypdf reads tables cell by cell; so that pairs like complaint ↔ card ("Which Sanjeevini card can I take for diarrhoea?") survive, the panel also looks at every PDF page with pdfium (only drawn lines and boxes, about a tenth of pypdf's time): horizontal lines, cell frames or shaded rows give the rows, vertical lines or gaps in the text the columns, and each cell gets the text from its own box, whether at the top, middle or bottom. Each row becomes one line | Durchfall | SR 18 … | Hinweis |. A table up to 2,400 characters stays one piece; longer ones are cut only between rows, every piece starts with the head row (documents._rows). Pages without a drawn table stay as pypdf read them; after 20 seconds per document the remaining pages too. Stored PDFs are checked one by one in quiet minutes (documents.due_tables, column docs.tablev): if the original is kept (Features → Own documents → Keep originals), the PDF was read as text (not page by page by the language model, not by Docling, which keeps tables itself) and is at most 20 MB, it is read again when it has a table; log line wissen: tabellen geprüft | neu gelesen, keine tabelle or original fehlt, event "Tabellen neu lesen" in the live overview; Me → Documents shows how many wait. Without the original only uploading again helps. A PDF is outside text; the limits (at most 4,000 drawn parts and 600 lines per page, 20 seconds per document) keep a malicious PDF small. Self-test test_pdftabellen.

Re-rank hits: admin switch Features → Own documents → Re-rank hits (chat.rerank, off; no profile switch, never for guests), below it Model (chat.rerank_model: "klein" = multilingual MiniLM from mMARCO, about 120 MB, recommended; "gross" = bge-reranker-v2-m3, about 570 MB) and Wait at most (chat.rerank_ms, 300 to 2000, default 800). wissen.search then takes 30 candidates from the mix; a cross-encoder (nachsortieren.py, its own process embed_worker.py rank klein|gross, CPU only, low priority, starts from 4 GB or 6 GB of free memory, ends after 10 minutes without work) reads question and context line with passage together and orders them; passages below a fixed floor (score −4, about 2 %) are left out, and when nothing is left it honestly says "nothing found". A search never waits for the model to start (it then keeps the mix's order), never longer than the time budget (late answers are dropped) and never for another re-ranking. "Look locally first" only re-ranks while the model runs anyway. The model files come once from Hugging Face; their SHA-256 are then kept in state/doc-rank.json (per size), other files are refused. Status → Summary → Own documents shows the model's state (memory, last duration, budget), the live overview "Nachsortieren" as background work, Logs → Requests the step "Nachsortieren" with numbers, the journal only wissen: nachsortieren | 30 -> 5 | 250 ms or wissen: nachsortieren langsam | 30 treffer | reihenfolge der mischung. With the switch the search check measures a fourth line "Re-ranked", so the gain shows on the own documents.

Multi-document questions: a test question can name up to three more right documents (mehr) when its answer needs several documents. It is measured apart: how many of its documents are among the first 5 passages of one search (share) and whether all are (all found); the other numbers count questions with one document only. Add one under Me → Documents → Search check → Add a test question with "More right documents" (a page then does not apply). With Test questions by the Spark every third attempt of the day tries a multi-document question first: the panel picks two documents with the same sender or a common tag in their document card by a fixed rule (never the model), the language model writes a question from one passage of each that needs both; the same fixed checks apply against both passages, at most 60 such questions per profile and one per pair of documents. Shown under Me → Documents → Search check ("Multi-document questions", "Found badly" with "x of y among the first 5"), as sums under Status → Checks → Check the search and in the live overview as the share "all found"; journal wissen: sammelfrage gemacht | 2 dokumente, … verworfen | <reason>, a run with N sammelfragen alle A teil T. The test bank has 20 documents and 10 multi-document questions; test_suchpruefung asks for at least 75 %.

Knowledge book: admin switch Features → Own documents → Knowledge book (chat.knowledge_book, off by default; "Documents per day and profile" chat.knowledge_book_day 5 to 200, default 40). In quiet minutes (after the card step in wissen.due_once; with "Document card and tags" a document waits for its card) the language model reads one own document (at most 9000 characters) with up to 5 fitting pages and proposes, as JSON, pages (topic, person, company, thing, place) with short sentences, each with its passage number. The panel decides by fixed rules: a sentence needs a real passage of this document as source, 8 to 400 characters, at least two words, no links, markup or command words; every number and date must stand in the source (number probe). When a new sentence contradicts an old one in value, both stay marked as a contradiction, never overwritten. At most 5 pages and 8 sentences per document, 60 sentences per page, 5000 pages per profile. Under Me → Documents → Knowledge book the profile reads its pages by kind, jumps to the source, removes a sentence with "Wrong" (it never comes back from the same document), has a page rewritten or deletes it. document_search brings the best page first (shared words, title counted three times) with sources, then the passages; the system prompt names up to 40 fitting page titles. Pages are outside text (chat.wrap_outside, read lock as for documents), never go into the memory and hold only own documents, never "for everyone" ones of other profiles; guests never. The search check also measures multi-document questions in the mode "wissensbuch". Status → Live shows only pages, sentences, waiting documents and profiles, the journal only numbers (wissen: wissensbuch eingearbeitet | …). Tables wb_pages, wb_sent, wb_docs, wb_block, wb_log in users/<profile>/wissen.db.

Checking the knowledge book: once a night per profile (search check's night window, suchpruefung.night) the panel checks by fixed rules: a document with changed passages (fingerprint wb_docs.sig, e.g. after "Read again" or Docling) loses its sentences and is worked in again; sentences of vanished documents go. gedaechtnis.check marks a sentence "out of date?" when a date in it has passed (R1) or a time word like "currently" is too old (R2). Then the language model checks at most chat.knowledge_book_sample sentences a night (0 to 100, default 50; 0 = fixed rules only) only for "does the passage say so?"; a no removes the sentence like "Wrong", unclear leaves it. Deleted documents (Me → Documents) and left-out folders take their sentences at once (documents.on_gone, subscriber wissensbuch.forget). At the top of Me → Documents → Knowledge book are contradictions (each value with its source; "Right" keeps that one, the others never come back) and out-of-date sentences ("Still right" counts as said from then on, "Wrong" removes). Answers from the book carry "(maybe out of date)". History, Status → Live (number of contradictions and out-of-date sentences) and journal (wissen: wissensbuch geprueft | …, … stichprobe bestaetigt|entfernt|unklar, … quelle weg | …) only with numbers.

Filing answers, Kiwix, Obsidian and NAS: when an answer rests on at least two sources (own documents from document_search or Kiwix articles from archive_search/article_more), the chat shows "To the knowledge book". The panel keeps the answer one hour in memory only (at most 200, bound to the profile); only the owner's click files it, never the model. Every sentence needs a passage from exactly these sources that holds all its numbers and shares at least 40 % of its words (wissensbuch.match), plus the same checks as when working in; sentences without a passage are dropped. The page has the kind "Answer"; Kiwix articles stand as source "Kiwix: title" (no link, table wb_kiwix) and are checked at night like documents. Download as an Obsidian folder (GET /api/profile/wissensbuch/export) returns a ZIP with one note per page, [[links]], sources as footnotes and Wissensbuch.md as index. When the profile has a filing folder (Me → Storage, "File here") with automatic filing, a copy "Wissensbuch YYYY-MM-DD.zip" goes to spark_ablage/Erstellt/ at night after the check, only when the book changed. Journal: wissen: wissensbuch abgelegt | …, … ablegen abgelehnt | …, … export | 1 datei, … nas abgelegt | 1 datei.

Knowledge map: admin switch Features → Own documents → Knowledge book → Knowledge map (chat.knowledge_map, off by default, child of wissensbuch; no profile switch, never guests). The knowledge book has its own menu entry (Knowledge book, a full page with the tabs Pages and Map; the Me page wbbox stays the target of every way). After the knowledge book step the language model gets the same document with at most 12 pages the panel picks (the document's pages, then pages whose whole title stands in the text) and proposes connections as JSON, each with its passage number and a kind from the fixed list wissenskarte.ARTEN (belongs to, part of, owns, paid to, insured with, contract with, works at, lives in, located in, concerns, deadline for, replaces, depends on; causes: led to, causes, raises, lowers). The panel decides by fixed rules (check_edge): both ends offered and named in the passage, the detail one line of up to 40 characters without link or command and with the number probe, a cause only with a word of reason in the passage (SIGNALE), at most 30 connections per document and 25,000 per profile, "Wrong" (wk_block) for good. Existing documents are worked in bit by bit (fingerprint wb_docs.sig), deleted ones take their connections at once (documents.on_gone). Browser (own SVG code with textContent) and iPhone (SwiftUI) draw the map themselves from the JSON of GET /api/profile/wissenskarte (at most 150 points and 400 connections, around a page, of a document or the best connected ones); the model never delivers SVG, Mermaid or DOT. Export as Mermaid or Graphviz text from fixed code (names cleaned, no click, style or link lines), as SVG and PNG from the browser, in the Obsidian folder every connection as a [[link]] with its kind. Drag points, drag a document onto the map, "To the middle", zoom with the wheel and two fingers. Work in first (stage 2): on the left under Waiting stand up to 12 documents the map does not have yet; dragging a waiting document onto the map or tapping First (POST /api/profile/wissenskarte/vorziehen/{doc}, iPhone: Not worked in yet → First) puts it in wb_vor, and the knowledge book, the map and the points take it before all others (wissensbuch.VOR_ORDER); the daily limits stay, at most 20 wishes per profile, each for at most 7 days. Only own, searched, ready documents; one the map has already or one the knowledge book could not work in is refused. Keep places: a dragged point is pinned (table wk_lage, POST /api/profile/wissenskarte/lage, at most 50 per request and 3000 per profile, only points of the map, numbers within ±100,000): it stands there in every part of the map, the others arrange themselves around it; a small dot top right shows it. Unpin in the selection or Unpin all (DELETE /api/profile/wissenskarte/lage[/{id}]) frees it. The iPhone keeps its ring picture, shows the pin and can unpin. Time: above the map stand New since last week and New in 30 days (?neu=7|30, connections by when they were made, wk_edges.made) and From/To as a month (?von=&bis= as YYYY-MM or YYYY-MM-DD, the document's date from its Steckbrief, else the day it came); without a point or document the map shows the points of those connections, else only their connections, the export follows the filter. Timeline shows the documents of the part on a line by date, the Steckbrief's deadline as a red diamond; a tap shows the document's connections on the map. iPhone: menu Time with the same filters and Timeline as a list. Topic islands: a fixed rule (label propagation over the connections, at most 12 rounds, order by connections, wissenskarte.inseln, no model) groups closely connected points into islands, anew on every change of the map, always the same for the same map. When the map has more points than one answer shows (150), it starts with the overview (?inseln=1): per island a bubble with a name (its best connected point) and a count, lines as thick as the connections between islands, at most 80 islands. A tap opens the island (?insel=), then as usual To the middle for the neighbourhood; the switch Topic islands on top changes it. iPhone: menu Topic islands. Contradictions in red: when a page of the knowledge book has sentences marked "widerspruch", its point has a red dashed border, the selection names the number, "Open page" leads to settling it. Status → Live only connections, points, waiting and wished-first documents, pages with a contradiction and profiles; the journal only fixed words and numbers (wissen: wissenskarte verbunden | n verbindungen | m verworfen | …). Tables wk_edges, wk_docs, wk_block in users/<profile>/wissen.db. Measured under Status → Checks → Measure knowledge.

Knowledge store faster: no feature of its own, no switch. The vectors of the meaning search are kept in memory as float16; documents._similar reckons in float32 block by block, 4096 passages at a time, so the ranking stays the same. The knowledge book finds its pages through an own search index (SQLite FTS5, table wb_fts with title and sentences of each page); fixed SQL triggers note every changed, new or deleted page in wb_ftsdirty, and before each save the panel writes its row again. A missing index is built once on first opening (wissen: wissensbuch suchindex aufgebaut | n seiten). The count is shared words, title three times; without FTS5 in SQLite the panel counts the words of all pages (wissen: wissensbuch suchindex fehlt | wortzaehlung). The knowledge map picks its visible part in SQLite: a fixed query counts connections per page and document, around a page WITH RECURSIVE walks at most two steps, UNION takes each page only once per step (no endless ring); limit 150 points and 400 connections. Two fixed queries with values only as parameters, never from the model's text: wissenskarte.rund_um (pages around a page with their distance) and wissenskarte.weg (shortest way between two pages, at most 4 steps, always the same one on a tie). For other parts of the panel there is wissensbuch.liste(uid, worte, k): read only, bound to the profile (empty when the knowledge book is not allowed for the profile, never for guests), it returns [(page id, rank from 1)] from the same FTS5 search, at most 50, never titles or sentences. Tables wb_fts and wb_ftsdirty in users/<profile>/wissen.db.

Knowledge map daily limit: Features → Own documents → Knowledge book → Knowledge map → Map: documents per day and profile (chat.knowledge_map_day, 5 to 500, default 200). A map step is short, so the backlog of a full knowledge book (about 150 documents) is worked in within about a day. Only in quiet minutes, when the knowledge book has nothing to do, one document per step behind speech.

Find in all data: admin switch Features → Find in all data (chat.fund, off by default; no profile switch, the admin blocks single profiles, never guests or foreign voices). Menu entry Find next to the knowledge book with the tabs Search, Tags and Settings (Me page fundbox). Per profile a file users/<id>/fund.db (SQLite, FTS5): fund_item (source, reference, date, title, excerpt, fields), fund_fts (words of title, fields and tags, never a document's body), fund_blind (for sealed sources), fund_tag (tags with an HMAC mark per profile, vorrat.marke, key by HKDF from the vault key and the profile id), fund_hand (own tags), fund_stand. Collecting contract fund.QUELLEN (name, feature, protection, kind, neues_seit, noch_da, oeffnen): documents, NAS knowledge folders, reMarkable and knowledge book as references; Find searches their text through documents.search (rank fusion RRF k = 60). Every five minutes per profile a background round (vorrang.in_thread("Suchindex"), at most 200 entries per source and round), only when documents changed. Fields and categories only by fixed rules: amount after "Gesamt/Summe/Rechnungsbetrag", number after its fixed word, kind from fixed words or the document card, company only when the sender stands word for word in the text; categories only from fund.KATEGORIEN (kinds of the document card without "Sonstiges", with "Bestellung" and "Buchung", plus 13 areas). Own tags come first: ✓ keeps, × removes one for good, + adds one; they survive "Rebuild", free tags of a document go to its document card. In the assistant: tool fund_suche (Weiche group "finden": a search word and something of one's own like an invoice, a contract, a mail or "my …", never with internet or archive), at most five hits of 400 characters each as outside text; filters (category, company, person, source, one year) only when the person's own words of the message hold them. Below the answer the card "Show in Find" (browser, apps through the panel view, companion). Ctrl K offers "Find in my data: …". Endpoints POST /api/profile/fund/suche, GET /api/profile/fund/eintrag/{id}, PUT …/schlagworte, GET /api/profile/fund/stand, POST /api/profile/fund/neu, DELETE /api/profile/fund (login, own profile, CSRF, size and rate limit), GET /api/admin/fund (numbers only). Log area Find (fund: suche | 3 treffer | 41 ms | P1, fund: runde dokument | 12 neu | 0 weg), live line Find with numbers only. Self-tests tests/test_fund.py. A collection as the filter: beside source and category stands a chooser "All collections" / an own collection, and fund_suche takes a collection from the own words or the conversation's binding; then only documents and knowledge book pages of the collection count (table mp_eintrag, never fund_tag), other sources fall away, another profile's or an unknown collection finds nothing (see Collections).

People, companies and deadlines: admin switch Features → Own documents → Knowledge book → Knowledge map → People, companies and deadlines (chat.knowledge_ents, off by default, child of wissenskarte; no profile switch, never guests), daily limit Points: documents per day and profile (chat.knowledge_ents_day, 5 to 500, default 200). After the map's connections the language model gets each document (passages [S1] … and offered pages [K1] …) and proposes only JSON: dinge with kind, name and passage number, plus verbindungen between things (D1 …) and pages. The panel decides by fixed rules (wissenskarte.check_ent): a kind from wissenskarte.ENT_ARTEN (person, firma, ort, vertrag, konto, frist), the name stands in the passage (compared lower case, without accents, with spaces drawn together, ent_norm), 2 to 80 characters without link, markup or command word, a deadline only with a date or a number with a unit of time in its name, an account only as an IBAN or a number with at least five digits; at most 40 points and 200 passages per document, 15,000 points per profile. Connections only from ARTEN with the same check as check_edge; connections between two pages are the map step's job. Stored in the profile's wissen.db: wk_ent(id, art, name, norm, alias) with a unique index on (art, norm), ids are never given out again; wk_ment(ent, doc, chunk) with the passages; the same name of the same kind (also an earlier name in alias) gets the same point. On the map the points are called k<number> and carry the colour of their kind; buttons above the map show one kind with its neighbours; view, rund_um and weg take them along (limits 150 points and 400 connections). Other parts only read: wissenskarte.finde_knoten(uid, name, art=None) (exactly by name and other names) and wissenskarte.knoten_liste(uid, art, anfang="", most=50) (sorted by name), through a read-only connection and only while the switch counts for the profile. Renaming (the old name becomes another name), merging (same kind only; passages and connections move to the target) and deleting (never comes back from these documents, also not in a spelling that is "gleich" by wissensdoppelt.aehnlich: another form of address, title, order, ß/ss; a mere suggestion never blocks, wissensdoppelt.gesperrt) happen only by the owner's click through POST /api/profile/wissenskarte/knoten/{id}/name, …/zusammen and DELETE …/knoten/{id}, with sign-in, profile binding, CSRF, size limit, rate limit and the code of "Confirm" (stufen.LIST); the model never decides. Every change calls the subscribers of wissenskarte.GEAENDERT as fn(uid, alt_id, neu_id, was) (zusammen, weg with neu_id None, name with neu_id equal to alt_id); an error there is logged and disturbs nothing. When a document goes (documents.GONE), its passages go at once; a point without a passage disappears and reports weg. Live shows only the number per kind, the log only fixed words and numbers (wissen: wissenskarte knoten erkannt | n knoten | n neu | n verworfen | n verbindungen | n weg). iPhone: points in the colour of their kind, "By kind" and "Delete"; renaming and merging in the panel. Self-test test_wissensknoten. Find: mail and attachments: sub-switch Features → Find in all data → Find mail and attachments (chat.fund_mail, off by default, a child of "fund", needs Reading e-mail; never guests). fundmail.py reads all mail, the newest first, with no upper limit: per mailbox inbox, archive and sent (role through postfach.role: the server's SPECIAL-USE flags first, else the usual names), never spam, trash, drafts or Gmail's views; only reading (tidy.Box, EXAMINE, BODY.PEEK: mail stays unread) and only to the configured mailboxes (mail.IMAP = netguard.IMAP4_SSL). Per folder fund_stand keeps the UIDVALIDITY, the highest UID read and the lowest read backwards: each round first fetches new mail (UID n+1:*), in quiet minutes (wissen.quiet: a minute without a question, nobody speaking) and at night (01–06 longer) older ones backwards; another UIDVALIDITY reads the folder anew, once a day a reconciliation (UID SEARCH ALL) takes out what was deleted. Slices of at most 0.2 s reading and 20 mails, one transaction each, vorrang.hold in between (a pause while someone speaks); the round runs in a low-priority thread (vorrang.in_thread("Suchindex")), started apart from fund.due_once and never awaited: every five minutes for profiles that read their mail, else hourly, at once after a new mail (mailidle.on_new). Protection by space: below a fixed free reserve of 2048 MB reading stops with a log line. Sealed: subject, excerpt, fields (sender address, amount, number, folder role, attachment names), tag values and own tags only AES-GCM (vorrat.seal, bound to profile, source, entry and field), the words only as HMAC marks in fund_blind (per word stem, plus its first four letters and the sender's words); in plain text only source, entry key (mailbox id, a mark of the folder, UID) and date; without a key nothing is written. Attachments (PDF, Word, OpenDocument, text …, at most 10 MB, text up to 30,000 characters) through documents.extract_pages: text and fields (amount, invoice number, company by the fixed rules) go only into fund, never as a document into wissen.db; a scan without text keeps its file name. An attachment hit lifts its mail (one card with "Attachment: …"). "Open" shows the mail on the E-mail page in its folder (archive and sent, as there, only with "Order mail"). The search no longer finds a removed mailbox's mail at once; the rows go with the next look. With mail released fund_suche counts as a mail reader (offer()["mail"]): the locks after mail (LOCKED_AFTER_MAIL) apply. Logs fund: runde mail | 120 neu | 0 weg | 4800 offen | 12.3 s | P1, fund: mail platz knapp | … MB frei, fund: mail uidvalidity gewechselt | ordner neu, fund: mail konto entfernt | n weg; live Find: "Mails: heute N eingelesen, M offen", "Platz knapp". Find → Settings shows "Mails not read yet". Self-tests tests/test_fund_mail.py (a fake mailbox).

Find: appointments, contacts, conversations, lists, reminders, pictures, songs and "from the surgery": five sub-switches under Features → Find in all data, off by default, children of "fund"; each source also follows its function (fundquellen.frei); never guests. fundquellen.py holds the sources, fund.runde collects them with the documents (at most every five minutes, only when a file changed, fundquellen.stempel; one that reaches the limit of 200 entries per source goes on in the next round). Find appointments (chat.fund_termine, needs Calendar): own calendars only from the copy on the Spark (kalenderspiegel, a Spark calendar from sparkkalender), never a fetch of its own; calendars others share stay out. Title, place and description sealed like mail (AES-GCM through fund.put_sealed, words as HMAC marks), per object the ETag as its state (as a mark); a removed calendar leaves the search at once. Find contacts (chat.fund_kontakte, needs Contacts): name, company, position and town sealed, never numbers, mail addresses or streets; name, company and town become tags (person, company, place). Find conversations (chat.fund_chats, needs Past conversations): per conversation only date, channel (Telegram, Siri, watch …) and number of questions; the words are searched by recall.liste (BM25 of the history, answers from mail stay out), the title is read when shown, nothing of it is in fund.db. Find lists and reminders (chat.fund_listen, needs Lists or Timers and reminders): own lists on the Spark, lists of others only through tasks.shared_to (Share lists on for both, the share still there), plus every reminder; clear like their source. Find pictures and songs (chat.fund_medien, needs Painting pictures or Making music): wish, description and lyrics. A hit opens its page (the calendar on the appointment's day, the contact card, the list, the conversation in the chat, notifications, pictures, music). Periods: frisch.spanne(text, now, zone) is the one rule for "heute", "gestern", "vorgestern", "diese/letzte Woche", "diesen/letzten Monat", "dieses/letztes Jahr", "im März", "März 2024", "2023", "vor drei Wochen" (also in English); two different periods of one kind are none. wissen.recent_window and the filter of fund_suche use it. "vom OP" (from the surgery): fund.bezug_aus reads from the person's own words "vom/vor dem/nach dem/seit dem " (sure) or "beim/zum/zur/von der " (only when an appointment fits), never a time ("vom letzten Jahr", "vom Montag"). The panel looks in the own calendars for the newest past appointment (at most 3 years) with all word stems through its marks; entries 14 days before to 60 days after get a fixed rank bonus (1/60), nothing is dropped. Without an appointment a fixed sentence says "Einen Termin „OP“ habe ich im Kalender nicht gefunden." and the search runs without a window; the word is then no search word. On the page Find a line above the hits shows period and appointment. Logs fund: runde termin | 3 neu | 0 weg | …, fund: bezug | termin gefunden, fund: bezug | kein termin (never the word); live Find: "Termine N · Kontakte N …", "Bezug heute N gefunden, M ohne Termin". Self-tests tests/test_fund_quellen.py (a fixed time, never the clock).

Find: tags by the model, points of the knowledge map, one ranking and the Sofort-Karte: sub-switch Features → Find in all data → Tags by the model (chat.fund_schlagworte, off by default, a child of "fund"; never guests), below it Tags: entries per day and profile (chat.fund_tag_day, 5 to 500, default 200). In quiet minutes (wissen.due_once after the knowledge map, only when wissen.quiet()) the language model reads one entry after the other through llm.complete, the newest first: title, excerpt, fixed fields, for documents the start of their text, at most 1500 characters, wrapped with chat.wrap_outside. Conversations and knowledge book pages have no text in the index and stay out. The answer only as JSON {"kategorien", "personen", "firmen", "orte", "frei"}, data, never an order. fund.pruefe keeps a category only from fund.KATEGORIEN (at most 3), a person, company or place only when the name stands in the entry word for word (wissenskarte.stands, name rules wissenskarte.clean_name, at most 5 each), a free tag only through documents.clean_tags and never with a command word (at most 5); what the person removed (fund_hand minus) never comes back. A model tag never overwrites one of the rules, shows dashed with "by the model" and is never a filter of the tool. Under Find → Tags, "New from the model" shows the proposals of the last 7 days: ✓ keeps one as your own, × removes it for good. At most two tries per entry; a changed entry is read again. Points of the knowledge map: people, companies and places (from rules, contacts, the model and by hand) get the point of the same name (fund_tag.ent through wissenskarte.finde_knoten, read only; fund never makes a point), also when the point comes later (fund.verknuepfe per round, at most 500). fund.knoten_geaendert listens to wissenskarte.GEAENDERT: merged → the tag follows the new point, deleted → it stays a name without a point. Knowledge book pages do not stand in for people, companies and places. A point counts in the ranking like an own tag (+1/60). Ranking: every list of the form liste(uid, worte, k) -> [(key, rank)] goes into the mix through fund._fuse with k = 60: recall.liste (conversations), wissensbuch.liste and, where present, wissenskarte.liste (pieces, their document is the hit); a broken list leaves the others standing. Sofort-Karte: when the person asks to find something (fund.FIND_WORDS) and one hit lies clearly ahead (the only one or at least 1.5 times the score of the second, fund.klar_vorn), the panel answers itself with a fixed sentence (fund.sofort_satz: "Gefunden: Mail von Thomann vom 14. März 2024 mit dem Anhang „Rechnung 4711“, Betrag 129,90 €."), values without markup or link signs, at most 60 characters each; the model is not asked and rewords nothing (chat_tools hands ctx["fest"], chat_modell says the sentence and ends). Panel chat and Android: card "Open the original" and "Show in Find"; Begleiter: "Open the original", then "Show in Find"; Telegram: button "Original öffnen" to <panel>/#fund=<no> (only with the panel's address entered, only navigation); spoken (speaker, watch, Siri, CarPlay) the short form without the attachment. When the appointment of a "vom …" is missing, the fixed sentence says so first and the model answers. Local first: lokal.SOURCES["fund"] looks in the quick look into the clear sources without an index of their own there (knowledge book, lists, reminders, pictures, songs; never mail, appointments, contacts). Logs fund: schlagworte modell | 3 ok | 1 verworfen | … | nicht_im_text=1, fund: schlagworte modell fehler | ValueError | …, fund: knoten zusammen | 2 schlagworte | …, fund: knoten verknuepft | 4 schlagworte | …, fund: sofort | 1 treffer klar vorn | … (never a word); live Find: "Schlagworte heute N Einträge, M übernommen, K verworfen, L offen", "Sofort-Karten heute N". Self-tests tests/test_fund_schlagworte.py (an obeying model, a fixed time, browser test).

Find: measurement, iPhone native and companion jump: no switches of its own. Measurement is the measuring part "fund" of Measure knowledge (sudo speech-spark wissen messen synth 5000 or Status → Checks → Measure knowledge, 10 mails per document; see Technical): it fills an index with synthetic data from a fixed seed in the run's throwaway folder (never a profile, removed afterwards, also after an error) and measures search time p50/p95/maximum over 200 searches (one to three words, category, period, sender), reading in per 1000 mails (the first 1000 as real MIME messages through fundmail.eintraege, every fifth with an attachment), writing per 1000, the size of fund.db and the process's RAM. Mails and attachments are sealed like real ones (fundmail.schreiben, AES-GCM and HMAC marks); the Spark's key is only read, without it the part measures nothing (fund: messung abgelehnt | kein schluessel). The result as numbers only: under Status → Checks → Measure knowledge ("Find: search over mails and documents", "Find: mails · attachments · size of the index"), in the log wissen: messung teil fund | dokumente 5000 | suche p95 61 ms | ram … mb and in the box "Wissen messen" under Status → Live. Goal: 95 % of the searches below 150 ms. Measured in the container: p50 24 ms, p95 61 ms, reading in 3.3 s per 1000 mails, 314 MB for 50,000 mails, 10,000 attachments and 5,000 documents (about 5 KB per entry), 89 MB RAM. test_fund_messung measures the same with generous limits for GitHub. Fast search: fund._Erlaubt asks SQL only for the candidates of the lists (by row id), fund._ext_ids looks up only the keys a list brings, fund._klar_absender checks the sender filter in SQL first (a necessary condition, the exact check stays), fund._marke keeps HMAC marks per profile and key in memory (at most 50,000). iPhone native: My things → Find (with the release of Find, iphone.THINGS["fund"]): search field, filter chips source, category and period (last 30 days, this year, last year), hits with source, date, sender, attachment and tags; a hit shows every field, the tags with their origin (✓ keeps as your own, × removes for good, "Add a tag" with its kind), "Open the original" and for a mail its attachments; Settings shows count and state per source, "Rebuild" and "Delete the index" (keep the own tags or delete them too). Nothing of the index stays on the iPhone. Under an answer from the own data stands "Show in Find", with the Sofort-Karte first "Open the original" (the panel inside the app at #fund=<no>). Android shows the panel's page Find. Companion (Windows and Mac): under the Sofort-Karte first "Original öffnen" (chat.DESK_ORIGINAL, #fund=<no>), beside it "In Finden ansehen"; besides the pages of chat.DESK_GOTO the programs open only exactly this form (#fund= and at most 12 digits), the panel checks on opening that the entry is the profile's own. Attachments: a mail's hit (panel and app) names its attachments (names only, at most 20). Self-tests tests/test_fund_messung.py, tests/test_fund_apps.py (browser test of the attachments).

Find: size of the index: no switch, only a value. Find → Settings shows "Size of the index" as a sum (below 1 GB in MB, else GB with one decimal); opened it lists Find's file (users/<id>/fund.db with -wal and -shm), its split by source (mail, attachment, document, appointment …, estimated from rows and text length, the parts add up to the file size exactly) and "Documents and knowledge" (users/<id>/wissen.db with -wal and -shm: text, vectors, knowledge book, knowledge map). One source: fund.groesse(uid) gives numbers in bytes only, keeps them 60 seconds (fund.GROESSE_CACHE) and never runs on the event loop in the routes; /api/profile/fund/stand carries it as the field groesse. The admin sees the same number under People and devices at the profile in the section Data (/api/admin/profiles/<id> field index), Status → Live in the box Find the sum of all profiles ("Index 1,2 GB (Finden 300 MB, Dokumente und Wissen 900 MB)"). iPhone under Find → Settings from the same endpoint, Android through the panel view. Written by sizeText in base.js (also for Kiwix books), in Live fund.groesse_text. "Delete the index" and "Rebuild" give the space back at once (VACUUM).

Map helps the search: admin switch Features → Own documents → Knowledge book → Knowledge map → People, companies and deadlines → Map helps the search (chat.knowledge_search, off by default, child of wissensknoten; no profile switch, the admin blocks single profiles, never guests). The knowledge map gives the document search a third list of hits besides words and meaning: wissenskarte.liste(uid, worte, k) returns [(piece id, rank from 1)], at most KARTE_MOST (50), read only (SQLite mode=ro), only for the own profile; empty without release. Fixed rules, never the model: (1) search words hit points by name and other names (wissenskarte.trifft): whole, compared as ent_norm does (lower case, without accents, spaces drawn together, an account also without spaces), or by one name word of at least 4 letters that is no number and no legal form (KARTE_ALLGEMEIN: GmbH, AG, KG …), where the question's word may be up to two letters longer ("Stadtwerken"); at most KARTE_KNOTEN (20) points; (2) their neighbours one step away over connections that count (the same query as rund_um); (3) their places from wk_ment, only in used, read own documents; (4) a piece with a named point before one with only neighbours, more points before fewer, then the smaller piece id. documents.search(..., karte=True) mixes the list with 60 plus place, weighed documents.KARTE_WEIGHT (0.5), only for pieces the search lets through anyway (in use, narrowed documents); never for documents of other profiles (shared_only). The weight is below 60/89: a piece only from the map stands behind every one words or meaning found among their 30; it adds, never replaces. Such a hit carries karte, below the answer it says "via the knowledge map" (kept as w of the source, profiles._att). Only wissen.search uses it (document_search, "Look locally first"); per search one line wissen: kartensuche | n von m stellen über die karte, on a failure wissen: kartensuche fehler | kind, then on without the map. Status → Live, box Knowledge map: "Suche über die Karte an: n Suchen, m Stellen" (numbers only). The search check shows its own bar "With knowledge map". With the test bank (tests/data/suchbank.json, words only, points as a model without mistakes names them): single questions without and with the map 87 % among the first five, multi-document questions 83 % → 89 % of their documents, all documents 62 % → 75 %; floor KARTE_SAMMEL_FLOOR 89 %, plus FLOOR and SAMMEL_FLOOR. Security: read only, bound to the profile, the same filters as the search; the passages stay outside text. For other parts there is wissenskarte.knoten_von_dok(uid, doc, arten=None): the points of one document through wk_ment as [{id, art, name}], sorted by kind and name, at most 200, arten filters (unknown kinds drop out), read only, bound to the profile, empty for guests and without the release of "People, companies and deadlines". Collections: admin switch Features → Collections (chat.mappen, off by default; no profile switch, the admin blocks single profiles, never guests), below it Collection: tokens to the model (chat.mappe_token, 4000 to 100000, default 24000). Menu entry Collections (Me page mpbox) with the list and the open collection. A collection bundles own documents, knowledge book pages and notes for one undertaking, with name, goal and symbol. Tables mp_mappe and mp_eintrag in users/<id>/wissen.db, at most 50 collections per profile and 100 entries per collection. A note becomes a document of its own (source "notiz", up to 20 000 characters) and lies whole in the collection. Levels by a fixed rule (mappen.plan), never by the model: off does not go, short gives the profile card (wissen.card_line) or a page's title and three sentences, whole the whole text while the sum fits the budget (characters by verbrauch.CHARS_PER_TOKEN); first every short one, then the whole ones in the collection's order; a whole document that no longer fits is only searched (documents.search over exactly these documents, at most 8 passages). A bar shows "≈ X of Y tokens". In the assistant: "Ask in the assistant" binds the next questions to the collection (chip above the conversation, field mappe in the chat); the panel checks the id against the own profile and gives the entries with marks [M1] … as outside text (chat.wrap_outside), the turn counts as outside text (changing tools locked). Tools mappe_liste, mappe_stand (reads names from documents, locks afterwards) and mappe_dazu (changes; collection and document only when the person's own words of the message name them), Weiche group "mappe". When a document goes, its entry goes with it (documents.GONE and on reading); deleting a collection only removes the assignment, never a document. Endpoints GET/POST /api/profile/mappen, GET/PUT/DELETE /api/profile/mappen/{id}, POST/PUT/DELETE …/eintrag, POST …/notiz (sign-in, own profile, CSRF, 64 KB, rate limit "mappe"). Logs mappen: chat | 3 eintraege | 1 kurz 2 ganz 0 suche 0 stellen | 5200 token | P1, never a name; live line Collections with numbers only. Self-tests tests/test_mappen.py.

Collections in search, Find and on the iPhone: no switches of its own. A collection as the search's filter: document_search and fund_suche have the parameter mappe (name). The panel takes it only when the person's own words of the message hold the name, else the collection the conversation is bound to counts (an own id, checked by mappen.for_turn); a different one the model names is dropped and counted (mappen.fuer_werkzeug). Only entries set to whole are searched (short already stands in the context as the document card, off never); documents other profiles share fall away, the knowledge book brings only pages of the collection. Without a whole entry a fixed sentence says why nothing comes. fund.suche(…, nur=…) takes the collection's documents and pages from mp_eintrag (never over fund_tag) and leaves out every other source: with a collection no mail, attachment, appointment, contact, conversation or list ever comes. Find: beside source and category a chooser "All collections" / an own collection (mappen.js mpFundWahl); the page filters with every entry of the collection whatever its level (mappen.fuer_seite); another profile's or an unknown id finds nothing, never everything. iPhone native: My things → Collections (MappenView.swift): the list, a new collection, a collection with its entries and the level as a segmented control, "≈ X of Y tokens", take an entry out, delete a collection (with a question; the documents stay); putting documents in, notes and renaming in the panel. Android through the panel view. Companion: features.DESK_SKIP. Logs mappen: filter | fund | chat | 1 dokumente 0 seiten | P1, mappen: filter verworfen | dokumente | nicht in den eigenen worten; Live Collections counts searches within collections. Router: three sentences in intent_bench.py. Self-tests tests/test_mappen.py (class Filter).

Analyses per document: admin switch Features → Own documents → Analyses (chat.doc_auswertung, off by default; no profile switch, the admin blocks single profiles, guests never), below it Analyses per day and profile (chat.doc_auswertung_day, 10 to 500, default 100). Under Me → Documents every own, read document has the sheet Analyses in its details with the fixed kinds summary (at most 6 sentences), key points (8), questions on the text (6), contents, deadlines and people. By default summary and key points are made by themselves in quiet minutes (auswertung.AUTO), the others per click "Make" or "Show". Check: the model gets the document in numbered places [S1] … and answers only JSON {"punkte": [{"text", "quelle"}]}; auswertung.pruefe keeps a point only when its place was offered, wissensbuch.check_sentence passes against it (length, no links, no markup, no command words, every number stands in the place) and, for summary and key points, wissensbuch.match finds enough words of the place; a question ends with "?", the panel shows its answer as a quote of the place. Doubles and points marked "Not right" (table aw_block) go; dropped ones are counted, never shown. Without the model: contents from the headings of the pieces (chunks.part), deadlines from the profile card's deadline and knowledge map points of the kinds deadline and contract, people from people, companies and places (wissenskarte.knoten_von_dok, read only; place by wissenskarte.stands); without "People, companies and deadlines" the sheet shows only the card's date and says what is missing. Run: the quiet chain is the list wissen.KETTE (one source for the order); auswertung.due_once stands after the knowledge map and fund.schlagworte_due. One kind of one document per step, every pass through vorrang.run("Auswertung") (stops on speech, the kind waits again), long documents in at most 5 passes of 12 000 characters and only after wissen.long_ok; a document read again waits again, a broken answer at most three times. Table aw_ergebnis in the own wissen.db. Tool dokument_auswertung(dokument, art) (read only, switch group dokument) hands over only checked points with their page as outside text. Endpoints GET /api/profile/wissen/{doc}/auswertung, POST …/auswertung/{art}, DELETE …/auswertung/{art}/{n} with login, own profile, CSRF, 16 KB and rate limit "auswertung". Status → Live: box Analyses (done, waiting, dropped today); Logs area Wissen: "auswertung: fertig | kurz 3 punkte 1 verworfen | …".

Analyses: by themselves, templates, remind, collections, iPhone: Under Features → Own documents → Analyses the admin chooses which kinds are made by themselves in quiet minutes (chat.doc_auswertung_auto, default summary and key points; a kind without the model such as the contents then stands in the sheet without a click). He also sets up to 10 templates, own kinds with a name (German and English), a task (8 to 400 characters) and "by itself"; they lie in STATE/auswertung-vorlagen.json (only through common.STATE, in the backup) and hold at once for every profile. auswertung.check_vorlage lets name and task through only without links, markup and command words, also when the file is read. The task is a topic for the model, no rule: it stands quoted in the fixed frame of the prompt, the model answers in the same JSON form, auswertung.pruefe checks as for the key points (place offered, number check, enough words of the place, at most 8). In the journal a template is only vorlage, never by name. A deleted template takes its results in every profile with it. Remind: a knowledge map deadline with a full date in its name (31.12.2027 or 2027-12-31) gets "Remind" in the sheet (POST /api/profile/wissen/{doc}/auswertung/fristen/{n}/erinnern, sign-in, profile binding, CSRF, rate limit auswertung); the reminder comes as for the profile card six weeks before at 9:00 or the day before, only while the deadline reminder is on under Me → Documents. A duration ("three months") or a date only nearby gets no button: the panel never guesses. Collections: the level "short" brings along with the profile card the made summary, key points and templates of a document, every point with its page, at most 1500 characters (auswertung.fuer_mappe, mappen.kurz_text), as outside text; the entry names which are included. Questions on the text do not go along. Live shows the number of templates. iPhone: in the document details under Open, "Analyses" leads to the sheet: every kind with its state, "Make", "Show" or "Make again", every point with page and heading, for questions the place as the answer, "Not right" by swiping (the point does not come back), "Remind" for deadlines with a full date; the same endpoints as in the panel (iphone.THINGS["documents"]), English in Localizable.xcstrings. The admin sets templates and "by themselves" in the panel; Android shows the panel view.

Transcribe recordings: admin switch Features → Own documents → Transcribe recordings (chat.doc_audio, off by default; no profile switch, the admin blocks single profiles, guests never), below it Largest recording (MB) (chat.doc_audio_mb, 10 to 1000, default 300), Longest recording (minutes) (chat.doc_audio_min, 5 to 600, default 180) and Minutes of transcription per day and profile (chat.doc_audio_day_min, 10 to 1440, default 240). Under Me → Documents "Add" then takes audio and video files (mp3, m4a, aac, wav, ogg, opus, flac, webm, mp4, mov, mkv) and sends them to POST /api/profile/docs/audio (module abschrift.py, login, own profile, CSRF, size limit before reading through BodyLimit, rate limit "docaudio"). Check on upload: the first bytes must fit the ending (abschrift.fits: RIFF/WAVE, OggS, fLaC, Matroska, ftyp, ADTS, MPEG/ID3); the file is copied in parts with a limit, never all into memory, and lies as users/<id>/docs/audio-wait/<document id>.<ending> (0600, never under the uploaded name); ffprobe reads the length, a file without a sound track or over the limit goes at once. At most 5 recordings wait per profile. The document has kind audio, source audio and state hoeren; the row shows a wave symbol, "12 of 94 minutes transcribed" with the reason it waits, and in the details "Stop" (POST /api/profile/wissen/{doc}/abschrift/stop: what is written stays; without any text the document goes). Transcription: abschrift.due_once stands in wissen.KETTE after the page pictures and before the profile card, so it only runs in quiet minutes. Per step ffmpeg cuts a piece of 30 seconds (from the second on with 1 second of overlap in front) as 16 kHz mono WAV, only from the local file (-protocol_whitelist file,pipe, fixed arguments, no shell); the own speech recognition writes it down through vorrang.run("Abschrift"); when somebody speaks the piece is cancelled and heard again in the next pause. The request carries stufe.headers("hinten"); with the priority key it waits in the speech service behind every person and does not count as speech. Words the overlap heard twice are taken out by abschrift.trim_edge with a fixed rule. Recordings over 20 minutes only after wissen.long_ok (with "Read long documents at night" at night or after half an hour without a question), at most the minutes per day (documents.count_today, key abschrift); when speech recognition is gone (dienstwacht.down("asr")) or a request fails the transcription waits 5 minutes; a piece refused three times is left out. Time as the place: every piece becomes a section of the document with its start second as the page; documents.stelle says "bei 12:30", wissen.where gives the model "Aufnahme: talk, bei 12:30", text view, content search and analyses show the time. At the end Keep originals keeps only the sound track (Opus 32 kbit/s mono as docs/files/<id>.ogg, within the space), ▶ plays it at the place (range answers as Safari needs them); without that switch the file is deleted. After that everything works as with any document: card, analyses, meaning search, collections. The transcript does not tell speakers apart. It is outside text: what is said in a recording is data, never an instruction, and never goes into the memory. Priority stays with people (common.SpeechMark): a POST to /v1/audio/… counts as "somebody speaks" unless it carries the stage "hinten" and the valid priority key from this computer (common.signed_low); without the key, with a wrong key or from another computer it counts as speech. Real speech always marks and cancels the transcription at once (self-tests test_vorrang). When the panel runs on its own computer (Pi) the speech service does not know the key: the transcription then runs at the normal stage. Status → Live: box Transcribe recordings ("Hintergrund: 1 Aufnahme · 82 min offen · heute 24 Stücke"), the background step is called "Abschrift"; Logs area Wissen: abschrift: stueck | 30 s 412 zeichen, abschrift: fertig | 94 min 189 stuecke | tonspur ja, abschrift: asr fehlt, abschrift: grenze | 240 min, abschrift: abgebrochen | sprache. iPhone: My things → Documents shows "transcribing", uploading, listening and stopping in the panel view (iphone.THINGS["documents"]); Android through the panel view. Self-tests tests/test_abschrift.py.

Transcribe YouTube links: admin switch Features → Own documents → Transcribe recordings → Transcribe YouTube links (chat.doc_youtube, off by default; also needs Links as documents and Transcribe recordings; no profile switch, the admin blocks single profiles, guests never). In only through Links as documents: the field "Add link" under Me → Documents or the tool link_als_dokument with an address that stands word for word in the own message, never from a page, mail or search result. When ytquelle.video_id finds a video number (watch?v=, youtu.be/, shorts/, live/, embed/; only youtube.com, www., m., music. and youtu.be, without login data, no playlist page), doklink keeps only https://www.youtube.com/watch?v=<number> (ytquelle.kanonisch; the same video in another spelling is a double). yt-dlp: license Unlicense, exactly version 2026.10.26 with the SHA-256 of its wheel in app/requirements-ytdlp.lock (without optional packages), installed only with sudo ./install.sh --youtube on the panel computer into /opt/speech-spark/venv-ytdlp (pip --no-deps --require-hashes --only-binary :all:, once per version of the file; an update keeps it current). ytquelle.da checks the version at run time too; without yt-dlp or with another version the Spark tries nothing and the row says "yt-dlp is not installed on the panel computer (sudo ./install.sh --youtube, guide: Features → Transcribe YouTube links)". Started without a shell (asyncio.create_subprocess_exec), isolated (python -I -m yt_dlp, only PATH, HOME, TMPDIR, LANG and XDG folders in its own empty folder, no proxy variables) and only with the fixed options ytquelle.FEST: --ignore-config --no-plugin-dirs --no-js-runtimes --no-remote-components --no-cookies --no-cookies-from-browser --no-cache-dir --no-playlist --use-extractors youtube --no-exec --fixup never --downloader native, -f bestaudio[protocol^=http], --max-filesize = chat.doc_audio_mb, --ffmpeg-location pointing at an empty folder. netguard proxy (netproxy.py): per run a CONNECT proxy on 127.0.0.1 with a random port and a one-time key (Proxy-Authorization, compared in constant time); only CONNECT to port 443, only names of the fixed list ytquelle.erlaubt (youtube.com, www.youtube.com, m.youtube.com, youtu.be, consent.youtube.com, youtubei.googleapis.com, i.ytimg.com and exactly one label before .googlevideo.com), never an IP; every name through netguard.resolve(host, 443, PUBLIC) (public addresses only, kill switch, Live), the tunnel goes to exactly that address; at most 8 tunnels at once, chat.doc_audio_mb + 30 MB from the servers per run, else every tunnel closes. Refusals are fixed words (netproxy.WORTE: methode, anmeldung, port, host, privat, notaus, netz, viele, groesse). netguard.DIRECT_OK lists netproxy as "geprueft". Flow (ytquelle.holen, from the run of Links as documents): first a look without download (-J, 90 s): the number matches, no live stream, no premiere, length at most chat.doc_audio_min, known size at most chat.doc_audio_mb; then only the sound track (at most 30 minutes) into a fresh folder docs/audio-wait/yt-…/ (0700, deleted afterwards). The file goes through abschrift.aufnehmen like an upload (first bytes, size, length with ffprobe, queue, storage, second sign-in step) and is transcribed in quiet minutes with time marks. Title and channel are only data: without control and markup signs, cut, as the name "Title · Channel.m4a" (ytquelle.name_of); origin yt:<number>, every video once; there is no "Fetch again" for the transcript. yt-dlp's error text never reaches the log; fixed patterns make one word of it (video, live, laenge, format, groesse, host, zeit, netz). Journal ytquelle: … (area wissen), Live: box Links with "YouTube: today n sound tracks, kB, refused, foreign host blocked" or "yt-dlp fehlt". Weiche: transcription words with an address ("Transcribe https://youtu.be/…") go like "Save … as a document" to Links as documents. Without a JavaScript runtime (on purpose not installed) YouTube gives some videos no sound track; the row then says "no sound track to fetch". Self-test test_ytquelle (another host and a private address refused at the proxy, kill switch, key, method, port, byte limit, fixed options, version and hash, without yt-dlp the sentence with the way, live and too long refused before the download, no link from outside text, logs without address or title).

Audio overview of a collection: admin switch Features → Own documents → Collections → Audio overview (chat.hoerstueck, off by default; builds on Collections; no profile switch, the admin blocks single profiles, guests never), below it Audio overviews per day and profile (chat.hoerstueck_day, 1 to 10, default 3) and The three voices (chat.hoerstueck_stimmen, per role A host, B expert, C questions a voice of the speech output or - for the standard voice; without a choice the standard voice, with VoiceDesign a fixed description per role, hoerstueck.KLANG). At the bottom of a collection stands the part Audio overview: length 5, 10 or 20 minutes, 2 or 3 voices, "Make" (POST /api/profile/mappen/{id}/hoerstuecke, module hoerstueck.py, login, own profile, CSRF, 8 KB, rate limit "hoerstueck"). What the model gets: only the collection's documents at "short" and "whole", never knowledge book pages (model text), as numbered places [S1] … from the originals, at most 16 000 characters, in turns from each document; pieces the summary and key points of the analyses rest on first (only their place, never their text). Everything as outside text (chat.wrap_outside). What the model delivers: only a script as JSON {"titel", "zeilen": [{"sprecher", "text", "quelle"}]}. Fixed rules (hoerstueck.pruefe): speakers only from SPRECHER (A, B, C; with 2 voices only A and B), roles and names come from the panel; a line with a source needs an offered place and passes wissensbuch.check_sentence against it (length, no links, no markup, no command words, every number stands in the place), at most 300 characters; a transition without a source has at most 120 characters, no digit and only words from hoerstueck.WORTE (so never a name or a number), transitions at most 30 % of the lines and never the last; double lines go; at most 120 lines and the characters of the length (4 500, 9 000, 18 000), cut at a line's end; below 10 valid lines: "No audio overview can be made of it". A fixed opening ("Ein Hörstück des Spark aus deiner Mappe … Es kann Fehler enthalten; die Quellen stehen im Panel.") and a fixed closing come from the panel. What drops out is counted per reason (speaker, place, number, form, transition, share, length, double), never shown as text. Speaking: hoerstueck.due_once is a link of wissen.KETTE after the analyses: first the script (one model call through vorrang.run("Hörstück")), then per step exactly one line through the shared helper tonteile.sprich with the stage "last" and the priority key (common.signed_low: never counts as speech, waits behind every person); real speech cancels the line and it comes again in the next pause. Always only one request at a time (the slot of vorrang; the speech output is weak with several requests at once). Without the speech output (5xx, no connection or the service watch sees it gone) it waits 5 minutes without losing a line. The lines wait as WAV in users/<id>/hoerstuecke/<id>/ (folder 0700, files 0600); at the end ffmpeg (no shell, -protocol_whitelist file,pipe) writes one Opus file at 48 kbit/s with 300 ms pause between two voices, and the parts go. Seconds of the speech output count in the usage as "Hörstück". dungeon.ask_tts uses the same helper (tonteile.sprich, in the foreground without a stage). Looking at it: the list with its state ("waiting", "speaking · 34 of 61 lines", "done", "too little"), a progress bar and "The collection has changed since" (fingerprint of the documents, new only per click); a finished one with a player (GET /api/profile/hoerstueck/{id}/ton, ranges, only the own profile), download, delete and the script: every line with its voice, for a statement a chip with document, page and heading that opens the document; opening and closing as "fixed", transitions as "transition". Limits: at most 10 stored per profile, chat.hoerstueck_day new ones a day, at most 20 minutes each. Never a source: an audio overview never becomes a document and never goes into the knowledge book, the search, Find or the memory; a deleted collection takes its audio overviews along, never a document; deleting works also while the admin blocked it, and under Me with "Delete data" with the collections. Tool hoerstueck_machen (routing group "Hörstück": hörstück, podcast, zum anhören, audio overview): only queues an audio overview with 2 voices, the collection only when its name stands in the own message; locked after outside text (changing), never over MCP. Live: box Hörstück (audio overviews, waiting, speaking, open lines, today new, scripts, lines spoken, lines dropped, cancels, missing speech output; numbers only). Logs hoerstueck: drehbuch | 61 zeilen 7 verworfen …, hoerstueck: zeile | 12 von 61 …, hoerstueck: fertig | 612 s … (area knowledge), only fixed words, numbers and profiles.log_name.

Audio overview: apps, Telegram, notice, English: no switch of its own, everything hangs on Audio overview. The line while playing: hoerstueck.zusammen keeps the start of every line in the sound (ab, seconds); while playing, the panel marks the line being spoken in the script (building block .ld-row.on), the time in front of a line plays from there. Audio overviews without time marks have no marking. AAC copy: AVFoundation (iPhone) and Telegram's sendAudio take no Ogg; beside the Opus file ffmpeg (no shell, the same rules) writes an AAC copy .m4a at 64 kbit/s (hoerstueck.m4a), for older ones on the first ask; GET /api/profile/hoerstueck/{id}/ton?form=m4a delivers it (audio/mp4, ranges, only the own profile). iPhone: My things → Collections → a collection → Audio overview (only when the admin released it; iphone.THINGS "hoerstueck"): length and voices, "Make", the list with progress, a finished one with its own player (the AAC copy only in memory, never stored on the iPhone), playing in the background and on the lock screen (Now Playing, play, pause, seek), the script with the marked line, "To Telegram" and "Delete". Android shows the part in the panel view of the collection. Telegram: "To Telegram" (POST /api/profile/hoerstueck/{id}/telegram, login, own profile, CSRF, 8 KB, rate limit "hoerstuecktg" 5 a minute) sends the AAC copy by sendAudio through telegram.send_file only to the chat linked to the profile, never another, only when personal data is allowed there (as for made documents), not during the Notaus, at most 45 MB; its title is the collection's name, never model text. Without a link the button is missing and a hint with a jump link names Me → Telegram. Notice: when done, "Hörstück fertig" ("Audio overview ready") comes through push.send (kind "Hörstück", personal) with the way "Collections → → Audio overview" as a jump link on every device; only the collection's name, never the model's title or a line. English: the script is made in the language the person uses the panel or the app in (sprache de or en when making it; the tool takes the language of the own words): an English instruction, a fixed English opening and closing, English transition words (hoerstueck.WORDS_EN), otherwise the same rules (speaker, place, number check, length, share); the speech output gets the language (tonteile.sprich sprache). Delete data under Me: its own card "Audio overview" (features.OWN, account.WHO): when the admin blocks audio overviews for a profile, the page Collections shows the number and "Delete data". Companion: on purpose not (features.DESK_SKIP; listening in the panel, the app and Telegram). Live: box Hörstück also "auf Englisch", "AAC-Kopien", "Mitteilungen", "Telegram: N gesendet, M nicht". Logs hoerstueck: telegram | ok (or aus, notaus, gross, fehler), telegram: audio sent | … KB.

Make an audio overview now: no switch of its own, part of the audio overview. Only the admin sees under Collections → a collection → Audio overview next to "Make" the button "Make now", and for one that waits or speaks "Make it now" (pull forward); the iPhone has the same buttons. Whether it is the admin is decided by the server (coadmin.ist_admin): the panel password's login (only while a password is set) or the profile with the role admin in its browser login with the second step or its proved iPhone app; never a manager, a guest or a device key. Endpoints POST /api/profile/mappen/{id}/hoerstuecke/sofort (length, voices, language as for making) and POST /api/profile/hoerstueck/{id}/sofort: sign-in, own profile, release, admin right, CSRF, 8 KB, rate limit "hoerstuecksofort" 5 a minute. A forced one (column sofort) skips the quiet minutes (wissen.quiet), the quiet chain before it and the day limit (not counted there); the ten stored and the check of the script stay. Real speech goes first: hoerstueck.sofort_lauf sends every request through vorrang.run (waits while anybody speaks, is cancelled when speech starts, the line comes again) and to the speech output with the stage "last" and its key, so the own lines do not count as speech (common.SpeechMark). At most one forced one at a time over all profiles (hoerstueck._sofort_offen, else 409); while it runs the quiet chain leaves audio overviews alone, afterwards it takes a marked one first. Live: box Audio overview "erzwungen: writes the script / speaks / waits", "today N× made now, M× refused". Logs hoerstueck: erzwungen | neu (or vorgezogen), hoerstueck: erzwungen abgelehnt | admin (or laeuft, keins, form, voll, leer), hoerstueck: erzwungen | ende | fertig (or leer, x, aus, weg, tts, schritte). What an audio overview waits for: a vorrang.run inside another one (such as the script's model call llm.complete inside vorrang.run("Hörstück"), the same for the analyses) runs at once under its slot (vorrang._inside); the outer one waits for a pause and is cancelled as soon as somebody speaks. Real speech goes first, only one background request runs at a time. The list says with a fixed word what an audio overview waits for (hoerstueck._warten from vorrang.grund): "waits: somebody speaks (real speech goes first)", "language model maintenance", "other background work runs" or "speech output missing"; without a reason "script being written". A failed one says why ("the language model gave no usable script", "putting it together failed", "the collection is gone"). If a forced one cannot start, the place is freed at once (503, log hoerstueck: erzwungen | ende | start); after a restart of the panel an open forced one runs on by itself (hoerstueck.weiter, log hoerstueck: erzwungen | weiter). Live: box Audio overview "wartet auf: Gespräch / Wartung des Sprachmodells / andere Hintergrundarbeit". The iPhone app shows the same texts.

Audio overview in CarPlay: no switch of its own; the row "Audio overviews" stands in the car only with Audio overview (hello area "hoerstueck"). GET /api/profile/hoerstuecke (hoerstueck.fertige, login, own profile, rate limit "hoerstueck", read only; iphone.THINGS "hoerstueck" only with GET) gives the finished audio overviews of all own collections with title, the collection's name, length and time, the newest first, at most 12 (hoerstueck.AUTO_MAX), never the script or a path. Nothing is made in the car. The app plays through one player for the collection and the car (ios/Spark/HoerstueckPlayer.swift, HsPlayer): the AAC copy only in memory (its own session without a cache), Now Playing with title and collection, remote buttons (play, pause, 15 seconds forward and back, next and previous, position), on where it stopped (on the iPhone only id and seconds, at most 20). Before it plays a conversation ends and the speech engine hands over the sound (Conversation.giveSound; the engine sets "play and record" again at its next start); the wake word rests while an audio overview plays; a conversation pauses the audio overview, afterwards it plays on. When the car disconnects it pauses. Sound log only with fixed words ("Hörstück: spielt", "Pause für Gespräch", "zu Ende"). Live: no value of its own (the playing happens on the iPhone).

Layout of the Collections page: display only, no switches, endpoints or logs of its own. The page Collections has no tabs: on the left the list in 300 px with the head "Collections 3 of 50" and + (opens "New collection"), per row line symbol, name, goal and on the right the number of entries; on the right the open collection. Its head: symbol, name, "goal · N entries", Ask (binds the next questions in the assistant to the collection, the only blue button) and ⋯ with Rename and Delete collection (asks first). Below it a thin bar "177 / 24,000 tokens", for entries that are too big "· N only in parts", red only "· N no longer fit the budget", and ⓘ with the explanation (off, short, whole, budget, deleting removes only the assignment) and, while audio overviews are released, how one is made. A segment divides the collection into Entries · Analyses · Audio overview with counts; Analyses only while analyses are released (mappen.mappe gives auswertungen for it), Audio overview only with audio overviews. Entries: "6 of 100 entries" and the menu Add (document, page of the knowledge book, note; the choice or the note field below, with Cancel); per row symbol, the whole title (wraps, never cut off), "PDF · ≈ 59 tokens" (only the number of the chosen level; else "too big: only fitting parts", "budget full" or "knowledge book blocked"), the level as a small menu off/short/whole and ⋯ with Open and Take out of the collection; tapping opens the document. Analyses: per document "Summary · Key points" or "no analysis yet", "done" and ›; tapping opens the document with its analysis (made by themselves, no button). Audio overview: one row Length · Voices · Make (a normal button; for the admin Make now beside it, Make it now under ⋯ for a waiting one) · "today 2 of 3", below it the chosen or newest finished audio overview as a card (title, "date · length · voices", player, ⋯ with Download, To Telegram, Delete, Script · N lines folded with the roles and what was dropped), then the others as rows with state and progress; tapping shows one in the card. On a phone (below 660 px) first the list, tapping shows the collection with "‹ Collections", the head in two rows (name, then "Ask" wide and ⋯), the audio overview row stacked. Collections stands in features.OWN_NO_SETTINGS (in the panel kalender.js OWN_NO_SET): jump links, guides and the list of all features never lead to a tab Settings of Collections. Browser test test_mappen_seite: list narrower than the collection, at most one blue button per part, no cut-off title, no sideways scrolling at 1440 and 390 px, level through the menu, ⋯ → Take out of the collection, make an audio overview from the part Audio overview.

Admin without a day limit for audio overviews and documents: the day limits of Audio overview (chat.hoerstueck_day), Analyses (chat.doc_auswertung_day), Transcribe recordings with YouTube links (chat.doc_audio_day_min) and Links as documents (chat.doc_link_day, also "Fetch again") follow the same rule as pictures, music and the allowance: coadmin.unbegrenzt. No limit for a profile with an admin role that counts (second step) and for every profile with the tick "No daily limit" (People and devices, at the profile under Rights). For an audio overview made on a click the admin himself counts too, decided by the server as for "Make now": coadmin.unbegrenzt(uid, request) then asks coadmin.ist_admin (one source in coadmin.py), so the panel password's login as well. Background work (analyses, transcripts, fetching the links) knows no request and follows only the role and the tick. Space, queues, the ten stored audio overviews, size and length of a recording and the priority of speech stay. The page then shows "today N · no daily limit" instead of "today N of 3" and never "The limit for today is reached." (frei in GET /api/profile/mappen/{id}/hoerstuecke, the same on the iPhone), Links as documents "N fetches today, no daily limit" (frei in doklink.info), a recording never "daily limit reached" (frei in abschrift.info). It is still counted, only never refused. Self-tests test_hoerstueck, test_auswertung, test_abschrift, test_doklink.

Audio overview as a discussion: admin switch Features → Own documents → Collections → Audio overview → Audio overview as a discussion (chat.hoerstueck_diskussion, off by default; builds on Audio overview; no profile switch, never guests). Off, one script with hoerstueck.pruefe applies. On, every new audio overview is made in two steps (hoerstueck_diskussion.py), at most one model call per quiet step: Talk plan: the model only delivers chapters with place numbers and a kind from the fixed list (opening, claim, point of dispute, example, turning point, conclusion); the panel keeps only offered places, each once, per chapter at most four times its dialog characters of places (at most 8,000 characters), 3 chapters for 5 minutes, 4 for 10, 5 for 20; the panel sets the bend from the places (opening, conclusion, "What has changed", see round below); a too thin plan is replaced by the panel's fixed plan (the places split in order). The places are neighbouring pieces in blocks (up to 40,000 characters). Dialog per chapter: one call gets only this chapter's original places, the fixed word of its kind and the fixed role cards (A host: asks, leads on, answers no expert question, at most one sentence with a place per contribution, sums up only in the conclusion; B expert: explains calmly with examples and carries the facts; C sceptic: objects, may name risks with a place, never answers its own question; with two voices A is the sceptic too), never text of step 1. A line is a contribution of at most four sentences (at most 900 characters; an answer has two to four, a question may be short). Every sentence with a source passes the number check against its place, also for written-out numbers: a number word stands there as the same word or as the same whole number in digits ("drei bis sechs Monate" for "3–6 Monate", hoerstueck_diskussion.zahl_ok), never another number and never a part of "3,8". Talk sentences without a source (question, objection, reaction): at most 160 characters, no digit, no number word, no links or command words, every word stands in the chapter's places or in the fixed list of talk words (hoerstueck_worte.json, about 2,400 words, plus the transition list); at most 40 % of a chapter's sentences (above that, talk sentences without a question go first, then later questions). In the script they carry the note "Talk", facts keep their source chip; chapters stand as headings above. Measure: after each chapter the panel measures the length of the answers (average at least 180 characters; short questions do not count), the share of questions (15 to 40 %), at least one objection of the sceptic (not in the conclusion), no voice more than three times in a row, at least 40 % of the places used, at least half of the sentences with a place from B, no list like bullet points, and from two repairs of one kind (self-answer, open question, repeat of a chapter before) or a greeting after chapter 1 their fixed hint; a flat chapter is written exactly once more with fixed hints, the better one stays (first one without a list like bullet points). At most 11 model calls per piece. The list says "Script being written · chapter 2 of 4". Live (Status → Live, box Hörstück) numbers only: chapters planned, written, rewritten, average contribution length, talk sentences dropped, sentences moved to another voice, open questions dropped, plans with versions, average roundness. Journal with fixed words: hoerstueck: plan | 4 kapitel fassungen, hoerstueck: kapitel | 2 von 4 | 9 beitraege 12 verworfen 3 repariert | …, hoerstueck: flach | nochmal | kapitel 2, hoerstueck: drehbuch | … diskussion | rund 9 von 10. Limit: the word check stops invented names, numbers and terms, not every invented claim made of allowed words; so the prompt asks for questions and reactions instead of statements, and "Talk" shows what is not backed.

Audio overview as a discussion: way of speaking, voices, pauses: no switch of its own, everything hangs on Audio overview as a discussion. Way of speaking per contribution: the panel sets a word of a fixed list (curious, thoughtful, enthusiastic, sceptical, laughing, serious, calm) by the kind of contribution (hoerstueck_diskussion.sprechweise: objection sceptical, question curious, in the conclusion calm, an explanation with a risk or liability word serious, else B calm and the others thoughtful; a word of the model never counts); that word never goes to the speech output, only the panel's fixed English addition from hoerstueck_stimmen.json (hoerstueck_diskussion.zusatz; an unknown word gives no addition). tonteile.sprich has the parameter art for it (empty by default, calls without it stay unchanged, also in the Dungeon): with VoiceDesign it is added to the role's description, with a chosen or the standard voice it goes as instructions, which 1.7B-CustomVoice follows; 0.6B ignores it. Voices: below the switch the admin chooses a fixed description per role (six each, entry 0 is the standard voice; chat.hoerstueck_klang) and listens with "▶ Sample" (GET /api/admin/hoerstueck/probe, admin only, a fixed sentence, kept in memory; GET /api/admin/hoerstueck/stimmen gives the names only). It needs VoiceDesign: Settings → Speech output → "Also provide VoiceDesign" (loads on demand, see below). While it is on, in a discussion every role speaks with its description, also when a fixed voice is chosen under "The three voices"; the fixed voice only stands in when VoiceDesign does not come (hoerstueck.stimme_von; the audio overview of before keeps the chosen voice first). "▶ Sample" waits while VoiceDesign loads: the endpoint answers 503 "VoiceDesign lädt …" with Retry-After (PROBE_NOCHMAL_S, 10 s), the page asks again and shows "VoiceDesign is loading … N s", at most LADEN_MAX_S; when VoiceDesign cannot start (not enough memory, stopped, error) it says so in a fixed sentence (PROBE_SAGT); log hoerstueck: probe | neu|behalten|laedt|fehler …. Before, the first sample after unloading only said "busy or missing" (Dominik 2026-11-12). While VoiceDesign is off, the settings and for the admin the audio overview page of a collection say so with this way; then the fixed voices speak. Pauses by fixed rules: answer after a question 200 ms, objection 120 ms, the same voice 250 ms, new chapter 900 ms, before the conclusion 700 ms. Reactions as short lines of their own by fixed rules (hoerstueck_diskussion.rueckmeldungen, words in hoerstueck_stimmen.json): only inside a long explanation (at least 180 characters with a place) between it and the next contribution of the same voice or between the halves of a contribution of three sentences or more, never inside a list, never at a chapter's start or end, at most 10 % of the lines, at least four lines apart; the voice is listening (the one who asked, else the first other role, never the one that goes on); the word by rule: "Ach so." after an answer to a question, "Stimmt." after an objection, else "Mhm." (in English "I see.", "True.", "Mhm."); the same word of the same voice is spoken once and then reused as a part. In the script the way of speaking and "Reaction" stand as notes. Live counts lines with a way of speaking and reactions (spoken, kept).

Audio overview: described voices while VoiceDesign is still loading: no switch of its own. VoiceDesign runs on demand and is unloaded after 5 minutes without a request (tts.voicedesign_leerlauf_min); so the first line of an audio overview gets the answer "loading" (or "busy"). The line then waits 30 seconds (hoerstueck.LADEN_S) and comes again, every try keeps VoiceDesign loaded; log line hoerstueck: stimmen laden | zeile N | naechster versuch in 30 s | Profil …, the audio overview's row shows "waits: VoiceDesign is loading", Live "waits for: VoiceDesign loading"; "Make it now" does not count this wait as an outage. Only when VoiceDesign is not there after 10 minutes (LADEN_MAX_S, the first load takes minutes), or at once when it cannot start (not enough memory, stopped, error), the fixed voices speak, for the rest of this audio overview (no change of voice in the middle). The script says so: "Fixed voices from line N: VoiceDesign did not come in time" (or "… could not start, not enough free memory", "… was stopped or in error", "… is off in the speech output"; fields ersatz, ersatz_ab, fixed words hoerstueck.ERSATZ, also in the iPhone app), log hoerstueck: stimmen fehlen | feste stimme | laedt|speicher|fehlt|aus | zeile N | Profil …. The switch stays on: before, the panel then took VoiceDesign as off for 10 minutes, the settings said "VoiceDesign is off" and the sample refused. An ask to the speech output without answer keeps the last word and asks again after 30 seconds (STIMMEN_FEHL_S). The speech output (tts_proxy.design_bereit) starts VoiceDesign on demand again also when an earlier start failed for memory or an error (at most every 10 minutes); before, it never came back. Live counts waiting lines, audio overviews with fixed voices and the voice samples (new, loading, failed). Before, the standard voice stood in at once for 10 minutes, VoiceDesign was unloaded unused in that time, and no audio overview ever got its described voices (code review 2026-11-11; Dominik 2026-11-12 "audio plays only with the built-in voices"). (🧪 test_hoerstueck, test_hoerstueck_diskussion)

Audio overview as a discussion: sample and iPhone: in a collection the admin has a short discussion made at once with "Sample (2 min)": only the opening and one point of dispute (two chapters, at most 1800 characters), like "Make now" (POST /api/profile/mappen/{id}/hoerstuecke/probe, admin only, rate limit as "Make now", without the switch Audio overview as a discussion 409 with the way). It never counts towards the daily limit, shows in the list as "Sample · …" and is gone with its sound file after one day (hoerstueck.proben_weg, hourly). The iPhone app shows chapter headings, "Conversation", the way of speaking, "Reaction" and the sample in the script. Live counts samples (made, gone), logs only "hoerstueck: hoerprobe | fertig" and "… | weg | number".

Audio overview as a discussion: round (plan "Hörstück rund", Dominik 2026-11-11, no switch of its own): the panel makes the talk hang together by fixed rules, without an extra model call (hoerstueck_diskussion.paare). Pairs: when a voice answers its own question with sentences with a place, it is split: the question stays with the asker, the sentences go to the expert B (when B asks itself, the asking role gets the question). A question without the answer of another voice with a place right after it goes, so no chapter and no piece ends on "?". A contribution only of talk sentences without a question ("Genau.") goes. Outside the conclusion the host A keeps one sentence with a place per contribution, the others go to B. The piece is cut only at a contribution's end, each chapter with its share of the length, then the chapter's end is repaired again; the conclusion is never cut away. Thread: every chapter gets fixed facts (chapter i of n, the kind before and after; only chapter 1 greets, from chapter 2 the panel drops sentences with "Willkommen" or "Hallo"; an interim conclusion only in the conclusion, else the panel drops talk sentences with "zusammenfassend") and as data the headings of the documents already talked about ("Already discussed"), never text of the model. A fact said in a chapter before goes (key from wissensbuch.norm, kept in the piece's state only as a checksum). Bend from the places: the opening is a hook of two places (the summary of a text, else the pieces of the Kurzfassung and Kernaussagen, else the first of the first chapter); the conclusion gets no new places, only ones used before (the hook first, then the most used, at most three), marked "already discussed"; more chapters than the length allows are merged instead of cut. Versions: fixed words in a place ("Hier ist die Zusammenfassung", "Erste Ausgabe", "erste Fassung", "Angepasster Plan", "nach Beantwortung der Rückfragen", "Version 2" …; hoerstueck_diskussion.FASSUNGEN) mark the summary, an earlier and the current version of a text, also for the places after it. When a collection has an earlier and a current version, the piece gets the chapter "What has changed": only there stand the places of the earlier version, with their counterparts of the current one; the same statement with another number stands as "[Contradiction] S12 ↔ S21" with the documents' sentences above, and the model is to say "Before it said …, now …"; the newest version counts. Summary places stand only in the opening and the conclusion, never besides their detail places (unless the collection is almost only them). In the script a source chip says "earlier version". Lists: the prompt asks for whole sentences with linking words; at least three sentences built alike ("Stufe 1 …", "Erstens …") or a sentence with a place of fewer than four words count as a list (hint "liste" for the one rewrite). Roundness: over the finished script the panel counts questions answered, self-answers, open threads at the end, greetings after chapter 1, repeats, lists and reactions in the wrong place (hoerstueck_diskussion.rundheit) and shows "round 9/10" with the points missed in the script (panel and iPhone app); moved sentences stand there under "Moved". The model is never the source of a fact, the number check stays as strict.

Links as documents: admin switch Features → Own documents → Links as documents (chat.doc_link, off by default; no profile switch, the admin blocks single profiles, guests never), below it Largest page or file (MB) (chat.doc_link_mb, 1 to 100, default 20) and Fetches per day and profile (chat.doc_link_day, 5 to 500, default 50, "Fetch again" included). Under Me → Documents → Add link (at the top beside + Add, only while the switch is released; opens the field below the head) one enters up to 10 addresses at once (one per line); the page sends them to POST /api/profile/docs/link (module doklink.py, login, own profile, CSRF, size limit 32 KB before reading, rate limit "doklink"). Fixed rules before the fetch (doklink.pruefe): http or https, a host, no login data (user:pass@ → refused), port 80 or 443, at most 2000 signs, no IP address and no name of the home network (localhost, .local, fritz.box …); every address gets a fixed word back (accepted, private, login data, port, duplicate …). Accepted ones wait in dl_link in wissen.db (at most 30 per profile), one runner fetches them one after another, without a model. One fetch helper: netguard.hole_oeffentlich fetches every page or file from an address, also pages of search results (chat.page_text) and the web page to the reMarkable (rmplus.web_page through page_text): first the kill switch, before every request netguard.oeffentlich (every address of the name public), at the connection once more the level internet only, at most 4 redirects, each checked again, a fixed browser name, content type from a fixed list (HTML, PDF, text, Markdown, DOCX, ODT; for PDF, DOCX and ODT also the first bytes), size and 30 seconds for all of it. As a document: wissen.aufnehmen(uid, name, data, source, herkunft) takes the page in with every rule of an upload (second login step, the admin's block, storage room, the most documents, the queue) and notes the origin (link: with the SHA-256 of the address); the same address comes in once. HTML goes as <title>.html into documents.add (headings and tables stay, with a Docling server like every HTML file). The same helper also takes "Add to documents" from Find. Fetch again only on a click in the details of a link document (POST /api/profile/wissen/{doc}/abrufen): a conditional request with If-None-Match/If-Modified-Since; 304 or the same SHA-256 means "unchanged", else documents.renew reads the new bytes into the same document (knowledge book and analyses see the new text by themselves). ✕ takes waiting or failed addresses out (DELETE /api/profile/docs/link/{id}). Tool link_als_dokument: only offered when an address stands in the own message (Weiche group "Links as documents": an address and a word like "save", "store", "as a document"; "to the reMarkable" stays with the reMarkable), takes only addresses that stand word for word in the person's message, at most 10, is locked after outside text and belongs to the kill switch's internet tools. The page content is outside text: what a page says is never an instruction. Status → Live: box Links (waiting, link documents, fetched today, read again, unchanged, kB and seconds, never an address); logs area knowledge: doklink: geholt | html 182 kb, doklink: unveraendert, doklink: abgelehnt | privat, doklink: grenze | 50. iPhone: My things → Documents in the panel view (iphone.THINGS["documents"]); Android through the panel view. Self-tests tests/test_doklink.py.

Reading pages as Markdown (idea from get-md of the Nano Collective, MIT, rebuilt in Python, no new library): every HTML page the Spark reads as text goes through seitentext.markdown: pages of search results and pages a job reads (chat.page_text), the web page to the reMarkable and HTML files and HTML mails in the own documents (documents._html_text). Fixed rules, no model: only the main part (<main>, <article>, role="main", when it holds at least MAIN_MIN = 200 characters, else the whole page); gone are scripts, forms, menus, hidden parts and parts whose class or id names a cookie note, sharing, newsletter, comments, ads or a sidebar (JUNK; when too little is left after that, the page is read once more without this rule). Headings become # lines, lists - or 1. , tables Markdown rows with their head (a table of one column or with very long cells is layout and becomes paragraphs). Links and images give their text only, never an address. So the document search finds the headings and tables of an HTML file, the best-fitting parts of a search page (seitentext.best_parts) keep their lines, and the reMarkable shows headings, lists and tables. The text stays outside text. At most 2 MB of HTML are read, a page of 1.5 MB takes about 0.2 seconds. Self-tests tests/test_seitentext.py.

Find: add an attachment to the documents: no switch of its own: the button follows Find mail and attachments and Own documents (fundmail.dok_frei; the admin blocks single profiles, guests never). On the page Find (Android too, through the panel view) and in the iPhone app (My things → Find) an attachment hit in its detail and every attachment in a mail's list has the button Add to documents when the fixed rule fundmail.dok_passt lets it through: a kind from documents.TYPES (PDF, Word, OpenDocument, text, spreadsheets, pictures …) and at most 10 MB by its size in the index (ANHANG_MAX), otherwise no button. POST /api/profile/fund/eintrag/{id}/dokument (browser login or the iPhone app through iphone.THINGS "fund", rate limit funddok) checks everything again: only an attachment entry of the own index (fund.eintrag: own sources and mailboxes); the panel fetches the bytes itself from the own mailbox (mail.file_of, EXAMINE and PEEK, the mail stays unread), requires the same file name as in the index and at most 10 MB and hands the file to wissen.aufnehmen (source "mail", origin "mail:" + the entry key; every rule of an upload: second login step, block, space, queue). If the attachment is in the documents already, the panel does not ask the mailbox and answers "Already in the documents", otherwise "Added". Both answers name Me → Documents as a jump link, plus "Open the document". A refusal is a fixed sentence (kind, size, no longer in the mailbox, mailbox not reachable, queue full or the documents' own sentence). The Begleiter shows no buttons at hits; a click leads into the panel. Live (box Find): "attachments to documents today n, n already there, n refused"; log fund: dokument | uebernommen|doppelt and fund: dokument abgelehnt | <wort>.

Page and point, type rules, deadlines: no switch of its own, everything hangs on People, companies and deadlines (chat.knowledge_ents) and the Knowledge map (chat.knowledge_map). (1) Page and point: when a knowledge book page (not of the kind "Antwort") has the same name as a point of the kind person, firma or ort (compared as ent_norm does, over the name, the point's other names and the page's earlier titles), both are one point: the link stands in wk_entpage(ent, page) (one page, one point; first the point of the page's own kind, then name before other name, then person, firma, ort, then the smaller id). It is made only by this fixed rule (wissenskarte._verbinde) when the points are read, in the nightly check and once when the table is made, never on the model's wish. On the map the point stays square with "with page" and "Open page"; the page's connections count as its own (view, rund_um, weg and liste; a connection between the two drops out, doubles stay once). When the person renames the point, the page gets the same title in the same step (wissensbuch.retitle, under the same code); if that is not possible (title too long or taken), nothing changes. The old title stays in wb_alttitel: when the model proposes a page under the old title while working in or after "Write again", it lands on the renamed page (wissensbuch.current_title), no double page; the page shows it as "Before". Rename page for pages without a point: POST /api/profile/wissensbuch/{id}/name with sign-in, profile binding, CSRF, size limit 512 bytes, rate limit and the code of "Confirm" (stufen.LIST); it refuses a page with a point (409, rename on the map). A deleted page drops its link in the same step (wissensbuch.SEITEN_WEG). GEAENDERT reports points only, never pages. (2) Type rules: wissenskarte.TYPEN fixes per kind of connection from which kind to which it may go, for example "works at" only from person to firma or ort, "lives in" only to ort, "deadline for" only from frist; a page counts as "seite", a page with a point as that point's kind. check_edge refuses violations with the reason typ (journal typ=n). (3) Deadlines: a deadline needs a date or a number with a unit of time in its name ("31.12.2026", "14 Tage"); number words before a unit of time become digits by ZAHLWORTE ("einem Monat" → "1 Monat", "zwei Wochen" → "2 Wochen"), the name must stand in the passage as said or in digits, else no date. (4) Nightly check (wissenskarte.nachtpruefung, once per night and profile in the search check's night window): links pages and points, removes stored connections against the type rules and deadlines without a number or date (with GEAENDERT "weg") and writes wissen: wissenskarte geprueft | n verbindungen gegen typregeln | n fristen ohne zahl | n mit seite. Live, box Knowledge map: the number of points with a page and what the night removed. Correcting a name: Knowledge book → Map, tap the point, enter the new name, "Rename" with the code (the page changes too); two points for the same thing: "Merge with …"; a wrong point: "Delete"; a page without a point: Knowledge book → Pages, tap the page, "Rename page". Round is a knowledge book page, square a point from the documents; the old name always stays as a second name. Self-test test_wissensseite.

Find doubles and a shorter choice: no switch of its own, it belongs to People, companies and deadlines (chat.knowledge_ents) and follows its release; guests never. Merging by itself is the rule by which points are made (as the same name gets the same point); it reports and sends nothing and only changes the own map. Whether two points are the same is decided only by wissensdoppelt.aehnlich(art, a, b) -> (stufe, grund), never by the model: stufe is gleich, vorschlag or None, grund a fixed word (schreibweise, anrede, reihenfolge, initiale, rechtsform, tippfehler). The normal form per kind is compared (wissensdoppelt.normalform): ß/ss, ä/ae, ö/oe, ü/ue, accents, signs and spaces do not count; people without form of address and title (wissenskarte.ANREDEN: Herr, Frau, Hr., Fr., Dr., Prof., Dipl.-Ing. …) and "last name, first name" as "first name last name"; companies without legal form (wissenskarte.RECHTSFORMEN: GmbH, AG, KG, GmbH & Co. KG, UG, e. V., e. K., OHG, SE, Ltd, Inc …), without "Firma" in front and with "&" as "und"; places with "Str." as "Straße". The same are only people with first and last name and places that differ in nothing but a form of address, a title, the spelling or the order of last and first name ("Herr Dominik Bornhäuser", "Dr. Dominik Bornhäuser", "Bornhäuser, Dominik"; never "Herr" and "Frau" together), and accounts (without spaces), contracts and deadlines with the same normal form. A company is never the same by itself: "Müller GmbH" and "Müller AG" are only a suggestion. A suggestion are small typing errors (Damerau-Levenshtein at most 2 for normal forms from 6 letters, 1 for 4 to 5, never below; "Dominik Bornhäußer"), an initial ("D. Bornhäuser") only when exactly one person fits, and companies with the same core without legal form. Different numbers are never the same point; accounts, contracts and deadlines never by typing errors. While reading (wissenskarte._match → wissensdoppelt.gleich_id) a name that is the same becomes an other name of the existing point instead of a new one; a key index (wk_entkey, fingerprint in wk_entsig) keeps that fast. In quiet minutes (wissen.due_once after the map, wissensdoppelt.due_once) one run per profile merges existing points that are the same through wissenskarte.zusammen (the same function as the click, GEAENDERT says zusammen) and fills wk_paar(a, b, art, grund, stand, na, nb, at) with suggestions (stand offen). Comparisons happen only in blocks (the same first or last three letters, the same last name, the same core of a company) with neighbours of similar length, at most 200,000 comparisons per run, in slices of at most 0.2 s (the next goes on where the last stood), 100 new and 300 open suggestions per profile; with 5000 points never all with all. A run comes only when the points changed, at most six times a day per profile. On the map "Maybe double" with its number stands on top: the pairs with their reason and "Merge" (through POST /api/profile/wissenskarte/knoten/{id}/zusammen, with the code of "Confirm") or "Different" (POST /api/profile/wissenskarte/paare/verschieden, without a code, nothing is lost): kept by the names (stand verschieden), the pair never comes back and is never merged by itself. At the chosen point "Maybe the same person: …" (company, place …) stands with the same two buttons. "Merge with …" is a search field: the 8 most similar points of the same kind on top, while typing at most 20 hits by name and other names (GET /api/profile/wissenskarte/knoten/{id}/aehnlich?q=, wissensdoppelt.auswahl). All these ways with login, profile binding, CSRF, size limit (256 bytes) and rate limit. Logs fixed words and numbers only: wissen: wissenskarte doppelt einlesen | 1 knoten | anrede, wissen: wissenskarte doppelt geprueft | n zusammengefuehrt | n vorschlaege neu | n offen | n weg | n vergleiche | fertig (a slice with more to do ends with | weiter, a limit with | grenze), wissen: wissenskarte doppelt verschieden | 1 paar and … abgelehnt | grund. Live, box Knowledge map: "Doppelte: n Vorschläge offen, m automatisch zusammengeführt". iPhone: "Maybe double" below the map and at the point, swipe left for "Different", delete; merging with a hint to the panel. Self-test test_wissensdoppelt.

Document list for many files: Me → Documents shows every document as one compact row (icon, title, kind · sender · source, date and size); badges only when something matters ("due 20/12", "reading 3/12", "not readable", "for everyone", "search off"). The list scrolls with the page, shows 50 rows and then "Show more", and is grouped into Today, Last 7 days, months and years when sorted by date. At the top one search over names and content at once: typing filters at once by title, file name, sender, kind, number and tags, from three letters it also searches the text after a short pause (or with Enter). The list then shows "In the name" and "In the content · N documents · M places", one row per document with the number of places and a snippet, the search word in yellow; "All / Names only / Content only" narrows it. On the right the document's places (page, section, snippet), each opens the reading view right there; on a phone the row opens it directly at the first place. At most 30 places per search, own rate limit docsuche; source (uploaded, iPhone app, companion, reMarkable, jobs, from others), sort order (newest, name, deadline, size; source and sort order stay in the browser) and quick filters with counts (deadline open, being read, not readable, for everyone, search off) plus tags as a list. A click opens the details, beside the list on wide pages, as their own page with "Back to the list" on narrow ones: card, state with bar, tags edited in place, switches "The assistant searches it" and "For everyone", open original, read (reading view, with "Belongs with"), remind, read again, delete. Documents others share are in the same list (source "From others"). "Select" ticks documents and acts on all ticked own ones: search on/off, for everyone on/off, add a tag, read again (at most 20), delete (with a question first), via POST /api/profile/wissen/batch ({"do", "ids"}, the profile's browser login only, CSRF, one step of the "doc" rate limit per request, at most 200 ids, 8 KB body, only documents of the own database, "for everyone" and tags only with their switches). The six switches and the note on file kinds sit folded under "Settings for documents". The layout "list with details" uses the CSS building blocks ld-… in app.css.

Reading view (Dominik 2026-11-17): A document is no longer read in the narrow band beside the list but in a view of its own over the whole area right of the menu (on a phone the whole page, lesen.js). At the top one bar: back (after a search "‹ Search "word"", to where one came from; also Esc), the title with the page of the place, "Text | Original" (only with a kept original: a PDF in the browser's own viewer at the page of the place, a picture large, else "Download") and "Search in the document" with "1 of N" and ⌃⌄ (Enter, Shift+Enter, Ctrl/⌘ F). On the left the table of contents from the headings the search finds anyway by fixed rules (documents.pieces); a dot shows under which heading the words stand. In the middle a calm reading column (at most 680 px, 17 px, paragraphs, pages as a thin line, headings bold). It opens at the place: a search hit, a source under an answer ("From your documents"), Finden, Mappen, Wissensbuch, Auswertungen and Hörstück all open the same view (docView(id, {n, page, at, q})), at the hit's piece (n), else at the page or the place in a recording; the words of the search are yellow, the current place orange, without search words the piece has a blue background. On a phone the search sits at the bottom as in Safari. For this the server gives the pieces without their overlap (documents.text_of, _ohne_ueberlappung), with number and headings, the table of contents (heads) and with ?um=<piece> the part around a piece far into a very long document ("Read what comes before", "Read on"); the search names each hit's piece (n). No switch (a view of the existing documents), no new endpoint; the text only reaches the page as text nodes, marks are set by the DOM (never HTML from the document). Test: test_leseansicht.

Layout of the Me pages: memory, mail, reMarkable and the other Me pages follow one pattern: sub-tabs with counts (an orange count needs you), a status card with "⋯" for rare actions, compact rows with small buttons, no scroll boxes (the first 10, then "Show more"), "add" as a button, anything irreversible at the bottom in the danger zone. One tap answers a mail question, "Always for this sender" makes a rule; the preview is grouped by target folder. reMarkable: folder tree with ticks and its content beside it, saved with the bar at the bottom. Memory: search, filter (from you / automatic), change entries in place and delete several at once.

Creating documents: on request the Spark writes letters, reports, minutes, notes, summaries, invitations, presentations and spreadsheets as a file: Word (.docx), PDF, PowerPoint (.pptx), Excel (.xlsx), Markdown, text or CSV. Switches: Features → Own documents → Creating documents (chat.doc_make, off) and below it Own templates (chat.doc_make_templates, off); once released both work for every profile; never guests or unknown voices, never over MCP. Flow: the Weiche group "erstellen" offers document_plan, document_change, document_status (and document_send for sending). The model only proposes an outline (kind, format, style, title, at most 30 parts, facts from this conversation, up to 3 own documents as sources); in the chat it shows as a card to change (title, parts, format, look). Only a plain "yes" in the same conversation or "Looks good, create" starts a background job (the outline waits 30 minutes). One model call per part with a fixed JSON schema and no tools; facts and document texts are wrapped as data (<<<DATEN … DATEN>>>), never as a command. Speech priority applies (the job waits while someone talks); one job runs, at most 3 wait, 10 per profile and day, 20 minutes per job; the emergency stop halts new jobs and sending. The Spark builds the file itself (docrender.py: python-docx, python-pptx, XlsxWriter, fpdf2, pinned with hashes in requirements-panel.lock): no macros, no links to the outside, in spreadsheets only SUM formulas, CSV cells never start with = + - @, charts as bar, line or pie. Every content is checked before building (lengths, characters, parts, cells, pictures only from own documents). Result: under Me → Documents → Made by the Spark with preview, download in every fitting format, up to 20 versions ("Bring back"), parts "Edit" (by hand, no model), "Rewrite" with a wish, "Leave out", "Have a part added", switch format and look for good; also listed as a document with source "spark" (searched only with its own switch). By a sentence: "slide 4 shorter", "make a PDF of it", "send it to my PC" (understood without a document word for two hours after the last job). When the Spark asks back ("What should it be about?"), the answer stays with the file wish for 15 minutes in the same conversation (Weiche group "erstellen"). Sending only to own targets: PC (Spark companion, inbox), reMarkable (PDF), Telegram, mail draft with attachment (never sent). Sender for letters under Me → Documents → Sender for letters. Own templates (.docx/.dotx/.pptx/.potx, at most 10 MB, 10 of them) are checked on upload: no macros, ActiveX, embedded objects or external links, no zip trick. Storage: users/<p>/erstellt/ (at most 100 documents). End of a job: push "document ready". Status → Live shows the target "Dokumente erstellen" with counts (running, waiting, done today), never contents. Logs: docmake: Auftrag praesentation pptx 6 Teile (neu), docmake: fertig … Version 1 in 84 s. API (profile): GET /api/make, POST|DELETE /api/make/plan/{id}, GET /api/make/job/{id}, GET /api/make/doc/{id}[/file], POST /api/make/doc/{id}/edit|change|restore|send, /api/make/templates. When the function is off, the model gets a fixed sentence on where to switch it on instead of the tools and does not write the content as text; Me → Documents then shows "Made by the Spark" with a "Switch on" button. Once done, the card in the chat shows a small preview of the first slide, page or sheet (peek in GET /api/make), plus download, view and send. Where the browser has no login (the Android app hands downloads to the phone's browser, another device) there is a download link: POST /api/make/doc/{id}/link returns /api/make/dl?t=…, valid 10 minutes and at most 5 downloads, only for this file and version; the Spark keeps only the key's hash; at most 5 open links per profile; when the function is off no link works. "Copy link" in the preview. By mail two ways, both only with a mailbox that has "Allow reply drafts" on (E-mail → Settings → Inbox tidying), and never sent: "As mail draft" (to the address entered, empty: to the mailbox's own) and "File into the mailbox" (a mail from you to you with the file, unread in the folder "Spark/Dokumente", created when needed). By a sentence both go only to yourself (document_send with mail or box, no recipient). "Finished documents also" under Me → Documents → Made by the Spark (doc_deliver: PC, reMarkable, Telegram, mail draft or mailbox; only a target that is set up counts) delivers every finished document right after your yes; the push says where. iPhone app: Me → Made by the Spark (when the function is on) with preview, Apple's viewer for Word, PowerPoint, Excel and PDF and "Share" (save to Files, send on). Looks without an own template: presentations with a title slide, an overview slide (from 4 parts), numbered boxes, key-number cards (stats, up to 4), a quote box (quote), styled tables and charts; Word and PDF with a colored title block, numbered headings with a line, cards, quote box, zebra tables and page numbers; Excel with a title band without gridlines, a colored head row, zebra rows, a set-off total row and a chart with values. Looks also include "Frisch" (fresh) and "Warm"; "Spark dark" prints light in Word, PDF and Excel. With an own template its look applies.

Fill PDF forms (idea from OpenFuse, off by default): admin switch Features → Own documents → Fill PDF forms (chat.pdf_forms, off; needs "Own documents"); once released it works for every profile, never for guests, never by voice or through a tool of the model. A PDF with form fields (AcroForm) under Me → Documents (original kept) or attached to an own mail on the E-mail page: "Fill in" opens a sheet with every field, next to it the picture of the filled page (pypdfium2, new after every change). Proposals come only by fixed rules from the field's name and label (formular.py): first name, last name and name from the profile, e-mail from the first own mailbox (only with e-mail), town, job and employer from the fixed topics of the memory, "date" and "place, date" with today; every field shows its source. Never filled: signature (the field stays for the pen), IBAN, account, tax, ID card, passport, insurance and card numbers, PIN and passwords (by hand only); the Spark never ticks a box or picks from a list; a field for another person (child, partner, pupil …) never gets the own name, a birth date never "today". "Save filled in" makes a new document "… (ausgefüllt).pdf" (source "formular"), the original stays as it was; when writing, the Spark takes every script and action out of the file (OpenAction, AA, JavaScript, Launch, SubmitForm, ImportData, XFA, embedded files). Then "As an answer …" (for a mail attachment) or "Send as mail …": the compose window of the E-mail page opens with the form attached (senden.ANHAENGE, only an own document of source "formular"); it goes out only with "Send" and needs "Send mails". Drafts are kept in memory only, at most 3 per profile and 30 minutes; limits: 10 MB, 40 pages, 200 fields, 500 characters per field. Status → Live shows only counts at "Spark-Speicher" (read, filled, without fields, refused, open). Logs: formular: gelesen | felder 8 | vorgeschlagen 4 | Profil …, formular: gespeichert | felder 5 | offen 2 | …, formular: abgelehnt | fehlt | …. API (profile, CSRF, rate limit "doc"): POST /api/profile/formular/lesen ({"doc"} or {"mail","folder","n"}), …/vorschau (PNG), …/speichern.

Professional presentations: the language model picks one of ten types per slide and fills only its fields: section divider, key statement (one big sentence), icon grid (3 to 6 points with a symbol), big numbers, timeline or process, comparison in two columns, picture and text, chart with a message, conclusion and bullet points. Fixed rules (folien.py) keep the variety: never the same type twice in a row, at most a third lists. A slide has at most 4 points of at most 8 words; the heading is a statement. When a part is too long the Spark asks the model once more, then shortens at a natural break and puts the full text into the speaker notes. Charts only with at least 3 different values that all have a source; the source stands below and the key value is highlighted, otherwise they become big numbers. The symbols (161 from Lucide, ISC license) are part of the repository. With the admin switch Pictures from the Kiwix (off; then for every profile) the Spark fetches a picture for the title slide and "picture and text" slides from the Wikipedia in the own Kiwix, checks it and saves it anew (at most 3 MB), with source and license note on the slide. Before writing the Spark looks the title up in your Kiwix and your documents; every number in the text must be there, in your words or in the facts of the conversation, otherwise it is left out (small counts up to 10 without a unit excepted). The ready note says how much was left out. Word and PDF show icons, timeline and comparison as blocks of their own, Markdown and own templates as bullet points. Everything works without the internet.

Picture recognition (off by default): a profile attaches a photo in the assistant (picture button next to the text field, paste or drop; up to three per question) and asks about it, typed or spoken. The language model looks at it itself (if it cannot see, the LLM-Tor takes the eye model by a fixed rule). Switches: the admin under Features → Picture recognition, where "Check picture recognition" sends a test picture to see whether the running lane accepts pictures; once released it works for every profile, for the iPhone app also "Let the model look at photos from the app", for Telegram "Photos over Telegram" (caption = question, reply to the photo = follow-up). Never guests, speakers or other device keys. The browser makes the picture smaller; the Spark reads it again (Pillow, at most 8 MB and 40 megapixels, JPEG/PNG/WebP only, with a time limit), turns it upright, scales it to 1280 pixels and writes it again as JPEG, so location (GPS) and camera data are gone. It is kept in memory only, bound to profile and device, 10 minutes after the last question (30 minutes at most, 3 per profile, 30 per hour), never on disk, in the backup or the log, unless the person keeps it with "Picture to My documents" (see knowledge from uploads). In an answer with a picture the model gets no tools; the answer counts as outside text, the next turn is locked like after a web page, and nothing is learned from it. Below the answer, "Store under My documents" keeps the answer text. API: POST /api/chat/image (raw picture) → {"id"}, then POST /api/chat with "images": [id]; GET /api/chat/image says whether the caller may.

Painting pictures (off by default): the Spark paints pictures itself with FLUX.2 [klein], without the internet. The model only comes with the installation: sudo ./install.sh --bild 4b-q8 (4B with Q8, Apache 2.0, recommended), 4b-q4 (less memory), 9b-q8 or 9b-q4 (FLUX Non-Commercial, private use only); the first install asks, the default is none. The engine is stable-diffusion.cpp (sd-server, pinned to one commit, built for the GB10 with CUDA, no Docker); the model files are pinned by revision and SHA-256 (bildmodell.py). The service speech-spark-bild (bild_server.py, only 127.0.0.1:31005, API key) loads the engine at the first picture (127.0.0.1:31015, after checking the free memory) and stops it after Unload after minutes without a picture (default 10). Switch: admin under Features → Painting pictures (chat.bilder); once released it applies to every profile, never to guests, never over MCP. A profile paints under Me → Pictures (wish, format square, landscape, portrait or wide) or in the conversation ("Paint me a cat on a skateboard", also with the verb at the end, as in German "Kannst du mir ein Bild von … erstellen?", also caricature, comic and cartoon: "Create a funny caricature for me"): the router group "bild" offers bild_malen, the model writes an English prompt that is shown under the picture. The tool counts as a change (locked after outside text, emergency stop stage 2 holds it). The job runs in the background and waits for a pause in the conversation (speech goes first); one picture at a time and never beside a song, at most 10 pictures and songs waiting together (see Heavy jobs), 12 minutes per job. Fixed rules that cannot be switched off: a word list (nothing sexual, no violence, no hate symbols), no people the Spark knows (profile names and contacts), then an image check (ViT classifier, ONNX on the CPU; above 50 % the picture is discarded, without the check nothing is shown); every picture is marked as AI-made (PNG text "KI-erzeugt", IPTC trainedAlgorithmicMedia) and re-encoded. Storage: users/<p>/bilder/ with index.json, Pictures per profile and day (default 30, rolling 24 hours), Space per profile (default 500 MB), at most 300 pictures; Longest side 512 to 1408 pixels (default 1024). In the chat a card shows the progress, then the picture with Download and "All pictures"; the answer keeps "Picture: " and the job, so the chat shows the picture again after a reload, in every saved conversation and on every device. The card only asks once it stands in the answer. When the assistant asks back after a picture wish (say "I do not paint real people, fictional ones instead?"), a short "yes" or "fine" is enough: up to 10 minutes after the own wish painting stays offered, without a web search. The iPhone app shows the picture right under the answer (touch and hold: save or share); for that its key may only read the job and the picture file of its own profile; list, painting and deleting under My things → Pictures (with the release of Painting pictures). Me → Pictures shows them as a gallery with wish, prompt, time, size, duration, download and delete, "Delete all pictures" on top. Finished through the iPhone app or Telegram: push "Bild". "Bild testen" below the switch paints a test picture and shows load time, paint time and memory. State → Live: target "Painting pictures" with counts (running, waiting, done, failed and refused today), never wishes or prompts; service guard part "Painting pictures"; logs (area "Bild"): bilder: auftrag 1024x1024 quadrat chat fuer …, bilder: gemalt …, bilder: nicht gemalt <reason> fuer …, bild: engine gestartet 38 s 11.2 gib, bild: engine beendet leerlauf. API (profile): GET|POST|DELETE /api/bilder, GET /api/bilder/job/{id}, GET /api/bilder/{id}/datei[?dl=1], DELETE /api/bilder/{id}; admin: GET|POST /api/admin/bild-test.

Changing pictures (off by default): the Spark changes an own photo or a painted picture after the person's sentence, with the same FLUX.2 [klein] (reference picture to bild_server.py, at most 2 MP), without the internet and without a model of its own. Switch: admin under Features → Changing pictures (chat.bilder_aendern, below Painting pictures); once released it applies to every profile, never to guests, never over MCP, only in the own browser or the own app. Which picture is decided by the panel with a fixed rule before the answer (bilder.from_turn), never by the language model, and there is no tool for it (a turn with a photo has no tools anyway): (1) the first photo of this message when the text has a change word ("make … blue", "change", "remove … from the picture", "take the beard off" (German „mach den Bart weg“), "as a watercolour") and is no question about the picture ("What is in the picture?" stays with Recognising pictures); (2) without a photo: a short message (at most 200 characters) with a change or again word up to 10 minutes after a change takes its result ("brighter", "again"); (3) under Me → Pictures "Change" on a picture with an own sentence, plus "Upload an own photo" (JPEG, PNG, WebP, at most 8 MB, cleaned, without metadata, kept as PNG at most 2048 pixels). Pictures from mail, web, documents, other people's chats or Telegram groups never. Fixed rules: the word and name list from painting, plus for changes ID cards, signatures, stamps, number plates, bank notes, undressing, injuries and swapping faces; then the image check (fail closed). Every change is a new picture, the original stays ("Show the original"); the result is marked (PNG text "KI-bearbeitet", IPTC compositeWithTrainedAlgorithmicMedia). Day count, space and queue from painting apply; the model's answer only says that the picture is being changed, the card in the chat is called "Changing the picture". State → Live: the target "Painting pictures" also shows "changed" (count); logs (area "Bild"): bilder: auftrag aendern 1024x768 …, bilder: geaendert 1024x768 21.4 s fuer …, bilder: nicht gestartet aendern aus|quelle fuer …, bilder: foto gespeichert|nicht gespeichert voll|kein bild fuer …. Quick buttons under Me → Pictures on a picture, without a model, at once on the panel with Pillow: rotate left or right, mirror, brighter, darker, more contrast, black and white, crop to a square, half the size; again a new picture, a painted picture keeps its AI marks, an own photo gets none; does not count towards pictures per day; Live "schnell bearbeitet", log bilder: schnell heller 1024x768 fuer …. API (profile, also the app under My things → Pictures): POST /api/bilder/{id}/aendern ({wunsch}), POST /api/bilder/{id}/schnell ({was}), POST /api/bilder/foto (the picture as the body).

Making music: every released profile makes its own songs. Admin switch Features → Making music (off, needs the installed model); once released it holds for every profile, the admin blocks single ones. Guests, MCP and outside text (after mail, web or a document, Notaus from stage 2) never get the tool. In the conversation: "Make me a song about our cat", "Compose a piece for piano"; the Weiche (group musik, tool musik_machen) keeps that apart from "Play music in the living room" (Home Assistant); a short "yes, with singing" within 10 minutes after the wish still counts. "Musik stück", "House Track", "Musiktrack" and "Beat" count as wishes too. A follow-up on the last song (style, genre, "again", "can it be reggae style") gets the tool for 10 minutes after the wish, the start or the end of a song, and always right after an answer about a song; when the person only talks about the song, the model gets no tool and the rule never to promise one. If an answer promises a song anyway without musik_machen having run, the action check holds the sentence back (kind musik). After an answer with a web search (e.g. chords for the OP-XY) the person's own music wish still makes the song (own in extras.offer), and that answer stays along as data up to 7 messages back (musik.BACK) so key and chords are right. Mail and the Notaus lock the tool. Under Me → Music (laid out like Documents and E-mail): on top the count, space and songs today with the "⋯" menu (Delete all songs), below it the card for a new song (wish, length as chips, switch "With singing" with language and lyrics). Below that a search (wish, description, lyrics) and quick filters All, With singing, Instrumental from six songs on, then the songs by day (Being made, Today, Yesterday, Last 7 days, Older): one row per song with ▶ in front, length and singing below, the time or day on the right. A click opens the details (beside the list on a computer, as a page of their own with "‹ All songs" on a phone): player with a slider, made, length, size, time and model, Download, "Make it again" (only fills the form with wish, length, singing and lyrics; nothing is sent before "Make the song") and Delete; the description by the model and the lyrics folded. One player for the rows and the details, so two songs never play at once; while a song plays whose details are not open, a bar at the bottom shows its title and time. Fixed rules (musik.refuse_text): without singing instrumental, without a length 2 minutes (10 s up to music.max_s, default 300 s); no word list (sexual, violence, hate), no "in the style of" an artist, no passwords, PINs or account numbers; names are fine (unlike pictures). Limits per profile: music.day_limit songs a day (10), music.store_mb MB of space (500), at most 200 songs; one song at a time per profile, at most 10 pictures and songs waiting together on the Spark (see Heavy jobs); a song waits for a pause in the conversation (vorrang.py) and may take 20 minutes. Picking the model: Features → Making music → Model ("As installed", 2B, 2B small, XL); models not installed are greyed out. Measured on tars: 2B 16.6 s for 30 s with a 13.4 GB peak, XL 17.6 s with 19.2 GB; another model ends the running engine first. Storage users/<id>/musik/ (MP3 with the AI mark and index.json), Delete data of the release counts it. The panel's chat shows a song card with a player, the apps find the song under Me → Music and get a notice when it is done. A song waiting or being made shows in State → Live under "In the background" and on the target "Making music" (numbers only); the music service shows on the model computer's card (Status → Summary and the control centre). Logs with numbers and fixed words only: musik: auftrag 120 s instrumental chat fuer …, musik: gemacht 120 s gesang 9.5 s fuer …, musik: nicht gestartet kuenstler fuer …, never the wish or the lyrics. API: GET|POST|DELETE /api/musik, GET /api/musik/job/{id}, GET /api/musik/{id}/datei, DELETE /api/musik/{id}.

Editing music (off by default): The Spark edits a song under Me → Music without the internet on a page of its own over the whole width ("Edit" in the details opens it): on top ▶ with the time, below the wave with the range, the tools on the left, their fields in the middle, the versions on the right with ▶ (a tap edits that one), at the bottom a fixed bar with the button and the job state; on a phone one column, "‹ Songs" goes back; the iPhone app has the same order. The model is ACE-Step (acestep.cpp: repaint, cover, cover-nofsq; splitting into stems is not available yet). Admin switch Features → Editing music (chat.musik_bearbeiten, below Making music); holds for every profile, never for guests, never over MCP. Kinds (musik.ARTS, musik.plan_edit checks numbers with fixed limits): Part anew (range and a sentence), Extend (front or end, 5 to 120 s), Genre (Pop, Rock, Reggae, Jazz, Classical, Electronic, Hip-hop, Schlager, Big band, Acoustic or own words, slider "free ↔ close to the original" in five steps, BPM), Remix, Change lyrics (parts verse, chorus, pre-chorus, bridge, intro, outro, instrumental: change, add, remove, move by the handle ⠿, ↑/↓ or in the iPhone app by holding and dragging; remade close to the old sound or with "Make it completely anew" in its own length); without a model at once Cut & fade, Tempo & key (75 to 125 %, ±4 half tones; ffmpeg on the model computer, fixed filters only, one run at a time, 120 s limit) and Detect tempo and key (/understand). With the model up to three suggestions per run; outside the range the original sound stays sample for sample. Every change is a version at the original (root, von, label), at most 10 per song; the list shows each song once with "· N versions", the details show the versions with ▶, "As a song of its own", Download and Delete; quick filters Uploaded and Edited. AI versions carry "AI-edited". Upload an own file ("⋯" menu): MP3, WAV, FLAC, M4A, OGG up to 30 MB and 10 minutes, 10 a day, only with the tick "This is my own recording or I own the rights to it" (rechte=1); the panel checks the first bytes, the model computer reads via ffmpeg from a pipe (only file,pipe) and returns its own MP3 without foreign tags and without the AI mark until edited. In the conversation the tool musik_bearbeiten (Weiche group musik, e.g. "Make my last song 30 seconds longer"): the panel picks the song (always the newest own one), never the model; new lyrics only on the page. Songs per day, space, queue and Notaus of Making music apply. State → Live: target "Making music" also edited, uploaded, detected (counts). Logs (area "Musik"): musik: bearbeitung richtung 2 vorschlaege seite fuer …, musik: bearbeitet richtung 2 fassungen 31.0 s fuer …, musik: bearbeitet tempo ohne modell fuer …, musik: hochgeladen mp3 182 s fuer …, musik: hochladen nicht gemacht rechte|gross|format|dienst fuer …, musik: erkannt 3 felder fuer …, musik: fassung eigenes lied fuer …; never the wish, text or file name. API (profile, also the app): POST /api/musik/hochladen?name=&rechte=1 (file as the body), POST /api/musik/{id}/bearbeiten ({art, …}), POST /api/musik/{id}/erkennen, POST /api/musik/{id}/eigenes; model computer POST /v1/musik/quelle|bearbeiten|ton|erkennen.

Writing lyrics for songs (part of Making music): Under Me → Music with "With singing", the button Write lyrics stands next to "Lyrics"; with empty lyrics "Make the song" starts it as well. The language model writes verses and chorus from the description with [verse]/[chorus]/[bridge] in the chosen language, fitting the length (musik.text_pairs: about one verse-chorus pair per 45 s, 1 to 4). The lyrics appear for editing; the song is made only with the next click. The description goes to the language model as data in the block <<<WUNSCH … WUNSCH>>>. Artist names never reach the music model: the language model names found artists and describes their style in style words; the panel cuts "im Stil von …" with the names out by a fixed rule (musik.CLAUSE), adds "Stil: …" and refuses if names stay in the lyrics or description. musik.ARTIST also catches "im stiel …" with and without "von", not "so wie"; the rule holds for wish and description, not for own lyrics. In the conversation (musik_machen): when beschreibung_en names an artist, the result demands in fixed words a description with style and sound words only (musik.ARTIST_AGAIN), and "im Stil von …" is dropped before the song title. The panel checks word list and secrets before the language model and on the lyrics. Works with the switch Making music; Notaus (jobs) and the language model's maintenance pause hold it off. Also in the iPhone app. State → Live: target "Making music" also "N lyrics written". Logs (area "Musik"): musik: liedtext geschrieben 2 teile stil statt namen fuer …, musik: liedtext nicht geschrieben aus|notaus|wartung|leer|wortliste|geheim|kuenstler|sprachmodell <error kind> fuer …; never the description or lyrics. API (profile, also the app): POST /api/musik/liedtext ({wunsch, sekunden, sprache} → {liedtext, wunsch, teile, namen, beschreibung}, 16 KB, 10 per minute).

Long description as a template: The own description under Me → Music (and in the iPhone app) may be up to 2000 characters (musik.MAX_WISH, as much as docmake.MAX_WISH), e.g. a firm's text as a template. The music model reads at most 600 characters (musik.MAX_CAPTION); so "Write lyrics" also returns a short English music description (beschreibung: style, mood, instruments, tempo, voice, no names; dropped with "in the style of"), which page and app send with "Make the song" as long as the description was not changed by hand; otherwise the first 600 characters go to the music model. The panel checks it like the wish (word list, secrets, artists). The 16 KB body limit and rate limits apply. API: POST /api/musik also takes beschreibung (at most 600 characters).

AI Dungeon Master: admin switch Features → My data → AI Dungeon Master (chat.dungeon, off by default; released for every profile not blocked; never for the assistant's guests). A role-playing game for up to five players in the menu Dungeon Master with the tabs Rounds and Heroes. A new round has title, world (fantasy, horror, science fiction, pirates, own), opening, tone (from 8, 12 or 16 with its own word list), turn time (1, 2 or 5 minutes), duration (6 hours, 1 day, 1 week) and a hero (name, people, class); the Dungeon Master prompt can be changed, the panel's fixed rules always apply. Invite makes a seat link with a QR code per player (https://<panel>/#spiel=<code>), played as a guest without a profile or with an own profile. Flow: everyone writes what their character does (at most 300 characters); once all have acted, the time is up or the host taps "Go on now", the own language model answers in two steps in a fixed JSON schema: first the checks needed, then narration with consequences, loot, successes, NPC lines, scene and whom it asks. The panel decides (dungeon.py, rules and catalogue in dungeon_regeln.json, checked by check_rules): d20 plus value against difficulty 5 to 20 (20 always succeeds, 1 always fails), damage and healing 1 to 6 (minus armour), only group names and kinds from fixed lists, words of the tone and the list "nie" refused; a player silent for two turns is addressed by name. A broken answer gets a second try, then a fixed sentence stands and the turn stays open. Loot and levels: the model only reports the occasion (foe, chest, reward, boss) with a name and a sentence; rarity (d100 by occasion and group level, common to legendary, epic from level 2, legendary from level 5, pity after 6 finds), item fitting the class, bonus, effect, receiver (who went longest without a find) and gold come from the panel. Experience by fixed numbers (check passed, foes by rank, scene goal for all), levels 1 to 10, at most one per game evening, credited at the end of the round or chapter; every level brings life and a value point, levels 2, 4, 6, 8, 10 an ability out of two offers. On the sheet: equip, unequip, drink a potion, give. Trading: "Offer a trade" with things and gold per side (up to 4 per side, at most 3 open offers per player); on "Accept" the panel checks ownership and bag room (12) and swaps in one step; "Decline" or "Withdraw" takes it back, a traded thing drops out of all other offers. Taking heroes along: heroes of profiles stay stored with level, values, equipment and gold (users/<profile>/dungeon-helden.json, up to 8), each in only one running round. A guest taps "Get a hero code": shown once, valid 30 days, redeemable once, a newer one replaces the older; with it they play on in a new round or take the hero into a profile. Admin: Features → AI Dungeon Master, button "Adjust rules": worlds, tones, peoples, classes with abilities, items, effects, rarities, curves for experience and loot, limits and the default prompt as JSON (dungeon-regeln.json in the state folder); same id replaces, "aus": true removes, new ids are added; the panel refuses faulty rule sets with a list of errors and uses the shipped rules when the file is broken. Protection: the code stands after the #, the Spark keeps only its hash; other Origins are refused, own rate limit, wrong codes lock like a wrong PIN; actions and narration are data (block <<< … >>>, markers defused), unlock nothing and never go into memory; a guest only sees their round, never the assistant, a tool or a setting. Status → Live (target "Dungeon Master") only shows rounds, players, guests, turns, loot, levels, fallbacks and refusals; Logs (area "Dungeon Master") only fixed words and numbers (dungeon: runde neu | fantasy | ab 12 | Profil …, dungeon: zug | ok | 2 proben | 3100 ms, dungeon: beute | boss | rar, dungeon: stufe | 4, dungeon: tausch | angenommen). Delete all game data under Heroes also works while the game is blocked. API: GET /api/profile/dungeon, POST /api/profile/dungeon/runde, GET /api/profile/dungeon/{rid}, POST /api/profile/dungeon/{rid}/aktion|held|weiter|pause|platz, DELETE /api/profile/dungeon/{rid}, POST /api/profile/dungeon/beitreten, DELETE /api/profile/dungeon/held/{hid}, DELETE /api/profile/dungeon/daten; guests POST /api/dungeon/platz|beitreten|lage|aktion|held|figur ({code, …}); admin GET|PUT|DELETE /api/admin/dungeon.

AI Dungeon Master: rule depth and six switches: One table (dungeon_tiefe.py) says what each part of the game hangs on; no module asks features with a part, only dungeon_tiefe.an, fuer, admin_an and fehlt. Core (story progress, lines and X-card, asking back, narrator faults, guide the players, NPC memory, people catalog, writings, quest items, time of day) is on with the game. Full (crit tables, honours, near miss, helping, rest, travel, tongues, calendar, witnesses, thoughts, coming along, errands, wandering, gestures, surroundings, companions, heart's wish, alarm and torches, whispering, stance, scars, heroic courage, factions, gold with a purpose, runes and sockets, game master dial) works only in a round at the rule depth "Full"; the runes' effect on items holds Spark-wide, per round only falling, setting, trader and smith. The admin sets the standard for new rounds under Features → AI Dungeon Master → Rule depth (Simple or Full, chat.dungeon_tiefe, Simple from the start); the host chooses per round when making it and in the game master console under "Difficulty" (erzaehler with tiefe), at Full there also "Scars only" (nur_narben: every wound stays a look, never a consequence). When the host keeps the standard when making a round, the round follows the admin's standard, also when it changes later. Game master console (giving, budget stages, own random rules, oracle, real dice) has no switch: the tools only act when the host uses them. Six parts have a switch of their own under Features → AI Dungeon Master, off from the start: Pictures and hero song (pictures, faces, arms, album, hero song), Second check by the model (judge, scribe, heroes comment, chat.dungeon_pruefung), Guests with e-mail, Chronicle and hero book (chat.dungeon_buecher), Own stories and import, Test benches (fight and narrator bench). Take-over: at the start the panel reads old single switches once (dungeon_tiefe.uebernehmen): when at least half of the Full parts were on, the standard becomes Full; a new switch is on when one of its old parts was on, never the pictures by themselves; then the old keys are gone from the config. Log dungeon: regeltiefe | uebernommen | voll | 12, at the table dungeon: regeltiefe | einfach and dungeon: narbe | nur aussehen an. Live: open rounds per rule depth and with "Scars only", numbers only. Self-tests in test_dungeon_tiefe (table, no module asks features with a part, Simple and Full, take-over, endpoint, live).

AI Dungeon Master stage 2: Campaigns: the host's "End chapter" ends the round; narrations, the profiles' heroes and copies of the guests' heroes go into a campaign (users/<profile>/dungeon-kampagnen.json, up to 10). In the background the language model writes "The story so far" (fixed JSON schema, at most 800 characters, sources only as game text in the block <<< … >>>); the panel checks it like every narration (no markup, no links, no words of the tone and the list "nie"). If the answer does not fit or the model is paused, the last narrations stand as a draft. In the tab Rounds, section Campaigns, the host can change the text (same check), have it rewritten, delete it or "Start chapter N": a new round with the same settings and their hero, "The story so far" goes to the model as game text. Guests get new seat links and pick "Your character from the last chapter"; each character only once. Reading aloud: a switch when starting and the host's "🔊 Read aloud/Reading off". After each turn speech output speaks the narration in the narrator voice and NPC lines in the NPC voice (the admin picks both under "Adjust rules", stimmen); one reading job at a time, at most 1800 characters per turn. The sound is a WAV in the state folder (dungeon-ton/, last 3 turns per round, goes with the round), one file for all seats: it plays by itself on the host's device, the others tap "🔊 Listen". Speak instead of typing: 🎤 records up to 30 seconds, the browser makes a 16 kHz WAV, the Spark's speech recognition writes the text into the field; sending stays a tap. Guests too (a transcript is not a tool), with their own rate limit dungeonohr and at most 1 MB per recording. Apps: iPhone My things → Dungeon Master shows rounds, heroes and campaigns with "The story so far", swiping deletes a hero or campaign; "Play" gets a code for the own seat (shown once, only the hash stays, a newer one replaces it, no hero code for a profile's hero) and opens the table with microphone and reading aloud. New rounds and chapters only in the browser. Android shows the panel page. Status → Live counts campaigns, chapters ended, turns read aloud and spoken; Logs: dungeon: kapitel ende | 2, dungeon: bisher | ok | 4200 ms, dungeon: vorlesen | ok | 3 teile | 9000 ms, dungeon: hoeren | ok | 48 zeichen | 900 ms, dungeon: sitzcode | app. API: POST /api/profile/dungeon/{rid}/kapitel|vorlesen|hoeren|sitzcode, GET /api/profile/dungeon/{rid}/ton/{n}, PUT|DELETE /api/profile/dungeon/kampagne/{kid}, POST /api/profile/dungeon/kampagne/{kid}/neu|weiter; guests POST /api/dungeon/ton|hoeren. Variety: the catalogue has 44 weapons (up to 11 per class), 18 armours, 17 pieces of jewellery, 18 potions, 22 spells, 12 other things and 28 effects. Potions heal and/or give a blessing (a value +1 to +4 for 1 to 5 turns). Spells (kind zauber, some only for certain classes) are cast with "Cast" from the bag: once, on oneself or the group, with healing and/or a blessing; the log shows "✦ … casts …", the model only learns who cast what. A blessing counts in every check and wears off after narrated turns, at most 4 at once; the sheet shows "Strength +2 · 2 turns left". The admin adds own potions and spells under "Adjust rules" (heilung 0 to 30, segen {wert, bonus, zuege}, for spells ziel selbst or gruppe and satz); the panel checks them.

AI Dungeon Master at the table, wave A: Multiattack: a foe can have angriffe (2 to ANGRIFFE_MAX = 5, checked by check_rules); a boss always attacks at least twice (dungeon_kampf.blows). The panel rolls every attack on its own against a standing hero; the foe window shows "2 × 1d8+2", the rule page "Attacks per turn"; encounter strength (BUDGET) keeps the test bench at 70 to 90 % wins. A foe's life as a word: players see the state instead of numbers (dungeon_kampf.lage): unhurt, bruised (above half), badly hurt (above a quarter), nearly beaten. Only the host sees the numbers, also on the encounter card. In the car: "The ogre is badly hurt". A state on a hero shows the turns left ("poisoned, 2 turns left"). Names for listening: spoken actions go to speech recognition with up to HOER_WORTE (60) names of the round (dungeon.heard_words): heroes, people and places of the map, foes, things in one's own bag, never anything from the hidden truth. While a profile plays in the car, these names apply there too (dungeon_auto.words, WORTE_S 600 s). Dice receipt: every roll gets a number (W-1, W-2 …, dungeon_erzaehler.receipts), small in the feed and with all numbers in the model. If the narration names a number without a receipt of this turn, the panel repairs it by fixed rules (fault beleg, hint "The dice receipts hold: …"). Read along: while reading aloud, every device marks the sentence being spoken; the reading state brings the words of every finished piece (lesung.texte), found also across highlights and quote marks. Live: Status → Live counts foes with multiattack, per day narrations repaired for numbers without a receipt and recordings with the round's names. Self-tests in test_dungeon: the boss test with multiattack, test_a_foes_life_is_a_word_for_the_players, test_dice_receipts_hold_the_numbers, the speaking test with names, test_reading_aloud_piece_by_piece_on_this_device; test_angriffe_zwei_bis_fuenf in test_dungeon_srd.

AI Dungeon Master: oracle (tables from Datasworn, CC-BY-4.0): A tool of the game master console, no switch of its own (Features → AI Dungeon Master; dungeon_orakel.py). The host (e.g. in solo play) asks in the game master console under "🔮 Oracle" (POST /api/profile/dungeon/{rid}/orakel, host only): a yes-or-no question with a likelihood (certain 90, likely 70, even 50, unlikely 30, hardly 10 %) or up to TABELLEN_MAX (3) tables of the oracle group (action, theme, place, descriptor, twist, complication, clue, peril, opportunity, trouble) or own tables. The round's chaos grade (1 to 9, start 5, slider) moves the chance by CHAOS_SCHRITT (5) percentage points per step, within 5 to 95. The panel rolls a d100: lowest fifth of the yes "Yes, and …", highest fifth of the no "No, and …"; a double (11, 22 …) up to the chaos grade brings an event from action and theme. At most ZUG_MAX (6) questions a turn. Every answer stands in the feed with roll and chance; the model gets them only as data (orakel) with the fixed rule to hold to them. Own tables: tab "Rules", part "Tables": "Own copy" and "Edit" add a table (group orakel or eigen, 2 to 300 rows [German, English], optionally only for single worlds), dungeon_tabellen.check_rules checks it. Live: Status → Live counts questions per day and rounds with an own chaos grade. Self-test test_the_oracle_answers_by_the_panels_dice in test_dungeon.

AI Dungeon Master: narrator bench: Admin switch Features → AI Dungeon Master → Test benches (chat.dungeon_pruefstand, off from the start; dungeon_erzaehlstand.py); checks the running model in the panel, fixed rules decide. In the tab "Rules" at "Narrator bench", "Check now" (POST /api/admin/dungeon/erzaehlstand, admin only, at most every KNOPF_S (120) seconds, one run at a time) plays eight fixed scenes through the same steps as a turn at the table (dungeon.ask_checks, roll_facts, dungeon.tell; one source) on a round only in memory: nothing saved, no seat, no profile, no day counter. Scenes: a failed check must not succeed, two heroes appear, a fight names the foes by name and no number without a receipt, the children's tone without a word of its list, a person of the truth answers by name, an English round in English (at most ENGLISCH_MAX German words), a risky action asks for a check, a harmless one does not. Per scene 2 points on the first try, 1 after a rewrite, 0 when refused or only the panel's repair is left. With "Classification with probabilities" on, the model's own view stands beside it (systemone, use erzaehler), without points. Result per model name (llm.known_model) in STATE/dungeon-erzaehlstand.json, the last MODELLE_MAX (8) models side by side, only points, reasons and times, never narration text. When changing models: measure, switch, "Check now". Live: Status → Live names the models measured and the best score. Self-tests in test_dungeon_erzaehlstand.

AI Dungeon Master: narrator errors from a 👎 with a reason, taken over as bench scenes: Admin switch Features → AI Dungeon Master → Test benches (chat.dungeon_pruefstand, off from the start). While on, the table asks after a 👎 on one of the last three turns "What was wrong?" with fixed reasons (dungeon_erzaehlstand.GRUENDE: failed check done anyway or something revealed, decided for another character, item or spell missing, fight does not match, gold or loot only told, wrong place, a person looks different or is elsewhere, repeats itself, something else; never free text). The reason goes with the 👎 (POST /api/profile/dungeon/{rid}/daumen or /api/dungeon/daumen with grund); the panel keeps the turn as a case (dungeon_erzaehlstand.case): actions, dice with outcome and narration, heroes with bench names (Arvid, Bela, Cora, Dario, Ella, also in the genitive), without profile, seat or round id, only a hash of round and turn (a second 👎 replaces the case). The newest FAELLE_MAX (40) stand in STATE/dungeon-erzaehlfehler.json. In the tab "Rules" at "Narrator errors" the admin sees every case (GET /api/admin/dungeon/erzaehlfehler), deletes it or uses "Take over as a bench scene" (POST with {fall, aktion: szene|loeschen} or {szene, aktion: loeschen}, at most EIGENE_MAX (12) scenes, deleting also with the switch off). Every bench run plays these scenes after the fixed ones: the same actions on a fresh round of the same world, tone and language, every check with the same outcome (same_dice: 20 passed, 2 failed, if need be the difficulty one above the total); map, fight and people are not carried. Points as for fixed scenes. The result file stays without narration text. Live: Status → Live names cases and scenes taken over. Log lines "dungeon: erzaehlstand | fall | neu/ersetzt/leer/aus/uebernommen/geloescht/fehlt/voll/ungueltig". Self-tests NarratorCases in test_dungeon.

AI Dungeon Master: fix narrator errors, the narration learns from reports: On with the game, no switch of its own (Features → AI Dungeon Master, counts for every profile not blocked; dungeon_erzaehlstand.FIX). With it (or the narrator bench) the table offers the fixed reasons after a 👎, including "Action misunderstood (question, direction)"; every reason has a fixed hint (GRUENDE, German and English). 1 Tell again: a 👎 with a reason on the last narration has it told again once (dungeon_erzaehler.retell_fixed, at most once per turn, not while a turn, an X-card or another retelling runs; a stuck one frees after NEU_S (300) seconds). The model gets the hint as its task, the old scene, actions and each check's outcome only as data; the new narration must pass word lists, veils and the same fixed checks (erz.judge, at most after the panel's rescue), else the old one stays. Dice, life, finds and place never change; pictures and sound files go only with a new text (dungeon_grenzen.replace, the same source as the X-card). The table shows "being told again …", then "told again". 2 A world's hints: every report counts with time, world and reason (numbers only, meldungen, at most MELDUNGEN_MAX); when a reason comes WELT_SCHWELLE (3) times within WELT_TAGE (30) days in a world, that world's narrator gets its fixed hint in its task for good (world_task, never words of a report). 3 Every night: while the narrator bench is on and has scenes taken over, it plays them once a night (2 to 5 o'clock, due). 4 Weeks: the page "Narrator errors" shows reports per week and reason of the last WOCHEN (6) weeks and the reasons that became a world's hint. 5 New rules: clusters show on the page; new fixed rules are built by a developer, never by the system itself. Live: Status → Live names scenes told again today and those being told again now. Log lines "dungeon: erzaehlfehler | neu erzaehlt | ok/bleibt/ausfall" and "| neu erzaehlen | aus/nein", "dungeon: erzaehlstand | nacht | start". Self-tests NarratorCases in test_dungeon.

AI Dungeon Master: adventure import: Admin switch Features → AI Dungeon Master → Own stories and import (chat.dungeon_geschichten, off from the start; dungeon_import.py). In the story planner (tab "Rules" → "Stories" → "New story") "📄 Adventure from a file" stands at the top: an adventure as PDF, Word, OpenDocument, Markdown, text or HTML (TYPEN, at most MAX_BYTES = 10 MB) becomes a draft (POST /api/admin/dungeon/geschichte/import, a form with file, world, tone, acts, taboos and language; admin only, rate limit dungeonplan). The panel reads the text with documents.extract (the file is not kept and does not go into the knowledge), cuts it at headings like the document search (documents.heading) and gives the model a digest: every heading with the start of its section, at most ABSCHNITTE_MAX (60) sections and DIGEST_MAX (12000) characters, as data in the block <<< … >>> (markers defused). First heading = title, the others = chapters; without a chosen number as many acts as chapters (3 to 5). The model joins chapters in order into acts and keeps places and foes, never game values, rules, loot or instructions from the file; only the planner's fields come back. The panel checks the answer in the fixed schema (SCHEMA_PLAN) like a typed story (check_plan: lengths, number of acts, tone, "never", taboos), two tries; only "Check and save" keeps it. Fixed refusals with a log line: aus, dateiart, zu gross, unlesbar (such as a PDF without a text layer), leer (less than TEXT_MIN characters), eingabe, sprachmodell pausiert, kein vorschlag. Logs only fixed words and numbers (dungeon: import | ok | 3 kapitel | 3 akte, never the file's name or text). Live: Status → Live counts adventures taken and refused today. Self-tests in test_dungeon_import.

AI Dungeon Master: quest items: On with the game, no switch of its own (Features → AI Dungeon Master; dungeon_quest.py). A quest item is a named thing the story needs (key, map, seal): sign ✦, no weight, never for sale, can be passed on. It comes three ways by fixed rules: an act of the story planner names it (field "Special thing", 2 to 40 characters, checked with tone, "never" and taboos) and it lies in the scene while the act runs (q_akt1 …); the map lays it at a place or in a vault (dungeon.quest_legen(rd, ort_id, ding), the same id twice changes nothing); or the narration reports a find (quest_fund, at most one a turn), which the panel takes only when the narration names it, the name has 2 to 40 characters, passes the word lists, is new and the round has fewer than QUEST_MAX (12) things; it goes to the finder, else it lies here. When an action names a thing where the group stands, the hero takes it (before the narration, the model hears quest_genommen); what the group carries (quest_gruppe) and what lies here (quest_hier) the model hears only as data. In the hero sheet, tab "Bag", "✦ Special things" lists own things with "Give …" and "Put down" and what others carry; under "Lying here" named things can be picked up (POST /api/profile/dungeon/{rid}/held with questgeben, questablegen, questaufheben, guests /api/dungeon/held). Doors and ways open only when an action names the thing and the group carries it (dungeon.quest_genannt, dungeon.quest_haben); a used thing vanishes with a line in the feed (dungeon.quest_verbrauchen) and never returns. When a carrier dies or leaves, the thing lies where the group stands. Carried things go into the next chapter with the hero, things left lying do not. Players see a thing only once named or carried; the host sees all with their place (quest_geheim, host only; view filter quest_versteckt and quest_anderswo). Journal lines dungeon: quest | … with fixed words only; the live overview counts things, carried ones and today's taken, found, passed on and used ones.

AI Dungeon Master: attacking several foes of one kind: An attack happens only when a check in a fight has a target naming a foe. Fixed rules (dungeon_kampf._named): first the whole name, then its start, then the kind (name without number, also as a plural or only its last part: “Riesenratten”, “die Ratten”, “giant rats”); it hits the first one still standing this turn. A check without a target still attacks when the action holds a word of attacking (HIEB_WORTE: greifen, schlagen, stechen, schießen, attack …) and names a foe that way; “I listen at the door” stays a check. When the action names magic (MAGIE_WORTE) but no listed spell and the class can cast, it is a cantrip: 1d6 plus the best of Intelligence, Wisdom, Charisma, kind force, magical; otherwise a weapon attack. The model only gives data; target and damage come from the panel.

AI Dungeon Master: tables in full: In the tab "Rules", part "Tables", a table's detail shows every row with its number, above it the die (d and the number of rows, every row as often; in a world only its rows) and for world-bound rows those worlds, in a box of its own that scrolls. In the list every table has a sign (such as 👁️ Looks, 🔮 an oracle table without its own, ✎ an own one; dungeon_regelseite.TAB_ZEICHEN). Only a view for the admin (GET /api/admin/dungeon/katalog/tabellen, every row with tafel).

AI Dungeon Master: faster on the Pi: Every round is a file of its own (dungeon_ablage.py, state folder dungeon-runden/<rid>.json); dungeon-runden.json keeps only shared values (pictures of the day, thumbs per world). An old combined file is split once on the first read. A cache keeps every file's text by its change stamp (time, size, file): only changed files are read and brought up to date, every caller gets a fresh copy; only changed rounds are written, an ended round's file is removed. Running rounds are not in the backup (they go hours after their end; heroes and campaigns live in the profile and are backed up). The poll every 3 seconds (GET /api/profile/dungeon/{rid}?stand=…, guests POST /api/dungeon/lage with stand) gets {"neu": false} while the stand holds (change stamp, who is there, reading aloud, pictures on their way, who types); while the Dungeon Master answers and at the latest every STAND_S (10) seconds the whole view comes. It checks seat and due turns on that round only. The page loads only dungeonlader.js; the five game scripts (DM_SKRIPTE) come on the first opening of the Dungeon Master or a seat link, with the running version as ?v=. The live overview counts the "nothing new" answers.

AI Dungeon Master: game master console as a window and a draggable column: The table's right column shows the quest, the own hero with its buttons, for the host “▶ Go on now” (with “waiting for …”) and “🎲 Open the game master console”, below them the tabs Map, Threads and Date. The game master console is a big window with cards in three columns: “This turn” (pause, market, behind “⋯” end chapter or round), “At the table” (read aloud, scene picture, invite with the link, last sentence in the mail) and “Narrator” (way of telling, narrator's voice, combat stage, game master dial); below them the story, random rules, oracle, truth of this chapter and the things. “Go on now” also stands on top of the console and closes it; ✕, Esc or a tap beside it close it too. On the phone everything stands one below the other. The edge between the story and the right column can be dragged or moved with the arrow keys (260 to 560 pixels, 320 from the start); the width is kept per device (dm-breite), a double click resets it. With only one column there is no edge. Every button sends the usual request, the panel checks it.

AI Dungeon Master: end or delete every round: In “Your rounds” every round has its buttons next to “Open”: the host can “End” or “Delete” a running round and “Delete” an ended one; a player hides an ended round. The first tap asks “Really end?”, “Really delete?” or “Really hide?”, only the second does it. “Delete” on a running round first ends it (experience is paid, the profiles' heroes stay) and then deletes it with its sounds and pictures (DELETE /api/profile/dungeon/{rid}?loeschen=1, host only; a player gets 404). A player cannot end another host's running round.

AI Dungeon Master: a question stays a question, down stays down: Three fixed rules. An action that only asks or talks (dungeon_erzaehler.asks: a word of FRAGT, not "frage mich", no word of dungeon.RISIKO, which also knows "unauffällig" and "ablenk") gets no check or at most one on FRAGE_WERT (Charisma), never sneaking or distracting (check_proben, line "dungeon: probe | verworfen | absicht"; the model's task says so too). When an action names a way down (UNTEN: cellar, hinab, hinunter …) and the narration only one up (OBEN: hinauf, oben angekommen, attic …), or the other way round, that is the fault "richtung" (wrong_way); the rescue strikes the sentences with the wrong direction. When the narration of a question tells neither question nor answer (no word of ANTWORT, no quote of at least ZITAT_WOERTER (3) words), that is the fault "frage" (not_asked); the rescue adds "… asks the question and waits for the answer.". Both with a fixed hint for the second try, day counters regel_richtung, regel_frage in the live line of narrations improved. Self-test test_a_question_stays_a_question_and_the_way_down_stays_down.

AI Dungeon Master: the new place is in the narration: When ort_id leads the group to a neighbouring place the narration does not name (dungeon_karte.ort_fehlt), that is the fault "neuer_ort" (dungeon_erzaehler.judge). The model writes once more with the hint "with ort_id the group goes to …, but your narration does not name the place" (name from the map, as data). If it fails again, the group stays where it is (ort_id empty, log dungeon: nachbessern | fest | neuer_ort). Live counts it with the repaired narrations.

AI Dungeon Master: Dungeon judge: Admin switch Features → AI Dungeon Master → Second check by the model (chat.dungeon_pruefung, off from the start, needs Classification with probabilities). When the first narration of a turn passes every fixed check, dungeon_erzaehler.richter asks over systemone (use "richter", with Helper model the small model first) one fixed question: does the narration contradict the actions or the outcome of the dice? Actions, checks (only succeeded or failed) and narration go along as data. The model only gives a probability; from 90 % (RICHTER_MIN) it writes once more with a fixed hint. If the new version fails a fixed check, the first one stays (dungeon: richter | bleibt). Without an answer within 8 seconds or when unsure, the turn goes on without the judge. Log dungeon: richter | ok | n %, | neu | n %, | ausfall | …; Live: judge today ok, written again, without answer (numbers only).

AI Dungeon Master: pause shown everywhere: When the host pauses a round (game master console, card "Turn", "⏸ Pause"), it shows everywhere: in the round list in the browser and the Android app "⏸ paused" instead of "running", in the iPhone app in the round's row, in CarPlay after the turn. At the table a bar "⏸ Paused" stands above the narration for every seat and guest (the clock stands still, actions can be written); the host has "▶ Go on" right there. Other seats with a profile get one note each on pausing and going on ("… is paused", "… goes on") over app, companion, watch, only on a change and only if notes are not switched off. In the car the Spark says "The round is paused right now" instead of "your turn". Live counts paused rounds. The list carries pause (GET /api/profile/dungeon), log dungeon: pause | an or | aus and dungeon: melden | pause or | weiter.

AI Dungeon Master: critical and fumble tables: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round). On a natural 20 in a fight the panel rolls a d12 on the critical table of the hit's kind of damage, on a natural 1 on the mild fumble table for melee, ranged or spell (ideen.krit, ideen.patzer in dungeon_srd.json). The line stands at the attack in the log (💥 or 🙃, starting with "Critical:" or "Fumble:") and goes to the narrator as data (kritisch, patzer); the model never picks it. A state from the line holds for its turns: after a critical on the foe, after a fumble on the hero. On a foe by fixed rules: no turn (stunned, paralysed, unconscious …), disadvantage on its attacks (blinded, poisoned, prone …), advantage for the heroes, burning or bleeding costs 1d4 life each turn. The fight bar shows its states; all end with their turns or the fight. The catalog also checks the content of the D&D ideas round 2 by fixed rules (dungeon_ideen.check_rules): prices of a near miss (knapp, d20 without gaps, mild prices with kinder), props (requisiten with places and rooms and an effect out of schaden_gruppe, umwerfen, deckung, vorteil, fluchtweg), heart's wishes (wuensche), companions (gefaehrte_werte level 1 to 10, gefaehrten, gefaehrten_kinder) and licht on tools (−1 always burns, like the Everburning torch, else 1 to 20 rooms). Live: critical and fumble tables rolled today. Log dungeon: kampf | krit tabelle | w, | patzer tabelle | w, dungeon: kampf | gegner setzt aus, dungeon: kampf | gegner zustand. Self-tests Fight.test_critical_and_fumble_tables and Fight.test_the_round_two_tables_by_fixed_rules.

AI Dungeon Master: honours of the evening: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_ehre.py). While the round runs, the panel counts per seat from its own dice: hits, critical hits, damage, 20s and 1s on attacks and checks, checks passed, Dexterity checks passed, potions for friends and life given (rd["ehre"], never from the model). At the end of the round (also at a chapter's end) fixed titles go to the seat with the most: Blade of the evening (damage), Rescuer of the evening (help), Lucky one (20s), Quietest shadow (from 2 Dexterity checks), Hard-luck hero (from 3 ones); on a tie the seat taken first. At the children's table: Bravest heart, Best friend, Lucky one, Quietest fox, without hard-luck hero and ones. The log shows "🏅 Honours of the evening" with the titles and one certificate per hero with their numbers (log art ehrung, with a fanfare); the round list in the browser and the iPhone app show the titles at the ended round (ehrungen in GET /api/profile/dungeon). The next evening counts anew. Live: honours given today. Log dungeon: ehrung | n titel | m urkunden or | keine. Self-test Fight.test_honours_of_the_evening.

AI Dungeon Master: near miss: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_knapp.py; the idea "Pay the Price" of Ironsworn and Starforged by Shawn Tomkin, via datasworn, CC BY 4.0, own texts). When a check misses its difficulty by 1 or 2 (never on a natural 1, never on attacks), the Spark asks the seat once a turn: "Near miss! Give up, or make it after all at a rolled price?" with "Give up" and "Pay"; the others see who is deciding. No choice after 20 seconds (WARTE_S) counts as giving up. Who pays passes; the panel rolls the price with a d20 on ideen.knapp in dungeon_srd.json (at the children's table only rows with kinder), the dice receipt says "knapp" and preis (fixed id), the narration gets the line as data (knapp_mit_preis). Effects by fixed rules: noise on the map (dungeon_karte.laerm), disadvantage on the next turn's checks, 1d4 damage (never below 1 life), a tool breaks (the smith mends it), up to 10 gold (never more than the hero has); time and trust (zeit, nsc) stay in the story. The Spark does not ask in the car. Doors POST /api/profile/dungeon/{rid}/knapp {zug, wahl} and for guests POST /api/dungeon/knapp {code, zug, wahl} with login or guest code, profile binding (only the own seat, only the turn asked, only once, only "zahlen" or "aufgeben"), CSRF, a size limit of 256 bytes and an own rate limit dungeonknapp. Live: asked, with a price, given up, without an answer, refused. Log dungeon: knapp | frage | n plaetze, | gezahlt | art, | aufgegeben, | ohne antwort, | preis | art, | gewaehlt | wahl, | abgelehnt | …. Self-test Fight.test_a_near_miss_gives_up_or_pays_a_price.

AI Dungeon Master: helping and group checks: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_helfen.py; after "Working Together" and "Group Checks" of the SRD 5.1, CC BY 4.0). Helping: when an action has a word of help (WORTE: helfe, hilf, unterstütze, help, assist …) and another hero's name (a part of the name from 3 letters as a whole word), the panel rolls that hero's first check of the turn with advantage; disadvantage cancels it. Never for oneself, never on attacks, only who can act, one helper per hero. The roll shows "🤝 with help from …", the narrator gets geholfen_von. Group check: when two or more seats roll the same value against the same difficulty in one turn, all count as passed if at least half pass (gruppe on the roll, "👥 group check", for the narrator gruppenprobe). Both are fixed rules on the panel's rolls (dungeon.roll); the model only tells. No endpoint of its own. Live: helped today, group checks passed and not. Log dungeon: helfen | vorteil and dungeon: helfen | gruppe | n von m | geschafft or | nicht. Self-test Fight.test_helping_and_group_checks.

AI Dungeon Master: writings: On with the game, no switch of its own (Features → AI Dungeon Master; dungeon_schrift.py, own code). When the group finds something written, the narration reports it in the field schriftstueck (at most one a turn): title, text, kind (letter, wanted poster, verse, diary, note, inscription) and sender. The panel checks it by fixed rules (plain text, 20 to 600 characters, the round's limits, the list "never") and keeps it in the round (rd["schrift"], at most 40). At the table it appears at its turn as parchment with a seal, a handwriting font and the sender and stays in the tab "Writings" of the right column. The host decides with "All · Nobody · names" who sees it (POST …/erzaehler {schrift: {id, sicht}}); a secret one shows "only for you" at its receiver. Other seats never get a secret one (sight filter, secret schrift_geheim, with a leak test); the narrator knows the last three in its facts but never decides who sees them. The app shows them at the game table. Live: found, dropped, for one seat only today. Log dungeon: schrift | gefunden | art, | verworfen, | sicht | alle|niemand|ein platz, | sicht | abgelehnt. Self-test Fight.test_writings_as_parchment_for_whom_the_host_chooses.

AI Dungeon Master: monster album: Admin switch Features → AI Dungeon Master → Pictures and hero song (chat.dungeon_bilder, off from the start; dungeon_album.py; the foes' sayings sage in dungeon_srd.json). When the panel's fight defeats a foe, every hero there at the fight's start and still at the table counts one win over this kind (h["album"], kept with the hero, at most 400 kinds). The tab "Album" of the right column shows the entries with stars per stage: after the first win name, picture, description and saying, after the third the values (level, life, armour, attack, damage), after the fifth weaknesses, resistances, immunities and the states its blows cause. Only the panel counts, from its own dice; the model gives nothing. When loaded only catalog foes with whole numbers stay (album.fix). The app shows the album at the game table. Live: new entries and stages reached today. Log dungeon: album | stufe N. Self-test Fight.test_the_monster_album_knows_more_after_each_stage.

AI Dungeon Master: scars: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round), plus per round in the game master console Scars only (nur_narben, off); dungeon_narben.py, own code; tables ideen.narben, narben_kinder and narben_sprueche in dungeon_srd.json. When a hero stands up after lying down (Gnade too) or a foe hits it critically, the panel rolls a d20 on the wound table: mostly only a scar, on a few rows a mild consequence, −1 on a value (in dungeon.total), until a healer in a settlement takes it. At most one wound per hero and turn, at most 8 per hero (h["narben"], checked when loaded). Scars only never gives a consequence, the children's table only plasters. The healer is in the settlement's window (dungeon_gold, 8 gold per group level) while the switch is on or the hero has a consequence; it takes all consequences, scars stay. In a settlement a fixed line of narben_sprueche asks about a scar. The hero sheet shows scars, consequences in red; the log one line per wound; the narrator reads the last three per hero and never rolls itself. The app shows it all at the game table. Live: wounds, with a consequence, plasters, at the healer today. Log dungeon: narbe | narbe|folge|pflaster | auf|gnade|krit, dungeon: dienst | heiler | N gold, | heiler | nein. Self-test Fight.test_scars_and_lasting_wounds_with_a_healer.

AI Dungeon Master: content of the D&D ideas round 2: dungeon_srd.json holds fixed tables under "ideen", checked by dungeon_ideen.check_rules. Near miss (knapp): 20 prices on a d20, each with a fixed id (goes into the dice receipt as "preis") and an effect out of noise, time, disadvantage, damage, tool, gold and NPC; at the children's table only noise and time (kinder). Idea "Pay the Price" from Ironsworn and Starforged (Shawn Tomkin, via datasworn, CC BY 4.0, credited in "lizenz"), rows rewritten. Props (requisiten): 58 with a sign, kinds of places and rooms and exactly one effect (schaden_gruppe, umwerfen, deckung, vorteil, fluchtweg); every kind of place and room of the map has at least 3. Light: torch (holzfackel, 1 gold) and glow stick (sci-fi), each licht 4 rooms. Heart's wishes (wuensche): 12 for all worlds and 8 each for fantasy, horror, sci-fi and pirates, at most 160 characters each. Companions: gefaehrte_werte for levels 1 to 10 (life about 80 % of a hero, armour, attack, damage, pay per chapter), 4 templates per world in gefaehrten, 3 animal friends for the children's table in gefaehrten_kinder. All texts are our own. Self-test test_runde2_fuer_jede_szene_und_welt.

AI Dungeon Master: campfire and rest: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_rast.py, short and long rest after the SRD 5.1, CC BY 4.0; tables ideen.landschaften, nachtwachen, fragekarten in dungeon_srd.json). Outside a fight the host calls "Short rest" or "Long rest" in the game master console (POST /api/profile/dungeon/{rid}/rast {art}, only the host, rate limit dungeon). Short: every standing hero gets a quarter of its life back (at least 1), at most twice between two long rests. Long: the panel rolls three night watches with a d20 on the landscape's table (the map place's kind, a vault = "Underground", else "On the road"): quiet, noise, visit or raid. Without a raid full life and every spell, with a raid half the life and no spells; at the children's table a raid is only a noise. At most one long rest in 8 turns. Every seat gets a question at the campfire. Until the narration rd["rast"] stands (the music plays "camp"); the narrator gets kind, landscape, night watches and questions as facts and only tells, the next narrated turn ends the rest. Above the story a box shows the night watches and the own question, also in the app. Live: short and long rests, disturbed nights, refused today. Log dungeon: rast | kurz, | lang | 3 wachen | ruhig|gestoert, | abgelehnt | Error. Self-test Fight.test_rest_at_the_campfire_by_fixed_rules.

AI Dungeon Master: travel stages: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_reise.py; tables ideen.reise_rollen and reise_ereignisse in dungeon_srd.json, stages from dungeon_karte.etappen). When the map leads along a way of at least 2 stages (not in a vault), the panel rolls a journey: every seat with a standing hero takes a role (scout, hunter, watch, pathfinder; own names in science fiction), the roles change with the turn. Every role is a d20 on its value against 10 plus the stages (a 20 always passes, a 1 always fails). The first failed role decides the consequence: caught off guard (disadvantage for all next turn), hungry (1 life less, never below 1) or lost (a day more); if all pass, the journey is "rested" with a 20 (2 life), else quiet. An event of the landscape's table comes with it. rd["reise_tage"] counts the days on the road (for the world's calendar). The next narrator gets stages, landscape, roles with outcome and event as facts and only tells; the log shows "🧭 Journey" with every roll. Live: journeys, roles passed and failed today. Log dungeon: reise | 3 etappen | 1 von 2 | hungrig. Self-test Equipment.test_a_long_way_is_a_journey.

AI Dungeon Master: tongues of the peoples: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_sprachen.py, own code; sounds from the name syllables namensilben in dungeon_srd.json). The narration may let one person of the scene say a short greeting or cry in its people's tongue (fremd {name, volk, sagt}, sagt is the meaning). Fixed rules: only tongues with name syllables (Elvish, Dwarvish, Halfling, Orcish, Gnomish, Draconic, Infernal), at most 60 characters and 8 words, no refused word, never when the meaning already stands in the narration's quotes. The sounds come fixed from the meaning (syllables by each word's hash, the same sentence always sounds the same). Who understands is fixed: a hero of that people (a half-elf understands Elvish), a bard or wizard every tongue. Everyone sees and hears the sounds (in the person's voice); the meaning stands only in rd["fremd"] and goes only to seats that understand and the host, never to the car, never to the model (visibility filter fremd_bedeutung with a leak test). The others see "(not understood, Elvish)". Live: foreign lines, understood, refused today. Log dungeon: sprache | elf | 1 verstehen, | verworfen | sprache|name|laenge|wort|im text. Self-test Equipment.test_a_peoples_tongue_only_for_who_knows_it.

AI Dungeon Master: calendar of the world: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_kalender.py, own code and own lists). Every world has twelve months of 30 days, one or two moons and festivals (own lists per world, the children's table takes the general ones). A round's first day follows fixed from start time and title (rd["kalender"] {start, halbe}). Time runs only by fixed rules: half a day per stage of a way (dungeon_karte.etappen), a journey gone astray a day more, a long rest or a night at the inn a day, at most 20 days at once, nothing in a vault. On top of the table stand the date with moon phases, a festival today or within 7 days and, in a settlement, the market day every 7th day; on a festival a settlement's services cost 20 percent more (dungeon_gold.price). The narrator gets date, festival and market day only as data and may not change them. Live: half days passed and festivals reached today. Log dungeon: kalender | 2 halbe tage | weg|reise|rast|gasthaus, with | fest at a festival. Self-test Equipment.test_the_worlds_calendar_runs_only_by_fixed_rules.

AI Dungeon Master: chronicle book: Admin switch Features → AI Dungeon Master → Chronicle and hero book (chat.dungeon_buecher, off from the start; dungeon_chronik.py, own code and layout). When the host closes a chapter, the panel writes a page into the campaign's book (buch, at most 30 pages) only from the round's data: number and title, turns, cover (last scene picture), heroes with people, class, level and scars, honours of the evening, writings for everyone (one for a single seat stays out) and the map's places; "The story so far" comes onto it once written. The model writes nothing for it. Only the campaign's owner sees the book (GET /api/profile/dungeon/kampagne/{kid}/chronik); it can be turned, made as a PDF on the Spark (…/chronik.pdf, fpdf2 with the panel's fonts, rate limit dungeonpdf) and deleted page by page (POST …/chronik/loeschen {kapitel}). Every chapter's end stands in the log as kapitel_ende {kapitel}, also without the switch. Live: pages, PDF, deleted, refused today. Log dungeon: chronik | seite | 2 helden | 1 schriften, | ansehen | 3 seiten, | pdf | 40 kb, | geloescht, | abgelehnt | Error. Self-test Campaign.test_a_chronicle_page_for_every_chapter.

AI Dungeon Master: hero book to the reMarkable: Admin switch Features → AI Dungeon Master → Chronicle and hero book (chat.dungeon_buecher, off from the start, needs "Sending to the reMarkable"; dungeon_buch.py, own layout "Old grimoire"). Every hero of a profile gets a PDF in the page format of the own reMarkable (rmpapier.MODELS): contents with "New since the last edition", hero sheet (values, life, armour, gold, load, six scores, what it wears, abilities, bag, protection, scars), chronicle of encounters (per chapter evenings, fights, people met, levels; fellow heroes only with name, people, class), people (only what was unlocked, never wish, secret, role or goal, "x of y"), bestiary (by the monster album's stages, "x of y kinds") and items. Tabs at the edge (a bar at the bottom on the Move) and bookmarks jump to the parts. Three layouts: reMarkable 2 in two columns in greyscale, Paper Pro in two columns in strong colours, Paper Pro Move in one column with larger type, broken tables and a hero sheet over several pages; every text is measured, nothing reaches over the page. Only the panel's own pictures (portrait, faces, beasts, items), opened again and brought to the device's pixels: colour on Pro and Move, else 16 grey steps with error diffusion; without a picture a drawn symbol. Colour is never the only sign (rarity written, stages as dots). The choice "Colour" under Me → reMarkable (rm_color, "In colour" or "In greyscale", only for Paper Pro and Move) applies to everything laid out for the reMarkable, from the next sending. The book comes by itself half an hour after the end of a round or chapter (several chapters in one evening = one sending, at most once a day per hero, never again unchanged), on "Send now" under Dungeon Master → Heroes (there also "Preview (PDF)") or with "Send my hero book to the reMarkable". Without handwriting the new edition replaces the old one; with handwriting a new one comes and the old one goes to the archive. Once "Notes – NAME" comes along, lined with the same tabs, never replaced. The hero's chronicle (chronik, at most 300 entries) holds only fixed kinds with catalog ids, whole numbers and fellow heroes' names, peoples and classes, never model text; written only for profiles with the switch and checked on every read. Guests, figure codes and guest accounts get no book; the balance bench writes nothing. Sendings count in the reMarkable's daily limits. GET /api/profile/dungeon/buch, GET …/buch/{hid}.pdf (rate limit dungeonpdf), POST …/buch/{hid}/senden. State users/<id>/dungeon-buch.json. Book and notes lie in their own folder "Dungeon-Master" (Dungeon Master) below "Spark" (or the chosen folder), made when needed, also without "Folders by kind" (rmpapier.OWN_FOLDER); a loose book in "Spark" moves there with its next edition (the same document, without handwriting), one the person moved stays, notes already sent stay put. "Send now" answers at once and makes and sends in the background; the page shows per hero "being made and sent …", then "done" or "failed" with step and reason (took too long, no connection, cloud refused, too large, daily limit); a second press starts nothing new. Pictures are made once per book (colour JPEG, greyscale PNG with 16 steps), fonts only as subsets; with 60 pictures the book stays below 2 MB. When uploading, the wait grows with the file size (remarkable.upload_timeout: connect briefly, read 60 s plus time for a slow line, at most 15 min), a timeout is retried once after 5 s; this applies to everything sent to the reMarkable. Live: sent today, unchanged, not sent, in progress. Log dungeon: buch | gestartet | knopf, | gebaut | seiten 9 | bilder 7 | kb 610, | gesendet | seiten 9 | bilder 7 | auto, | fehler | hochladen | ReadTimeout (step bauen, bild, liste, hochladen or wurzel, then the reason in fixed words), | uebersprungen | unveraendert, | uebersprungen | laeuft, | chronik | kapitel | 2 helden, | notizen | gesendet, | abgelehnt | aus; before it possibly remarkable: cloud ReadTimeout, trying once more. Self-tests test_dungeon_buch.

AI Dungeon Master: foe announcements and stance: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_haltung.py). After every fought turn each standing foe announces its next blow at a standing hero (the panel's dice, rd["kampf"]["ansage"], log card ansage): "takes aim" +2 to hit, "winds up" −2 to hit and double damage dice on a hit, "waits for an opening" with advantage. In the foes' next turn its first blow goes at that hero; if the hero fell, the foe attacks normally. The stance stands in the action with fixed words, also by voice and in the car (buttons 🛡 and 💨): "Defend" gives +2 armour, the own attack is at a disadvantage; "Dodge" gives advantage on saves against states. The narrator gets the announcements only as data (ansagen) and the receipts wie_angesagt and haltung. Live: announcements, defend, dodge today. Log dungeon: ansage | 2 gegner, dungeon: haltung | abwehr|ausweichen | 1. Self-test Fight.test_foes_announce_and_heroes_defend_or_dodge.

AI Dungeon Master: use the surroundings: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_umgebung.py). At the place of a fight 2 to 3 things of ideen.requisiten lie (dungeon_karte.requisiten, rolled once per place, rd["kampf"]["requisiten"]), at the table as buttons under the input. When an action names one (its name or its last word, also by voice and in the car), that is the hero's deed: one check of the panel instead of the ones the model wanted, d20 plus the value of its kind (dexterity, strength or wisdom) against 12, at the children's table 10, at the real table with the own die; each thing once a turn. On a success it works at once by a fixed rule: schaden_gruppe 1d6 bludgeoning to every foe (resistances count), umwerfen a foe lies down (the one named, else the one with the most life), deckung +2 armour, vorteil the group's attacks with advantage, fluchtweg the foes cannot reach the hero. Then it is used up (dungeon_karte.requisit_benutzt); on a failure it stays. The narrator gets the things only as data (umgebung) and the check as a receipt. Live: used, worked, missed today. Log dungeon: umgebung | probe | 2, dungeon: umgebung | schaden_gruppe | ok|daneben. Self-test Fight.test_props_of_the_fight_work_by_fixed_rules.

AI Dungeon Master: whisper to a person: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_fluestern.py). Once a turn a seat whispers something to a person of the scene (people of the NPC memory in the scene and whoever spoke in the last two turns), at most 200 characters, never from the car. Doors POST /api/profile/dungeon/{rid}/fluestern (login, own seat, CSRF, 2 KB, rate limit dungeonfluester) and POST /api/dungeon/fluestern (seat link, same door as /api/dungeon/platz). The model answers as that person (at most 400 characters) with its card, attitude towards the hero, place and last narration; the whisper stands only as game text between <<< and >>>. The panel checks the answer (plain text, no word of the word list) and keeps it only for that seat (rd["fluester"], view filter gefluestert in the leak test); the host only sees that and with whom someone whispered. Nothing is read aloud at the table, 🔊 only on the own device. Fixed rules: attitude at most one step (NPC memory), a gift of at most 10 gold only from a warm person and once a round, a d20 up to 3 minus the attitude means betrayal: the table shows "… passes on what … whispered", and the next narration gets the whisper as game text. Live: whispered, betrayed, gifts, without an answer, refused today. Log dungeon: fluestern | gefluestert | w14, … | verraten, … | geschenk, … | stumm, … | abgelehnt | ValueError. Self-test Turns.test_whisper_to_a_person_only_for_the_own_seat.

AI Dungeon Master: heart's wish: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_wunsch.py, list of wishes per world ideen.wuensche). Every hero may carry a heart's wish (held["wunsch"]): one of its world's list or own words of at most 160 characters. Doors POST /api/profile/dungeon/{rid}/wunsch (login, own seat, CSRF, 1 KB, rate limit dungeonwunsch) and POST /api/dungeon/wunsch (seat link, same door as /api/dungeon/platz); both empty takes the wish away. Only the own seat, the host and the model see the wish (view filter herzenswunsch in the leak test). Per act (without a story every 8 turns) the panel gives the narrator at most one wish, in turn by seats: in the facts only the name (herzenswunsch_von), the wish only as game text between <<< and >>>. When the narrator reports the hero in wunsch_erfuellt, it counts only by fixed rules: this act's hero, acted this turn, named, wish still open. Then there is the experience of an act (ep.akt), and the table shows "💖 …'s heart's wish has come true.", never the wish. Live: set, fulfilled, refused reports, refused today. Log dungeon: wunsch | gesetzt | liste|eigen, … | erfuellt, … | verworfen, … | weg, … | abgelehnt | ValueError. Self-test Turns.test_hearts_wish_secret_one_per_act_in_turn.

AI Dungeon Master: hire companions: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_gefaehrte.py; tables ideen.gefaehrten, ideen.gefaehrten_kinder, ideen.gefaehrte_werte). In a settlement "🤝 Hire a companion" is a service of "Gold with a purpose" (dungeon_gold.serve, no door of its own, through /held with {was: "dienst", id: "gefaehrte", i}): only while fewer than four heroes play, up to a group of four, at most two. Life, armour, attack, damage and pay come from the fixed table by group level; the pay is due each chapter from the hero's gold, the first on hiring. In a fight the panel rolls a blow per companion (d20 + attack against the armour of the foe with the least life); foes can strike it like a hero (without states). At half its life a courage check once a fight (d20 ≥ 10, else it flees this fight), at 0 it goes down and stands again after the fight (never lost for good). A new chapter without pay: a courage check, else it leaves. No loot, no experience. In the encounter budget it counts as half a hero (dungeon_kampf.budget). The model gets companions only as data and their blows as receipts, it never decides. A campaign keeps them. Live: hired, blows, down, fled, left, pay today. Log dungeon: gefaehrte | angeheuert, … | voll, … | unbekannt, … | sold | N gold, … | ohne sold | bleibt, … | gegangen, … | am boden, … | moral | geflohen|bleibt. Self-test Turns.test_companions_hired_fight_by_the_panels_dice.

AI Dungeon Master: fight turn check: fixed rules of the panel, no switch. 1. Whoever fights a foe in a fight attacks it: the attack words also know "kämpfen", "bekämpfen", "hauen", "prügeln", "fight" (dungeon_kampf.HIEB_WORTE); when the model's check names a foe to hit, it becomes an attack against the armour with a damage roll; when the model asks no check, the panel adds the attack (dungeon: probe | kampf | angriff ergaenzt). 2. Only the player chooses a spell: naming it in the action costs its charge; when only the model names a spell in the check's label, the player's action stands there (dungeon.spell_named, dungeon: probe | zauber nicht gewaehlt). 3. When the narration reports a goal reached or an act's end during a fight, the panel waits until the fight is over (ziel_wartet, akt_wartet, dungeon: ep | ziel | wartet kampf, dungeon: akt | wartet kampf); the fight's experience comes from its foes. 4. Every XP entry says in brackets what for (check, new place, fight, goal, heart's wish, act); when a check in a fight names a foe and still stays a check, the log shows dungeon: probe | kampf | kein angriff. 5. Self-tests Fight.test_a_fight_turn_keeps_to_the_panels_rules and Powers.test_known_spell_uses_a_charge_when_told, plus the scene "Fighting becomes an attack against the armour" in the narrator bench.

AI Dungeon Master: people catalog: Admin switch Features → My data → "People catalog" (off; builds on "NPC memory and chronicle", applies to the round's host). 1. At a round's end every person met goes into the catalog (dungeon_personen.collect): card (looks, manner, occupation, wish, secret), traits, role and goal from the world's truth, voice, portrait and attitude towards each hero by name; each name once per world, at most 300 people (the oldest from rounds go first, the admin's own stay). 2. The admin sees, changes, deletes and adds them under Features → AI Dungeon Master → Adjust rules → "People (NPC)"; fixed rules check every input (name 2 to 40 characters, one of the worlds, only card fields, traits −3 to 3, no word of "nie", no name twice per world). Wish and secret are seen only by the admin there and the host in the round. 3. Per act (without a story per chapter) the panel offers the narrator up to three known people of the world only as data (bekannte_personen, rolled with round, chapter and act), never one with a word of the table's lists; when the narration names one with exactly its name, it comes with its stored card, traits, voice and face and recognises the heroes (chronicle "X recognises Y."); any other new name is a new person. After the round its entry is updated: attitudes, number of meetings, face. 4. When a person fights, it takes fixed values of a bestiary template by occupation (dungeon_personen.VORLAGE: knight → knight, veteran, guard; mercenary → veteran, thug, guard; guard → guard; scout → scout; thief → bandit; spy → spy; priest → acolyte, cultist; noble → noble; else guard), the strongest that plays in the world and fits the budget; the model never names values. Up to two people of the scene stand with their name in the foes' offer (p:<name>), never one friendly to a hero here (attitude 2 or more), never one beaten or fled; each only once. Beaten or fled goes into the chronicle afterwards. 5. Balancing: a person counts in budget and experience with its template's experience times a measured weight (GEWICHT, e.g. thug 1.65, noble 0.66). The bench plays encounters of people only: on average the group wins 70 to 90 % at "medium", every cell lies between 50 and 98 % (SPANNE). 6. Log dungeon: personen | gesammelt | N neu, | wieder | N helden, | kampf | besiegt or | geflohen, | setzen, | zurueck, | abgelehnt | …; Live: people in the catalog and today new, met again, recognised, fought, changed, deleted. State dungeon-personen.json. 7. Self-tests Fight.test_people_catalog_keeps_the_people_met_and_brings_them_back, Fight.test_a_person_who_fights_takes_a_fixed_template, Bench.test_people_who_fight_keep_the_aim and Page.test_the_people_of_the_catalog.

AI Dungeon Master: album page "People": No switch of its own: the page is there when "Monster album" and "People catalog" are on for the host. When the catalog collects the people met at a round's end (dungeon_personen.collect), each counts one meeting for every living hero at the table (h["personen"] = {catalog id: meetings}, dungeon_album.met). The tab "Album" has the pages "Monsters" and "People". After the first meeting the page shows name, face, looks and world, after the second occupation and manner, after the fourth traits and attitude towards exactly this hero (PERSONEN_STUFEN = (1, 2, 4)). Wish, secret, role and goal never show there; a person with a word of the lists of the round's tone is left out. Only a seat of a round in which a hero met the person loads the face (dungeon_gesicht.may_see with album.knows_face). The hero's file keeps only catalog ids and whole numbers (album.fix, at most 300). Log dungeon: album | person stufe N, Live "N people stages".

AI Dungeon Master: own stories: Admin switch Features → My data → "Own stories" (dungeongeschichten, off by default), module dungeon_geschichten.py. 1. ⋯ on every story card: when starting a round every card has a "⋯" with Edit, Copy and Delete. Edit opens the story planner's form (title, idea, tone, goal, foe, places, taboos, acts with "↻ Write again") in a window of its own. A story of the admin or a shipped one becomes the host's own copy on saving, the original is hidden only for that host. Delete hides such stories only for this host ("Show N hidden again" brings all back), own ones it deletes for good. Copy makes "(copy)". 2. "+ New story" first: the card comes first. Pick a tone, keywords if you like, "Create": the language model writes title, idea, goal, foe, places and acts in the chosen world (dungeon.propose_plan), the panel checks the draft like a typed one (dungeon.check_plan: lengths, tone, "nie") and keeps it as an own story. "Write it yourself" opens the empty form. 3b. Every host its own: up to 20 per host (EIGENE_MAX); no other host sees, changes or plays them (404). The admin sees all under Features → AI Dungeon Master → Adjust rules → "Stories" with the host's name, changes them (they stay the host's) and counts only the own for the admin's limit. A round plays only an allowed story (dungeon_geschichten.find), in the car the Spark offers the own ones first. dungeon-geschichten.json keeps the own ones with "von", dungeon-geschichten-aus.json the hidden ids per host. Endpoints under /api/profile/dungeon/geschichten/… (view, save, copy, delete, show, create, act) with login, profile binding, CSRF, size and rate limit (dungeongeschichte, the planner dungeonplan per host). Switch off: no ⋯ and no +, own stories are missing from the choice, hidden ones are back, nothing is deleted. Logs dungeon: geschichten | gespeichert / kopiert / geloescht / ausgeblendet / wieder gezeigt / erstellt / abgelehnt, Live "N own stories, today …".

AI Dungeon Master: people of the catalog in stories: No switch of its own: the people catalog counts (dungeonpersonen, with "NPC memory and chronicle"). In the story planner (Features → AI Dungeon Master → Adjust rules → "Stories", for a host in the window of the own story) below the taboos stands "Known people from the catalog": the chosen world's people with name and occupation to tick, up to three (dungeon_personen.PLAN_MAX); wish and secret never. When the world changes, its people show. The panel keeps only catalog ids from the story's world, each once (dungeon_personen.plan_ids in dungeon.check_plan). "Create a proposal" and "+ New story" give the language model up to 12 people of the world only as data (name and occupation, bekannte_personen); whoever the draft names with exactly their name comes ticked (dungeon_personen.pick). A round of that story puts the people with role and goal from the catalog first into the chapter's truth, never twice (dungeon_personen.into_truth), and offers them to the narrator first in every act, with fixed card, voice and attitude. Catalog off: no list, nothing in the truth. Log dungeon: personen | geschichte | N in der wahrheit.

AI Dungeon Master: choose a person's voice: Under Features → AI Dungeon Master → Adjust rules → "People (NPC)" every person shows its voice, its own or "(by the name)" (dungeon_stimmen.of_name). Below "Voice when the person speaks" the admin picks age, gender, sound, manner and pace from the fixed lists of dungeon_stimmen.json ("npc", words dungeon_stimmen.WORTE). "▶ Sample" (POST /api/admin/dungeon/personen/probe, admin only, only with the people catalog on, rate limit "dungeonprobe") speaks the fixed sample sentence in the description built from fixed English words (dungeon_stimmen.describe), without VoiceDesign in the rules' fixed NPC voice. "Save voice" (was "stimme" at the catalog endpoint) sets only the voice, the person otherwise stays unchanged, also "from a round"; "By the name" takes the own voice away. dungeon_stimmen.clean refuses a wrong voice and nothing is written; the JSON of "Edit" gets the same check. When a round meets the person, it speaks with that voice (adopt puts it into npc_stimmen). The portrait comes from dungeon_dingbild. Log "dungeon: personen | stimme" and "dungeon: personen | probe", Live counts "Stimmen gesetzt".

AI Dungeon Master: ask back on unclear actions: On with the game, no switch of its own (Features → AI Dungeon Master), released for every profile; guests at the table get it the same way (part of the game). When an action is sent the panel checks it by fixed rules (dungeon_rueckfrage.unclear): too short (fewer than 2 words or 8 letters, "ok", "hm"), gibberish (one character four times, half the words without a vowel), only a pronoun as the target while several fit ("I attack him" with two foes, "take it"), or no doing (no word of TUN_WORTE and the fight's word lists, no subject with a verb, no name of the scene, no quoted speech). Then the action stays as written but marked: below it stands "❓ What exactly does Morpheus do?" with the reason, up to three suggestions and "Keep it". The panel builds the suggestions from fixed patterns and the scene's data (foes still up, things in a fight, own attack spell, people here, ways of the map), never from model text; each is clear itself. Tapping one puts it into the input for editing. While the question is open the seat does not count as "has acted" (dungeon.due), but the turn waits at most WARTE_S (30) seconds, then the action counts as written. The panel asks once a turn for the same text, "Keep it" (so_lassen) takes the mark off. In the car (dungeon_auto) the action goes in at once and the question is read with "First …, second …"; the CarPlay list "What exactly?" shows suggestions and "Keep it" as buttons, "the first" or "keep it" answers by voice, only the panel's suggestions count. The model never sees the question. Log dungeon: rueckfrage | regel | kurz (salat, fuerwort, kein tun), | vorschlag genommen, | so lassen, | klar; Live counts questions, suggestions taken and "kept". Self-tests Rueckfrage.test_the_table_of_clear_and_unclear_actions, test_asked_at_the_table_never_blocking, test_asked_once_for_the_same_text, test_never_from_the_model_and_only_the_own_seat, InTheCar.test_an_unclear_action_is_asked_back.

AI Dungeon Master: the hero's gender: No switch of its own. When making a hero (host, seat link, guest) one picks "male", "female" or "non-binary" below the name; on the hero sheet (tab "Spend points") it can be changed any time. Heroes without it stay unset until one picks. The panel takes only these three values (dungeon.GESCHLECHT, dungeon.gender), else fault "geschlecht". The model gets per hero geschlecht with the pronoun ("female, call her she"; non-binary "they or the name") and the fixed rule in KANN_REGEL. A fixed check (dungeon_erzaehler.wrong_pronoun, fault "fuerwort", day counter regel_fuerwort) finds a wrong possessive right after a hero's name (at most three words between, no comma, no article, no other person) before an own body part or thing ("Lia raises his blade"): first a second try with a fixed hint, then the panel sets the right word (his ↔ her, sein ↔ ihr, for non-binary the article or "their"; without a sure word the sentence stays). Log dungeon: nachbessern | fest | fuerwort or | bleibt | fuerwort. The proposed voice comes from the voices of the gender (STIMMEN_W for female, the others for male, non-binary all; with none free, any). The portrait names "a man", "a woman" or "an androgynous person"; after a change it may be painted anew at the same level (bild_neu), the old one stays until then. Log dungeon: held | geschlecht | geaendert. Self-test Voice.test_a_hero_has_a_gender_for_words_voice_and_portrait.

AI Dungeon Master: combat audit: Fixed combat rules without a switch of their own. 1. Attack from the action: in a fight the panel decides by fixed word lists (dungeon_kampf.intent) what an action does, never the model's check. ANGRIFF_WORTE (greife … an, schlage, steche, haue, kämpfe, töte, ramme, attack, fight, stab …, also with prefixes such as er-, be-, zu-) always attack, with no foe named the first standing; BEZUG_WORTE (ziele, werfe, feuere, stürme … los, schneide, aim, throw, charge …) only with a foe named; NICHT_ANGRIFF (greife nach, treffe mich mit, stoße die Tür auf, betrete, campfire …) never. Foe names with a hyphen (Meervolk-Späher) are recognised. The model's check for an attacker is dropped (log dungeon: kampf | angriff | aus aktion or | modell ohne probe); advantage only from fixed sources (states, surroundings, stance, a foe on the ground), never from the model. 2. Target fallen: when the foe named already fell this turn, the attack takes the next one standing (| ziel neu); with none standing it lapses without a check and experience (| verfaellt). 3. Damage spells: a spell with a damage kind always attacks and costs exactly one charge, only when its attack came; a spell on foes without damage (KONTROLLE: sleep, hold person, fear …) costs no charge in a fight. The seat reads "… does not work on foes in a fight yet, the charge stays." or "… had no target left, the charge stays." (log dungeon: kraft | keine ladung | kontrolle or | kein angriff). 4. No healing by the model in a fight: the panel drops heilung in the consequences during a fight (dungeon: folgen | heilung | kampf verworfen); healing only from potions, spells and abilities. 5. Peace only with a check: when an action asks for peace (FRIEDEN_WORTE: ergebt euch, verhandle, lasst uns reden, surrender, parley …) without attacking, the panel rolls Charisma against the higher of 12 and 10 + the strongest foe's level (FRIEDEN_SG); only a success ends the fight with "frieden" and half the experience. A kampf_ende "frieden" of the model without this check does not count (kampf | frieden | ohne probe). 6. Rule 6, weapons by the hero sheet: the model gets per hero the list waffen (equipment and bag) and the fixed rule to name only these. When the narration gives a hero a weapon it does not carry with a possessive (sein, ihre, his …), that is the fault "dabei" (dungeon_erzaehler.not_carried): first a second try with a fixed hint, then the panel strikes the sentence. A short sword counts as a sword, "blade" and "weapon" always fit, another person's weapon never. Day counter regel_dabei. 7. Balance: BUDGET for levels 1, 2, 5, 6, 9 and 10 and GRUPPE (0.7 for one hero, 0.4 for each further one) are measured with the bench, every cell lies at 70 to 90 % at "medium". 8. Self-tests in Fight: test_kampf_angriffswoerter_tabelle, test_kampf_angriff_aus_aktion, test_kampf_ziel_gefallen_neues_ziel, test_kampf_kein_vorteil_vom_modell, test_kampf_schadenszauber_immer_angriff_und_keine_ladung_ohne_wirkung, test_kampf_keine_modellheilung, test_kampf_frieden_nur_mit_panelprobe, test_narration_gives_no_weapon_the_hero_does_not_carry and the simulation test_kampf_invarianten_simulation (300 fights with a fixed seed through the real steps of a turn: hits only by the rule, life within its bounds, the fallen do not act, one end of the fight, experience only then, a charge only with a spell, death only after three failed saves and never at the children's table, every attacker gets its attack).

AI Dungeon Master: one sorting for every typed action: No switch of its own. 1. One module: every fixed word list that sorts a typed action (attack, attack on a named foe, flight, peace, everyday, question, selling, buying, rest, going, plus the gentle words, magic, throwing and the table of check values) stands in dungeon_einordnung.py. 2. Exactly one kind: einordnung.kind gives every action exactly one kind by a fixed order: attack, attack on a named foe, flight, peace, everyday, question, selling, buying, rest, going. Fight, checks, the narrator's check, the map, the witness rule, the follow-up question and the protocol checker all ask the same module, no list contradicts another. Asking for peace with a word of talking ("Lasst uns verhandeln") counts as talking too. 3. Examples: "Ich frage den Wirt nach dem Weg. Dann gehe ich los." is a question ("gehe … los" attacks only with "auf"), "Wir schlagen hier unser Lager auf und rasten." and "We rest by the fire." are rest, "Ich laufe davon" is only flight, "Ich sage Hallo" is everyday without a check, "Ich schlage vor, wir reden" is talking. 4. Bench: test_dungeon_saetze checks the one kind of each of the about 300 sentences and that every helper (fight, asks, typed, everyday) says the same; the table of check values (einordnung.values) serves the checks and the guide's hints.

AI Dungeon Master: anchor table, page tables and protocol checker: No switch of its own: fixed rules, a measurement and self-tests. 1. Anchor table: tests/dungeon_anker.py names for every field of every JSON answer of the model (narration, checks, story, truth, summaries, whisper, X card, scribe; about 110 fields) its kind (words only, fixed list, offered by the panel, a name of the group, named by the narration, the panel decides) and the fixed check that holds it. test_dungeon_anker compares it with the schemas: a field without an anchor or a check that is gone turns it red. A thing for the memory (dinge) and a writing count only when the narration shows them (erz.check_things with foe_named, schrift.check with schrift.WORTE or the title). 2. Page tables: test_dungeon_tabellen compares the game page's tables (a check's level, rarity, a power's kind, weapon properties, resistance, night watch, a companion's state, experience reason, bench mark, time of day, the settlement's houses and services, damage kinds, the map's room kinds) with the panel's lists; every refusal reason needs its sentence on the page (DMGRUND or another game script; general reasons with their why in ALLGEMEIN). 3. Protocol checker (dungeon_protokoll.py): after every told turn all fixed checks run once more over the narration that stays, the repaired one too (rest); findings go to the journal ("dungeon: protokoll | rest | …", else "dungeon: protokoll | ok"). It also checks the round's names (runde): a word for no name as a foe, person card or person of the truth, and a person card that is a foe too. The Live overview counts checked narrations, those with faults left and wrong names. A round copied from the game page it reads back into its turns (read) and finds display faults by fixed rules (text_faults: two levels for one number, a placeholder as a foe, a missed spell with its effect sentence, a merchant not shown, a sentence about the panel, a question as "going needs none", a check instead of "cannot do that yet"). cd app && python3 -m tests.test_dungeon_protokoll copy.txt --fall name keeps it in tests/dungeon_protokolle/ with its findings as header, test_dungeon_protokoll checks every case against it (among them the round in the Old Library with 16 findings). 4. Round run: the narrator bench has the scene "15 turns without faults left" (dungeon_erzaehlstand.RUNDLAUF): 15 fixed turns (entering an inn, asking Oskar, a spell not known, opening a book, raising the staff, buying without a merchant, setting up camp …) run through the real model, each narration the next turn's history. Every kept narration goes through the protocol checker, no speaker may be called "keine"; 2 points when every turn passes at the first try, 1 when none keeps a fault. The bench counts nothing into the day's numbers (ask_checks with count=False too).

AI Dungeon Master: sentence bench: No switch of its own. 1. Fixed sentences: tests/dungeon_saetze.py holds about 300 player sentences in German and English with their kind (attack, attack on a named foe, peace, flight, going, question, buying, selling, rest, everyday, nothing of these). test_dungeon_saetze runs every word list (kampf.intent, dungeon.typed, erz.asks, dungeon.everyday) over every sentence, the table of attack words included. A sentence sorted wrong at the table comes in with its fix. 2. No attack: a staff with an article ("meinen Stab"), Stichwort, Schlagzeile, opening a book, a map or setting up a camp ("aufschlagen"), unpacking, ramming a stake into the ground, beating one's own fear, fighting through undergrowth, setting sail, killing time, "ans Feuer", battle map, kick off, swing open; "Wir ergeben uns" asks for peace; "Ich trete ein" is going. 3. Abilities not named like spells: the abilities are called Flammenkunde (Flame lore), Verblassen (Fade), Leuchtende Hand (Glowing hand), Lügen spüren (Sense lies) and Anfeuern (Rally), ids unchanged, so a spell of a similar name correctly gives "cannot do that yet". check_rules refuses any name that stands for two kinds (spell, ability, thing, foe; a role word like "guard" only as a foe); so the ability Zäh is called Hardy in English. 4. Spell names without a verb: a spell's name counts without "cast" too ("Ich werfe einen Feuerball", "Fireball!"). Names that are also everyday words carry "alltagswort": true (spells Light, Haste, Sleep, Darkness …; abilities Camouflage, Evasion, Blessing, Steadfast, Cleanse): such a spell counts only with a verb of casting ("wirke", "zaubere", "beschwöre", cast), and such a missing ability gives no "cannot do that yet" ("Ich nutze die Tarnung der Büsche").

AI Dungeon Master: faults of the round in the Old Library: Fixed rules without a switch of their own. 1. Difficulty: the dice bar names the panel's word (sg, 13 is "medium") like the card; only a number without a level goes by the SRD table, also for own dice. 2. Damage spells: the line "casts Fire bolt" stands without its effect sentence, whether it hits is told by the attack line. 3. Fireball: the wizard's ability is named differently from the spell (see sentence bench). 4. Panel in the story: a sentence in which the panel speaks ("Das Panel würfelt …") leaves the story (dungeon.panel_says, in English only with a word of rolling or checking, a door panel stays). 5. Reason without a check: who only asks hears "who only asks or talks …" instead of "walking needs none". 6. Entering: "betrete", "trete in … ein" and "enter" are walking without a check, whatever the model writes, never an attack (kampf.intent with NICHT_ANGRIFF for typed actions too). 7. Goal reached: reads "Goal reached: name", without inflection. 8. Merchants: a merchant of the model opens only when the story shows one (name or a word of dungeon.MARKT_WORT), else dungeon: markt | nicht erzaehlt. Self-test in test_dungeon (Bibliothek).

AI Dungeon Master: "keine" is no name: A fixed rule for people, without a switch of its own. 1. Never a person: a word for "no name" (dungeon_nsc.LEERWORTE: keine, niemand, unbekannt, namenlos, none, nobody, unknown …) or a name without a letter never becomes a person, not in the fixed truth, not from the narration, not through the scribe check (reason leer in the log, never the name); a narration line with such a speaker is dropped. 2. Existing cards: such a card or person in a running round goes away at the next turn with its place on the map (dungeon: nsc | leer | N weg). Self-test in test_dungeon (ReviewPersonen).

AI Dungeon Master: foe names known when bent: A fixed check without a switch of its own. 1. Bent and in another order: a foe of the encounter counts as named when its whole name is there or every word of its name is in one sentence by its stem, in any order (dungeon_erzaehler.foe_named): "giant, red-eyed rats" for "Giant rat", "warrior kobolds" for "Kobold warrior", "jungen roten Drachen" for "Junger Roter Drache", plus fixed plural forms (f becomes v as in wolf, wolves; man becomes men; the last vowel with its umlaut as in Wolf, Wölfe). Filler words such as "of", "the", "der" do not count; words in two sentences or another foe never count. 2. The bench shows the foe: when a scene fails on "gegner", the reason names the missing catalog foes (catalog names only, never model text). Self-test in test_dungeon_erzaehlstand.

AI Dungeon Master: settlement reordered: No switch of its own (gold with a purpose, Features → AI Dungeon Master → Rule depth "Full"). The window "🏘 Settlement": 1. Houses: the services belong to a house (dungeon_gold.HAEUSER, one source): inn (stay the night, rumour, hire a companion), smithy (mend, improve, drill a socket, take runes out, fuse runes), healer, teacher; the view gives haeuser with the services there are here. 2. List and house: the houses on the left with a small picture and what works right now ("2 offers", "nothing right now", "🌙 shut until morning"), the chosen house on the right; on the phone first the list, a tap opens the house with "‹ Houses". 3. Rows: per offer name, a short sentence and a button with verb and price; too dear, the button is grey with "N gold short"; the price calculation stands once, small, at the bottom of the house. 4. Empty: what does not work right now is a thin dashed row with the reason (slept here tonight, nothing broken, no rumour left, shut at night); a house without an offer stands pale at the bottom. 5. Head: one slim line with place, time of day, the own gold big and the group's small. 6. Pictures: one picture per house and world (haeuser[].bild); without one the house shows the first picture of its services, else the place's, else its sign. Self-tests in test_dungeon (the view's houses, the window on computer and phone).

AI Dungeon Master: game master gives things: A tool of the game master console, no switch of its own (Features → AI Dungeon Master). 1. Where: in the game master console under "Only for you" the tab "🎁 Give", only for the host and only in the admin view; every request checks the admin again (dungeon_geben.admin): the panel's admin login or the host's own login as an admin profile (role admin, not manager), never a guest, another seat or the language model. 2. What: an item of the catalog of the round's world with a rarity up to "epic" (a fixed rarity stays, the thing is known at once), stackable things like potions and spells up to 5 pieces; gold up to 1000 at once; runes up to 5 of a kind, only with Runes and sockets; experience at most up to the next level. Never a legend, never a fixed legendary thing, never a quest item. The list comes once on opening (GET /api/profile/dungeon/{rid}/geben), with a search. 3. Limits: as in the game: a full or too heavy bag (dungeon.room), gold never above 100000 (GOLD_MAX), rune bag 40, one level a game evening (dungeon.gain), after which a waiting runeword wakes. 4. At the table: a fixed line "🎁 The game master gives Arvid: Longsword." (log kind geben); the next narration gets it as data (spielleiter_gibt) with the task to tell it as a find or a gift, inventing nothing more. Live: things, gold, runes and experience from the game master today, refused (numbers only). Log dungeon: geben | ding|gold|rune|ep | ok|nein, dungeon: geben | ding | voll, dungeon: geben | kein admin. Self-tests test_dungeon_geben.

AI Dungeon Master: runes and sockets, runewords and smith: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round). 1. Runewords: when the runes of a runeword sit in its order in a plain, known thing with exactly as many sockets at its place (weapon, shield, head or body; dungeon_runen.match), it wakes as soon as the hero has its level: at the insert or on a new level (wake). The panel sets it["rw"], the extra effect runs through the same rules as every rune (effect, value, to hit and damage only in attacks, armour class, healing potions) with its own cap: at most like "legendary" (weapon 10, body 8, the rest 4), two kinds of resistance a thing, to hit at most +3. Worth = base price + rune prices + base price × 8. The preview says "Then the runeword Stormsong wakes: …" or "wakes only from level 5"; the table shows "Runeword Stormsong wakes in Arvid's Longsword: …", the thing "Runeword Stormsong: …". All seven runewords stand in the rune bag under "Runewords" as goals: runes in order (the ones there highlighted), place, sockets, from level, extra and own fitting things. When a hero is read, a runeword stays only where its runes sit. 2. Smith (with Gold with a purpose, in a settlement or at a merchant, shut at night, never in a fight; dungeon_gold.serve with dungeon_runen.DIENSTE): Drill a socket 25 × group level × new socket count, never fails, at most one drilled socket a thing, never above the base's sockets, never into a runeword; Take runes out broken for 5 × group level or saved for half the rune prices back into the bag, a runeword always goes out; Fuse runes three of the same into one of the next rank for a quarter of its price, up to rank 9. Each service has a card in the settlement window with its price and what is missing. 3. Giving: in the rune bag every rune goes to another hero at the table with "Give …", never in a fight, never into a full bag. 4. Drag and drop: a rune can be dragged onto an own thing with a free socket, fitting things light up; then the same preview follows, only Set puts it in. 5. Car: "Which runes do I have?", "What is missing for Stormsong?" are answered at once, "Put Uruz into the longsword" says the preview back with "Is that right?", only "yes" sets it, a refusal comes with its reason. 6. Bench: the balance bench first sets into every weapon and body armour the strongest fitting runeword from the bag (with_runes), then the strongest runes; the self-test keeps it at most +8 points of wins. 7. Rules page: "Fixed rules" names waking, the runeword cap and the smith's prices; every runeword carries its strength against the cap as a mark weak, balanced or strong (dungeon_runen.word_mark). A runeword's picture comes from dungeon_dingbild.runenwort. Live: runewords woken, sockets drilled, taken out, fused, given today (numbers only). Log dungeon: rune | runenwort | ok|deckel, dungeon: dienst | sockel|loesen|verschmelzen | …, dungeon: rune | schenken | ok|nein, dungeon: auto | rune_setzen | …. Self-tests in test_dungeon_runen (Runewords, Smith, test_runes_in_the_car), among them every runeword of the catalog rune by rune under its caps.

AI Dungeon Master: rules page complete: No switch of its own. The tab "Rules" (admin only) has, each with list, detail and values in fixed words: 1. Runes (rank, meaning, price, effect in a weapon, armour and shield, from which group level they fall, whether the trader has them, what merchants pay) and runewords (runes in order, place, sockets, from level, addition). On top, foldable, "Fixed rules around it": the rule depth Full with on or off and a jump link (Features → AI Dungeon Master → Rule depth), sockets per base, finds, trader, rune bag, the caps (weapon 6.5, body 6, the rest 3, to hit +3, armour class +2 per thing and +3 per hero, life +8 per hero, one resistance per thing), setting and the word per world, all from the numbers in dungeon_runen. 2. Effects (named by the start of their sentence, with effect, damage kind, raised value and allowed kinds). 3. Place kinds of the map, rooms of the vaults, traps (saving throw with value and DC, damage, worlds), riddles (question, hint, answer) and encounters on the way (kind, weight, worlds). 4. Stall events with the game itself (Features → AI Dungeon Master), when they come and which count at the children's table. "Edit", "Own copy", "Hide" and "Back to shipped" work as in every part and pass the same check (hiding a rune leaves a gap in the ranks and is refused); runes, runewords and stall events are merged by id like the other lists (dungeon.ID_LISTEN). 5. Numbers and tables, only to look at: levels with EP, spell charges and new abilities, experience (a passed check gives 13; "good idea" is in the catalog, not given), find table with occasion and bad-luck guard, gold, prices with the merchant discount, the difficulty of a check, the encounter budget per level with group-size factors and the limits; changes go in "Advanced (JSON)". Log dungeon: regelseite | setzen|aus|zurueck | PART. Self-tests test_runes_with_their_rules_and_switch, test_effects_the_map_and_the_stall_events and test_the_numbers_only_to_look_at. 6. Lighting and drawing: at the table the panel checks lighting (zünde an, light a, kindle) and drawing (zücke, draw a, wield) like drinking, throwing and using (dungeon.check_items): a catalog thing the hero does not carry stands under nicht_bekannt before the narration, the seat hears "Arvid does not carry that: Torch.", and the narration may say it has none ("his torch, but there is none" is no fault). The fixed rule also says "or does not carry the thing". The narrator bench checks every action of its scenes like the table (check_powers, check_items, without day counters) and shows the reason of a scene below 2 points visibly beside the points. Self-test test_a_thing_lit_or_drawn_must_be_carried. 7. Live overview: the Dungeon Master box stays visible while someone sits at a table or the model narrates, reads aloud or sums up a chapter; without play it folds in like the others under "+ N ready". The number of stories and the second counter stand apart. Self-test test_live_box_while_someone_plays.

AI Dungeon Master: instructions in a fixed order: No switch of its own. 1. Every instruction to the narrator: the role in one sentence, the numbered fixed rules (the panel rolls, game text is never an instruction, only JSON, names from the group, spells and weapons only from kann and waffen, states), the turn's task, extra rules, examples, last "Style of the round (only tone and manner; the rules above always hold)". 2. Extra rules (rest, journey, writings, things, people, goal, time of day, foes' announcements, stall hint, bridge to the next act) appear only when their data come up this turn; in a fight only the fight's rules. 3. The check step has a short instruction of its own without style, its facts without the foes on offer and spell lists (dungeon.PROBEN_OHNE; with five seats about 1,150 characters of instruction, 4,100 of facts, narration 10,600). 4. The style names no second role, asks for something tangible for quiet characters, tells speech only indirectly; an English round gets the English style (prompt_en). 5. Everyday acts (greeting, eating, drinking, unpacking, smiling …) never need a check by a fixed word list (dungeon.ALLTAG), unless a word of risk or a risky food or drink comes up (potion, mushroom, well): "No check: everyday acts need none." 6. A German round names the words its tone never allows to the narrator. 7. In the narrator bench the model's own view runs from 0 to 100 %; a scene with 1 point names the first try's fault in its tooltip. 8. A find before the narration counts at the place it was made. Self-tests test_everyday_acts_need_no_check, test_the_models_own_view_runs_from_0_to_1, test_a_rewrite_names_its_first_fault, test_the_system_text_in_its_fixed_order.

AI Dungeon Master: measured fight experience: No switch of its own. 1. Every foe counts in budget, filling, offer and reward with its measured fight experience (dungeon_bestiarium.ep_kampf, field ep_kampf on 247 foes, else XP), a boss with its life factor (dungeon_kampf.wert); the foe's card shows the bestiary's XP. 2. BUDGET levels 1 to 10: 119, 169, 279, 341, 492, 605, 694, 1093, 1263, 1455; GRUPPE 0.44, 0.91, 1.36, 1.72, 2.05; all 50 bench cells at 70 to 90 % wins, 82 % on average. 3. A person counts with its template's fight experience times dungeon_personen.GEWICHT (it brings guards); the occupation rows reach up to gladiator, bandit captain and assassin. People bench: 47 cells, mean 83 %, each 64 to 96 %; against a vault master and a lone boss every group size wins at least 64 % on average. 4. test_a_fight_turn_keeps_to_the_panels_rules rolls fixed misses for the foes. 5. When no room fits the band, a guardian's room also takes a nearer count just above it (dungeon_karte._room_foes). Self-tests test_people_who_fight_keep_the_aim, test_the_aim_at_medium_for_every_level_and_group, test_a_fight_shuts_the_market_and_a_boss_counts_with_its_life, test_vault_rooms_within_the_budget, test_a_heroes_reward_does_not_hang_on_the_group.

AI Dungeon Master: why the group moves on: When the group moves on by majority, the table shows a fixed line: "On to Silberhafen, because Arvid wanted to go.", both names for two, else "because the majority wanted to go". Log dungeon: karte | weiter | <anzahl>.

AI Dungeon Master: guardian and master rooms within the fight's budget: The map's part. Guardian's room 0.8 to 1.0, master's room 1.1 to 1.25 times dungeon_kampf.budget (dungeon_karte.WAECHTER, HERR), counted with dungeon_kampf.adjusted, a boss with its life factor. Kinds by challenge, nearest first, at most two kinds, 4 of a kind, 6 in all; count by experience (raum_gegner.anzahl). A master alone above 1.5 budgets (HERR_MAX) gives way to the next weaker one; when no near kind fits, the panel takes the strongest fitting one from half the challenge on. Self-test over every world, level 1 to 10, 1 to 5 heroes.

AI Dungeon Master: the fight holds, going only with a majority: In a fight the group goes nowhere, even with the model's ort_id; whoever wanted to go reads "You are caught in the fight: win, make peace or flee first, then you move on." (narrator: karte.festgehalten). Only a successful flight (kampf.entkommen) frees the way. Going is only a sentence without a verb of asking (dungeon_karte.geht): "I ask the innkeeper the way", "I draw my sword", "I break the door open" are no going; "ziehen", "brechen", "weiter", "kommen", "rein" count only with a direction, a neighbouring place or "weiter", "auf", "los", "nach" after them ("Wir brechen auf"); "Ab nach Süden!" goes. "komm mit uns" or "Ich komme mit" goes along. The group moves only when more than half of the acting seats go and nobody writes "I stay" (dungeon_karte.gruppe); else the narrator gets karte.bleibt with those staying, asked_ways is not forced. Logs dungeon: karte | verworfen | kampf, verworfen | ungefragt.

AI Dungeon Master: the table says why: Fixed words only. 1. The dice card shows the level: "vs difficulty 16 · hard" (dungeon.PROBE_SG). 2. When the panel drops a check, only that seat sees a line (dungeon.OHNE_PROBE): "No check: walking needs none.", "… a hero who is down rolls nothing." or "… who only asks or talks rolls Charisma at most.", once a seat and turn (log dungeon: probe | ohne | gehen, zustand, absicht). 3. With several heroes the loot line says "(found it)" or "(longest without a find)" (field grund). 4. A hero at full life shows no healing (dungeon: folgen | heilung | voll). 5. Action while down: dungeon: abgelehnt | zustand; settlement service in a fight: dungeon: dienst | … | kampf. Self-tests ReviewAnzeige (test_dungeon).

AI Dungeon Master: master and boss in the bench: Besides "mittel" the balance bench plays two tables (dungeon_pruefstand.bosses): Master (a master's room as the map builds it, dungeon_karte._room_foes) and Lone boss (0.8 to 1.2 budget with life factor, BOSS_BAND). Aim: every group size wins at least 60 % on average (BOSS_ZIEL). Measured against the master 70 to 92 % per group size; a lone boss exists only from level 5 to 8, winning 75 to 100 % there. Columns "Master" and "Lone boss" per level with the group's mean; Live names group sizes below the aim (log dungeon: pruefstand | boss | N gruppen unter dem ziel). Self-test test_the_master_and_a_lone_boss_are_won_often_enough.

AI Dungeon Master: reward per hero: 1. Experience is not divided: every hero the fight began with gets its level's budget (dungeon_kampf.BUDGET) times the encounter's adjusted XP over the group's reference budget (reference, without life share, dial, fight stage, children's table), times the share won (flight, peace and allein half). So a lone hero needs about as many fights per level as one of five. 2. One find per two heroes (dungeon.funde), with an odd count one more half the time; chest, reward and boss round up. Without a find only coins: "+N gold each" (dungeon: beute | gegner | nur gold); further finds go to whoever went longest without; a find the model names always comes. 3. Every hero gets the gold whole (dungeon.coins, range times level; dungeon_regeln.json: foes 1 to 3, chest 2 to 9, reward 3 to 11, boss 8 to 26); a hero earns 1.26 to 1.79 times the cost of play (aim 1.2 to 2, dungeon_pruefstand.economy). Self-tests test_a_heroes_reward_does_not_hang_on_the_group (at most 25 % apart), test_the_economy_keeps_its_aim.

AI Dungeon Master: foe count by the panel, people with guards: 1. The model names at most two kinds in begegnung, by id only (dungeon_kampf.ARTEN). fill sets the count: every kind once, then one more of the kind that brings the adjusted XP nearest the budget, until at least 0.9 and at most 1.1 budget (BAND), 6 foes at most, 4 of a kind; too much, the strongest goes (boss and person last). The host's fight stage counts. 2. allein: true brings exactly one foe for half the reward (ALLEIN, log dungeon: begegnung | allein). 3. A person fights with its occupation row's template nearest half the budget (dungeon_personen.nearest, HALB) and brings the weakest template as guards (guards); it comes exactly once. 4. The bench counts "mittel" with fill, "schwer" up to 1.5 budget, people as at the table (people). Self-tests Fight.test_the_panel_counts_the_foes_into_the_band, test_a_person_who_fights_takes_a_fixed_template, test_a_group_an_encounter_and_a_fight_by_the_real_rules.

AI Dungeon Master: runes in the bench: While Runes and sockets is on, the bench also plays every cell with runes (dungeon_pruefstand.with_runes): sockets as with finds, the runes of every find up to the level by the real find rule (dungeon_runen.sockets, draw, occasions) plus trader runes of ranks 1 to 4; each hero sets the strongest rune within the caps (fits), so it is the upper bound. Measured +2.1 points of wins on average (cells −5 to +13). test_runes_win_at_most_eight_points_more keeps the mean at +8 at most (RUNEN_PLUS) and every cell at 98 % at most; with runes sold at half price the economy stays in its aim. Column with runes on the bench page (runen in dungeon-pruefstand.json), Live "mit Runen +N Punkte", log dungeon: pruefstand | runen | N punkte. Table and bench use the same rules from dungeon_runen.

AI Dungeon Master: invented rune: The panel rolls runes only after the narration (put_find). The check "find" (found_untold) catches a rune in a sentence with a word of FINDET and none of NEIN ("You find a Tiwaz rune." becomes "Group: Tiwaz"): a catalog rune's name (four letters or more, never a person's name), "runeword" or the world's word in the singular (rune, chip, pearl, seal; _rune_terms). A rune the hero already has does not count, nor do runeword names and "socket". Then hint, counter regel_fund, sentence struck. Self-test Table.test_a_rune_told_as_found_is_struck.

AI Dungeon Master: runes and sockets: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round), for every round with a profile as host. 1. Sockets: weapons and armour up to "rare" come from finds with sockets 30 times in 100 (it["so"]): weapon d8 or more 3, else 2; body 3; shield and head 2; hands and feet 1 (dungeon_runen.sockel_max). 2. Runes (13, ranks 1 to 13): fight find 5, chest 15, reward 20 in 100, boss always; after 8 fight finds without one a rune is sure (PECH). Highest rank is the group's level + 2, low ones more often. The rune goes to the hero with the fewest, into its rune bag (h["runen"], no bag place, at most 40). The trader sells ranks 1 to 4, merchants buy at half price. 3. Setting: in the hero sheet under Bag pick an own thing with a free socket; the preview names effect and new strength ("Kenaz into socket 1 of Longsword: … Strength 0 → 3.5 (at most 6.5).") or why not; only Set puts it in for good (POST …/held with {was: "rune", tun: "pruefen"|"einsetzen", rune, i}). Never in a fight. 4. Effect through the existing rules (item_effects, worn_bonuses, life, resists, rabatt, dungeon_kampf.rk, attack): weapon element, value +1 (only the strongest per value), life, armour class, protection (twice on the body), resistance, discount, healing potions +2, gold per foe. A weapon rune's to-hit only for its attacks. Line Sockets 3: Kenaz (…) · free · free on the thing. 5. Caps: at most as strong as the base in "epic" (weapon 6.5, body 6, else 3; a "rare" weapon takes no element rune), to hit at most +3, armour class +2 a thing and +3 a hero, life +8 a hero, one resistance kind and each element once a thing. 6. World words: rune, chip (science fiction), pearl (pirates), seal (horror). 7. Switch off: runes stay but do nothing and fall no more. The smith never betters a thing with runes. Live: found, set, refused, bought, sold, finds with sockets (numbers only). Log dungeon: rune | fund | rang N, | pruefen | …, | einsetzen | ok|deckel|voll|sockel|kampf|aus, | kauf|verkauf | rang N, | sockel | N, | gold | N. Self-tests test_dungeon_runen (every chain of up to three runes on every base: under every cap or refused).

AI Dungeon Master: abilities when used, only the strongest bonus: 1. An ability's bonus counts only when it always works (immer) or is used in the action ("I use Sweeping blow", the Use button; h["einsatz"] from check_powers); the tile says "when used". 2. Per value only the strongest bonus of jewel, gear and ability counts (dungeon.worn_bonus, ability_bonus, total); an outdone piece says "Does not count for Strength: something else gives more there, only the strongest counts." (outdone, worn_view). 3. Fixed effects (KRAFT): Weapon master +1 damage per weapon hit, Hardy +3 life per level (relife), Laying on hands once a scene 1d6+2 life for a friend or oneself, Revive once a scene a friend who is down back with 3 life (use_abilities, never the dead). 4. Other ability sentences promise nothing the panel does not compute (dungeon.VERSPRECHEN). 5. Peaceful creatures (dungeon_bestiarium.friedlich) are never foes, not in quests either. 6. "rare" only from level 3, "epic" from level 5, at the merchant too. 7. The bench plays as at the table: every class in turn, heroes raised level by level (dungeon_pruefstand.raise_to), gear of the median find's rarity (gear_rarity), no peaceful foes (encounter); from it come dungeon_kampf.BUDGET and GRUPPE (group_factor, beyond 5 heroes +0.33 per hero). Self-tests test_an_ability_counts_when_used_and_only_the_strongest, test_abilities_the_panel_computes, test_an_ability_promises_only_what_the_panel_computes, test_peaceful_foes_are_never_offered, test_the_find_table_keeps_its_promises, test_heroes_like_at_the_table.

AI Dungeon Master: honest sentences of the SRD classes: The 7 SRD classes (barbarian, bard, druid, monk, paladin, sorcerer, warlock in app/panel/dungeon_srd.json) promise nothing, for abilities without a fixed effect, that the panel does not compute (dungeon.VERSPRECHEN: numbers, damage, life, healing, targets, hits, dodging, checks), such as Dodge "Stays calm and is hard to catch."; their value bonus counts when used. The paladin's Lay on hands heals once a scene by 1d6+2 (wirkung heilen). test_an_ability_promises_only_what_the_panel_computes checks all 12 classes.

AI Dungeon Master: measured combat XP per foe: 247 foes in app/panel/dungeon_srd.json carry ep_kampf, measured on the bench (a group of four against 1 to 4 of them, 60 fights each, ep ÷ the ratio at 80 % wins, a quarter to four times), such as archmage 2800 instead of XP 8400. ep stays for display and the D&D reference; 24 foes without a measurement count with ep. Read through dungeon_bestiarium.ep_kampf(g), check_rules requires a whole number within a quarter to four times ep. Self-test test_dungeon_srd (test_kampf_ep).

AI Dungeon Master: English foe names as in the SRD: The English names in app/panel/dungeon_srd.json follow SRD 5.1 or 5.2.1 (such as Stirge, Animated armor, Swarm of piranhas, Warg), so card, narration and foe check see the same name. Self-test test_dungeon_srd (test_englische_namen_wie_im_srd).

AI Dungeon Master: unique spell names, everyday words marked: No spell in app/panel/dungeon_srd.json is named like an ability or an item: schildzauber is "Shield spell", tiersprache_d "Animal whisper", spottlied "Mocking song" in English (ids stay). 26 spells and 4 abilities named by an everyday word (Darkness, Silence, Sleep, Fly …) carry "alltagswort": true, so "I use the darkness" gives no wrong "cannot do that yet". Self-test test_dungeon_srd (test_zaubernamen_eindeutig_und_alltagswort, test_satz_pruefstand_zauber).

AI Dungeon Master: choose the gender, voice and pronoun follow: 1. A new hero needs male, female or non-binary (dungeon.made_hero, else "Please pick male, female or non-binary."); bench and test heroes do not. 2. The voice list has "Female voices" and "Male voices", the own ones first (stimmen_w, dmVoiceGroups). 3. When the voice no longer fits after a change (dungeon.voice_fits) and was not described by the player, a fitting one comes (voice_for, log dungeon: held | stimme | nach geschlecht). 4. People with a card get the same pronoun check as heroes (dungeon_erzaehler._figures): "Grimma hebt seine Hand" becomes "ihre". Self-test test_gender_is_chosen_and_the_voice_follows.

AI Dungeon Master: age and fixed looks per person: Under "NPC memory and chronicle". 1. Every person gets an age once (rd["nsc"][k]["alter"]: kind, jung, mittel, alt; dungeon_nsc.age) from its looks (ALTER_AUSSEHEN), else by the name; with an adult occupation (any but KIND_BERUF) never a child. Voice, portrait and facts (nsc_szene[].alter) read it. 2. The gender comes from title, role or name; age and gender from the model are dropped (dungeon: nsc | stimme | verworfen). 3. The panel rolls hair, eyes, beard, build from nsc_haar, nsc_augen, nsc_bart, nsc_statur (dungeon_nsc.looks, MERKMALE; grey or white only when old, beard only for men from young on); the narration is checked against them (dungeon_erzaehler.looks_off). 4. A child never fights (dungeon_personen.fighters). 5. When the role names an occupation of the table, the panel sets it (dungeon: nsc | beruf | nach rolle), never for catalog people. 6. The catalog keeps gender, age and voice (collect, adopt); the rules page "People (NPC)" shows them. Self-test test_one_age_and_fixed_looks_per_person.

AI Dungeon Master: story progress: The stall counter, the wink in three stages and the clues to the turning point are on with the game, no switch of their own (Features → AI Dungeon Master, no model call; dungeon_anleiten.kern for progress, seen, clue_facts, facts, WINK_TASK, SPUR_TASK). While "Guide the players" is off, level Normal counts (wink after two turns without progress). Narration form, buttons, questions to quiet players, the check "vage" and the way out belong to "Guide the players" (off from the start). Live: part "Fortschritt der Geschichte" (KERN_ZAEHLER). Self-test test_story_progress_is_core_and_on_from_the_start.

AI Dungeon Master: the panel decides: 1. Checks: the model names only the level (leicht, mittel, schwer, sehr_schwer), the panel the number (PROBE_SG: 10, 13, 16, 19). The value must fit the fixed activity table (dungeon_anleiten.WURF_WORTE, climbing = Dexterity), else the table's counts (fitting_value, dungeon: probe | wert | tabelle); check XP does not depend on the level (PROBE_EP_SG). 2. Loot: a passed search or open check (FUND_TAT, not traps or tracks, FUND_NICHT) draws the find before the narration (first_find, fact fund) for the finder. A place gives one find only (fundorte, dungeon: beute | ort schon). A model name naming another thing's head word is dropped (name_fits). 3. Healing and damage: the panel always drops healing in folgen (dungeon: folgen | heilung | verworfen); damage outside a fight it rolls itself (1d4, after a hard check 1d6, SCHADEN_W). 4. Act end and goal: akt_fertig counts only when the narration names WENDE_WORTE (2) words of the turning point (dungeon_anleiten.named, dungeon: akt | modell | ohne wende); when the panel moves on by time, the next turn tells the turning point as bruecke. A goal gives XP only in the last act with goal words in the text (goal_told). Live counts all these cases. Self-tests ReviewPanel, Stories.test_round_follows_the_act_model_decides_panel_limits.

AI Dungeon Master: people are people: Under NPC memory and chronicle. 1. dungeon_nsc.ist_person says whether a name may be a person: not a hero, companion, foe of the fight, bestiary name (plural too), group of the truth or role word (ROLLENWORTE, ROLLEN_ENDE). It holds for truth, narration, merchant and catalog; log dungeon: wahrheit | person | abgelehnt | <reason> | <where> without the name. 2. The merchant's kind comes from fixed words (HAENDLER_WORT: „Alchemistin Mira“ sells potions), else drawn; a name that is no person gives the default name (HAENDLER_IN). A merchant with a name gets a card (dungeon_nsc.merchant, dungeon: markt | person | neu). A treasure is only bought (NIE_ANGEBOT). 3. Occupations without a fight row never fight as a „guard“ (dungeon_personen.NICHT_KAEMPFER); a person in a fight shows its portrait (dungeon_kampf._picture) and does not count in the album. Live: „today N names refused as a person, M merchants with a card“. Self-tests ReviewPersonen.

AI Dungeon Master: going not first: When others have acted this turn and all stay, the ask-back and guide the players (dungeon_rueckfrage.points) put „I look around carefully.“ before the map's way, so no button leads the group away. Self-test Rueckfrage.test_going_is_not_offered_first_when_the_others_stay.

AI Dungeon Master: pronoun, place, secret, track, action: Fixed checks of the narration. 1. Pronoun („fuerwort“, ER): „Er“, „He“ or „She“ right after a sentence about only one hero of another gender is wrong (any for divers); the repair puts the name. German „Sie“ never counts. 2. Invented place („ort_erfunden“, place_untold): a word of ANKUNFT with a settlement word and name (ORTSWORT) or a name ending in ORT_ENDE that neither map nor person knows, with no ort_id, not in a vault; the sentence is struck. 3. Secret („geheim“, secret_told): a sentence with GEHEIM_ANTEIL (60 %) of a secret's longer words without a passed check is struck. 4. Track after a failed search: the check's thing plus a word of SPUR or a map place counts as „probe“. 5. Action passed over („ignoriert“, ignored): when the narration names the hero but none of TAT_WORTE (2) words of the action, a rewrite needed anyway gets a hint; alone never a reason to fail (NUR_HINWEIS). Counters regel_ort_erfunden, regel_geheim, regel_ignoriert. States in the thing memory are not checked. Self-test ReviewPruefung.test_pronouns_places_secrets_tracks_and_ignored_actions.

AI Dungeon Master: nothing invented: Fixed checks (dungeon_erzaehler) with a hint and, if need be, a struck sentence. 1. „dabei“: hero, a word of ZIEHT, head noun of a catalog weapon, armour, shield or potion (SCHUTZ_KOPF) the hero does not carry; not when the hero's action names the thing. Gear never goes into the thing memory (check_things). 2. „fund“ (found_untold): hero, a word of FINDET, a catalog thing (FUND_ARTEN) that is neither loot, quest find nor in the bag. 3. Gold in words (GOLD_WORT) counts like figures. 4. „gegner_neu“ (foe_untold): a bestiary name with a word of ERSCHEINT that neither encounter, fight nor action has; peaceful beings, humans, people of the round and GEGNER_MEHRDEUTIG never count, names only as a whole word. 5. „zeitsprung“ (ZEITSPRUNG): „three days later“ with no rest and no travel (ort_id). Ambiguous head nouns (MEHRDEUTIG) never count. Counters regel_fund, regel_gegner_neu, regel_zeitsprung under the narration rules. Self-test ReviewPruefung.test_invented_gear_finds_foes_and_time_jumps_are_caught.

AI Dungeon Master: the check catches everything: 1. dungeon_erzaehler.faults returns every fault of a try (judge the first), hints names all, the mildest try is kept (milder). 2. When every try fails, repair_all works through all faults (strikes first, then fixed sentences) and checks again: a missing hero gets a sentence from their roll („Silas tries: open the lock, it fails.“) or „… waits“; an ort_id to a place not named keeps the group (dungeon: nachbessern | nachgeprueft | namen or | neuer_ort). 3. A failed check told as done is caught and struck; the turn's loot is lost (| beute verfallen). 4. When a hero asks, an npc line with at least ZITAT_WOERTER words counts as an answer. Nothing to repair: | bleibt | <fault>. 5. Retelling after 👎: with a hard fault (HART) the old text stays. The narrator bench counts no day counters (faults(…, count=False)). Self-tests ReviewPruefung.

AI Dungeon Master: pace and the table on the phone (review 15 Nov): No switch of its own. 1. Wait per turn: dungeon_tempo.py measures for every told turn at the table the time from the close of the turn to the narration, each model call for the checks („proben“) and each try of the narration („erzaehlen“, rewrites too), and counts the turns with at least one rewrite. Status → Live shows in the Dungeon Master box „heute Wartezeit je Zug Ø … s, längste … s (Proben Ø … s bei N, Erzählen Ø … s bei N), … % der Züge nachgebessert“, numbers only, in memory per day. The narrator bench does not count (count=False). 2. The model's cache: the narrator's instruction has the fixed part first (role, rules, task, examples, style of the round) and only at the end under „This turn:“ (dungeon.ZUG_KOPF) everything that changes from turn to turn: length (LAENGE), time of day, guiding, witnesses, thoughts, quests, wandering, coming along, moment, way and find. So the long start stays the same and the model takes it from its cache. 3. Input field on the phone: below 760 px the action field stands in a row of its own over the whole width, microphone, heroic courage and „Handeln“ below. The bar does not grow with the text: the status stays one line (cut with "…" when too long), the suggestions one row to swipe (ROT-FIX 15 Nov, with GitHub's wider font it took more than half the height before). Self-tests test_the_wait_per_turn_and_the_rewrites_as_numbers, test_the_phone_table_head_fight_field_group_and_hero in test_dungeon and test_the_system_text_in_its_fixed_order in test_dungeon_erzaehlstand.

AI Dungeon Master: the checks question only where needed (review 15 Nov, point 3): No switch of its own. When the panel already knows the answer of the checks step for every action of the turn, it does not ask the model (dungeon.panel_knows): going, buying, selling and resting (einordnung.typed), only everyday acts (einordnung.everyday), a hero who is down, and in a fight an attack without a spell when its foe is clear (the action names one standing, or only one stands). For these actions check_proben drops any check of the model anyway, and the panel makes an attack itself (kampf.attackers, advantage never from the model). With any other action in the turn it asks as before. Such a turn saves one of two model calls. Log dungeon: probe | gespart | N aktionen, Live „… Proben-Fragen gespart“ in the wait line. Self-test Fight.test_the_checks_step_without_the_model_gives_the_same compares each case with the answer of a model that asks a check with advantage for every seat: the same checks, the same attacks on the same dice.

AI Dungeon Master: fights of 6 to 7 turns at most, bosses measured again (review 15 Nov, points 1 and 9): No switch of its own, the same rule at the table and in the balance bench (dungeon_kampf.shorter, one source). The life of all foes of an encounter together is at most LAENGE_ZUEGE (4.6) times the sum over the heroes of 3 + 0.4 × level (LAENGE_HELD, about a hero's damage a turn). When the foes have more, each keeps the same share f of its life (at least 1), and its damage grows by (1/f) to the power 0.9 (LAENGE_SCHADEN), at most three times (LAENGE_SCHADEN_MAX), with a boss at most twice (LAENGE_BOSS_MAX), so a hero alone does not fall to one blow. Short fights stay as they are. The bench has an aim for it: a fight of danger "medium" lasts at most ZUEGE_MAX (7) turns on average in every cell; with 200 fights a cell the turns lie at 2.8 to 6.7 (before up to 12), the wins still at 72 to 88 %. The page "Regeln → Balance-Prüfstand" names the aim and colours cells with fights too long red. The self-test now measures bosses and vault masters like the night with 200 instead of 40 fights a cell; every group size wins at least 60 % on average. Log dungeon: kampf | kuerzer | schaden mal N. Live: fights with foes' life cut, in the bench cells with fights too long. Self-tests test_a_long_fight_is_made_shorter, test_the_aim_at_medium_for_every_level_and_group and test_the_master_and_a_lone_boss_are_won_often_enough in test_dungeon_pruefstand.

AI Dungeon Master: a quieter column and one line for the time (review 15 Nov, point 8): No switch of its own. Date, moons, festival and time of day stand in one line above the story (dmZeitzeile), wrapped only when it does not fit. The host's tools for the map ("🎲 Roll a vault", "↻ Roll the map again", dmkHost) are no longer under the map in the play column but in the game master console in the card "Map". Self-test test_the_map_at_the_table in test_dungeon_karte (no buttons at the map, the vault from the console).

AI Dungeon Master: a smaller action bar on the phone (review 15 Nov, point 6): No switch of its own. On the phone (up to 760 pixels wide) the status stands in one line ("Your turn", how many have acted, who is awaited), below it the input field across the full width with microphone and "Act", and below that the suggestions as one row to swipe. The wish to the narrator and further buttons are behind the chip "⋯ More". With ▾ the bar folds to the field and the send arrow, with ▴ it opens again; each device remembers this itself (only in the browser, nothing on the Spark). On the computer the bar stays as before. Self-test test_the_phone_table_head_fight_field_group_and_hero in test_dungeon.

AI Dungeon Master: new round step by step and "Like last time" (review 15 Nov, point 7): No switch of its own. The new round shows only one of its four steps at a time (World, Story, The round, Your hero); on top a bar with the four steps to tap, below "← Back" and "Next →", "Start the round" only at the hero. Without a title the page jumps back to step 3. Above it stands the card "Like last time" as soon as you have a hero who is alive and plays in no other round: a tap on "Start now" makes a freely told round with world, tone, time per turn, duration, way of telling, rule depth and reading aloud of your last round and its hero (else your first free one), the title is the world and the day. Without a last round the card is called "Quick start" and takes the form's defaults. The panel chooses by fixed rules (dungeon.quick), only what the rules still know; a new hero still needs the steps. Self-tests test_quick_start_like_last_time and test_new_round_in_four_steps_and_like_last_time in test_dungeon.

AI Dungeon Master: endpoints in a file of their own (review 15 Nov, point 10): No visible change. The Dungeon Master's 78 endpoints (own page /api/profile/dungeon/*, a guest's seat /api/dungeon/*, the admin's rules and stories /api/admin/dungeon/*) now live in dungeon_endpunkte.py with their own router; the rules and the state stay in dungeon.py (about 1500 lines shorter). Likewise the admin's page (tab "Rules" with the catalog, own stories and the story planner) now lives in dungeonregeln.js, which dungeonlader.js loads right after dungeon.js; dungeon.js is thus about 450 lines shorter. The endpoints reach everything of dungeon.py only when called, as dm.NAME; so what a self-test swaps there (model, background work, rules) applies to them too. Only dungeon_endpunkte imports dungeon, never the other way round (test_schichten). Login, profile binding, CSRF, size and rate limits are unchanged (test_scanner, test_hardening).

AI Dungeon Master: life only with a reason: dungeon.grounded: damage outside a fight counts only after a failed check this turn on KOERPER_WERTE (strength, dexterity, constitution), such as a jump, a climb, a lock that snaps; the line names „check „…“ failed“. Other damage is dropped (dungeon: folgen | schaden | ohne grund, counter schaden_ohne_grund). Healing and foes' hits stay. Self-test LifeLossReason.

AI Dungeon Master: the game table stays calm: dmMorph (static/js/dungeon.js) puts new HTML into the existing nodes (same tag, id, key or text start, up to DMMORPH_VOR (6) places ahead); only what changed is set, pictures keep their address, input, focus, open sections and scroll stay. The feed jumps to its end only when you were there or an entry comes. Browser self-test Windows.test_the_table_stays_put_across_polls.

AI Dungeon Master: voices from a description visible: Own voices per person need VoiceDesign (Einstellungen → Sprachausgabe → „VoiceDesign zusätzlich bereitstellen“); otherwise every person speaks in the fixed voice (women in the female one). While it counts as off, catalog and sample ask at most every DESIGN_NEU_S (30) seconds (dungeon.design_up). When it does not run, catalog and game master console show „Voices from a description are not running right now: every person speaks in the fixed voice“ with a jump link. A failure in play: log „dungeon: stimmen | voicedesign … | feste stimme“. Self-test in test_dungeon_regelseite.

AI Dungeon Master: understanding the input: Ask back: „No doing“ asks only without a verb: a subject (ich, wir, du, ihr, er, sie, a hero's name) plus a verb-like word (-e, -n, -t; any word in English) counts as doing (dungeon_rueckfrage.subject_verb), never KEIN_VERB („Ich bin müde“). TUN_WORTE also knows durchsuchen, rasten, bestellen, plündern, kaufen and more. An ask-back holds the turn at most WARTE_S (30) seconds. Checks: plain going, buying, selling and resting need no check (dungeon.typed, dungeon: probe | verworfen | kauf). Typed mechanics: buying and selling only over „⚖ Merchant“, a rest through the game master console; „Ich kaufe …“ or „Wir rasten“ gives that seat a fixed line with a button („⚖ Merchant ›“, „🎲 Game master console ›“), the narrator hears nicht_erfolgt and tells only the intention. „Ich gebe Grimma 10 Gold“ really takes the gold („⚖ Arvid gives Grimma · 10 gold“, gegeben), never more than there is; things over an errand „bringen“. Small things: „Heiltrank“, „Heiligtum“, „heilig“ are no help (dungeon_zeugen.TATEN); a verb checks only things of its kind (dungeon.DING_ART). Live: Status → Live counts typed hints and gold given. Log „dungeon: getippt | kauf | hinweis“ (verkauf, rast, gold), „dungeon: getippt | geben | gold“. Self-tests ReviewEingabe.

AI Dungeon Master: recognising attacks and healing: Attack: in a fight an action naming a standing foe with no word of healing, protecting, talking, looking, hiding, giving, waiting, fleeing or peace (dungeon_kampf.SANFT_WORTE); also „greife … an“, „stürze mich auf …“, „lasse … fliegen“, „gehe … los“ (up to 8 words), „verpasse … eins“, „packe …“. „Ork“ names the Ork-Krieger (part words from 3 letters, split at hyphens too). A check naming a foe that is no attack gives no check XP; the seat reads „No attack recognised. Write for example: "I attack Goblin."“. Healing: „Ich heile Bela“ (heal, tend, bandage, cure) casts a healing spell with a charge in a fixed order (dungeon.heal_named); without a charge a fixed line; the spell line names the healing („· Bela +7 life“). Log „dungeon: kann | heilen | zauber“, „| leer“, „| kein zauber“, „dungeon: probe | kampf | kein angriff | hinweis“. Self-test Fight.test_review_attacks_are_recognised_and_healers_heal.

AI Dungeon Master: fights hold and are less deadly: Holding: in a fight no merchant (open_market), no buying, selling or naming („First the fight …“, markt kampf); a scroll of knowing works. Flight rolls count before the map's step, so a successful flight can reach a neighbouring place in the same turn. Boss: counts with its life factor (dungeon_kampf.wert, faktor), at most one per encounter; map rooms bring their fixed number (raum_gegner.anzahl, at most ANZAHL_MAX). All down: when every hero is down and one lay already, the fight ends in mercy: each wakes with 1 life, loses half its gold and one thing, no XP (dungeon.down, „dungeon: zustand | gnade | gruppe | n“). While others still fight, death stays possible. Stable: three successful rescue rolls = „stable but unconscious“; healing gets it up, with no fight the hero wakes with 1 life; a 20 gets it up at once. Breather: after every win a quarter of its life for each hero standing (dungeon.breather, VERSCHNAUFEN). Follow-up fights: the budget grows with the group's life share (at least ANTEIL_MIN 0.4), the danger display too. Live counts stable heroes and breathers. Self-tests Permadeath.test_the_whole_group_down_is_spared_and_a_won_fight_gives_breath, test_rescue_rolls_get_a_hero_up, Fight.test_a_fight_shuts_the_market_and_a_boss_counts_with_its_life, test_kampf_flucht_nur_mit_mehrheit_und_panelprobe.

AI Dungeon Master: nothing breaks: Prompt: the style examples stand at the task's end between „[Examples]“ and „[End of the examples]“ (dungeon_erzaehler.STIL_BLOCK), so no rule counts as an example. Word lists: harmless words holding a list word („knackt“, „Blutegel“, „Schlachtross“ …) are taken out before the check by dungeon.HARMLOS (dungeon.word_hit for round, hero name, catalog); other word parts still count („splitternackt“). Outage brake: without a usable narration a fixed sentence stands in the log as a system line, never as narration (dungeon.outage); the next try after DM_S (75) seconds at the earliest, after AUSFALL_HALT (2) outages the turn waits with „The Dungeon Master cannot get through right now …“ for the host's "Go on now". Children's table: a refused word that can be softened (töten, ermorden, enthaupten, abschlachten, umbringen) becomes „Ich besiege den Goblin.“, the seat reads once „Here foes are defeated, not killed. Your action reads:“ (dungeon_rueckfrage.milder, never blocking); what cannot be softened stays refused. „Besiegen“ is an attack (dungeon_kampf.ANGRIFF_WORTE). Live counts waiting turns and softened actions. Log „dungeon: ausfall | neu | 1“, „| halt | 2“, „dungeon: aktion | wortliste | milder“, „dungeon: rueckfrage | milder“. Self-tests ReviewSofort.

AI Dungeon Master: one gender per person: Under NPC memory and chronicle. The gender is fixed once on the card (dungeon_stimmen.fix, rd["nsc"][…]["geschlecht"]: weiblich, maennlich, divers), from title or role („Schattenwächterin“), else from the name. Portrait (dungeon_gesicht.who), voice, occupation word (m/w of nsc_beruf, dungeon_nsc.beruf_wort) and the narrator's pronouns (geschlecht in nsc_szene) follow it. When name or role names an occupation („Schattenwächter“ → guard), that one counts (dungeon_nsc.beruf_of).

AI Dungeon Master: persuade to come along: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; needs a map). Without it „come along“ takes a person of the map along at once. With it the panel decides (dungeon_mitkommen.py, question through dungeon_karte.fragen): not at the place, without a card or attitude below +1 stays without a check; „devoted“ (+3) comes without a check; in between the panel's Charisma check (friendly 13, warm 11). The model only writes the person's sentence (fact mitkommen). The map takes the person along (dungeon_karte.mitnehmen), feed „Grimma comes along with you.“ or „Grimma stays here.“, the chronicle notes it. Those who come travel and speak but do not fight like companions. Log „dungeon: mitkommen | probe/ja/nein/abgelehnt/treu/weg“; Live counts questions, those who came, those who stayed.

AI Dungeon Master: going to a neighbouring place: When an action names going and exactly one neighbouring place by name or direction („go to the old library“), it is a walk (dungeon_karte.asked_ways): the model's check goes (unless a risky word like sneak, climb), the facts name it (karte.gewollt); when the model tells elsewhere, the check „gehen“ sends it back once, then the panel takes the way itself („You set off, your destination: …“). A fight or new foes hold the group. Under Spieler anleiten „vague“ wants at least one point from the panel's data, „What you can do here“ shows up to three ways. The dice card shows the receipt number („W-2“) only as a tooltip with real dice.

AI Dungeon Master: wandering people and small gestures: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round). Wandering: after a long rest (dungeon_rast.rest, dungeon_wandern.rest, dungeon_karte.wandern(…, "lange_rast")) every person outside the group moves one way on with WANDERN percent towards dungeon_nsc.ziel_ort (a place of its goals, else by BERUF_ORT). Every move stands as a rumour in the feed, the next narration gets them (gewandert) and tells only a meeting again. Not between chapters. Gestures: dungeon_nsc.geste(rd, rng) picks a person of the scene with a trait of ±2 and a fixed line from GESTEN, without the model; dungeon_warten decides when (never in the car). Logs dungeon: wandern | 1 personen, dungeon: karte | wandern | lange_rast | 1, dungeon: nsc | geste. Live: long rests, people moved, gestures.

AI Dungeon Master: when a small gesture comes: dungeon_warten.geste_faellig (from dungeon.maybe_close): the turn is open, nothing at the table for 2 minutes (GESTE_S), no fight, no pause, the narrator silent, no dice question open, at most 2 gestures a turn (GESTE_ZUG). Then dungeon_warten.geste writes a line of kind "geste" (🤲, fields nsc, geste, text de and en). If nobody fits, the next try after another 2 minutes. Never while a seat plays in the car (dungeon_auto.im_auto). An error becomes a journal line, never a break. Live: gestures, nobody fitting, left out for the car; log dungeon: geste | gezeigt, | keine person, | auto, | fehler | kind. Self-tests test_dungeon_gesten.

AI Dungeon Master: errands from people: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round). dungeon_auftraege.seen reads actions with fixed word lists (ARBEIT, GEBEN, ZURUECK) and the person of the scene named. A new errand (person not hostile, no open errand, at most OFFEN_MAX = 3) comes from roll: kind from ARTEN (bring a thing, talk to a person, defeat a foe up to the group's level), reward LOHN times the group's level, EP for everyone, two clues from fixed data, the reason is the person's wish. Done only with a receipt: thing given and carried (it goes), other person in the scene addressed, foe felled this turn. Giving it back cools the attitude one step. The narration gets auftraege and auftrag_jetzt and only tells reason and thanks; the panel gives and closes (auftraege.apply: gold, XP ep_tisch, attitude +1, feed, chronicle). Every seat sees the errands at the table's side, in the apps too. Logs dungeon: auftraege | neu | bringen, | erfuellt | reden, | zurueck, | kein neuer. Live: given, done, given back.

AI Dungeon Master: read thoughts: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round). dungeon_gedanken.checks: when an action casts gedanken_lesen (kraft from check_powers) or the hero has the blessing of the spell or gedankentrank (QUELLEN, dungeon.bless) plus a word of LESEN, and it names a person of the scene, the panel rolls an Intelligence check (SG: hostile 15, neutral 13, fond 11). The narration tells only the listening, never the content, so the secret cannot reach the table through the model. Then gedanken.apply writes a fixed line from the card (wish, secret, attitude) into rd["gedanken"][pid], failed "… shuts their thoughts away from you.". Only this seat sees it (gedanken.view), the host only who read whose thoughts; secret gedanken in dungeon_sicht.GEHEIM. Never read aloud in the car. Logs dungeon: gedanken | probe, | gelesen, | verschlossen, | kein ziel. Live: tries, read, shut away.

AI Dungeon Master: witness rule: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round). dungeon_zeugen.seen recognises attack (dungeon_kampf.intent), theft, gift, help (TATEN) towards a person of the scene. Table FOLGE: attack and theft target −2, everyone present −1; gift and help target +1. A theft with a passed Dexterity check stays unseen; an attack on a fight's foe is no deed. The narration gets zeugen and tells only the reaction; zeugen.apply sets the attitude (once per pair and turn, −3 to +3), the feed shows every change, the chronicle "in front of witnesses"; the model's own report for the same pair is dropped (zeugen.drop). Logs dungeon: zeugen | diebstahl | 1 zeugen, dungeon: zeugen | diebstahl | unbemerkt. Live: deeds, witnesses, thefts unseen.

AI Dungeon Master: guide the players, check "vage", stall hint, way out and clues: On with the game, no switch of its own (Features → AI Dungeon Master). "vage" (dungeon_anleiten.vague in erz.judge): fewer than two points of the scene (people, things, foes, props, ways; fewer when the scene has fewer) or an empty closing question of HOHL ("What do you do?") has it told once again with a hint naming up to three names (erz.repair, "nachbessern | bleibt | vage"). 👎 can carry the reason "Did not know what we could do" (dungeon_erzaehlstand.GRUENDE). Bench scene "Sackgasse". Logs dungeon: anleitung | vage | zu wenig, | vage | hohl. Stall hint (anleiten.progress): progress = a new place, a thread new or closed, a new thing, an act done, a fight begins or ends. Without progress after WINK turns (Beginner 1, Normal 2, Experienced never) stage 1 (wink 1: show something tangible), then stage 2 (an event of the table stillstand, mild at the children's table, rolled by the panel), then a fixed line "Tipp: Ihr könnt mit Grimma sprechen oder nach Norden gehen."; then from the start. Way out: after a failed knowledge check the buttons start with another way to the same goal. Logs dungeon: anleitung | wink | 2, | ausweg | 1. Clues: every act has up to three clues to the turning point (spuren, 5 to 100 characters, check_plan; planner field "Clues to the turning point", the 50 shipped stories two each). The next clue not shown is in the facts (anleiten.clue_facts); when the narration names most of its words it counts as shown (anleiten.seen, rd["spuren"]) and as progress. Clues not shown are secret, a way naming one is dropped. The host sees ✓ or 🔎. Log dungeon: anleitung | spur | 1/2. Live: vague, hints per stage, ways out, clues.

AI Dungeon Master: guide the players, narration form and buttons: On with the game, no switch of its own (Features → AI Dungeon Master). Narration form (dungeon_anleiten.py): first the deeds' effects, then what is to be seen, at least two named points (person, thing, way) from facts or narration, at the end a concrete choice for one figure, never "What do you do?"; a model narration per world (welten[].anleiten). Whoever is silent for STILL turns gets a question from the scene's data, never the model's words ("Bela, do you talk to Grimma, or do you go north?"). Buttons "What you can do here" for every seat without an action, from data only (anleiten.buttons): the narrator's checked ways, points from dungeon_rueckfrage.points, healing below half life, a thing, an open thread; a tap fills the action field. From the model (wege) the panel takes at most MODELL_WEGE = 2 short ways with a doing word, no refused word and no knowledge of later acts, the turning point or secrets (anleiten.check_ways). Level per round in the game master console under Narrator (erzaehler with anleitung): Beginner four buttons with the likely value (WURF), read aloud in the car; Normal three (default); Experienced none. In the car: "What can I do?", the CarPlay list "What you can do here", "the first". Logs dungeon: anleitung | frage | 2, | frage | zu wenig, | zeile | 2, | knopf genommen, | weg | 2, | weg verworfen | geheim 1, | stufe | einsteiger. Live: questions, lines, buttons taken, ways.

AI Dungeon Master: time of day by the panel: On with the game, no switch of its own (Features → AI Dungeon Master; idea from LlamaTale, LGPL-3.0, own code). The panel sets the time of day (dungeon_tageszeit.py): an even half calendar day is morning and day, an odd one evening and night, ZUEGE = 6 turns each; after twelve turns the calendar runs half a day on (kalender.weiter "zeit"), silently if need be. A long rest and the inn end at the next morning. At night: smith, lesson, improving, healer and merchant shut (tageszeit.LADEN_ZU, "🌙 Shut at night"), inn, rumour, companions open; outdoors (not vault, not settlement) checks at a disadvantage without darkvision and without a light in the group; night foes preferred (nacht: true). The narrator gets the time of day and after a change tageszeit_neu; its szene.tageszeit does not count. Display "🌇 Evening · 4 turns left". Logs dungeon: tageszeit | nacht | panel, | zu | lehre, | dunkel. Live: changes, dark checks, shops shut. Without the switch the narrator reports the time of day (only forward).

AI Dungeon Master: night foes in the SRD catalog: 76 foes in app/panel/dungeon_srd.json carry "nacht": true (undead, lycanthropes, wolves, spiders, light-shy peoples, nightmare, plus bandits and spies and own night creatures of horror, sci-fi and pirates), on every level from 0 to 15. In every world at least 5 fit the budget of one hero of level 1 to 3. Self-test test_dungeon_srd (test_nacht_gegner_je_welt_und_stufe).

AI Dungeon Master: runes and runewords in the catalog: In play they work under "Runes and sockets". app/panel/dungeon_srd.json carries 13 runes (runen, rank 1 to 13, historical names Uruz to Tiwaz) with meaning, price (20 to 1500 gold) and effect per place waffe, ruestung, schild (null = not possible) and 7 runewords (runenwoerter, such as Ember, Daybreak) with a fixed rune order, place (waffe, koerper, nebenhand, kopf), number of sockets, minimum level and extra effect. Allowed keys: treffer, schaden (1 to 2, weapon only), effekt, werte with bonus 1, leben, widerstand, rabatt, gold, heiltrank, rk, schutz. app/panel/dungeon_runen.py checks both in dungeon.check_rules (ids, ranks without a gap, prices up to "epic", runewords possible, sockets = number of runes, no sequence twice). Self-test test_dungeon_srd (test_runen_und_runenwoerter).

AI Dungeon Master: occupations in both forms, looks only outward: Each of the 61 occupations in nsc_beruf names besides t the forms m and w (Heiler/Heilerin, Bergmann/Bergfrau …), fitting the fixed gender; "Bord-KI" (ship AI) is no person's occupation. nsc_aussehen describes only the outside, behaviour stands in nsc_art (absent-minded, nervous, eccentric …). dungeon_tabellen.check_rules requires m and w only on occupations (FORMEN) and refuses in "Looks" the words of AUSSEHEN_NICHT. Self-test test_dungeon_srd (test_berufe_mit_formen_und_aussehen_nur_aeusseres).

AI Dungeon Master: what a foe is, companions with gender and age, fixed looks: Each of the 268 foes in app/panel/dungeon_srd.json carries wesen: mensch, humanoid, riese, tier, untot, konstrukt, drache, unhold, elementar, fee, himmlisch, pflanze, schleim, aberration or monstrum – the one source for it (app/panel/dungeon_bestiarium.py: WESEN, wesen(g), check in dungeon.check_rules; an admin's own foes may leave it out). Companions (ideen.gefaehrten, gefaehrten_kinder) carry geschlecht, alter (jung, mittel, alt; never a child) and art (mensch, tier, maschine), required by dungeon_ideen.check_rules. Look tables nsc_haar (15), nsc_augen (7), nsc_bart (10, men from young on only) and nsc_statur (12); hair, eyes and beard name their colour as a fixed word (farbe: rot, braun, schwarz, grau, weiss, blau, gruen), so the look check recognises it (FARBE, allowed only there). Five foes are "friedlich": true (commoner, unicorn, couatl, young silver dragon, giant seahorse) and never foes (dungeon_bestiarium.friedlich). Self-test test_dungeon_srd (test_wesen_und_gefaehrten).

AI Dungeon Master: the foes' saving throws: 1. Spells with a saving throw (rettung, 44, such as Fireball, Sleep): in a fight the panel rolls for the foe d20 + its bestiary value bonus against 10 + proficiency bonus + the caster's value + the spell's bonus above the blessing (kampf.ZAUBER_SG, kampf.spell_save; 10 instead of D&D's 8, since a save knows no crit and no advantage); a 20 always passes, a 1 never. Failed: full damage and the condition (zustand) for its turns; passed: with halb half damage, else nothing. Log dungeon: kampf | rettung gegner | geschafft / nicht geschafft, row "saving throw Wisdom = 3 vs DC 15 · failed". 2. Banishing spells without damage, with a save and a condition (kampf.bann, 13: Sleep, Entangle, Hold Person, Command, Fear …) act on a foe and cost a charge, with no blessing for the caster; control spells without a save (Counterspell, Bane, Slow, Polymorph, Confusion) do not work in a fight and cost nothing. 3. Spells with the target "verbuendeter" (10, such as Healing Word) act on the hero named exactly (dungeon.friend), else on the caster, never on the dead or unconscious. Rules page: "Foe's saving throw", "Condition on the foe". 4. When a foe's hit causes a condition, the hero rolls against the bestiary's sg (10 to 19), without one against 10 + a quarter of the foe's level.

AI Dungeon Master: scrolls, order and targets in a fight: 1. A damage scroll (Fireball, Ice Lance, Chain Lightning) makes the next attack in this or the next turn that spell, once (h["rolle"], logs dungeon: rolle | bereit, dungeon: kampf | rolle | angriff); unused it lapses. 2. First all heroes act, then all foes, no initiative; healing and blessings (cast_powers) come before the hits (consequences). 3. Several fitting foes: whole name, then kind (end of the name: "Ratte" is the giant rat), then start; among the same kind the one with the least life. 4. Experience: see "reward per hero". 5. Milder than 5e on purpose: no "massive damage", damage while down is no failed death save; foes do not attack heroes on the ground.

AI Dungeon Master: saving throws, conditions and DCs in the SRD catalog: Data in app/panel/dungeon_srd.json following SRD 5.2.1 (CC-BY-4.0). 1. 18 damageless spells against foes carry rettung: {"wert": …}, 13 of them a zustand (Sleep unconscious, Hold person paralysed, Fear frightened, Command prone …); Bane, Slow, Confusion, Polymorph, Faerie fire only the save. 2. 22 damage spells carry rettung, 17 of them "halb": true; without halb (Sacred flame, Acid splash …) a success means no damage; spells with an attack roll and smites have no save. 3. Revivify, Raise dead, Cure wounds, Healing word, Restoration, Death ward, Remove curse, Heroism carry ziel: verbuendeter (dungeon.ZIELE). 4. Each of the 268 foes carries sg: 89 from the SRD stat block, 179 by 8 + proficiency bonus + best modifier (mental conditions with Int, Wis, Cha). 5. Guard: schaden_art: stich. Self-test test_dungeon_srd (test_rettung_zustand_halb_und_sg).

AI Dungeon Master: blessings, armour and flight: 1. Per value only the highest blessing counts (dungeon.blessing); the same blessing again only renews its turns. Concentration: a new blessing spell ends the same caster's last blessing on everyone (dungeon._cast, dungeon: segen | konzentration | N beendet); others' blessings, potions and altars stay. In a spell attack the spell's bonus counts only above the blessing present. 2. dungeon.body gives the body's value: score bonus and blessing less a wound, if asked with worn items (never weapons), without abilities and lessons (those count only for checks, dungeon.total). Armour class: Dexterity with items up to the armour's cap, a blessing on Dexterity beyond it too. Damage: score bonus and blessing without item values. 3. Flight: fixed words (kampf.FLUCHT_WORTE) make an action a flight, an attack word wins. When more than half of those able to act flee, each rolls the panel's Dexterity check against max(10, 8 + the strongest foe's level) (FLUCHT_SG, kampf.escape); if at least half pass, the fight ends with "flucht" (kampf | flucht | entkommen / gestellt). Else they stay words (| keine mehrheit); the model's kampf_ende "flucht" alone ends nothing (| ohne probe). No check XP.

AI Dungeon Master: combat word boundaries: 1. Every word in NICHT_ANGRIFF ends at a word boundary, "Ich greife Nachtmahr an" hits exactly that foe; a self-test attacks every bestiary foe without an article (eight German, five English verbs). 2. Attacks also include "schlage dich nieder", "trete ein paar Mal nach", "Gebt Feuer auf die Wache"; no attacks: "Ich haue ab", "schlage Alarm", "trete die Tür ein", "Ich trete ein", "I hit the road", "I strike a deal". 3. The panel drops checks for heroes at 0 life, unconscious or dead (dungeon: probe | verworfen | zustand), no check XP.

AI Dungeon Master: attack, peace and bench in a fight: 1. NICHT_ANGRIFF also knows "trete zur Seite / zurück …", "schlage vor", "werfe der Wache einen Blick zu", "step back", "retreat", "suggest" and more; "Ich trete die Wache" stays an attack. 2. Only the action's words decide whether it attacks; the model's ziel only picks the foe of a recognised attack. 3. Peace: one Charisma check per fight (kampf.frieden, else dungeon: kampf | frieden | schon versucht), no check EP, success gives half the fight EP. 4. With a spell from KONTROLLE the panel drops the model's check (dungeon: probe | kampf | kontrolle verworfen). 5. Whoever is down, unconscious or dead never attacks (attacks checks zustand). 6. The bench attacks with an attack action and starts every turn without old actions. Self-tests Fight.test_kampf_angriffswoerter_tabelle, test_kampf_modellziel_allein_kein_angriff, test_kampf_frieden_einmal_je_kampf_ohne_proben_ep.

AI Dungeon Master: telling richly: The task names a minimum length per way of telling (dungeon.WEISE_MIN: brief none, normal 500, rich 1000 characters, always 300 below the upper limit, erz_min) and a style sentence (WEISE_STIL: rich several paragraphs with senses and a moment per hero, brief a few clear sentences). For "rich" a narration too short is told once again (dungeon_erzaehler.judge, fault knapp, log dungeon: nachbessern | knapp, | bleibt | knapp). Self-test Fight.test_longer_at_the_moments_and_the_rounds_way_of_telling.

AI Dungeon Master: heroes comment: Admin switch Features → AI Dungeon Master → Second check by the model (chat.dungeon_pruefung, off from the start; dungeon_kommentar.py). In helden_sagen the narrator gives every acting hero a short line in its own words about its deed. Fixed check: only heroes who acted (not ooc, not down), one line per hero, up to 120 characters, no number, no word-list word, no first-person deed, no deciding word. Shown as "💬 name" under the narration (helden in the log), read aloud in the hero's voice after the narration, after the players' quotes. What a hero does only its player writes. In the app too. Log dungeon: kommentar | N gesagt | M verworfen. Self-test Turns.test_heroes_comment_on_their_own_deeds.

AI Dungeon Master: fixed checks of the narration, each with a rescue: After every turn the panel checks with fixed word lists, never the model, besides names, checks, foes, receipts, veils, places, things and repetition also: fallen foes do not act, standing ones do not die without a hit (gefallen); what the character does not have or cannot do does not work (“… does not carry that”, fehlt); only the panel sets amounts of gold and loot (gold); who did not act decides nothing (fremd); hair, eye, beard colour follow the NPC card (aussehen); the time of day only goes forward (“tageszeit | verworfen”). On a fault: a new try with a hint; when the last fails too, the panel strikes sentences, takes speech from people elsewhere or sets fixed sentences (“waits to see”). Log “nachbessern | fest” or “| bleibt”; Live counts rescues, missing things, dropped times of day.

AI Dungeon Master: game master console as cards: On top “▶ Go on now” with one chip per hero (✓ acted). Below four cards: “Turn” (pause, market, behind “⋯” end chapter or round, asking again), “At the table” (read aloud, scene picture, invite, switch “Last sentence in the mail”), “Narrator” (way of telling brief, normal, rich; voice with sample and change), “Difficulty” (combat stage easy to deadly, game master dial “hold” with a danger bar). At the bottom “Only for you” with tabs story, truth, things, random rules, oracle. On the phone one below the other. Every button sends a request the panel checks. The D&D idea tables under “ideen” in dungeon_srd.json are checked by dungeon_ideen.check_rules: critical tables, fumbles (d12, states from the list, 1 to 3 turns), landscapes with night watches (d20) and travel events, question cards, travel roles, scars (d20, at most −1) and the saying per foe (sage).

AI Dungeon Master: tables of the D&D ideas: Under "ideen" in dungeon_srd.json, checked by dungeon_ideen.check_rules, all our own texts (templates darker-dungeons CC BY-NC-ND, VoloBot, rpg-card only as ideas). Critical: 12 rows per damage kind (d12), 1 to 4 narration only, else a condition for 1 to 3 turns (incapacitated, paralysed, stunned, unconscious only 1). Fumbles: melee, ranged, spell, 12 mild rows each, a condition only for the fumbler. Landscapes: 13 (fallback "weg", "huegel", "gras") with night watches d20 and 8 travel events. Campfire: 12 general questions and 12 per world. Travel roles: scout, hunter, watch, pathfinder. Scars: d20, 1 to 4 with −1 on a value until a healer; at the children's table only plasters; 8 tavern lines. Legend: every one of the 268 foes, at most 200 characters per language, for the monster album. Self-tests test_jeder_gegner_hat_eine_sage, test_ideen_tabellen_und_sagen (no children's-tone word).

AI Dungeon Master: the table on the phone: Head in one row (title, turn, 🔊, “⋯”); under “⋯” “← Rounds”, “How to play”, light/dark, “Full screen”, music and sounds, for the host the game master console; the table uses the whole width. Fight as a box with a row per foe, the encounter as a line, a tap shows every value. The action field stands in Story, Group, Hero and Map above the bottom bar with “● Your turn”. Group as a list with life bars; the “Hero” pane with armour class, row “Quick” (potion, abilities, spells, weapon; the panel checks the sentence as if typed) and bag. The guide starts as a card “How it works”. In the iPhone app there is no “Full screen”, guests without a profile see no Spark row. A failed knowledge check gives nothing away: when the narration still names a direction, trail or find, it is retold or struck. Plain going has no check. Repeated scene sentences are struck by the panel. Security: display only, every action through the panel's checks; “&app=1” only changes the view.

AI Dungeon Master: factions with clocks: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_fraktionen.py). Every group of the truth (wahrheit.gruppen) becomes a faction with a clock of 4, 6 or 8 fields, at most FRAKTIONEN_MAX (6). After every turn a d6 per clock, from UHR_WURF (5) one field. The narration reports up to 2 groups in fraktionen (hilft/stoert); the panel turns only when the name is in the text, once per group and turn. Full clock = goal reached: feed (and chronicle), fraktion_voll once to the narration, the group holds its place on the map (dungeon_fraktionen.occupied). Visibility: "⏳ Factions" shows the clocks of named groups, never goals; the host sees all with goals (fraktionen_geheim, dungeon_sicht.NUR_GASTGEBER, secret "fraktion_ziel"), adds, changes, turns (−/+) or removes (POST /api/profile/dungeon/{rid}/fraktion with name, will, felder, schritt, weg; host only, fixed values). Factions go on into the next chapter. Live: Status → Live counts factions, full clocks, fields turned. Self-test test_factions_with_clocks_turned_by_fixed_rules.

AI Dungeon Master: combat stages easy to deadly: A tool of the game master console, no switch of its own (Features → AI Dungeon Master; dungeon_kampf.STUFEN). The host picks at "⚔ Combat stage" Easy, Medium, Hard or Deadly (POST /api/profile/dungeon/{rid}/erzaehler with kampfstufe, host only, list value only). Medium = the measured BUDGET (70 to 90 wins in 100); Easy and Hard by the ratio of the SRD 5.2.1 table (budget, CC-BY-4.0) averaged over the heroes' levels; Deadly = Hard times TOEDLICH (1.5); without the table STUFE_OHNE (0.67 and 1.4). Works from the next encounter with the children's table and the dial; the danger shown measures against Medium. dungeon_kampf.check_rules checks the table. Live counts rounds with an own stage. Self-test test_combat_stages_by_the_srd_table.

AI Dungeon Master: foes, spells and combat budget from the SRD 5.2.1: The catalog holds 44 foes (such as goblin warrior, pegasus, werebear, young dragons, giants, roc, pirate, scout, guard captain) and 30 spells (such as cure wounds, guiding bolt, moonbeam) from the SRD 5.2.1 (CC-BY-4.0), with damage type, resistance, immunity, boss and multiattack. 21 of them that fight harder than their challenge rating have ep one to three steps higher, so "medium" stays at 70 to 90 % wins (test_the_aim_at_medium_for_every_level_and_group). The table budget comes from the SRD 5.2.1. Children's tone: no name or text in the catalog holds a word of the children's tone list (hence e.g. "giant gnat", "Dragon's ember", condition "wounded"). Self-tests test_budget_aus_dem_srd_521, test_kinderton_im_katalog. Attribution: This work includes material from the System Reference Document 5.2.1 ("SRD 5.2.1") by Wizards of the Coast LLC, available at https://www.dndbeyond.com/srd. The SRD 5.2.1 is licensed under the Creative Commons Attribution 4.0 International License, available at https://creativecommons.org/licenses/by/4.0/legalcode.

AI Dungeon Master: NPC goals: On with the game, no switch of its own (Features → AI Dungeon Master, dungeon_nsc.py; idea from NarrativeEngine-P, MIT). Every person has six traits (WESEN: brave/fearful, honest/sly, kind/gruff, generous/stingy, calm/hot-headed, loyal/fickle; each 2d4−5, −3 to +3) and goals on three levels (EBENEN): today (2 steps), soon (4, from the truth or the wish table), in life (6). After every turn a d6 per person: from ZIEL_WURF (5) one step, brave (2 or more) from ZIEL_MUTIG (4). Reached: the chronicle says only "Oskar has reached a goal.", the content only as data (nsc_ziel_erreicht), then a new goal for today. The model gets traits as words and the open goals; only the host sees them in "👥 People and chronicle" (nsc_ziele host and model only). Live counts steps and goals reached. Self-test test_npc_traits_and_goals_move_between_turns.

AI Dungeon Master: NPC memory, chronicle and reputation: On with the game, no switch of its own (Features → AI Dungeon Master; dungeon_nsc.py, dungeon_tabellen.py; ideas from loreweaver and NarrativeEngine-P, MIT). Every person of the truth gets a rolled card (looks, manner, occupation, wish, secret), an attitude per hero (−3 hostile to +3 devoted) and up to KANTEN_MAX (4) relations (owes, fears, likes, knows about). The model only reports changes (nsc, at most AENDERUNGEN_MAX = 3); an attitude counts only when person and hero are in the text, one step per hero and turn. Feed: "🤝 Oskar is now friendly towards Arvid."; relations only the host sees. Only the scene's people go to the model in full (nsc_szene: at the place, travelling along or named in the last SZENE_ZUEGE (2) turns), others by name only (nsc_fern), plus NAMEN_VORSCHLAG (3) free names (freie_namen). Chronicle: fixed events (meetings, wins, fallen, levels, threads, acts, chapter end, attitude ±3), at most CHRONIK_MAX (40) lines, the last CHRONIK_FAKTEN (6) for the model. Reputation = mean attitude (notorious to celebrated). Everything goes on into the next chapter. "👥 People and chronicle" shows people met, reputation and chronicle; the host also wish, secret, relations and those not met (nsc_geheim, host and model only). Live counts cards, chronicle lines, changes. Self-tests test_npc_memory_cards_attitudes_and_chronicle, test_every_secret_stays_with_its_viewers.

AI Dungeon Master: the same face for NPCs: Admin switch Features → AI Dungeon Master → Pictures and hero song (chat.dungeon_bilder, off from the start; dungeon_gesicht.py; idea from Project_Infinity, MIT); works only with "NPC memory and chronicle" and the host's "Painting pictures". Every person met with a card gets a portrait once, painted by the minute loop (dungeon_dingbild.due) within the daily limit, the voice comes first. The prompt has only fixed parts (world style, age and gender from dungeon_stimmen, the card, fixed lists), never model text or the name (dungeon.picture_text); whoever has not spoken waits WARTE_ZUEGE (2) turns. Scene pictures (dungeon.queue_scene) take up to VORLAGEN (2) portraits as references (bilder.paint with refs): first people of the last narration, then an acting hero; a little slower on tars. "👥 People and chronicle" shows the faces, the feed small next to speech lines. "↻ Paint the face again" (POST /api/profile/dungeon/{rid}/gesicht with name, host only, rate limit dungeonbild, daily limit); the old picture stays until the new one. The portrait goes on into the next chapter (rd["nsc"][name]["gesicht"]), orphans go with the hourly sweep. Fetch (nsc-<hash>) only for seats of a round that names it (dungeon_gesicht.may_see). The apps show it through the panel view. Live: faces, painted, not come, scenes with a reference. Logs dungeon: gesicht | ok | 41000 ms, | abgelehnt | tag, | neu malen, | aufgeraeumt | 2 bilder. Self-tests test_dungeon_gesicht.

AI Dungeon Master: arms for group and factions: Admin switch Features → AI Dungeon Master → Pictures and hero song (chat.dungeon_bilder, off from the start; dungeon_wappen.py, dungeonwappen.js). The panel draws every coat of arms itself as SVG without a picture model from a start value: shield shape (5), division (10), two tinctures by the rule metal next to colour, a charge of 16 own drawings. The group's arms hang on the campaign (else the round); the host chooses in the "Factions" window through "Choose colour and charge" ("?" = chance). Kept in users/<id>/dungeon-wappen.json (at most 50, orphans go with the hourly sweep). Every faction has arms from its name. Security: codes only from fixed lists; svg(code) builds and checks (check, defusedxml): only ERLAUBT, no scripts, links, style, only internal references; shown only as a picture with a data: address. Visibility: every seat gets in wappen the group's arms and the factions it sees, the host all and the choice. Helpers gruppe(rd), fraktion(rd, name), svg(code), in the page dmWappen, dmWappenFr, dmWappenGruppe, dmWappenHref. Endpoint POST /api/profile/dungeon/{rid}/wappen (login, browser_profile with CSRF, size limit dungeon.BODY, rate limit dungeon, host of a running round only). Logs dungeon: wappen | gewaehlt | eigen/zufall, | abgelehnt | aus/wert, | aufgeraeumt | N wahlen; Live: rounds with arms, chosen, refused. Licence: structure after Azgaar/Armoria (MIT, https://github.com/Azgaar/Armoria); code and drawings our own, nothing from WappenWiki (CC BY-NC). Self-tests test_dungeon_wappen.

AI Dungeon Master: NPC tables, name syllables and oracle in the catalog (data): 15 fixed tables (tabellen) give randomness by fixed rules: for side characters looks, manner, wish, secret and occupation, for the oracle action, theme, place, descriptor, plot twist, complication, clue, peril, opportunity and settlement trouble. Rows can apply to single worlds only (eye patch for pirates, implants for sci-fi); each table has at least 6 rows per world. Name syllables (namensilben, not silben: those are the map's place names) per people and for sci-fi and pirates build names from start, middle and end (method like Syllabore, own syllables). The oracle rows and many NPC rows are translated from Datasworn, only from tables under CC-BY-4.0, reworded to be family-friendly. Attribution: This work is based on Ironsworn, Ironsworn: Delve and Ironsworn: Starforged (found at www.ironswornrpg.com), created by Shawn Tomkin, and licensed for our use under the Creative Commons Attribution 4.0 International license. Self-test test_dungeon_srd: at least 6 rows per world, syllables for every people, attribution in file and docs.

AI Dungeon Master: the host's random rules (idea from AnyWorld, MIT, own code): A tool of the game master console, no switch of its own (Features → AI Dungeon Master; dungeon_zufall.py). In the game master console under "🎲 Random rules" only the host gives the round up to ZUFALL_MAX (5) rules (POST /api/profile/dungeon/{rid}/zufall): a name, a chance in percent, a trigger (every told turn, a fight starts, a new place), an effect (damage or healing 1 to 6, gold won or lost 1 to 50, a hint for the narration) and one roll for all or one per hero. The round's word list checks name and hint. On the trigger the panel rolls a d100 (a hit at or below the chance), applies the effect by its own rules (damage and healing like every consequence, gold never below 0 and never above the most) and writes every roll into the feed. The model only hears a hit's hint as data (zufall), never the rules; only the host sees them (dungeon_sicht: zufall host only, zufall_hinweis model only). Live: Status → Live counts random rules and per day hits and misses. Self-test test_the_hosts_random_rules in test_dungeon.

AI Dungeon Master: lines, veils and the X-card: On with the game, no switch of its own (Features → AI Dungeon Master, dungeon_grenzen.py), on from the start as protection (features.DEFAULT_ON). Lines and veils: under "🛡 Lines" next to the hero sheet every seat sets what never appears (lines) and what is only hinted at (veils), up to GRENZEN_MAX (8) short words each, comma-separated (POST /api/profile/dungeon/{rid}/grenzen, guests POST /api/dungeon/grenzen). The table sees all words together, never whose they are. A line counts like a word of the word list (dungeon.bad_words): the panel refuses an action with it; a narration, NPC line or name with it is thrown away and told again. A veil may stand only once in a narration; more often is the fault "schleier" (dungeon_erzaehler.judge), the model retells with a fixed hint, on the last try the panel strikes further sentences with the veil (dungeon_grenzen.cut). The model gets both lists only as data (grenzen with nie and nur_andeuten) plus the fixed rule GRENZEN_REGEL, never as an instruction; the repair hint does not name them either. X-card: "✖ X-card" says with one tap, without reason or name: that was too much. The feed only says "Someone laid the X-card."; reading of this turn stops on every device, the model tells the last scene again more calmly (dungeon_grenzen.retell, the old scene only as data), checked by the same word lists, else a fixed sentence fades out; the scene's pictures and sound pieces go, and the next X_ZUEGE (3) narrations lead away from it. At most one X-card a minute per round, not while a narration is being made. Live: Status → Live counts seats with lines or veils, retellings running and per day lines set, X-cards laid and repairs for a veil. "How to play" has a page "Lines and X-card". Self-test test_lines_veils_and_the_x_card in test_dungeon. View filter (idea from loreweaver, MIT, own code): every secret of a round stands once in dungeon_sicht.GEHEIM with its viewers: the host, another seat (guest, TV and app show a seat's view), the car and the language model. The hidden truth, the story's plan, the things' features and a foe's life as a number are seen only by host and model; a seat's open action only by itself and the model; a question outside the game only by its own seat; the table talk only by the seats, never the model; a seat's key and device by nobody. sicht(doc, betrachter) is the last step of every view of the table (dungeon.view). The self-test test_every_secret_stays_with_its_viewers plants a marker in each secret and looks for it in every viewer's view (dungeon_sicht.docs): it stands exactly where GEHEIM allows. A new secret joins in the same commit. Scribe check (idea from loreweaver, MIT, own code): Admin switch Features → AI Dungeon Master → Second check by the model (chat.dungeon_pruefung, off from the start: one more model call each turn; dungeon_schreiber.py). After every told turn a small second call reads the narration (only as data) and proposes up to VORSCHLAG_MAX (6) changes not yet counted. The panel takes by fixed limits at most NEHMEN_MAX (4) a turn, once a turn: gold only when number and a gold word stand in the narration, at most GOLD_JE_STUFE (10) times the level and not when the panel already gave this hero gold; a thing only from the ground, when it stands in the narration and fits the bag; life never in a fight (the dice count there), at most LEBEN_MAX (3) and never down to 0; the place only without a map; a person only new and with the round's truth. The hero must stand by name in the narration. Every proposal writes a log line ("angenommen" or "verworfen" with its reason), every one taken a line "📜 Noted" in the feed. Status → Live counts those taken and dropped per day. Self-test test_the_scribe_proposes_and_the_panel_takes_by_fixed_limits.

AI Dungeon Master: a settlement with life: The "🏘 Settlement" window shows the place's picture on top (day or night) with its name, the time of day and gold: one's own large, the group's only to look at, since everyone pays from their own gold. Every service is a card with its picture (its sign until painted), a line of life from fixed lists per world (never the model's), the calculation small above (for example "10 × level 2 × 4 heroes = 80 gold") and a button with a verb: stay the night, mend, listen, improve. What one's own gold does not cover is grey with "N gold short"; a service not possible right now (already slept, nothing broken) is pale. The lesson shows the six values as a 3 × 2 grid with before → after (for example STR +3 → +4), the price once below. The view (dungeon_gold.view) brings tageszeit, gold_gruppe, stufe, helden and per service je (gold per level). Self-tests test_gold_with_a_purpose_in_a_settlement and test_hero_sheet_merchant_and_item_windows (three widths, grey without gold). Without "Gold with a purpose" everything stays off.

AI Dungeon Master: economy (bench, smith, oils): Economy on the bench: the balance bench (Features → AI Dungeon Master → Test benches) runs 200 runs of a group of four per level with the real finds, prices and services (dungeon_pruefstand.economy): fights up to the next level from the budget, a chest every three fights, a reward, a boss in every second run, a merchant every four fights with its purse. It shows a hero's income (median and worst tenth), spending (inn, healing potions, rumours, smith), the ratio and the dearest single find. The aim is a ratio of 1.2 to 2 (WIRTSCHAFT); when a level lies outside, the log writes "stufen wirtschaft ausserhalb". Gold keeps its worth: the inn costs 10 gold times the level per hero. In a settlement the smith improves a weapon or armour without a fixed rarity by one step up to "epic" (dungeon_gold.better), never a legend; the price is the piece's full worth afterwards (better_price), from "rare" on with an effect. Oils: a flask with oel (a damage kind other than slashing, piercing and bludgeoning) goes from the bag with "On the weapon" onto the main-hand weapon: the next 3 hits (OEL_TREFFER) do +1d6 of that kind; without a weapon nothing is used up, an oil is never drunk. The item shows "Oil: … N hits left". Effects: thundering (thunder), corroding (acid) and withering (necrotic) burn like fire, each with its own kind. Self-tests test_the_economy_keeps_its_aim, test_gold_with_a_purpose_in_a_settlement, test_an_oil_on_the_weapon_for_three_hits, test_weapon_effects_for_thunder_acid_and_withering, test_every_common_kind_of_attack_has_its_protection (in every world each kind other than slashing, piercing and bludgeoning that at least five foes attack with has a protection thing there).

AI Dungeon Master: oils in the SRD catalogue: five flasks with oel in dungeon_srd.json: thunder oil (thunder), lightning oil (lightning), fire oil (fire), frost oil (cold) and blessed oil (radiant), 25 gold each, common, in every world. So in every world a hero has a weapon of that kind or an oil against a weakness to thunder, lightning, fire or cold. Self-tests test_schutz_nur_aus_der_liste (an oil is a potion with a kind other than slashing, piercing and bludgeoning) and test_jede_welt_trifft_donner_blitz_feuer_kaelte.

AI Dungeon Master: coins, merchants and find table: Coins: a foe gives the group 5 to 15 gold times the level; coins are the main income. Merchants with a kind: every merchant is a smith (weapons, armour), an alchemist (potions, spells) or a trader (jewellery, tools, scrolls, treasures) (HAENDLER) and sells only its kind. It pays half the worth for its kind, a quarter for anything else and for unknown things (sell_price). Its purse holds 50 gold times the group's level per visit (KASSE); heroes' purchases fill it; when empty it refuses with its own sentence. The merchant's window names its kind, what it takes for half the worth and the purse. Find table: a find's rarity comes from a fixed table per level (fundtabelle in the rules, find_row, NIE = never). From a foe no rarity from "uncommon" to "epic" gets rarer with the level; legendary things come from level 5 on only from bosses, at most 10 in 100, not from chests and rewards. Under Rules each rarity shows the level from which it occurs. The balance bench equips its groups by a fixed assumption per level (GEAR_SELTEN), so a new find table does not move the aim by itself. Self-tests test_the_find_table_keeps_its_promises, test_a_merchant_of_a_kind_with_a_purse.

AI Dungeon Master: prices, treasures, potions: One price rule (dungeon.price): the art's base price (or the thing's own) times the rarity's factor; a thing with a fixed rarity and its own price already has its final price and is not multiplied again. Every price lies within the band of its rarity (PREISBAND: common up to 50, uncommon up to 250, rare up to 1000, epic up to 4000); legendary things have no price and cannot be sold. Gear without a fixed rarity (plate armour, breastplate, dragon armour, elven bow, greatsword and others) costs at most 50. The "medium" encounters at level 1 and 2 are a little bigger for it (kampf.BUDGET 95 and 150); the balance bench holds 70 to 90 per cent. Treasures by level: a treasure has a class instead of a price (klasse, SCHATZ: small 10, medium 25, large 60 gold) times the group's level when found (it["st"]); large treasures only from chests and bosses (SCHATZ_GROSS). Potions and scrolls by strength: a healing potion costs 2 gold per life healed (HEIL_GOLD), a spell scroll 25 × (grade + 1) (ROLLE_GOLD); a hero starts with 25 gold. Under Rules → Items a fixed rarity shows its final price or "not for sale". Self-test test_every_price_lies_in_its_band.

AI Dungeon Master: prices, treasures, weapons and protection in the SRD catalog (data): Every own price lies within the band of its rarity (common up to 50, uncommon up to 250, rare up to 1000, epic up to 4000). Legendary things like the vorpal sword or dwarven plate have no price and cannot be sold. Gear without a fixed rarity costs at most 50 (musket, laser weapons, combat suit, hacking module), so it gets no bonus. Each of the 38 treasures has a class (klasse: small, medium, large); the panel computes its value from the class and the group's level. 24 SRD spells carry their damage type (fire bolt fire, thunderwave thunder, vampiric touch necrotic). 12 weapons close gaps: thunder hammer and storm spear (fantasy), bell mace (horror), shock baton, arc thrower and sonic cannon (sci-fi), blunderbuss, eel harpoon and storm sabre (pirates), flame sword, frost dagger and pitch torch. 18 protection things (widerstand) halve one type, never more: 7 rings (fire, cold, lightning, poison, necrotic, psychic, acid), 6 potions for 10 turns, shield belt against force (sci-fi), amulet of the living light against necrotic (horror, pirates), salamander cloak, heat suit and coral helm; the potion of resistance protects against fire, cold and poison. Self-test test_dungeon_srd: prices within the band, treasures with a class, protection only from the list of damage types.

AI Dungeon Master: damage kinds: Spells with their own kind: 31 damage spells have schaden_art (Fire bolt, Fireball, Burning hands … 🔥 fire, Ray of frost, Ice lance, Cone of cold ❄️ cold, Shocking grasp, Lightning bolt, Chain lightning ⚡ lightning, Thunderwave, Thunderous smite 💥 thunder, Sacred flame, Divine favour ☀️ radiant, Poison spray, Stinking cloud, Cloudkill 🐍 poison, Life drain, Vampiric touch 🌑 necrotic, Eldritch blast, Magic missile, Spiritual weapon ✨ force). A spell without damage (Shield, Bless, Sleep …) does not attack, it stays a check. The item card shows the kind. Magic against resistance: a weapon with a bonus of +1 or more and every spell go through a resistance to slashing, piercing and bludgeoning (kampf.against, KOERPER), not through an immunity or other kinds. Protection for heroes: armour, jewellery and potions can have widerstand (WIDERSTAND_ARTEN); worn or drunk it halves a foe's hit of that kind (resists, consequences), a potion for SCHUTZ_ZUEGE = 10 told turns (h["schutz"]). In the catalog: Ring of frost ward, Ring of fire ward, Ring of grounding (lightning and thunder), Amulet of vitality (necrotic and poison), Potion of fire resistance, Potion of cold resistance, Antitoxin (poison and acid). The hero sheet shows 🛡 with the kinds, the feed "halved". Found out first: at the table a foe's card shows only what the group found out (kampf.known, rd["kennt"]): a hit with "double", "halved" or "no effect" reveals that kind, a passed Intelligence check in a fight (KENNER) everything of the foes in the fight; the rest shows as "❔ still unknown". The bestiary under Rules shows everything. Coverage: test_every_common_weakness_has_its_weapons checks per world: against every weakness at least three foes there have, there are at least two weapons, spells or a weapon effect of that kind. Time of day: the narrator reports szene.tageszeit (morgen, tag, abend, nacht); the panel keeps it in rd["tageszeit"] and gives it back in the facts, the stage picks the day or night picture by it. Balance: the "medium" encounters are a little bigger at level 4, 5, 7 and 8 (kampf.BUDGET 380, 450, 950, 1000), the balance bench holds 70 to 90 per cent; its casters take only spells with a damage kind. Nothing jumps: on a big screen the hero sheet has a fixed height (at most 900 pixels), the filters under "What I can do" change only its content; the group and the right column keep their scroll place when the table repaints (dmColKeep); self-test in test_hero_sheet_merchant_and_item_windows. Status → Live counts foes found out and hits halved by resistance. "How to play" explains it under "Damage kinds". Self-tests test_damage_kinds_of_spells_weapons_and_heroes, test_every_common_weakness_has_its_weapons, test_the_time_of_day_by_the_narrator.

AI Dungeon Master: game mails in the Dungeon style: The mails to guests with a guest account (dungeon_gast.message) have, next to the text, an HTML part like a game page: a frame, a heading with the world's sign, a book-like font, only styles inside the mail, no picture and nothing loaded from outside (no tracking pixel), every value escaped. Colours per world (FARBEN): fantasy parchment, horror dark red, sci-fi steel blue, pirates sea green, any other world parchment. Last sentence: "Your turn" shows under "Last at the table" the narrator's last sentence (teaser: at most VORSCHAU = 160 characters, without links and addresses). The host switches it off at the table under "✉ Last sentence in the mail" (rd["mail_vorschau"], on by default; the line shows only when a guest with an account sits at the table). Play on: the button is a one-time link https://<panel>/#weiter=<t> (WEITER_S = 12 hours, valid once, only its hash lies in dungeon-gaeste.json), never the seat's key. /api/dungeon/weiter gives the device a fresh key for exactly that seat (play_on, p["hx"], at most WEITER_KEYS = 3) while the seat still belongs to the guest account; a new seat link of the host takes all of them back. The panel's address comes from the host's seat link (rd["base"]). Self-test test_turn_mail_looks_like_the_game_with_a_one_time_link. Heroes tab: every hero shows under "🎒 Equipment and bag", folded, what it wears (per place), its bag with where each thing was found, its gold and its spells; changes only at the table. Self-test test_the_heroes_tab_shows_what_a_hero_has.

AI Dungeon Master: joining without cheating: Waiting at the edge: whoever takes a seat during a fight waits at the edge (p["wartet"]): no action, no own moves with bag and potions, not in the fight's group, the turn does not wait for them. The feed says "… arrives and waits at the edge until the fight is over.", the group shows them with ⏳, the host can take the seat back. After the fight (or the round's end) they come to the table (dungeon.arrive). First turn: in their first turn at the table (p["neu_zug"], also after waiting) a hero gives nobody anything: no potion for a friend, no gift, no trade, no spell on the group; the model hears "just arrived", and a healing it tells for a friend does not count when only new heroes acted that turn. Fleeing: a fight's group is fixed at its start (kampf["helden"]) and shares the experience; whoever leaves the table meanwhile has fled (a line in the feed, their share stays out, they lose the table's experience), whoever came later gets none. One device, one hero: a device that takes a seat gets the cookie dmgeraet (random, HttpOnly, SameSite=Strict); the seat keeps only its hash. A second seat of the same round on that device is refused, also next to the host's seat. Live: Status → Live counts "waiting at the edge" and per day joins during a fight, heroes who left a fight, help blocked in a first turn and refused second heroes. "How to play" explains it under "When it goes on". Self-tests in test_dungeon (Fight): test_join_during_a_fight_waits_at_the_edge, test_the_first_turn_gives_nothing_to_others, test_leaving_a_fight_is_fleeing_and_the_share_stays_out, test_one_device_one_hero. Death saves as in D&D: when a hero is down, from the next told turn the panel rolls a d20 for them each turn (dungeon.save_roll, h["rettung"] = successes, failures): RETTUNG (10) or more succeeds, a 1 counts as two failures, a 20 or three successes get them up with 1 life; after three failures they fall (unconscious at the children's table). Every roll is a line with 🎲 in the feed, the hero sheet shows "saves ✓ … · … failures left". Older states count their turns down as failures. Mercy: if they are the only living hero at the table (dungeon.alone), they do not fall (dungeon.spare): a stranger brings them to safety, they wake with 1 life, a running fight ends without experience ("The fight is lost, but nobody dies."), they lose half their gold (rounded up) and one thing from the bag; the next narration hears of it (GNADE_FAKT). Foes attack only standing heroes. Status → Live counts death saves and rescues by mercy. Self-tests test_rescue_rolls_get_a_hero_up, test_the_only_hero_is_spared, plus test_down_three_turns_then_dead_and_things_lie_here with failed rolls.

AI Dungeon Master: bestiary: The catalog app/panel/dungeon_srd.json has 224 foes (142 from the SRD, 82 own), among them for sci-fi repair bot, cloaked hunter, station core AI, for pirates deck rat, sea witch, deep kraken, for horror dollmaker, plague doctor, the Pale Countess, for fantasy rune guardian, frost giantess, ancient fire dragon, for sci-fi and pirates star buccaneer and comet raider, and for every world highwayman, storm keeper, iron colossus, star whale. Their values follow the balance formula per level (dungeon_balance), texts in the tone of the children's table, damage kind, weakness, resistance and immunity from the fixed list; 17 own bosses of levels 10 to 15. Every world has at least three foes on each level 1 to 12. A world without its own foes (the own world, a new one of the admin) meets the fantasy foes and those for every world (dungeon_kampf.plays_in, the same rule for encounter and list). In the tab "Regeln", part "Foes (bestiary)", each row shows the damage kind as a symbol (🗡️ slashing, 🏹 piercing, 🔨 bludgeoning, 🔥 fire, ❄️ cold, ⚡ lightning, 🧪 acid, 🐍 poison, 🌑 necrotic, ☀️ radiant, 🧠 psychic, 💥 thunder, ✨ force), then ▲ weakness (double damage), ▼ resistance (half damage), ✕ immunity, the mark "👑 Boss" and "new" (a foe with seit in the last 30 versions). The detail adds what a boss does more (more life per hero, phase 2 at half life, two attacks, a better find), the EP per hero for 2 to 5 heroes and the worlds. Filters: world, level 0-4, 5-10, 11+, bosses, new. "Alle Bilder malen" paints foes without a picture. Self-test test_dungeon_bestiarium. A failure stays a failure: the narration model gets for every check what it was for and the result in words ("failed: it does not happen this turn"). If it tells a failed check as done (a sentence names the check's thing with a word like "gives way", "bursts open", "off its hinges" and without "not", "holds"), it writes again. For this and for foes not named by the card's name there is a third try; if all fail, the panel tells the truth in a fixed sentence after it ("But the check "break the door" failed …", "Before you: 2 × Dunkelmantel."). An encounter does not depend on a check's outcome: the panel offers fitting foes (budget by group and level), the model decides whether a fight comes and picks only from the offer. Self-tests test_a_failed_check_stays_failed, test_foes_not_named_three_times_the_panel_names_them. Feed: going down and getting up show "is down" and "is back on their feet", a potion at full life "already at full life". Portrait and hero sheet: the table's answer (such as a refused portrait with its reason) also stands at the top of the hero sheet and at the merchant, which lie over the table; at "Life" the sheet shows "down".

AI Dungeon Master: fast over the proxy: Reading aloud as MP3: every piece read aloud is kept as MP3 next to the WAV (48 kbit/s, about a tenth; ffmpeg on the panel computer); the browser fetches the MP3 (?mp3=1, a guest "mp3": true), the iPhone app the WAV; the next piece loads while the current one plays. Reading counts as speech: while a turn is read aloud, scene picture, music and all other background work wait (vorrang), even when speech output runs on the model computer. Small pictures: lists (rules, bag, seats) fetch a small copy (96 pixels at most, made once, kept in dungeon-bild-klein, deleted with the picture); only the merchant and the detail window show the large picture. Every picture address carries the picture's version, so the browser keeps it until it is painted again. Compressed: the admin's catalog and rules come gzipped (from 4 KB); a round's view never (invite links and players' text, protection against BREACH).

AI Dungeon Master: legendary pieces: The file app/panel/dungeon_legenden.json holds 20 named pieces per world (fantasy, horror, sci-fi, pirates; the own world takes the fantasy ones): a wearable base item of the catalog, an own name and sentence in both languages and two effects from the list of effects (at most one with damage, only ones that fit the kind). The catalog's items of fixed rarity "legendary" (from the SRD, such as the Vorpal Sword) count as well. A legendary find becomes one of them by fixed rules of the panel, never the model: only from a boss, as a reward or from a chest; a merchant never sells one (at most epic); each only once a campaign (the round remembers the ones found, a new chapter takes over the list, none comes that a hero at the table already carries); first one for the receiver's class; with none free the find is epic. It comes unknown; once known it shows name, sentence, both effects and "✦ One of a kind", and both effects count for checks, damage, armour class and the ▲/▼ comparison. A selftest checks the file against the rules (dungeon_legenden.check). Status → Live shows the pieces found that day.

AI Dungeon Master: tools, prices per kind, jewellery, comparison: Tool quality: a tool helps by its quality (WERKZEUG): common "simple" +1, uncommon "good" +2, from rare "masterwork" +3; the tool's line names quality and bonus, the roll carries werkzeug_plus and the check bar shows exactly that part. Prices per kind: potions, scrolls, spells and tools (GUENSTIG) cost half the rarity's factor, weapons, armour and jewellery the full one. Jewellery: common jewellery is a treasure without a value; magic jewellery (from uncommon) always raises a value by at least +1. ▲/▼: in the bag, at the merchant and on the ground every wearable item shows "▲ better than yours", "▼ weaker than yours" or "= like yours" against what the hero wears (the weakest of its places; weapon: mean damage and bonus, armour: protection, twice on the body, and bonus, jewellery: bonus; effects counted, unknown only the base), and "✗ not for your class". The panel computes the numbers (dungeon.strength, compare, view vergleich).

AI Dungeon Master: items with fixed effects: Rarity bonus: common +0, uncommon +1, rare +2, epic and legendary +3, never more (BONUS_MAX, check_rules refuses more). Effects: from "rare" on (EFFEKT_AB) a wearable item gets an effect from effekte, each a fixed rule of the panel (dungeon_kampf.WIRKUNG): schaden (weapons only) +1d6 damage of its kind on every hit, twice on a critical, through the foe's resistance, immunity and weakness like any damage (fire, cold, lightning, poison, radiant); lebensraub (weapons) the hero heals 1d4 on every hit; glueck a natural 1 on a check or attack is rolled again once ("🍀 Luck" at the roll); wachsam (armour and jewellery) armour class +1; otherwise +2 on one of the six values. There are no effects the panel cannot compute; an item with such an effect counts only by its base. An unknown item works only once identified. check_rules asks every own effect for a wirkung (with art for schaden) or a bonus and allows nur only from the wearable kinds. Rarity per level: the find roll (d100 + occasion + 2 per level, FUND_STUFE) counts for the rarest kind without the level bonus; so legendary is rarer than epic at every level. A self-test checks both.

AI Dungeon Master: gold with a purpose: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_gold.py). In a settlement (a map place of the kinds village, town, tavern, station, bazaar or harbour, SIEDLUNG, not inside a vault) or where a merchant stands, the hero card shows "🏘 Settlement" with four fixed offers of the panel, never the model, never in a fight. Prices grow with the group's level (PREIS per level): Inn (one pays for all): full life and all spell charges for every hero not unconscious or fallen, a hero down stands up; once a game evening per round. Smith (5 per level): a tool that broke on a natural 1 comes back into the bag; the last 5 are kept, only while the switch is on. Lesson (20 per level): +1 on one value until the round or chapter ends regularly, one at a time. Rumour (3 per level): the panel names the first unvisited place on the shortest way to the map's goal (else an unvisited neighbour) with its direction, once per place. The hero pays with an own move (POST …/held with {was: "dienst", id, i, wert}, for guests /api/dungeon/held). Security: no new endpoint, only fixed rules and prices of the panel; logs dungeon: dienst | <offer> | N gold and a fixed word per refusal; the live overview only counts the offers paid today.

AI Dungeon Master: heroic courage: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_mut.py). Once a game evening (round and day) every hero may call on heroic courage with an action: tap "⭐ Heroic courage" before "Act", the action carries mut: true, the panel notes it only while a charge is free. If a check fails, the panel rolls once more; if an attack hits without being critical, it becomes critical (double damage dice); if it misses, it is rolled once more. If the first roll succeeds, the courage stays; per action it works on one roll at most. The roll shows "⭐ Heroic courage". From the table: the other players' actions of the last three turns carry a 👍 (POST …/daumen with {zug, aktion}, for guests /api/dungeon/daumen); when at least half of the other players (rounded up) give a 👍, the hero gets a second charge for the evening (LOB_MAX = 1). Never for oneself, not alone at the table. The state lives in the round (mut, mut_lob); each evening brings a new one. Security: no new endpoint (the existing thumbs endpoint with login, profile binding, CSRF, size and rate limit takes aktion), only fixed rules of the panel, never the model; logs dungeon: heldenmut | bereit|keiner frei|genutzt|lob|geschenkt|lob nein|lob alt|aus; the live overview only counts today's uses.

AI Dungeon Master: experience for more than fighting: The panel, never the model, gives every hero at the table fixed experience: for a new place of the map ep.ort (10), for an act of the story done (dungeon.step_act, whether the model reports the turning point or the panel moves on) ep.akt (100), for a fight ended in peace (kampf_ende "frieden") the experience of the foes still standing as for defeated ones, but only when a check passed in the same turn (persuading, say). A solved riddle of the map gives half of ep.ziel (50). The numbers are in the rules under ep and can be set (ort 0 to 200, akt 0 to 1000, checked by check_rules). The experience gathers as "+X EP still at the table" and comes at the end of the round. Logs dungeon: ep | ort | N, dungeon: ep | akt; the fight line in the log counts frieden. No new endpoint. Self-test Equipment.test_experience_for_more_than_fighting in app/tests/test_dungeon.py.

AI Dungeon Master: game master dial: Part of the rule depth "Full" (Features → AI Dungeon Master → Rule depth, the host chooses per round; dungeon_kampf.turn_dial). After every fight (once its last damage is with the heroes) the Spark sets the round's next encounters by fixed numbers: won with less than a quarter of the group's life lost 10 % harder; a hero down, a lost fight or a flight 15 % easier; else unchanged; at most 25 % either way, at the children's table never above 0. The dial changes the experience a medium encounter may have (dungeon_kampf.budget) and so the offer of foes and the encounter's limit; the danger ("easy", "medium", "hard") is measured against the dialled value, and players see only that. The host sees in the game master console 🎚 Game master dial with the setting ("danger +10 %") and hold. The setting belongs to the round; switch off means the measured strength. The model decides none of it. Live counts the day's steps (harder, easier); logs dungeon: regler | hoch | N, runter | N, gleich | N, fest, festgehalten, frei. API (host): POST /api/profile/dungeon/{rid}/erzaehler with {regler_fest: true|false} (sign-in, CSRF, size and rate limit). Self-test Fight.test_the_game_master_dial_by_fixed_numbers in app/tests/test_dungeon.py.

AI Dungeon Master: balance bench: Admin switch Features → AI Dungeon Master → Test benches (chat.dungeon_pruefstand, off by default; dungeon_pruefstand.py). The Spark plays fights by itself with the real rules and dice of dungeon_kampf (attacks, the foes' turn, damage, states, flight) and the catalogue including own rules, without the language model and without a round: per level 1 to 10 and group size 1 to 5, 200 fights of danger "medium" each, once a night between 2 and 5 or at once with Play it through now (at most once a minute, never two runs at a time). The group is fixed: the classes in turn, the first people, made like a player's hero and raised to the level, the class's first weapon and the best body armour up to the level's price, both of the rarity of a medium find of that level. Below a third of its life a hero drinks its healing potion, otherwise attacks the foe with the least life (a caster with its grade-0 attack spell). The encounter has one or two kinds of foes from the whole bestiary, exactly of the danger asked. Under Adjust rules the part Balance bench shows wins per level as bars with the aim of 70 to 90 % as a green band (red outside), plus life lost in won fights and turns, for 1 to 5 heroes. Measured in: the experience of a medium encounter per hero and level (dungeon_kampf.BUDGET, levels 1 to 10) is measured with the bench and grows with the group (GRUPPE: 0.7 for one hero, 0.33 more for each further one). A self-test keeps every cell (level and group size) in the aim. In the real game abilities and healing spells, which the bench does not use, help too. No bench fight counts into the day's numbers, no round is touched. The result is in dungeon-pruefstand.json in the state folder. Live: cells, below and above the aim, whether it is playing. Logs dungeon: pruefstand | start | nacht (or knopf), fertig | N zellen | M unter dem ziel | S s, knopf | ok (or aus, zu oft, laeuft). API (admin): GET and POST /api/admin/dungeon/pruefstand (sign-in, CSRF, size and rate limit dungeonpruef). Self-tests in app/tests/test_dungeon_pruefstand.py.

AI Dungeon Master: weapon properties, damage kinds, states, bosses: Weapon properties: every weapon carries a damage kind (schaden_art: slashing, piercing, bludgeoning, for wands force, radiant or necrotic) and properties (eigenschaften) with fixed rules (dungeon_kampf.EIGENSCHAFT_REGEL): light is critical from a 19; finesse hits with the better of Strength and Dexterity, a throw (the action says "throw", WURF_WORTE) too; heavy attacks at a disadvantage below Strength 13; versatile rolls a die two sides bigger with the off hand free; reach keeps the foe it hit at a distance (its attack on that hero in the same turn at a disadvantage). The item shows kind and rules as a line of its own. Damage kinds: every hit has a kind (fists = bludgeoning). resistenz halves, immun cancels, schwaeche doubles; the log shows the kind and "halved", "no effect" or "double!", the foe's window its weaknesses and protections. States from hits: when a foe with zustaende (poisoned, grappled, frightened, burning …) hits, the hero rolls a Constitution save (Wisdom against charmed and frightened) against 10 + a quarter of the foe's level. Failed, the state lasts its turns from the catalogue: disadvantage on own attacks or checks, advantage for the foes, no attack (paralysed, stunned …), burning or bleeding costs 1d4 life each turn. All states end with the fight. The seat shows them with ☠, the log every save, the model gets them in the facts. Bosses: a foe with boss has more life per hero (+50 % for each further one), a second phase from half life (+2 to hit, a line in the log), attacks twice a turn and leaves a better find (occasion "boss"). check_rules checks all fields. Self-test Fight.test_weapon_properties_damage_kinds_states_and_bosses.

AI Dungeon Master: place in the story so far, characters from elsewhere: The map gives the way back only when an action names it, dungeon_karte.leute (who is here, who elsewhere and where, who travels along) and the note "place not changed". Story so far with places: every narration carries its place in the log (where: ort, ort_name; a vault's rooms count as the place above). After a change the model gets under bisher only the new place's narrations and the last one as a bridge, each with "[place]" in front (told_here); turns without a place stay as they are. The facts carry personen from dungeon_karte.leute; a fixed rule says: nobody is elsewhere than given, whoever is "anderswo" does not speak here unless travelling along (ORTE_REGEL). Check: if a character speaks who is elsewhere by the map and does not travel along, the model writes once more (dungeon_erzaehler.elsewhere, hint "anderswo", log line dungeon: nachbessern | anderswo); when the group is just walking to that place, it is allowed. Self-test BetterStories.test_a_narration_keeps_its_place_and_others_stay_elsewhere.

AI Dungeon Master: story planner: Under Features → AI Dungeon Master, button "Adjust rules", section Stories, the admin keeps up to 30 stories: title, world, tone, idea, the heroes' goal, foe, up to 6 places, up to 10 taboos and 3 to 5 acts with title, content, turning point and planned turns (2 to 30). Create a proposal lets the own language model draft the story from keywords (at most 300 characters), ↻ Write again one act with a free hint; keywords stand only as data in the block <<< … >>> (markers defused), the answer comes in a fixed JSON schema and is checked like a typed story (check_plan: lengths, number of acts, turns, words of the tone, "nie" and the taboos); only "Check and save" keeps it (dungeon-geschichten.json in the state folder). When starting a round, the story is picked as a card under Dungeon Master → Rounds, together with the shipped ones; world and tone come from the story, the round gets a copy, and a campaign chapter plays on in the same act. Flow: the model gets only goal, foe, places and the current act (data block) and reports with akt_fertig when the turning point is told; the panel takes that only after 3 turns of the act, moves one act on, never back, and moves on by itself when an act runs one and a half times as long as planned (step_act). After the last act "The story is told." stands there. The taboos count in every narration like the list "nie". Spoilers: players only see "Act 2/4" and "Act 3 begins.", only admin and host see the plan (to unfold at the table). Status → Live shows stories, acts moved on today and proposals (numbers only); logs only fixed words (dungeon: vorschlag | geschichte | ok | 4100 ms, dungeon: akt | modell | 2, dungeon: geschichte gespeichert | 4 akte). API (admin): PUT|DELETE /api/admin/dungeon/geschichte/{gid} (neu for a new one), POST /api/admin/dungeon/geschichte/vorschlag ({welt, ton, akte, stichworte, tabus}), POST /api/admin/dungeon/geschichte/akt ({plan, n, hinweis}), rate limit dungeonplan (10 a minute).

AI Dungeon Master: advantage, OOC, length: Advantage and disadvantage: the model may report vorteil or nachteil per check; the panel then rolls two d20 and takes the higher or lower, the story shows both ("Advantage 14/7"); any other value counts as a plain roll. OOC line: when an action is unclear or no move at all, the model does not narrate it but writes that character a short line in ooc (at most 160 characters, only names of the group, checked like the narration) that only this player sees as "(OOC: …)". Length: a narration has at most 900 characters, the opening of a round, chapter or act up to 1500 (erz_max). Prompt: the default prompt asks for senses (smells, light, sounds, feelings) and stays with world, tone and the story so far; the panel's fixed rules stand behind it.

AI Dungeon Master: calm table tone: The game table looks like the rest of the panel with a warm tone of its own: system font, gold as the accent (the world only tints the accent, ground and surfaces are the same), serif only for the narration, no parchment card, initial or small caps; actions stand with a line instead of a speech bubble. Buttons, tabs and the phone's bottom bar have line icons instead of emoji (emoji stay in the game's text). "Your rounds" is a list with the name and one line below, on the phone the buttons stand under the name. Light or dark follows the panel, the button at the table keeps a choice of its own. More in Technical, design system.

AI Dungeon Master: table layout: Under the narration (with "Turn n") actions stand with the avatar in the seat's colour, rolls as a slim line, act lines highlighted. On the left hero cards of all players with life bar, the six values (with bonus) and protection as a grid, equipped items and the state (acted, thinking, away), the own one highlighted; the head shows title and current place; under the narration "Waiting for: …", the input, the microphone and Act. On a phone story, group and own sheet come one below the other. Colours per world (welten[].farben with grund, karte, pergament, tinte, gold, only #rrggbb, checked by check_rules); the admin changes them under "Adjust rules". Full screen: "⛶ Full screen" in the header, also for guests, shows only the table (the browser's full screen; where there is none, as in the iPhone browser, the table fills the window); the button, Esc or leaving the browser's full screen end it. How to play: "❔ How to play" opens a short sheet above the table for players and guests (what you write, when it goes on, how the panel rolls, life, loot and trading, listening and speaking, the hero code); the first time you take a seat on a device it opens once by itself (remembered only in the browser).

AI Dungeon Master: six values as in D&D: every hero has Strength, Dexterity, Constitution, Intelligence, Wisdom and Charisma (werte, exactly six, konstitution required). The bonus for rolls is (score − 10) / 2 rounded down: 8 gives −1, 10 gives 0, 16 gives +3 (mod). The panel rolls d20 plus bonus plus equipment, abilities and blessings. When creating a hero the player lays out the fixed row 15, 14, 13, 12, 10 and 8 (verteilung): drag numbers or tap two to swap, preset by the class's reihe (warrior strength, mage intelligence, rogue dexterity, healer wisdom, ranger dexterity); the panel takes only exactly that row, otherwise the class's order counts. The people add +1 or +2 (human +1 everywhere, dwarf constitution +2 and wisdom +1, elf dexterity +2 and intelligence +1, halfling dexterity +2 and charisma +1, orc strength +2 and constitution +1, each 0 to 2). Constitution gives life: the class's start plus the bonus, per level leben_plus plus the bonus (at least 1); when the bonus rises, life grows for every level. Every level brings a value point (+1, at most 20, WERT_MAX). Heroes with the old three values are carried over when read (six): values by the class's order plus the people, points come back to spend, life fitting the level, wits count as intelligence; log "dungeon: held umgestellt | sechs werte". The admin's old own rules keep working (_alt): "verstand" becomes "intelligenz", a class's old werte become its reihe. Abilities, effects and items are spread over the six values (battle cry charisma, iron skin constitution, healer wisdom). Hero card and sheet show score and bonus. Hero voices: on the own sheet every player, a guest too, picks a speech-output voice under "Your hero's voice" (list from /v1/voices, fetched in the background at most every 10 minutes, STIMMEN_S); "▶ Sample" speaks a fixed sentence (made once per voice and kept, rate limit dungeonprobe). With reading aloud on, the voice speaks only what the hero says in quotes ("…", „…“, »…«, at most 200 characters, says), before the narration in the same sound track, one after another; a line with a word the tone, "nie" or the taboos refuse is not spoken. Only voices from the list can be picked; without one only the narrator reads. Voice from a description: when Settings → Speech output "Also serve VoiceDesign" is on (a second engine on the model computer with the same memory again; /v1/voices reports voicedesign), a field "or describe it" appears, for example "deep, rough dwarf voice": only letters, digits, spaces, comma, full stop and hyphen, 3 to 80 characters (KLANG), no word the tone, "nie" or taboos refuse; it goes to the speech output as task_type: VoiceDesign with instructions and counts before the picked voice. The voice is made anew for every line, so it sounds alike, not always the same. With VoiceDesign off the picked voice or the narrator speaks.

AI Dungeon Master: new round, ready-made stories, light or dark: The Dungeon Master page (rounds, campaigns, new round, heroes) and a guest's invitation window have the table's look in the world's colours. New round in four steps, one shown at a time: 1 World, 2 Story, 3 The round (title, opening, tone, time per turn, duration), 4 Your hero. World, tone, people and class are chosen as cards with pictures (zeichen in the rules, only a picture without letters, at most 8 characters, checked by check_rules; without one ◆); the people's card names the bonus (for example "DEX +2 · INT +1"), the class card its two main values and life. Tapping a world tints the page at once. Ready-made stories: 10 stories per world ship with the Spark (dungeon_geschichten.json, German and English, 3 acts each with turning point, goal, foe and places, different tones). They stand in step 2 as cards with title, summary, tone and number of acts, next to the admin's stories ("by the admin") and "Tell freely". The panel checks each when reading like an admin's story (check_plan) and leaves out one the rules refuse (for example when the admin takes a world out). A chosen story sets the tone (other tone cards locked) and fills in its title as long as you do not type your own. A guest sees no stories. Light or dark: "☀ Light" or "☾ Dark" at the top of the page, at the table and in the guest's window switches; both take the world's colours. At first the game follows panel or device, the choice is kept only in this browser. Heroes stand as cards with a life bar, six values with bonus, level, XP and gold. The word "leiche" in the list of the tone "from 8" only matches the start of a word ("schleichen", "Federleicht" are no hit).

AI Dungeon Master: equipment, carrying and merchants: Nine places as in D&D (SLOTS): head, neck, body, main hand, off hand, hands, feet and two rings, on the sheet as a figure of three by three fields; Equip or dragging puts an item on, × or dragging into the bag takes it off. Every catalog item has its place (platz, otherwise the first of its kind: weapons main hand, armour body, jewellery ring); shield and tower shield off hand, helmet and leather cap head, gauntlets hands, iron boots feet. A two-handed weapon (zweihand, for example greatsword, bow, staff) takes both hands and displaces the shield, a shield displaces it. Protection adds up everything worn. Weight and carrying: every item weighs something (kg, otherwise the value of its kind). A hero carries strength times 3.75 kg (TRAG_KG); from three quarters the hero is burdened (BELASTET) and rolls dexterity checks with disadvantage, advantage cancels it (the roll shows "burdened"). The panel takes nothing beyond the carry limit or more than 12 places in the bag: loot without room stays on the ground ("Lying here", at most 12, BODEN_MAX), anyone in the group can pick it up or put something down. A new place leaves the ground behind. Potions, spells and scrolls of the same kind stack up to 3 (STAPEL). Trading and giving check places and carry limit afterwards. Merchants: in a settlement the model only reports a merchant's name and one sentence (haendler); the host can call one with ⚖ Open market and close it. The panel always sets goods and prices: 6 to 10 goods (WARE), rarity as for loot by the group's level, price by the price rule (preise per kind or the item's own preis times the rarity's factor 1, 3, 8, 20, 50). Charisma gives 5 % off per bonus point, at most 20 % (RABATT). Every good exists once. Selling fetches gold by the merchant's rule (less while unknown); the merchant adds the item to its goods. A new place closes the market. Unknown magic: items of the two rarest kinds (epic, legendary) arrive unknown ("Longsword (unknown)"): only the base counts, bonus and effect once known, through a scroll of knowing (erkennt, used up) or the merchant for a fifth of the worth, at least 5 gold (ERKENNEN). Heroes without places get weapon, armour and jewellery onto the places when read (nine), the rest goes into the bag. The model only hears that a merchant is there and who bought, sold or named what. Status → Live shows open markets and markets opened, purchases and sales today (numbers only); logs only fixed words (dungeon: markt | auf | 8 waren, dungeon: handel | kauf | selten, dungeon: handel | erkannt | rolle). API: POST /api/profile/dungeon/{rid}/held with was kaufen, verkaufen, erkennen (mit for the scroll), aufheben, fallen and platz when equipping and unequipping; POST /api/profile/dungeon/{rid}/markt (host, {auf}). Prologue: every new round and chapter opens with a prologue (head "Prologue"): the place with all senses, mood, starting situation, every character of the group appears, at most one NPC speaks, at the end a question to the group. The model gets world, group, the host's opening, "The story so far" and the first act; it is checked like every narration, damage, loot and successes in it do not count. The first turn waits until it stands (at most two tries), then the turn time starts; with reading aloud it is spoken. When the model does not answer, the host's opening or the first act's content stands there. When a round hangs while narrating after a restart, the next request frees it. Log dungeon: prolog | ok | 4100 ms. The scroll bars at the table have the world's colours. In the car: in CarPlay "Play Dungeon Master" reads the newest narration aloud and takes the spoken action; short fixed questions about the own hero (life, bag, drink a healing potion, who is missing, again; at most 60 characters, dungeon_auto.FRAGEN) are answered by the panel with fixed sentences, everything else is the action of the open turn. Every narration has its own number (k). POST /api/profile/dungeon/auto ({text, nach, lang}, answer {sagen, n, warten, aus}), also for the iPhone app, rate limit dungeonauto (60 a minute); Status → Live counts the steps in the car, log dungeon: auto | leben.

AI Dungeon Master: pictures: Pictures come only when Features → Painting pictures is released for the host and the picture model is installed; otherwise the game runs without them. Scene picture: when the place changes (szene.ort, also in the prologue), the model gives bild in the same JSON: an English scene description, at most 300 characters. It is only data and is checked like a picture wish: the word list of "Painting pictures", the tone's words, the list "nie", the story's taboos, no names of people the Spark knows. The panel puts the world's fixed style in front (welten[].bildstil, the admin may change it, only letters, digits and punctuation), in the 8+ tone always the picture-book style, and "no text, no letters, no watermark" after it. It is painted at 1024×576 through the queue "Heavy jobs" (one model at a time, voice first, maintenance pause "bild"); the picture check throws away NSFW above 0.5, without the check there is no picture. Display: the newest picture stands large above the narration without a mark on it (the AI label is in the PNG file), in the log small at its turn; while painting, "The scene picture is being painted …" or the queue place shows. Guests get pictures through their seat code (POST /api/dungeon/bild), only of their own round. Limits: the host's "🖼 Paint the scene now" takes the last description (else place and mood); at most one picture every 3 turns, 12 per round, 40 a day for the whole game (grenzen.bilder_tag, 0 to 500, counted in the rounds file, so across a restart). Otherwise the button is grey and names the reason. Hero portrait: a tick when creating or "🖼 Have a portrait painted" on the sheet paints 512×512 from people, class and the sentence about the character (fixed portrait style), painted again once per level; the portrait shows on the hero cards, stays with the hero (profile or hero code) and goes with it. Map and cover: the side column shows visited places as a chain (without the model, at most 20, carried into the next chapter); when a chapter ends its last scene picture becomes the chapter's cover (at most 20 per campaign), shown in the campaign list and in the iPhone app under My things → Dungeon Master, with the portraits of the own heroes. Stored in dungeon-bild/ in the state folder: scene pictures go with the round, portraits with the hero, covers with the campaign, "Delete all game data" takes everything; hourly the panel clears pictures nobody owns. Status → Live counts pictures painted, discarded, failed and on their way; logs: dungeon: bild | ok | szene | 14000 ms, dungeon: bild | abgelehnt | abstand, dungeon: bild | ohne_pruefung | szene | 900 ms, dungeon: portraet | abgelehnt | stufe. API: GET /api/profile/dungeon/{rid}/bild/{b}, GET …/{rid}/portraet/{pid}, POST …/{rid}/bild (host), POST …/{rid}/portraet, GET /api/profile/dungeon/held/{hid}/bild, GET /api/profile/dungeon/kampagne/{kid}/bild/{n}; for guests POST /api/dungeon/bild|portraet|portraet/malen; rate limit dungeonbild.

AI Dungeon Master: your turn, game date and look back: So that a round runs over days, the game reaches out by itself. Your turn: when a new turn opens and a profile is not at the table (no request for 15 seconds), "It is your turn in "title" (turn n)." comes once per turn through the profile's own ways (Me → Notifications, quiet hours apply). Reminder: when the turn still waits, ""title" is still waiting for your turn n." comes once: after half the turn's time when others acted already, else after 6 hours. Whoever acted or sits at the table gets nothing; nothing during a pause or a narration. The texts are fixed, never a sentence of the game. At the table "🔔 Notes on/off" switches this for the own seat; guests without a profile and profiles the admin blocked get none. Once a minute the panel closes a turn whose time is over, even with no page open; the Dungeon Master starts on the panel's event loop (dungeon._go). Game date: the host sets the next date under "Game date" (in the future, 60 days at most); 15 minutes before, every profile seat gets ""title" goes on at hh:mm." once. "Add to calendar" downloads an .ics file (two hours, reminder 15 minutes before), guests too through their seat code. Look back: when someone comes to the table after more than 12 hours (kept in the browser), "Last time" stands above the narration: the last two narrations, latest loot and levels, from the round's log, without the model; "Play on" closes it. Status → Live counts game dates and notes sent today; logs: dungeon: melden | dran, dungeon: melden | erinnert, dungeon: melden | termin, dungeon: melden | an, dungeon: termin | gesetzt, dungeon: termin | kalender. API: POST /api/profile/dungeon/{rid}/melden {an}, POST …/{rid}/termin {t} (host, 0 removes it), GET …/{rid}/termin.ics; for guests POST /api/dungeon/termin.

AI Dungeon Master: better stories: Six parts without a switch, because they only concern the own language model. World truth: before the prologue the model writes a hidden truth once per round (3 to 6 people with role, goal and way of speaking, up to 3 groups and 3 secrets); the panel checks it (fixed lengths, no hero names, no doubles, word list) and gives it to every turn as facts. New people from narrations are added (at most 12). Only the host sees it under "Truth of this chapter". Open threads: with each narration the model reports new tasks, promises or riddles (at most 2) and finished ones (only open ones can be closed); at most 8 stand under "Open threads". Running summary: every 5 turns the model sums up the round in at most 900 characters; each turn then gets only the summary and the last two narrations. Rewrite: the panel checks every narration: too short (under 80 characters), a hero with an action missing, or repetition (more than 35 % equal word groups). Then it asks once more with a fixed hint; otherwise the first one stays. Style and tone: each world has fixed style examples (welten[].stil, up to 3 pairs German/English, 20 to 400 characters); the narration asks with more variety (temperature 0.85, repetition penalty), checks and summary stay sober. World truth and threads go on into the next chapter. Thumbs: under each narration 👍 and 👎 per seat (guests too); the admin sees the numbers per world and tone under "Adjust rules", never who pressed what. Status → Live counts world truths, summaries, rewrites and thumbs today; logs: dungeon: wahrheit | ok, dungeon: wahrheit | ausfall, dungeon: kurz | ok, dungeon: kurz | ausfall, dungeon: kurz | fehler, dungeon: nachbessern | namen, dungeon: nachbessern | kurz, dungeon: nachbessern | wiederholung, dungeon: daumen | hoch, dungeon: daumen | runter. API: POST /api/profile/dungeon/{rid}/daumen {zug, gut}, for guests POST /api/dungeon/daumen.

AI Dungeon Master: big windows for hero sheet, merchant and map: The side column shows a short card of the own hero (portrait, level, life, gold, bag, hints on a new level, trade offers and things on the ground) with "📜 Hero sheet", "⚖ Merchant" (only with an open market) and "🗺 Map". They open big windows over the narration: the hero sheet with values, abilities and voice on the left, the nine places and the bag as tiles with pictures on the right (drag and drop), below them ground and trading; the merchant with goods as big cards (picture in the rarity's frame, values, price, "Buy"), below them what the bag can sell or have identified; the map as the large map view. A tap on a thing in the bag, equipment, at the merchant or on the ground opens its window with big picture, rarity, weight, description, values and fitting buttons (equip, drink, cast, identify, sell, give, put down, unequip, buy, pick up). ✕, Esc or a tap beside closes it (Esc the item window first); on a phone it fills the screen. If the Dungeon Master narrates on, "New turn …" with "To the table" shows at the top. The window always shows the panel's state, the panel checks every action, there are no new endpoints. Guests get the same windows. Self-test Windows in app/tests/test_dungeon.py (browser at 1280, 390 and 320 px).

AI Dungeon Master: a pleasant wait: While the Dungeon Master narrates, the table shows at the bottom of the story where it stands: the steps reading, dice, narrating with one fixed sentence each (a rewrite has its own), the panel's rolls right away, three lore cards of the world (peoples, places, rules, seafaring, spaceflight …) and a hint "While you wait". All texts are fixed (app/panel/dungeon_warten.json: 122 progress sentences per step and world, 160 lore cards, 30 hints), fine from age 8 and checked against the word list of the youngest tone, never from the model; a round does not repeat them soon (a step's sentences after 10 at the earliest, cards after 90). A new narration appears sentence by sentence (without motion with "reduce motion"). When someone else is writing their action, "✎ Name is typing …" shows above the field (memory only, 6 seconds). Below the field lies the "💬 Table talk": short lines only between the round's seats (up to 200 characters, cleaned like actions, the last 40 stay); the Dungeon Master never reads it, it is in no facts and no task for the model (self-test). Status → Live counts rounds waiting for the narration and lines of table talk today; logs: dungeon: tisch | gesagt, dungeon: tisch | abgelehnt. API: POST /api/profile/dungeon/{rid}/tisch {text} (rate limit dungeontisch), POST …/{rid}/tippt (rate limit dungeontippt); for guests POST /api/dungeon/tisch and POST /api/dungeon/tippt via the seat code. Self-tests Waiting and Windows.test_waiting_and_table_talk_at_the_table in app/tests/test_dungeon.py.

AI Dungeon Master: deleting old rounds and narration by the map: In "Your rounds" an ended round has "Delete" next to "Open" (host: the round with its read-aloud sound and pictures is gone) or "Hide" (player: only off the own list); the second tap ("Really?") confirms. Only the host ends a running round. If "Open" fails, the page scrolls to the message. Logs: dungeon: runde | geloescht, dungeon: runde | ausgeblendet. When a narration names a map place the group cannot be at (neither its place, a neighbour nor the chosen way), the panel asks once more with the fixed hint to narrate only the map's place and ways (dungeon: nachbessern | karte); the scene's place is always the map's.

AI Dungeon Master: items and values explained, tools that work: Each of the 137 catalog items has a fixed description in German and English (info in dungeon_regeln.json, at most 160 characters, fine for the youngest tone): what it is, does and helps with; it shows at the merchant, in the bag and in the item window. On hero card and hero sheet a tap on a value (STR, DEX, CON, INT, WIS, CHA), on protection, life, level, gold or a worn thing explains right below what it is and what it counts for; a second tap closes it. The values explain themselves from werte[].info, life, level, protection and gold with fixed sentences. Tools (climbing rope, lockpick, compass, puzzle cube, lantern …, 33 with the SRD catalog) are a kind of their own, werkzeug: sign 🧰, picture text "a tool or a piece of gear", filter "Tools" on the rules page, price preise.werkzeug; hilft is allowed on werkzeug and rolle (scroll, treasure map and the admin's older own tools stay valid). Fixed effect (hilft: values and words): when the action names the tool (name or one of its words) and the check fits one of its values, the panel adds the bonus by quality (dungeon.WERKZEUG), one tool per check at most. On a rolled 1 it breaks and leaves the bag; compass, spyglass, everburning torch and treasure map (fest) never break. The roll shows "🔧 Lockpick helps" or "🔧 Lockpick broke", the narrator learns both in the checks. Log: dungeon: werkzeug | kaputt. The admin's own items may have info and hilft, both checked by check_rules.

AI Dungeon Master: throwing your own die and the check bar: When a check for your hero comes during the wait, a big d20 with "?" shows: a tap (or a shake, where the browser gives motion without asking, such as Android) rolls it and it lands on the number the panel rolled before (dungeon.roll); the tap does not change the result. The other seats see "X is rolling …" without a number until then (the panel does not send it), after the throw (POST /api/profile/dungeon/{rid}/wurf, guest POST /api/dungeon/wurf, rate limit dungeonwurf) or after 12 seconds at the latest (dungeon_warten.WURF_S) it rolls for them too. Below every roll the check bar shows die, bonus and tool as a bar up to the red line of the difficulty, with "just made it!" or "just missed" one point away. A 20 throws sparks, a 1 wobbles; with own sounds for success, failure, the 20 and the 1, made in the browser and only when sounds are on. A thrown die does not roll again in the narration. With "reduce motion" only the number shows. Live: "n rolls thrown today". Log: dungeon: wurf | geworfen.

AI Dungeon Master: time to throw and a throw that bounces: If your own die is not thrown yet when the narration comes, it stays in the feed at its place with a ring that runs down for 30 seconds; the narration after it is blurred until then ("Throw first, then it goes on"), afterwards it throws itself. Only your own seat sees it waiting, the others read on. The panel rolled the number before, the tap only shows it (rd["wurf_offen"] with seat, check and turn, never the number in the view). The throw flies over the card, hits with its shadow, hops, rolls out and always lands on the panel's number, about 1.4 seconds with a click on each impact. Holding before letting go throws further (display only). On landing it glows green when made, grey when missed, gold with sparks on a 20, cracked on a 1; the phone buzzes briefly where the browser allows. An own die announces itself with a soft chime. With "reduce motion" the number shows at once. Everything is drawn in the browser, no library and no files.

AI Dungeon Master: real dice at the table, fanfare, turning over and campfire: Real dice (a tool of the game master console, no switch of its own): the host chooses which seats use their own dice (rd["echt"]). Before the panel rolls a turn's checks, dungeon_echt.real_ask asks these seats: in big letters "Throw a d20 for Dexterity against 14" (two d20 with advantage or disadvantage), below a number pad 1 to 20, "↶ Back", "Take it" and 🎤 (the game's speech recognition, number words eins to zwanzig and one to twenty). The others see "Mara is throwing at the table …". The panel takes only whole numbers from 1 to 20, only from the own seat, only for the turn asked, exactly as many as asked and only once (rate limit dungeonecht). Then it goes on as always with the given number as this seat's d20 (Hand.d20); luck and heroic courage are rolled by the panel. The dice receipt says "real". If no number comes within 30 seconds (WARTE_S), the panel rolls. Never in the car: if a profile plays from the car (dungeon_auto.im_auto), its seat is not asked; a guest has no car. Doors: POST /api/profile/dungeon/{rid}/echt {zug, zahlen} and POST /api/dungeon/echt {code, zug, zahlen}. Live: asked, real throws, rolled by the panel after 30 s, refused (numbers only); log dungeon: echt | frage | n plaetze, dungeon: echt | alle da …, dungeon: echt | rueckfall …, dungeon: echt | eingetragen, dungeon: echt | abgelehnt | …. Fanfare: when the narrator reads the evening's honours (log kind ehrung), a short, soft fanfare sounds once (WebAudio, no file). Turning over: when a natural 20 or 1 sets off an entry of the critical or fumble table (krit_tabelle, patzer_tabelle on the throw, a fixed name of the panel), the die card turns over on landing and shows "Critical: …" or "Fumble: …"; with "reduce motion" without turning. Campfire: while the group rests (rd["rast"]), the music mood "Campfire" per world plays (calm, 70 beats per minute, the world's major key, guitar, flute, soft hand drum, warm bass), with crackling fire in the background. Only a fight comes first. The store has eight moods per world; the storage defaults to 2400 MB. The table "Music at the table" in the admin window counts its columns from the moods: first the world, then one column per mood (the browser test test_dungeon_musik.Grid checks the alignment).

AI Dungeon Master: real dice in a fight, short wait, difficulty as a word: In a fight the Spark asks every seat with own dice whose action attacks by the fixed rules (dungeon_kampf.attackers, the same choice as the attack itself) "Throw a d20 for the attack on X" instead of its checks; X is the foe named, else the first still standing. The number goes into the attack roll, the attack says "real dice". With advantage or disadvantage the Spark rolls the second d20. A hero a prop of the fight takes rolls the prop's check. If a seat gives no number twice in a row, the turn waits only 10 seconds (KURZ_S, else 30); the count is kept in the round (echt_aus) and forgets a seat the host deselects. Check bar and question give the difficulty as a word after the SRD table ("target 15 (medium)": 5 very easy, 10 easy, 15 medium, 20 hard, 25 very hard, 30 nearly impossible, numbers between take the step below, dmStufe). Live: attacks asked and short waits (numbers only); log dungeon: echt | frage | n plaetze | n angriff | n kurz. Self-tests Rules.test_an_attack_is_one_question_instead_of_the_checks, Rules.test_two_turns_without_a_number_wait_short and Table.test_an_attack_in_a_fight_takes_the_own_die.

AI Dungeon Master: sounds for just missed, the foe's announcement, alarm and torch: Everything sounds in the browser (dungeon-ton.js, WebAudio, no files) and follows only fields the panel sets; the model names no sound. Just missed: when a throw in the dice receipt carries knapp (the check missed by 1 or 2 and the hero paid the price, dungeon_knapp then sets ok), the wait takes knapp, the fixed price id preis and the price's text preis_t (dungeon_warten.step, for other seats only once the die is open); the die card shows "Just made it, at a price: …" with a short shake (not with "reduce motion") and two slightly falling tones instead of the success tone. Foe's announcement: a log entry of kind ansage blows a deep warning horn. Critical and fumble on an attack: when a log entry angriff (or wurf) carries krit_tabelle or patzer_tabelle, a bright run or three falling tones sound. Vault: when karte.alarm (0 to 6) rises to 3, a bell strikes once, at 6 the storm bell. While karte.fackel is a number (rooms of light left, −1 burns always), the torch crackles softly; at 0 it goes out audibly and a dark hiss with drops remains. Outside a vault (fackel missing) the place's sound counts. No own switch: the sounds belong to "Sounds" at the table, each device switches them itself.

AI Dungeon Master: bard's hero song: Admin switch Features → AI Dungeon Master → Pictures and hero song (chat.dungeon_bilder, off from the start), plus music at the table ("Prepare music" and the music model). When a chapter ends (log kind kapitel_ende with kapitel), the own music model sings a song of 60 to 90 seconds (60 and 6 per hero) in German, in the world's sound (STIL_LIED: lute in fantasy, cello in horror, guitar and pads in science fiction, accordion with pirates). The text comes only from fixed verses of dungeon_lied.py: "Hört, was im zweiten Kapitel geschah:", per hero one fixed deed line after a word list from the chapter's log (hit or critical hit, spell, new level, loot, else "ging mutig stets voran"), one chorus per world and a closing line. A name is sung only if it is plain (letters, space, apostrophe, hyphen, at most 24) and the word list of Make music lets it through, else "ein Held"; brackets like [chorus] thus never get into the lyrics. The song is made on the heavy jobs' place after the voice (dungeon_musik.render) and before the store's pieces, one try per chapter. At the table it plays once (then the mood's music again); under 🎵 in the music bar the round's songs can be heard again, the host deletes one with 🗑 ("Really?"). Only a seat of its round can hear a song (GET /api/profile/dungeon/{{rid}}/musik/{{id}} and POST /api/dungeon/musik); delete: POST /api/profile/dungeon/{{rid}}/lied/{{id}}/weg, only the host, rate limit dungeonmusik. Each round keeps at most 20 songs, at night those of rounds that are gone go. Storage STATE/dungeon-lieder/ (MP3 with the heroes' names). Live: songs, sung today, did not come (numbers only); log dungeon: lied | ok | kapitel N | s | ms, dungeon: lied | geloescht, dungeon: lied | loeschen abgelehnt | ….

AI Dungeon Master: real dice in the console: The host chooses in the game master console under "At the table" at "🎲 Own dice" which seats throw their own d20 (a tap on a name switches, 🚗 shows who is playing in the car and is not asked). Only seats of the round with a hero, each once, only with the admin switch, only the host sees the choice (dungeon_echt.choose, POST /api/profile/dungeon/{rid}/erzaehler {echt: [seat, …]}, log dungeon: echt | plaetze | n or … | abgelehnt). When a turn closes, run_turn asks these seats after the checks and before the attacks (dungeon_echt.real_ask); dungeon.roll and dungeon_kampf.attacks take a seat's d20 from its numbers first. Throw and attack carry "real" in the dice receipt (W-n · real), and the die does not wait for a tap at the table. Without a number after 30 seconds the panel rolls.

AI Dungeon Master: own voices for narrator and characters, clear messages: When the speech output can make voices from a description (Settings → Speech output "Also serve VoiceDesign"), the Dungeon Master reads with voices from fixed descriptions (dungeon_stimmen.json, dungeon_stimmen.py). Every new story gets a narrator voice of its world (six per world and four for all, such as "old sea dog, rough" for pirates), never one of the same host's last three rounds; a campaign keeps it. The host picks it under "🎙 Narrator's voice", rolls another with "🎲 New" or listens with "▶ Sample". Fixed mood key words (eerie, battle, tense, sad, cheerful, calm) add a fixed addition, such as quieter and slower when eerie. Every NPC has its own voice: on its first appearance the model only names traits from fixed lists (age, gender, sound, nature), the panel builds the description from fixed English words and keeps it for round and campaign (40 at most); a missing or unfitting trait comes from the name, always the same. The traits are not in the log. Without VoiceDesign the fixed voices of the rules count. Live: number of NPC voices. Log: dungeon: erzaehler | neu or gewaehlt. Every refusal of the panel says its reason (dungeon._http sends the fixed reason word, such as held spielt, runden, tasche voll); the page shows a whole sentence with what to do (DMGRUND in dungeon.js) in a notice box with ⚠, such as "This hero is playing in another round right now. End it there or pick another hero." test_dungeon.Refusals checks every reason word has its sentence. When the second engine is not running (loading, stopped, failed; log dungeon: stimmen | voicedesign <reason> | feste stimme), the fixed voice stands in, for the narrator the one from the rules: reading aloud goes on, a sample adds "Voices from a description are not running right now" and is not kept; after 10 minutes the panel asks again. When the speech output is only busy, it says "busy right now".

AI Dungeon Master: right column and class choice: At the table the right column shows the own hero on top (the turn stands in the head), below it tabs with only one open at a time; the device remembers the last one. The class cards count what the class can do ("1 power · 20 spells"); below them the chosen class's starting powers and spells by grade stand as small chips. Class names do not break in the middle of a word.

AI Dungeon Master: a prologue with a hold: The prologue has a fixed shape: place and mood, a clear quest (who wants what from the group, why, what reward waits), a first lead, at least 700 characters. If it is shorter, has no quest or fewer than two possibilities, the panel sends it back once; the second try counts. Below it each hero gets one sentence why they are here (only names of the group), and What you can do with two to four buttons; a tap writes the possibility into the own field, own ideas still go. The quest stands in the side column until the narration reports a goal reached (then ticked); the model gets it every turn. Without a story plan the panel picks a kind of quest from a fixed list (rescue, search, protection, mystery, escape); with a plan its goal counts, also without a quest from the model. All of it is the model's text, checked like every narration (tone, "never", taboos). A tap on a worn thing on a hero card opens its big window with picture, rarity, description and values; for the own hero with "Unequip", for others only to look at. Dice (1d6+2, d20) stand out everywhere in the game as a violet box, bonuses green, penalties red: in narrations, rolls, values, items and "What I can do". Side column: the four tabs map, host, threads and date are equally wide with the sign above the word; the map is the first tab, large via ⤢. In the tab Host "▶ Go on now" stands wide on top with "waiting for …", below it four tiles of the same size with their state (pause, market, read aloud, scene picture), invite and the narrator's voice as one row each, ending the chapter or round behind "⋯ More".

AI Dungeon Master: painted pictures, the class large, a hero sheet with tabs: Peoples, classes and every class's abilities have a painted picture in every world's style (the fixed texts name no genre, the world's picture style says it, for bestiary foes too), from a fixed text of the panel (the English name, for abilities their sentence), painted like the item pictures (Features → AI Dungeon Master → Pictures and hero song, at night or on the button, the same check and day limit). Until a picture is there a placeholder stands. When making a hero the people and class cards show the picture, bonuses in colour below, on the class "1 power · 10 spells". The chosen class stands large: picture, sentence, main values, life per level and powers as picture tiles by grade (starting powers, cantrips, grade 1); a tap explains a tile right below with picture, kind, sentence and values. Peoples and classes have a short sentence (satz, optional, checked by check_rules). The hero sheet shows the portrait large on the top left (or the colour), beside it life, experience, the six values as tiles with a coloured bonus, and protection, gold and bag; below four tabs: Equipment (the slots), What I can do (powers as picture tiles, coloured on top by kind: red attack, green healing, blue protection, gold other, with a filter and charges per grade as dots), Bag (bag and trading) and Spend points (new value points, a new ability, voice, hero code). The last tab stays remembered on the device; "New level: spend it in the hero sheet" opens Spend points. A tap on a power opens its window with picture, description, values and "✨ Cast" ("Use" for abilities), which writes the sentence into the own action; the panel checks it like every action. A power's kind comes from fixed catalog words (dungeon.power_kind), never the model. No new endpoints. Self-tests Heroes in app/tests/test_dungeon_dingbild.py and Windows in app/tests/test_dungeon.py. Guest mails: if no mailbox is chosen for guests with e-mail, the page says "No mailbox is chosen for guest mails yet …", and the log names a fixed reason for every guest mail that did not go: dungeon: gastmail | code nicht gesendet | kein postfach (or kein tls, nicht erreichbar, anmeldung, empfaenger, abgelehnt, abbruch, ausgang fehlt, notaus), never the address or the server's text. The mailbox choice also lists mailboxes of known providers without an own outgoing server (iCloud, Gmail, GMX, WEB.DE: the known server counts). Self-tests GuestMail.test_a_failed_code_mail_says_why and test_a_known_provider_mailbox_can_be_picked. After "Act": the own action stands as a green card with ✓ ("Your action for turn 3", the text, "Waiting for Gandalf · at the latest in 1:55"), pops in briefly and a phone vibrates once. "Change" brings the text back into the field; a new "Act" replaces the action while the turn is open. The own name never stands under "Waiting for" after acting. If the panel refuses, the text stays in the field with the reason below. Once everyone has acted, the narration shows the steps reading, dice, narrating. Self-test Windows.test_acting_shows_the_own_action. A seat link fills the window: a seat link opens the table over the full browser area, without the assistant behind it and without the assistant icon at the bottom right; whoever is signed in with a profile gets back with "Close". A guest without sign-in gets no "Close", everything else of the page (sign-in, emergency access, search) is hidden and not reachable by keyboard; the server lets a seat code reach only /api/dungeon/* of its own seat. Self-test Windows.test_a_seat_link_fills_the_browser. Managing fellow players: as the host every fellow player's hero card has "⋯" with New link (guests only: the old link stops at once, the hero stays, the new one shows once with its QR code), Stop waiting (the turn no longer waits for them until they act again; "Wait again" undoes it) and Take off the table after asking once more (a hero with a profile stays in the profile, with a guest account in the guest account, otherwise it is gone). A free seat whose link nobody used for 72 hours goes by itself. Endpoint PUT /api/profile/dungeon/{rid}/platz/{pid} (host only, sign-in, CSRF, size and rate limit), logs dungeon: platz | link, dungeon: platz | ruhen, dungeon: platz weg | 1 frei abgelaufen. Self-tests Seats and Windows.test_acting_shows_the_own_action.

AI Dungeon Master: pictures in the right places: The newest scene picture stands once, large, at its place in the log, scrolls with the story and never lies over the text. Older scene pictures stay small with their place, "The scene picture is being painted …" stands as a calm line at the end of the log. Every action in the log shows the hero's portrait, otherwise its initial. Where no picture is painted (peoples, classes, powers, the portrait in the hero sheet), a placeholder stands: the sign on a calm ground (for powers ⚔ attack, ✚ healing, 🛡 protection, ✦ other, otherwise the initial), the large ones with "No picture yet". No new endpoints. Self-test Windows.test_pictures_once_in_the_story in app/tests/test_dungeon.py.

AI Dungeon Master: reading aloud piece by piece, every character with its own voice: A turn is made piece by piece (one or a few sentences, the first very short), each its own file; the devices play them in order while the next ones are made, so the first sound comes after a second or two. Every piece gets a second try, then the speech output's own voice speaks; if that fails too, only that piece is left out. Reading aloud runs on every device that has it on, guests and the iPhone app too: one tap on "🔊 Sound on" unlocks the page's sound (browsers allow sound only after a tap). 🔈/🔇 switches for this device only, "⏹ Stop reading" stops, "🔊 Listen again" reads the last turn again. Whoever joins mid-turn hears nothing old. While it reads, the clock waits: reading and turn time start only after the last piece, at most 4 minutes later ("being read aloud, the clock starts afterwards"). Voices: under Features → AI Dungeon Master → Adjust rules, part "Voices", there are three fixed voices, preset narrator "ryan", NPCs (men) "eric", NPCs (women) "serena"; if one is missing, the speech output's own voice speaks. What stands in quotes is spoken by the character, never by the narrator: whoever is named right after it ("…", says Grimma) or last before it, an NPC in its voice (women and girls in the women's voice), a hero in its own, otherwise the NPC voice. If the same line also stands in the NPC field, it is read once. The model is told to put quoted speech with the name into the NPC field. With VoiceDesign the described voices count. A hero at the table gets a voice proposed that is neither a fixed one nor another hero's at the table; changeable in the hero sheet. Module dungeon_vorlesen.py, pieces under STATE/dungeon-ton/<round>-<turn>-<piece>.wav (only the last three turns), endpoint GET /api/profile/dungeon/{rid}/ton/{n}/{k}, for guests POST /api/dungeon/ton {code, zug, k} (sign-in or seat code, size and rate limit). One log line per piece with milliseconds: dungeon: vorlesen | teil | ok (or nochmal, ersatz, fehler) | 812 ms, at the end dungeon: vorlesen | ok | 7 teile | 9400 ms (or teils, ausfall, pause). The live overview shows "reading aloud running", turns read aloud today, pieces with a stand-in voice and failures. Self-tests ReadAloud, Voice and Windows.test_reading_aloud_piece_by_piece_on_this_device in app/tests/test_dungeon.py.

AI Dungeon Master: look at foes and loot closely, voices for side characters: Look closely: a tap on a foe of the encounter card or the fight box opens a big window: big picture, name, count, size, description, in a fight its life as a bar, level, life, armour class, attack, damage and XP as chips, the six scores with bonus and under "Can cause" the conditions its hits can cause (from the bestiary, dungeon_kampf.card; the fight box via dungeon_kampf.view). ‹ › or the arrow keys page through all foes of the encounter or fight. A tap on a loot line opens the item: in the own bag with "Equip" and the bag's buttons, on the ground with "Pick up", otherwise to look at (dungeonfenster.js, keys g:, kg:, b:). Browser test Windows.test_a_foe_and_a_loot_line_open_a_big_window at 1280 and 390 pixels. Voices of side characters: without VoiceDesign the fixed male and female voice count. With VoiceDesign every side character has its own description with a speaking pace (slow, even, quick, halting) and timbres such as hoarse, nasal, velvety, scratchy (dungeon_stimmen.json "npc", MERKMALE); characters without a kept pace get it from their name. Self-test: 60 names give at least 50 different voices, every description at most 80 characters. For the car: set_pause(rid, uid, an) is a function of its own so "pause the round" in the car uses the same rule.

AI Dungeon Master: checks with their purpose, ways of speaking, values as chips: Checks: every check carries its purpose (wofuer, at most 60 characters): the model's words, checked like its text (plain text, word filter), else the start of the player's action. The check card in story and dice view shows "Gandalf rolls Intelligence", the purpose large, below it "14 +2 = 16 vs difficulty 13" and on the right "success" or "failed"; at the own throw the purpose stands large above the die. Ways of speaking: with VoiceDesign every character speaks a quote the way the text says: the words right after the quote ("…", flüstert er mit archaischer Stimme) or the clause with a colon before it (Kael zischt: "…") are matched against a fixed list of 20 ways of speaking (dungeon_stimmen.json "sprechweise": whispering, shouting, stammering, growling, hissing, laughing, sobbing, murmuring, trembling, angry, ancient, cold, soft, hurried, mocking, commanding, tired, singing, pleading, warning); at most two fixed English additions go onto the voice description (stimmen.weise). The model's text never reaches the speech output. Without VoiceDesign the fixed voices count. Log dungeon: sprechweise | 2 (quotes with a way of speaking in the turn). Values as chips: people and class cards when creating show values as small chips that never break: the people's bonus ("KON +2", "WEI +1"), the class's main values, "❤ life", "✦ powers" and "✨ spells"; names stand whole, two cards a row on a phone. No new endpoints. Self-tests Turns.test_every_check_says_what_it_is_for, Voices.test_a_quote_is_spoken_the_way_the_text_says and browser tests Windows.test_waiting_and_table_talk_at_the_table, Windows.test_side_tabs_and_class_detail. Overview in the middle, full screen: on wide screens the rounds overview and heroes stand in the middle, at most 1240 pixels wide, world cards spread over the row, input fields stay readably narrow; "⛶ Full screen" stands in the overview's head (one source dmVollKnopf, also at the table). Browser test Windows.test_overview_in_the_middle_and_full_screen at 1920 and 390 pixels. Only on the fitting body part: there is a tenth place "belt" (SLOTS, PLATZ, PLATZ_ART) for belt, sash and belt of giant strength. An item dragged to a place it does not belong is refused (platz falsch, log line dungeon: platz | falsch) with the note that every item belongs on its body part; while dragging, fitting places light up and the others fade. Wrongly worn items in rounds or stored heroes move on reading to a free fitting place, else into the bag (right_place). Self-test Equipment.test_only_on_the_fitting_body_part also checks the catalogue: whatever is named -gürtel, -stiefel, -handschuhe, -helm, -amulett, -halskette or -schild sits at the fitting place.

AI Dungeon Master: longer narrations at the moments, way of telling per round: Length by moment: before every narration the panel decides by fixed rules whether the turn is a moment (moment_of): "ort" when an action asks for a neighbouring map place (name or direction, dungeon_karte.named_way), "kampf" in a fight's first turn or when a foe falls, "wurf" on a natural 20 or 1. Then the narration may be up to 1,600 characters (ERZ_MOMENT, else 900, the opening of a round, chapter or act 1,500), with the fixed task to tell the moment in 3 to 4 paragraphs with every sense. Way of telling per round: brief, normal or rich (×0.7, ×1, ×1.6 on every limit, WEISEN), when creating under "The round" and for the host in the tab "Leiten" under "📜 Way of telling", from the next turn on. Endpoint POST /api/profile/dungeon/{rid}/erzaehler with {weise} (host, login, profile, CSRF, size and rate limit; an unknown word is refused). Longer narrations take a little more time; the turn's clock waits for the reading. Log dungeon: laenge | ort | 1600 (or normal), dungeon: erzaehlweise | knapp. Self-test Fight.test_longer_at_the_moments_and_the_rounds_way_of_telling. The encounter matches the text: the model must name every chosen foe by its name from angebot; if one is missing it rewrites once with the note "gegner" (dungeon_erzaehler.judge), log dungeon: nachbessern | gegner. The encounter card wears the table theme's colours (light and dark), picture, name, count and values are always visible; "Stufe ¼" is the challenge rating from the bestiary, the tooltip explains it. Tap on the picture: in the hero sheet a tap on a tile's picture (What I can do, Bag, Equipment) opens its window too. Self-tests Fight.test_the_narration_names_the_foes_of_the_card, Fight.test_a_picture_never_carries_a_buttons_attribute and browser test Windows.test_hero_sheet_merchant_and_item_windows. NPC lines once and without names: when a side character's line already stands in the text, even split over two quotes ("You do not understand", he stammers, "…"), the panel reads it only there in the character's voice and does not show it again as a block (dungeon_vorlesen.in_text, npc[].im_text); a line not in the text the character speaks without its name in front. In the car every line comes once. Self-test ReadAloud.test_an_npc_line_once_and_never_its_name. The voice fits "er" and "sie": when "…", warnt er leise follows a quote, the panel takes as speaker only someone named before whose gender does not contradict it, and speaks a quote without a named speaker in the voice that fits the pronoun (dungeon_vorlesen.pronoun, stimmen.sex). Self-test ReadAloud.test_the_pronoun_after_a_quote_picks_the_voices_gender. Scene pictures on their own: after a turn the panel paints the scene picture by itself when the place changes, a fight or a new act begins, or 5 turns passed without a picture (auto_scene, BILD_AUTO); with the model's picture text, else from place and mood. The limits of Painting pictures hold (one picture every 3 turns, 12 per round, the day's limit, none in an admin's round). "🖼 Paint the scene now" stays. Log dungeon: bild | auto | ort | ok (or with a reason such as abstand). Self-test Pictures.test_the_panel_paints_on_its_own. A find's name fits the thing: the model may give a find its own name, the panel picks the thing from the catalogue and checks the name by fixed rules (name_fits): a proper name like "Glockenbrecher" for a sword stays; when a word for a find's place is in it (chest, crate, cache, hiding place, tomb … in _FUNDORT), it stays only when it names the thing too ("Truhenbrecher-Dolch"); otherwise the thing is called as in the catalogue and the model's name stands with it as "Found in: Versiegelte Truhe" (own_name, field fund). Finds in rounds, stored heroes and loot lines are repaired the same way when read. "rare" is the middle of the five rarities (common, uncommon, rare, epic, legendary). Self-test Equipment.test_a_find_keeps_its_name_only_when_it_names_the_thing.

AI Dungeon Master: the voice only by fixed traits, also when someone goes on talking: The gender of a quote's voice comes only from fixed traits: first the character's kept one (npc_stimmen), else the pronoun after the quote ("…", says he), else none; then the NPC voice speaks as a person (offen), never guessed from the name. A quote that only goes on (»Kein Fremder hier«, sagt er heiser. »Nur Schatten und Stille.«: no name, no pronoun, nobody named since the last quote) keeps the speaker and gender of the one before (dungeon_vorlesen.rede). Among several named before, the panel first takes the one whose kept gender fits the pronoun. Self-test ReadAloud.test_he_speaks_with_a_mans_voice_also_when_he_goes_on.

AI Dungeon Master: reading aloud, table at small widths, prompt rules: Reading aloud: the short silence with which "🔊 Sound on" unlocks the player is made on the tap as a blob: (dmStill), fitting the panel's security rule (CSP media-src 'self' blob:). Self-test Fight.test_table_sound_only_from_sources_the_csp_allows (no data:audio in the table's scripts). Table at small widths: the head wraps before the title gets narrower than 320 px; music, sound and buttons move into a second row and never lie over the title. The columns follow the table's own width, not the window's: up to 1060 px two columns with the group as a row on top, up to 720 px one column. Browser test at 1280, 1000 and 390 px. Prompt: the rules (Funktionen → KI-Dungeon-Master → Regeln anpassen) have no JSON rule of their own (the fixed schema rules that), and rule 7 says "Invent no values, items or foes outside the facts; the panel drops them." Armour works through the armour class.

AI Dungeon Master: scene picture in the prologue, "🔊 Sound on": Every prologue (new round, next chapter) paints its scene picture right away, within the limits of "Paint pictures" (may_paint): with the model's picture text, without one from the scene's place and mood (scene_text, the same source as "Paint scene picture now"). When the check refuses the model's picture text, the prologue paints nothing. Log dungeon: bild | prolog | ok or with the reason (aus, malt, leer, person …). "🔊 Sound on" unlocks the sound with a real 0.1 s silence and wakes the audio context; only a refusal of the browser (NotAllowedError) keeps it locked. Self-test Pictures.test_every_opening_paints_its_scene. Quest done only at the end: A goal the model reports (erfolg "ziel") ticks off the pinned quest only by a fixed rule (quest_may_end): with a story plan only in its last act or after it, without a plan after 8 turns at the earliest (AUFTRAG_ZUEGE). An earlier goal is a step on the way: its 100 XP count, the quest stays open and the model keeps getting it as a fact; a quest ticked off too early is open again after the next turn. Log dungeon: auftrag | erfuellt or … | zu frueh. Self-test Fight.test_the_quest_is_not_done_after_one_goal_early_in_the_story.

AI Dungeon Master: fights by fixed rules: Encounter by budget: The panel works out the experience budget of a medium D&D encounter from the level of every living hero (dungeon_kampf.BUDGET, half at the children's table) and, without a running fight, offers the model at most 5 foes of the round's world from the bestiary (fact angebot, drawn fixed per turn from the 12 nearest to a third of the budget). The model picks only from them (field begegnung: id and count); the panel takes only offered ids, at most 4 of a kind and 6 in all, and drops the strongest until the experience with the D&D multiplier is at most 1.5 times the budget. The card "⚔ Encounter" shows every foe with picture or sign, count and danger (easy, medium, hard); a tap shows text, level, life, armour class, attack, damage and experience. The panel rolls the attacks: The model gives an attack's check the target (ziel, the foe's name). The panel rolls d20 + the bonus of the weapon's value (with equipment and blessings) + the proficiency bonus by level (prof: +2, from level 5 +3 …) against the foe's armour class; a 20 always hits and rolls the damage twice, a 1 never hits. Damage: the weapon's die + the value's bonus + the rarity's bonus, with an attack spell its die by grade, without a weapon 1d2. Then every standing foe attacks the hero who last hit it, else a standing one: d20 + attack from the bestiary against the hero's armour class (10 + twice the body armour + helmet, shield, gloves, boots + Dexterity bonus, at most +2 in medium armour, none in heavy; shown on the hero sheet and the card), damage by the bestiary's dice. Only the panel changes the foes' life; damage the model reports does not count. A foe at a quarter of its life or less flees on a d20 of 9 or less, at the children's table it "gives up". The bar "⚔ Fight" above the story shows every foe with its life, defeated or fled. End and experience: The fight ends when no foe stands or the check "offer peace" or the group's flight succeeds (both only by the panel's check). The experience comes from the bestiary (fled ones half), divided among the living heroes and rounded down; only a won fight brings a find. The model reports only a goal reached (100 XP), no defeated foes or loot "foe"/"boss". Levels follow the D&D curve (level 5 from 6,500 XP). Rooms of the map: When the map puts raum_gegner (the room's tag and bestiary ids) into the round for a guardian or boss room, the panel offers only these foes, once each and without the budget; after the win sieg with the room's tag is in the round and the way is free. Self-tests Fight (seven cases). Live overview: running fights, standing foes, today encounters, fights, hits, misses, defeated, fled. Log: dungeon: kampf | start | 2 gegner | mittel, dungeon: kampf | ende | sieg | 2 besiegt | 0 geflohen.

AI Dungeon Master: thing memory: In every narration the model reports at most 3 important things that come up for the first time, with their features (field dinge: name, merkmale with material, colour, state). The panel checks them by fixed rules (short, the round's word list, no hero's name, none twice, none against one already kept) and keeps at most 12 per round with place and turn (dungeon_erzaehler.DINGE_MAX). Every narration gets the kept things at the group's place or from the last 10 turns as facts with the fixed rule never to change material, colour or state. Fixed contradiction check: when a narration names a kept thing with a feature from a fixed word list (material: wood, iron, silver, gold, stone, bronze, copper, glass, leather, bone, crystal; colour) that matches no kept feature of that kind ("wooden box" instead of "iron box"), the Dungeon Master writes it once more with a fixed hint naming the thing and its features; otherwise the first one stays. For the host: under "Truth of this chapter" stands "Kept things · only you see this" with name, features and place; ✏️ changes a thing, 🗑 forgets it. Players never see the list. Kept things go on into the next chapter. A line out of the game (ooc) that speaks for the panel ("the panel confirms …") is dropped. Endpoint POST /api/profile/dungeon/{rid}/dinge (host, login, profile, CSRF, size and rate limit). Live overview: kept things, contradictions rewritten today. Log: dungeon: dinge | neu | 2, … | geaendert, … | weg, … | wortliste, … | nicht da, dungeon: nachbessern | widerspruch. Self-tests ThingMemory (six cases) and Windows.test_kept_things_for_the_host.

AI Dungeon Master: life 0 has consequences, powers work by fixed rules, experience only at the end: At 0 life a hero is down: it does not act, the turn does not wait for it, bag, sheet and trading are locked (reason "boden"). A friend gives it one of their own healing potions with "🧪 Give a healing potion" on its card, a healing spell for the group gets it up, or the narration reports healing when someone helps it up. After 3 told turns without healing (BODEN_ZUEGE) it has fallen, for good: everything it wore and carried and its gold lie under "Lying here" for the others, the experience of this table is gone. A fallen hero stays so in the hero list, the guest account and a campaign; it sits at no table again (reason "tot"), gets no hero code and no consequences. For a new hero the host takes the seat back and invites again. When everyone is down, the Dungeon Master narrates on once the turn time is up. At the children's table (youngest tone) nobody dies: after 3 turns the hero is only unconscious and wakes at the next table (next chapter), with its things but without its gold. Rest: whoever sits down at a new table (new round, next chapter, seat) has full life and charges, only the living. The model gets every character's state ("down", "unconscious", "fallen") with the fixed rule that it does not act, and may never write "the panel confirms". Powers by fixed rules: abilities carry a wirkung (fixed words, checked by check_rules) and immer in dungeon_regeln.json. Iron skin (weniger_schaden) takes 1 off every hit, even below 1. Shield wall (abfangen), when the action names it with a word of using it, takes the first hit meant for a friend in that turn, once a scene (place); a second time at the same place a line for that seat only says "used already". Battle cry (gruppe_probe) gives the group +1 on that turn's checks, the roll shows "Battle cry +1". Lasting abilities (Iron skin, Steadfast, Weapon master, Master thief and others) show "always works" instead of "Use". Experience at the end: XP gather at the table ("+X XP still at the table" in the sheet, the hero list and the log) and are credited only at the regular end of the round (the host ends it, time is up, the chapter is closed), at most one level per game evening. Whoever leaves before (the host takes the seat back, a hero code mid-round) keeps the experience it came with; things and trades stay so nothing is doubled. A hero sits at one table only. Live overview: heroes down, today down, back up, potions for friends, fallen, unconscious, powers worked. Log: dungeon: zustand | boden | noch 3, … | auf, … | tot | 5 dinge, … | ohnmacht, dungeon: kraft | abfangen, dungeon: ep | ende | 2 helden, dungeon: beitreten | tot. Self-tests Permadeath (six cases).

AI Dungeon Master: every character in its clone voice with a Base model: when the speech output runs a Base model (Settings → Speech output, model "…-Base") and VoiceDesign is provided as well, VoiceDesign speaks a character's first sentence (narrator, NPC or hero with a described voice); if it is 3 to 15 seconds long it becomes the clone reference. The Base model speaks every later sentence from the reference: the same sound and faster than VoiceDesign. If that fails twice VoiceDesign steps in, then the fixed voice. The references live in the state folder dungeon-klone (at most 200, the longest unused go first) and count for all rounds. With the preset CustomVoice model this does not apply. Live overview: clone voices; log dungeon: vorlesen | klon | neu | 5.0 s. Self-test ReadAloud.test_a_character_speaks_as_its_clone_with_a_base_model.

AI Dungeon Master: a bar of its own on the phone: on the phone the game table shows one part, a bar of its own at the bottom picks it: 📖 Story (narration, clock and field), 👥 Group (the other players), 📜 Hero (own hero with the hero sheet, Threads and Date; the game master console under “⋯” in the head, the field to act in every pane) and 🗺 Map (once there is one). When the Dungeon Master tells on while another part is open, "Story" gets a red dot. The panel's own bar (Assistant, Today, Documents, Me, Manage) is hidden at the table and comes back with "← Rounds". A wide screen shows three columns. Self-test Windows.test_phone_bar_one_pane_at_a_time.

AI Dungeon Master: a calm table without doubles: the guide "How to play" is a window in the table's look with one page per part (map, writing, dice, life, merchants, reading aloud and more). "‹ Back", "Next ›", the dots and on a computer the arrow keys page through; Esc, ✕ or a tap beside it closes it. It appears once per device as a small card "How it works" with "More", then through "❔ How to play" in the head (on the phone under "⋯"). Music, sounds and volume sit in the table's head. Turn, clock and "have acted" stand only once: the turn in the head, clock and state above the field. Once you have acted the clock stands in your own card, your own extra minute there as "+1 minute for you". The own hero stands in the group as a short row (name, life, state), the large card with the hero sheet on the right. At the table the floating assistant face is hidden, on every other page it is shown. The tab "Host" uses the table's font, an odd last tile fills its row. Self-test Windows.test_table_calm_guide_pages_and_no_doubles.

AI Dungeon Master: the word list also for what players write, the host hides and mutes: A round's word list (its tone's words, the rules' list "never", its story's taboos) also checks everything players write: the table talk, every action, the new name when renaming and the name of a hero who sits down at the table (also a kept hero or a hero code from a rougher table). At a table "from 8" "There is blood!" does not go through; the page says "That does not work at this table: a word is on the round's word list … Put it another way.", and the text stays in the field. The list "never" holds for every new hero. The host has a small ⊘ "Hide for everyone" on every line of table talk and every action in the log: no seat sees it any more, but it stays in the round's file. A fellow player's "⋯" has Mute in table talk and "Let talk again"; a muted seat can still act and in the table talk only sees "The host muted you in the table talk". Endpoint POST /api/profile/dungeon/{rid}/verbergen {art: tisch|aktion, n, pid} (host only, sign-in, CSRF, size and rate limit), PUT …/platz/{pid} knows stumm and laut. Logs dungeon: aktion | wortliste, dungeon: tisch | abgelehnt | ValueError, dungeon: platz | stumm, dungeon: verbergen | tisch (or aktion, … | nicht da), dungeon: beitreten | wortliste. The live overview counts hidden lines, refused player texts and muted seats, never contents. Self-tests Moderation in app/tests/test_dungeon.py and Windows.test_acting_shows_the_own_action.

AI Dungeon Master: values for items and foes: Under Features → AI Dungeon Master → Adjust rules every item row shows kind, rarity, the value it uses, damage, protection, healing, blessing with its value, tool bonus and price; foes show level, life, armour, attack, damage and EP. The detail has a list of values (dungeon_regelseite.werte): for items what it does at the table (the same lines as on the hero sheet), what it uses, whom it is for, spell grade, classes, weight and price; for foes life, armour, attack, damage with its average, EP, the six values, the conditions it can cause, and size. Conditions show effect and duration. Everything comes from fixed words and the catalogue's numbers.

AI Dungeon Master: the player menu is no longer cut off: A fellow player's "⋯" menu in the side column is exactly as wide as the hero's card and opens under its head; a browser test checks this at 1280 and 390 pixels wide. Painting under the rules without a day limit: only the admin reaches the "Malen" button under Features → AI Dungeon Master → Adjust rules; it does not stop at the day limit of catalogue pictures (300 a day, dungeon_dingbild.TAG_MAX), but it counts. The run over the whole catalogue, at night or by button, ends at that limit.

AI Dungeon Master: the die lands on the number that counts: On the own throw the die slows down and its last face is always the panel's number. With advantage or disadvantage the panel rolls two dice; the throw and the log show both and say which one counts ("Disadvantage: 14 and 9, counts: 9"), before the throw it says "two dice, the lower counts" (or the higher). A natural 20 or 1 is named under the bar ("natural 20: always a success", "natural 1: always a miss"). Every wait has its own stamp (warten.wt), so the same check next turn is a new throw.

AI Dungeon Master: the map follows when the narrator forgets the id: When the model narrates the way to a neighbouring place but leaves szene.ort_id empty, the panel decides by a fixed rule (dungeon_karte.named_way): when the narration names exactly one neighbouring place and a player asked for that place in this turn, by its name (also inflected, "zur alten Bibliothek") or its direction ("nach Nordosten"), the group moves there. A place only told about, a far place or two named neighbours never move. Log dungeon: karte | name statt id. Only who wants to go goes: even a valid ort_id of the model moves the group only when an action of the turn wants to go: a word of going (gehen, weiter, folgen, betreten, verlassen, reisen, zurück … GEHEN, in English go, head, travel …), a neighbouring place or room, or a direction. When a hero only searches a letter pointing to Wolfshafen, the group stays where it is (log dungeon: karte | verworfen | ungefragt). A turn without an action never moves. The narration names the new place: when the ort_id points to a neighbouring place the narration does not name, dungeon_karte.ort_fehlt returns that name (for the narrator's "karte" fault, which has the turn rewritten), and the map keeps the group where it was at worst (log dungeon: karte | verworfen | nicht erzaehlt).

AI Dungeon Master: ways in stages and the way to the nearest settlement: The map only counts; the checks and events are rolled by the panel elsewhere. dungeon_karte.weg(r, rd, "o3") gives for a way from here its stages by its length (ETAPPE = 80 units, 1 to 3 stages, at least one) and the land it leads through (the id of ideen.landschaften whose place kinds hold the target, else the start, else "weg"; one source with the travel events). LAND only draws the ink signs around the places. dungeon_karte.zur_siedlung(rd) searches the ways for the nearest settlement (village, town, tavern, station, bazaar, harbour as for trading) and gives stages and steps, the name only when the players know the place; inside a settlement it is 0 stages.

AI Dungeon Master: props by room and place: dungeon_karte.requisiten(r, rd, rng) fixes 2 to 3 props of ideen.requisiten for the fight where the group stands: first those whose arten hold the room id (e.g. speisesaal) or room kind in a vault, or the place kind outside, filled up with those without arten (fit anywhere). They are rolled once per room or place (karte.req) and stay; requisit_benutzt(rd, id) takes a used one away (each only once). Effect, check and buttons are the fight's (switch dungeonumgebung). Logs dungeon: karte | requisiten | N, requisit | benutzt, requisit | fehlt.

AI Dungeon Master: alarm and torches in a vault (rule depth "Full", Features → AI Dungeon Master → Rule depth): The panel counts an alarm from 0 to 6 per vault (dungeon_alarm.py). Noise raises it, each by at most 3: a fight, a door, the price "noise" of a near miss, a fumbled sneak (the fight's events via dungeon_karte.laerm(rd, n, grund)) and a sprung trap. At 3 a bell tolls and the next chamber or passage entered holds a patrol with guardian foes; at 6 the master of the vault has one more follower. When new dwellers come it is calm again. On entering the panel lights a light of the group: first one that never burns out (light spell, Everburning torch with licht −1), else the first torch or glow stick in a pack (licht 4, used up). Every room entered burns one, then the next follows. Without light, whoever cannot see in the dark (not dwarf, elf, orc, gnome, half-elf or tiefling) rolls every check at a disadvantage; the receipt says "dunkel". Above the vault plan it says "🔔 Alarm 2/6 · 🔥 Torch: 3 rooms" or "🌑 Dark"; the view carries karte.alarm and karte.fackel (rooms left, −1 always burns, 0 dark, null outside), the model gets alarm and light only as data. Logs dungeon: alarm | <grund> | <stufe>, alarm | streife, alarm | herr bereit, alarm | licht | <rooms>, alarm | verworfen; the live overview counts noise, patrols, torches and darkness.

AI Dungeon Master: the map does not blink: The table writes itself anew on every refresh, but the map stays the same element while its drawing does not change (dmkKeep in dungeonkarte.js, called by dmTable), and a picture already loaded is in the drawing at once. It is drawn again only when something really changes, such as a way, a new place or the width.

AI Dungeon Master: coming along only after the check and people on the move, the map's part: In a round at the rule depth "Full" (part dungeonmitkommen) a word like "come with us" does not take a person along at once; the map only remembers which seat asked (leute[name].fragt). dungeon_karte.fragen(rd) tells before the narration whom the open actions ask so (read only, the same words), so the panel can roll the check first. The panel's check decides, dungeon_karte.mitnehmen(rd, name, ja) takes the person along or not and clears the question. Without the switch the word takes the person along directly. dungeon_karte.wandern(r, rd, rng, anlass) (occasion end of a chapter or a long rest, switch dungeonwandern) lets every known person not travelling along whose goal the panel knows (dungeon_nsc.ziel_ort) go one way of the map on towards it at 50 %; it returns a list of who went from where to where for rumours, the model only tells the meeting again. Logs dungeon: karte | mitkommen | gefragt|ja|nein|ungefragt, karte | wandern | <anlass> | <anzahl>.

No daily limit also without the second step: The admin ticks "frei" under People and devices, at the profile under Rights "No daily limit", for any profile and without the second login step (PUT /api/admin/profiles/{uid}/tageslimit with {"frei": true}, admin only, no manager, rate limit, CSRF). A profile with the admin role has the tick set for good. Stored in state/ohne-tageslimit.json (in the backup), changes in the admin log (profile_daily_limit) and in the log coadmin: tageslimit | frei|begrenzt|kein profil. The admin rights themselves need the second step. Me → Pictures and Me → Music show "no daily limit".

No daily limits for admins, rarity under Regeln → Gegenstände: A profile with the admin role (coadmin.unbegrenzt, the same rule as for the quota) has no daily limits for painting and changing pictures, songs, own music files and the pictures of an own Dungeon round; Me → Pictures and Me → Music show "no daily limit". Space, the queue of heavy jobs and everything that leaves the house (mails, calls, reMarkable) keep their limits. Under Features → AI Dungeon Master → Adjust rules the item list stays put on a tap, only the mark and the detail change. Every item stands in its rarity's frame; most basic items roll it only when found, carry a dashed frame with a colour gradient, and their detail shows the ladder common to legendary with roll, bonus, price and minimum level. Renaming a fellow player: in a fellow player's "⋯" the host changes the hero's name (PUT /api/profile/dungeon/{rid}/platz/{pid} with {"was": "name"}), only the name, checked as when creating (2 to 24 characters, at least one letter); values, level and bag stay. Log dungeon: platz | name.

AI Dungeon Master: More time between turns: After every narration a reading time runs first (15 s plus 1 s per 60 characters, at most 90 s, dungeon.read_s), only then the turn time; until then the clock shows "reading time, the clock starts in … s". New rounds have 300 s turn time (selectable 60, 120, 300). Once the last player acted, the turn closes only 10 s later (GNADE_S), the own card shows the seconds and "Change" still works. Below the input field and in the own card there is "+1 minute": once per turn and seat (POST /api/profile/dungeon/{rid}/mehrzeit, guests POST /api/dungeon/mehrzeit; sign-in or seat code, CSRF, size and rate limit like the other game endpoints), everyone sees "more time for …". From 30 s left the clock turns red and a phone vibrates once. Logs: dungeon: mehrzeit | ok, dungeon: mehrzeit | schon, dungeon: mehrzeit | nicht jetzt.

AI Dungeon Master: tab "Rules" with bestiary and balance: On the Dungeon Master page the admin has a third tab Rules next to Rounds and Heroes; Features → AI Dungeon Master → Adjust rules opens it (without a profile as a card). On the left are the parts: stories, items, foes (bestiary), classes, peoples, backgrounds, worlds, tones, conditions, then voices, pictures, music, guests with e-mail, how it lands and Advanced (JSON). Each part is a list with picture or sign, one line of values, origin (base, SRD, own, changed, hidden) and the balance mark, with search and filters (items by kind, foes by level, both by balance); beside it (below on a phone) the detail with Edit (the whole entry, checked like every rule), Own copy, Hide and Back to shipped. Pictures: foes get a painted picture in the style of their world like items (a fixed sentence of the panel, at night or by button, the same day limit). 🖌 Paint paints a missing picture right away, Paint again paints a second one and shows both side by side: Keep the new one or Keep the old one; one nobody decides goes after a day. Balance (dungeon_balance.py): foes are compared with a fixed table per level (life, armour, attack, damage per round), items with a budget per rarity (damage, protection, healing, blessing, spell grade, price); the mark says balanced, strong, too strong or weak, the reason is in the detail. Too strong is only a hint, saving stays possible. A self-test checks the shipped catalogue; the list of entries still too strong may only shrink. Live counts own and hidden entries and pictures waiting.

AI Dungeon Master: room for the SRD data: Next to dungeon_regeln.json the panel reads the shipped file dungeon_srd.json (data from the D&D SRD 5.1/5.2, CC-BY-4.0) as a layer between the base rules and the admin's own: the same lists, the same id replaces the entry, {"id": …, "dazu": {…}} adds to the lists of an existing entry (such as a class's weapons, spells per grade, an item's classes; also in the admin's own rules). Without the file only base and own rules count; if it does not pass check_rules, the panel plays without it (log dungeon: regeln verworfen | srd). Checked are the lists gegner (sign, worlds, level 0 to 30, life, armour, attack, damage, experience, six values, size, conditions), zustaende (effect only from fixed words like nachteil_angriff or kein_zug, duration in rounds) and hintergruende (value bonuses 0 to 2, starting gear), the fixed difficulty table sg (very easy 5 to nearly impossible 30), ladungen per level and spell grade 1 to 5, on classes start_faehigkeiten and zauber per grade, on spells grad 0 to 5. Items may have a fixed seltenheit (loot and merchants offer them only when the roll reaches it), jewellery a fixed value (else drawn); the kind treasure (gems, art) is only for selling and stacks. Items with welten exist only in those worlds. Each merged list holds up to 500 entries; the admin's own file (Features → AI Dungeon Master "Adjust rules") at most 200 per list.

AI Dungeon Master: spells and powers only when the hero has them: As in D&D every class brings its starting powers (start_faehigkeiten, shown under the class as "can: …" when a hero is made), spell classes have their spells per grade (zauber); cantrips (grade 0) work any time, higher grades need a charge (ladungen per level). The charges fill up with every new round and chapter, a level brings new ones. The hero sheet shows "What I can do": abilities, spells with "1 of 2 charges left" and spells or tools from the bag; a tap writes "I cast …" into the own action. The panel checks every action by fixed rules (check_powers): if, with a word like "cast", "use" or "wirke", it names a spell or ability of the catalogue the hero neither has nor carries, only that seat sees "(OOC: Bela cannot do that yet: Fireball.)", and the model gets nicht_bekannt and tells that it fails; without a charge it says "no charge left in this chapter". A known spell with a charge is cast when the turn is told (charge gone, healing and blessing by the catalogue, line "✦ … casts …"). The model gets the list kann per hero (names and charges only) and the fixed rule to cast only from it. Status → Live counts spells from charges and refused powers; Logs only dungeon: kann | nicht | 1 namen and dungeon: kraft | grad 1. Features → AI Dungeon Master "Adjust rules" changes starting powers, spells per class and charges (checked by check_rules).

AI Dungeon Master: guests with e-mail: Own admin switch Features → AI Dungeon Master → Guests with e-mail (chat.dungeon_gast, off by default; dungeon_gast.py). Under "Adjust rules", in the section "Guests with e-mail", the admin picks the mailbox with an outgoing server and sees only numbers (guest accounts, with turn mail, heroes, mails today). A guest (only with a seat link, so only by invitation) opens "Guest account with e-mail" in the invitation or at the table, types their address and gets a 6-digit code (valid 10 minutes, at most 5 wrong tries, at most 3 codes an hour per address, 40 game mails a day). With the code they have a guest account on this device (a key in the browser, the Spark knows only its hash, up to 5 devices); the hero at the seat goes in, "Keep this hero" adds one later, up to 8 heroes, written along after every turn and at the end of the round. A new invitation offers "Hero from your guest account". The Spark stores only an HMAC of the address (dungeon-gaeste.json, 0600). "Your turn by mail" is switched on by the guest with their address (it must match the account): then it lies sealed like a password on the Spark, switching it off deletes it. The mail comes when a turn has been open 10 minutes, the guest has written nothing and is not at the table, once per turn, at most 3 a day. All mails are fixed texts of the panel, never model or player text; the emergency stop holds them. "Delete guest account" removes heroes, devices and address. Live counts guest accounts, turn mails, codes and mails; Logs only dungeon: gastmail | code gesendet, angemeldet, dran | gesendet and the like, never an address. API (guest): POST /api/dungeon/gast ({code, was: code|anmelden|konto|merken|zugmail|held_weg|loeschen, …}, rate limit dungeonkonto), joining with {code, konto, konto_held}; admin PUT /api/admin/dungeon/gastmail.

AI Dungeon Master: props in the scene picture: While a fight goes on and "use the surroundings" is on, a scene picture (dungeon.queue_scene) takes the props still there (dungeon_umgebung.here, rows of ideen.requisiten) into the picture: at most REQUISITEN_MAX (3), by their English name from the catalog, never with the model's text (dungeon_dingbild.props). A name the picture rules refuse is left out; a used prop is missing from the next picture. No switch of its own, the one of "use the surroundings" counts. Self-test test_the_fights_props_are_in_the_scene_picture.

AI Dungeon Master: faces for companions: A hired companion (rd["gefaehrten"], key gf:…) gets its portrait like a person with a card (dungeon_gesicht), but at once on hiring: from its fixed English line of the table (GEFAEHRTE_EN + satz, at the children's table the little animal as it is), never with its name, with the world's style, light and mood from fixed lists, checked by dungeon.picture_text, within the daily picture limit. The group shows the face instead of 🤝 (gefaehrten[].bild, dmGefaehrten); when the last narration names the companion, a scene picture takes the face as a reference ("the companion from reference image N with the same face"). It only holds while "Faces for NPCs", "Hire companions" and "Paint pictures" are on for the host; "NPC memory and chronicle" is not needed. The face goes on with the companion into the next chapter (dungeon_gefaehrte.keep), the sweep keeps it while a round or campaign has the companion, only a seat of that round may load it. Self-test test_a_hired_companion_gets_its_face_at_once. The settlement service "hire a companion" has its own picture (DIENST_EN["gefaehrte"], a hiring corner by an inn's door, no person in front) and three lines of life in dungeon_siedlung.json.

AI Dungeon Master: portraits in the NPC catalog: Under Features → AI Dungeon Master → Adjust rules → "People (NPC)" the list and the detail show each person's face (dungeon_dingbild.person_row in dungeon_personen.view): first the one the admin kept by hand, then the face from a round, else a catalog picture. A person without a face from a round is a catalog picture like items and foes (dungeon_dingbild.people): painted at night and with "Paint all pictures", "🖌 Paint", "Paint again" and "Keep the new one" go through the catalog picture door (/api/admin/dungeon/katalog/personen/bild). The picture's prompt is made of fixed parts only (person_text): its world's style, age and gender of its stored voice, the English column of its card (dungeon_gesicht.katalog_text), light and mood from fixed lists; never its name. When the person comes back in a round (dungeon_personen.adopt), it brings this face, not at the children's table. The page "People" of the monster album shows it too. The sweep keeps a face while a round or the catalog names it. Holds only while "Pictures for gear and spells", "Faces for NPCs" and "People catalog" are on. Self-test test_a_catalog_person_gets_its_face.

AI Dungeon Master: innkeeper or landlady, names only as a whole word: The settlement's lines of life (dungeon_siedlung.json) always name the innkeeper of one world the same, never once "Wirtin" and once "Wirt"; the line for "hire a companion" is neutral. A scene picture takes the face of a person or a companion only when the narration names it as a whole word (dungeon_nsc.named in dungeon_gesicht.vorlagen): "Perle" is not in "Perlen". Self-tests test_one_innkeeper_per_world and test_a_hired_companion_gets_its_face_at_once.

AI Dungeon Master: what a foe is, companions with gender and age in the picture: A foe's picture takes what it is from its field "wesen" in the Bestiarium (dungeon_bestiarium.wesen): humans, humanoids, giants, undead, constructs, fey, fiends, celestials and aberrations each have a fixed phrase (WESEN_EN), animals, dragons, elementals, plants, oozes and monsters already say it with their name. An old picture stays until the new one is painted (at night or with "Paint all pictures"). A companion's face puts gender and age from its data in front ("a middle aged woman, a companion of the heroes, …"), an animal or a machine gets "an animal/a machine companion"; nothing is guessed from the line. Self-tests test_a_foe_is_painted_from_its_description_size_and_kind and test_a_hired_companion_gets_its_face_at_once.

AI Dungeon Master: three small night foes for science fiction: The bestiary (app/panel/dungeon_srd.json, each with "nacht": true, the "new" mark and a saying) holds the glow moth (10 XP, an animal that nibbles at the light of lamps), the cable crawler (25 XP, a maintenance robot from the cable ducts, construct, immune to poison and psychic, weak to lightning) and the night flitter (50 XP, an animal that flits through the cargo holds in the dark). So every world has at least five night foes for one hero on levels 1 to 3 (one hero alone has a budget of about 60 XP on level 1).

AI Dungeon Master: portrait by the gender on the card: A person's portrait takes the gender written on its card (rd["nsc"][k]["geschlecht"], set once when the card is made), through the same place as its voice (dungeon_stimmen._of); so does the age once the card has a field "alter", else from the fixed voice traits. A person with "divers" is painted as an androgynous person ("an old androgynous person", the word from dungeon.GESCHLECHT). None of it is guessed by the model; no switch, no endpoint of its own.

AI Dungeon Master: hair, eyes, beard and build in the portrait: A person's portrait adds the fixed looks of its card (dungeon_nsc.MERKMALE: hair, eyes, beard, build, rolled once by the panel), in the tables' English column, such as "grey hair, blue eyes, slender build". So the picture fits the card; the model guesses none of it. New portraits and catalog pictures take it at once, a portrait already painted stays until the host has it painted again.

AI Dungeon Master: pictures for runes and glowing sockets: With "Runes and sockets" on, each of the 13 runes gets a catalog picture per style, as its world's word (rune, chip, pearl, seal; dungeon_runen.word) and in its fixed colour by rank (dungeon_dingbild.RUNE_FARBE, rune_text); it is painted at night or with "Paint all pictures", none while the switch is off. The rune bag in the hero sheet and the trader's runes show the picture instead of "ᚱ" once it is there. Sockets are no picture of their own: dungeonsockel.js (dmSockel) lays them as dots over the picture or sign, a free socket dark, a set rune glowing in its colour (ru_farbe from dungeon_dingbild.add). A finished runeword gets a picture of its own (see below). The model decides none of it; no switch, no endpoint of its own.

AI Dungeon Master: rune pictures on the rules page: In the part "Runes" of the rules tab (Features → AI Dungeon Master → Adjust rules) every rune has its picture with "Paint", "Paint again" and "Keep new"/"Keep old" like items and foes. "Pictures in: …" above the list chooses the world; the rune shows as that world's word and in its style (rune, chip, pearl, seal; dungeon_regelseite.WELT_WAHL, dungeon_dingbild._current with rune_text). A rune picture stays while "Runes and sockets" is off: the sweep keeps it, only nothing is painted at night then.

AI Dungeon Master: a picture of its own for an awakened runeword, pictures of the smith's rune services: When a runeword wakes in a thing (it["rw"]), the panel calls dungeon_dingbild.runenwort once: like a named find the thing gets a picture of its own (fund-<i>) with the runes in their colours and the runeword's name, painted within a minute through the queue and counted to the day limit of the game's pictures. The picture of an earlier runeword of the same thing goes first; once the runeword is freed the thing shows the catalog picture. The smith's services (boring a socket, freeing a rune, fusing runes) have a picture per world without people and lines of life in the settlement (DIENST_EN, dungeon_siedlung.json). No switch, no endpoint of its own; the model decides none of it.

AI Dungeon Master: one picture a house of the settlement: Every house of the settlement view (dungeon_gold.HAEUSER: inn, smithy, healer, teacher) has a picture of its own per world, seen from the street, no people in the foreground (dungeon_dingbild.HAUS_EN, house_text). It is painted at night or with "Paint all pictures"; until then the view shows the first picture of its services or the place's. Each house has a line of life from its services; the pictures of the single services (the room inside) stay. No switch, no endpoint of its own; the model decides none of it.

AI Dungeon Master: a house's picture whole instead of cut off: In the settlement window the chosen house's picture stands whole as a square on the left beside name and line (up to 200 pixels on a computer, 96 on a phone); the offers below use the full width. Display only (app.css).

AI Dungeon Master: "Paint all pictures · N" counts only what a run paints; a picture for the healer: An entry whose picture the admin fixed under "Adjust rules" with "Keep new" (fest) is never painted again by a run, even when its prompt changes. One rule decides counting and painting (dungeon_dingbild._stand: there, fixed, refused, open): fixed counts as done, "Paint all pictures · N" and "left N" name only the open pictures (status()["offen"], the same as missing()), refused ones stand beside as their own number; without open pictures both buttons are off. The settlement service "healer" (dungeon_gold.HEILER) has its picture per style (DIENST_EN["heiler"], a calm room with herbs, bandages and small bottles, no blood) and three lines of life in dungeon_siedlung.json; until the first run the window shows 🌿. Self-tests test_the_count_names_only_what_a_run_paints, test_every_service_painted_and_lined.

AI Dungeon Master: pictures for gear and spells: Admin switch Features → AI Dungeon Master → Pictures and hero song (chat.dungeon_bilder, off by default); Features → Painting pictures must be on as well and the picture model installed. Catalog: every entry (weapons, armour, jewellery, potions, spells, scrolls, the admin's own too) gets one picture per world in the world's fixed style (welten[].bildstil), and in the picture book style while a round in the tone from 8 is open. The panel builds the text by a fixed rule from the style, the English name and a fixed phrase per kind (for spells also the spell's English sentence), followed by "no text, no letters, no watermark"; it is checked like a picture wish (word list, known people), a refused entry never goes to the picture service. It is painted at 512×512 one after the other through the queue "Heavy jobs" (the voice comes first, maintenance pause "bild") and kept at half size with the picture service's AI marks (dungeon-bild/ding-<hash>.png, the hash of the text; a changed style or name paints anew). When: at night from 01:00 to 05:00 once a night, and at once with "Create pictures now" under Features → AI Dungeon Master → Adjust rules (section "Pictures for gear and spells" with the count, the last run and "Stop"); at most 300 pictures a day. "Paint all pictures" paints every missing picture without the day limit (items, spells, tools, foes, kinds of places and rooms, peoples, classes, abilities); the button shows how many are missing, the run "painting all, no day limit · painted · left", "Cancel" stops after the picture on its way; space, the queue, Notaus and the picture check hold, only the admin reaches it (like coadmin.unbegrenzt). Log: dungeon: dingbild | lauf start | alle. Foe pictures get besides the English name the English description (info, only when the word list of Painting pictures lets it through), the size (groesse: tiny to huge) and, from fixed lists of the panel, what they are (MENSCH: "an ordinary human person", HUMANOID: "a humanoid with two arms and two legs"), never from a choice of the model, plus "in a fitting place of its world". Every picture text goes through the word list of Painting pictures and the game's list "nie", in the picture book style through the youngest tone's words too. Pictures stay: the panel remembers the last picture painted per entry and style (zuletzt) and shows it until a new text's picture is there; a picture kept under Adjust rules is fixed (fest), never painted over and never swept. When the rules fall back to the state without the SRD data, it does not sweep (log dungeon: dingbild | aufraeumen ausgelassen | regeln unvollstaendig). The run ends on Notaus, "Stop", the switch off, in the morning (only the night's run), at the day limit, with a full queue and when the picture model or the image check is missing; a picture the image check holds back twice is not tried again. Finds: when the model names a find from "rare" on, the panel paints its own picture within a minute (the round's style, the English name from the catalog, the model's name and sentence, checked like a scene description with tone, "nie" and taboos); unknown magic only once it is known. It counts to the day limit of the game's pictures (grenzen.bilder_tag) and needs the host's "Painting pictures". At the table: every item in the bag, the equipment, loot, on the ground and at the merchant shows its picture in its rarity's frame (green, blue, purple, orange), until then the kind's sign (⚔️ 🛡️ 💍 🧪 ✨ 📜). Profiles load pictures with GET /api/profile/dungeon/ding/{name}, guests with their seat code (POST /api/dungeon/ding); rate limit dungeonding. The state lives in dungeon-dingbilder.json, hourly the panel removes pictures no entry and no hero needs any more. Status → Live counts item pictures, finds, painted, discarded and failed today on the Dungeon Master line; logs: dungeon: dingbild | lauf start | knopf, dungeon: dingbild | ok | katalog | 3100 ms, dungeon: dingbild | ok | fund | 3300 ms, dungeon: dingbild | lauf ende | tag | 300 gemalt, dungeon: dingbild | abgelehnt | fund | tag. Peoples, classes, backgrounds and worlds on the rules tab: under Features → AI Dungeon Master → Adjust rules they show their picture with "Paint", "Paint again" and "Keep the new one"/"Keep the old one"; "Pictures in: …" chooses the world in whose style peoples, classes and backgrounds are shown and painted (the same picture as on that world's hero form); a kept picture is fixed. Backgrounds get one picture per world from the English name and description (only when the word list lets it through), at night and with "Paint all pictures"; they show only on the rules tab. Every world has a title picture in its own style ("landscape art, a wide view of the world …, no people", not in the picture book style) that the world cards under "New round" show instead of the sign; without a picture the sign stays. Stage pictures per kind of place: every kind of place (ortsarten) and of room (raeume) gets three wide pictures per world style in the format of the scene pictures (16:9, painted at 1024×576, kept at half size): by day, at night and in a fight (fixed text "scene art, a wide view of …" from the English name, for rooms with the sentence, without people, in a fight only distant silhouettes without faces). The panel picks by fixed rules: fight while one runs (kampf), night for abend or nacht (tageszeit, unknown values count as day), else day. It is painted at night and with "Paint all pictures", in the picture book style while a round in the youngest tone is open. view() names it as buehne.ersatz: outside the picture of the place's kind, in a vault the one of the room's kind (a deleted entry takes the first room of the same kind); the stage shows it only while the scene has no picture of its own. Without a map, a picture or with the pictures off it is empty; the stage lays weather and daytime over it. Pictures with flair: every picture takes from fixed lists a light (morning light, golden hour, moonlight, candle glow, storm light, light through a window, the glow of magic), an angle (close-up, low angle, from above, three-quarter view, through an archway) and a mood (calm, mysterious, menacing, festive, forgotten and dusty); which one is fixed by the entry's id with the style (sha256), never by the model. In the picture book style never menacing or storm light, in a dark world style (gothic, horror, grim, dark) never festive; places, worlds, heroes and the stage never close-up. Items, spells and tools lie in a place of their kind (a weapon on an anvil, a potion on an alchemist's table, a spell above an open spell book), sharp before a soft background; a fixed rarity shows (common plain and worn up to legendary with aura, runes and sparks), rolled finds keep their frame. Foes get a pose (lurking, attacking, roaring, stepping out of the dark, waiting for prey, circling; in the picture book only proud, curious or patient) and surroundings by size (large and huge in the open, in a hall, on a slope, the rest in a passage, a ruin, a thicket). Peoples, classes and backgrounds stand in their world with a pose, abilities as a moment in action; worlds and the map vignettes of the kinds of places and rooms get light and mood. When a picture text changes, the old picture stays visible until the new one is painted (at night 300 a day, "Paint all pictures" without a limit). Settlement with life: in a settlement's window the view names as siedlung.kopf the place's stage picture (by day or at night) and per service (gasthaus, schmied, lehre, geruecht, verbessern) a painted picture in the world's style (bild, fixed text from DIENST_EN with light, angle and mood, no people in the foreground, at night and with "Paint all pictures") and a line of life (zeile) from dungeon_siedlung.json: three lines per world and service in German and English, alle for any other world, another one per turn and place by a fixed rule, never from the model. Without a picture bild stays empty and the window shows the sign.

AI Dungeon Master: map and random vaults (dungeon_karte.py): the map belongs to the panel, not to the model. At the start of a round or a chapter the panel rolls 8 to 15 places in one of five landscapes (scattered, river valley, around a lake, two realms with one crossing, coast), at least 150 points apart, joined by a spanning tree and a few short extra ways that cross no other (at most 4 a place); the start in the west, the goal farthest away, a place on the way for every act of the story. Names come from the story's places (the first is the start), else from the world's kinds of places (ortsarten: 33 kinds with name lists) or from a stem (silben) and an ending of the kind, such as "Crow" and "Wood". The next chapter starts at the last place. The model gets only the current place, the ways from there with their direction and the direction of the next act's place (karte in the facts) and names one of those ways in szene.ort_id; anything else, a made-up name or a request in an action as well, leaves the group where it is (dungeon: karte | verworfen). The scene's place is always the map's name. Fog: the page shows only visited (solid) and known places (neighbours of visited ones, dashed, name in italics); a way into the unknown ends as a stub with "?", neither the page nor the model learns the name behind it. The view grows with what was discovered, "⤢" shows the map large. Text, circles and ways have on every width the screen size of the text beside them; each name finds a free spot around its place, long names take two lines, the place stands as "📍 You are at …" above the map. Pictures instead of signs: with Features → AI Dungeon Master → Pictures and hero song and Features → Painting pictures, the night run (or "Create pictures now") paints one picture per kind of place and of room in the style of every world it belongs to, from fixed phrases with the English name, within the same day limit. Every visited place of a running round whose host has "Painting pictures" gets its own picture from kind, name and style, checked like a scene picture (tone, "nie", taboos, word list, people) and within the game's day limit; a refused name gets none, until then the sign stays. An own place picture is shown only to seats of the same round (profile or guest link); the check reads only that round or the profile's rounds (dungeon_ablage.runde, rids_von), never all; any name outside the fixed pattern is refused; the sweep keeps what a map still names. Live counts the place pictures. Under "From here" a tap on a way writes "We go on to …" into the own field; it stays the player's text. The host may roll the map again before the first step. Look: parchment with grain, a dark edge, a double frame, a compass and the title plate; trees, mountains, hills, grass and marsh fit the nearest kind of place and stand the same on every repaint (fixed random), the river has a current, lake and coast waves, ways are bent ink lines, a small flag marks the group, the unknown lies under clouds of fog. Every world has its style (fantasy parchment, horror pale paper, pirates sea chart, sci-fi star chart). Motion: the flag walks, new places fade in, torches flicker; with "Reduce motion" on the device everything stands still. When the group enters a vault, the map switches to the tab "Vault". Drawn plan: the vault is a plan in the style of the One-Page Dungeons: black ink walls on paper, the rock shaded grey and crosshatched, a dotted grid, doors as bars (open where the group went), unknown neighbouring rooms dashed with "?". Every room entered carries its number and furniture after the room table (stairs at the entrance, a pool at the spring, a pit at the trap, a rune circle at the riddle, a chest and coins in the treasure, columns and a plinth at the guardian, a dais and throne at the master, shelves, cells, barrels, pods and so on; a room the admin adds gets the drawing of its kind). The numbers of unconquered rooms are red, a dashed red frame and a pawn show the group; below stands the key of the rooms entered. The paper takes the world's colour (sci-fi as a blueprint), dimmed at the dark table. The crosshatch follows benjcooley/dungeongen (MIT licence, © 2024 Benjamin Cooley): bundles of three parallel strokes, spread evenly, turned away from their neighbours and cut at their strokes; a fixed chance from the vault's name keeps it the same. 🔥 next to the tabs switches to the torchlight look with stone slabs, thick walls, doors, a colour per kind of room, painted room pictures and light around the group, 📜 back; the device remembers the choice. The world goes on: when the group has left a vault and gone at least 6 steps (NEU_NACH), the vault has new dwellers on the next entry: guardians, the master, traps and emptied chests come back, their rooms are unknown again, the panel picks the foes anew by the group's level; riddles, springs and altars stay. The table reads "Something new has moved into the vault …", log dungeon: gewoelbe | neu belebt | N raeume. When a faction's clock is full, it holds a place (dungeon_fraktionen.occupied): a dark banner with a golden crest (name on pointing), a ⚑ at the way under "From here", "⚑ Held by …" above the map while the group stands there. When "Arms for group and factions" is on, the banner carries that faction's arms (as an SVG image that runs nothing) and the line shows them instead of the ⚑. The model hears it as besetzt_von; arriving, the table reads once "… is held by …" (log dungeon: karte | besetzt). Key doors: while "Quest things" is allowed for the round, every second vault of 5 rooms and more (SCHLOSS) has a locked door on the way to the master. Its key is a quest thing with a fixed name per world (fantasy Eisenschlüssel/iron key, Bronzeschlüssel, Runensiegel; horror Knochenschlüssel …; pirates Messingschlüssel …; sci-fi Zugangskarte …, each the first the round does not have yet) and lies in a room reachable without that door, off the way when possible. When an action names the key and the group carries it, the panel opens the door, the key is used up and the group may go through in the same turn. The model never opens a door. On the plan the door carries a red lock, in torchlight 🔒, under "From here" "🔒 locked door"; above the map it says whether the key still lies in the vault or which name the action should name. With "Quest things" off no door is locked, and a locked one opens on the next turn. Log: dungeon: gewoelbe | schloss, … | schloss | offen, … | schloss | ohne schluessel, dungeon: karte | verworfen | verschlossen. On the way: a way gone for the first time brings an encounter from begegnungen 40 percent of the time (quiet, weather, a hint, a find from the catalog, a foe from the fight's offer, a merchant at the new place); the model tells it in the next turn. Vaults: a place of a vault kind (cave, ruin, crypt, tower, wreck, lab, manor, fortress …) or the host's button "🎲 Roll a vault" in the game master console under "Map" (there also "↻ Roll the map again"; it only lays an entrance below the place: ⚔ on the map and "into the vault" under "From here"; the group goes in by its action) leads into a grid of 5 to 12 rooms (6 to 9 columns, 4 to 6 rows) in one of five forms (branching, long corridor with side rooms, maze with loops, cross around a hall, winding cave), the entrance at the west edge, the master in the farthest room, a treasure next to it, about half of the other rooms special; rooms per world from raeume (42). Trap: on entering, the panel rolls d20 plus value for every hero against the trap's difficulty (fallen, 17, plus half the group's level) as a saving throw: failed the whole damage (at most 6), made half; armour does not help. Riddle: the door stays shut until an action holds one of the fixed answer words (raetsel, 40, case and umlauts do not count); after 3 turns the page shows the hint, solved it gives half the goal's EP to everyone. The model gets the question, never the answer. Guardian and master keep the ways shut until the fight is won: on entering, the panel picks the foes from the world's Bestiarium (without foes of its own the fantasy ones) by the group's level L within the fight's budget (guardian: kinds of the challenge nearest L/2; master: one nearest L+1 with helpers near L/4; the panel fills the count by experience) and offers only them; only the victory opens the room. Treasure gives the loot "truhe" once, a spring heals everyone by 2 to 6, an altar gives everyone +1 on one value for 3 turns. The way out is only at the entrance. Everything stays in the round (dungeon-runden.json); the admin changes the tables like the rest of the catalog (Features → AI Dungeon Master, button "Adjust rules"), the panel checks them. Live counts maps and rounds inside a vault; the journal writes fixed words and numbers only (dungeon: karte, gewoelbe, falle, raetsel, quelle, altar, unterwegs). Places and people stay where they are: back to the previous place only when an action names it, its direction or says "back"; otherwise the panel drops the way (dungeon: karte | verworfen | rueckweg). Whoever speaks in the narration stays where the group met them (up to 40 people); only someone an action takes along with fixed words ("come with", "follow us", "join us" …) travels with the group, "stay here", "wait here" or a farewell leaves them behind. The model gets here, elsewhere (with the place) and along. When an action and the narration name a neighbouring place but the map does not move, it shows "Place not changed" (dungeon: karte | ort bleibt). For the voice (CarPlay) dungeon_karte.wege(rd, lang) gives the same ways as "From here" with direction and goal, never a place in the fog. Endpoint POST /api/profile/dungeon/{rid}/karte ({was: neu|gewoelbe}, host only, login, profile binding, CSRF, size and rate limit).

AI Dungeon Master: music, sounds, dice: Music only when the admin switches on Prepare music under Features → AI Dungeon Master → Adjust rules → "Music at the table" (off by default) and the music model is installed; otherwise the table has sounds and dice only. The own music model (Making music, musik.make) builds one shared store for the whole Spark, one field per world and mood: exploring, tavern, tension, fight, finale, victory and vault, each holding as many pieces as the admin sets (default 12, 4 to 30). A piece runs 3 to 6 minutes, a victory 30 s, all instrumental, each with its own seed and a way of playing from fixed lists of the world. Fitting the theme: every world has its own scene and instruments per mood, for example a fantasy tavern with lute, fiddle, frame drum and upright bass, a fantasy fight with war drums, deep bass and horns, a pirate fight with barrel drums, horror tension with a heartbeat bass; drums and bass with measure, never hectic. Every field has a fixed tempo (exploring 75, tavern 96, tension 72, fight 100, finale 92, victory 96, vault 66 beats per minute) and every world a fixed key (fantasy D minor, horror C minor, sci-fi A minor, pirates E minor; tavern and victory in the relative major), so pieces following each other fit together harmonically. Every piece starts softly and fades out long. The storage defaults to 2400 MB; if it is too small for the number of pieces, the card "Music at the table" says so. Pieces of an older style keep playing until their field has new ones (the table is never silent). The description for the music model is made only of fixed words of dungeon_musik.py; actions, narration, scene, story or the name of an own world never go in. The panel picks the mood: fight (a fight at the table or fight words in the scene), then vault (the group stands in a random vault), then a merchant or a settlement (tavern), then the last act (finale), then tension words in the scene, else the act's mood (word list over title, content and turning point; act 1 exploring, then tension). Ahead: every running round asks for 2 pieces each for the mood now, the act's, the next act's, fight and victory. Every new act orders 2 new pieces for the act after it, which replace the most played ones. At night (1 to 6 o'clock, not during a Notaus) and with "Prepare music now" the Spark fills every field up to the number. Only one piece is made at a time, on the place of the heavy jobs (schwer.run("musik")), with speech first and only while no other heavy job waits. After 3 failures in a row the store rests for an hour. Full: per field the most played pieces go first (never the new one), the store stays within the set storage. At the table a bar sits above the story: mood, piece x of n, music on/off, sounds on/off, volume and ⏭; each device remembers its own choice. The music loops quietly (default 20 %) and fades over 12 s into the next piece of the same mood, never one of the last 3; a change of mood fades over at once. A new act or a new level plays a victory piece once, the music gets quieter while the narration is read aloud. Sounds are made in the browser (WebAudio, no files): dice, door (door or gate in the narration), hit, healing, coins (loot, trade), spell, level and, quietly in the background, rain, wind, fire or water (word list over place and mood, else the world's own). Dice: on every throw the d20 rolls for 0.8 s and always stops on the panel's number (display only), with a bright sound on 20 and a dull one on 1; with "reduce motion" the spin is left out. Guests fetch pieces with their seat code (POST /api/dungeon/musik), profiles with GET /api/profile/dungeon/{rid}/musik/{sid}, only a seat of a running round, own rate limit dungeonmusik. Storage: dungeon-musik.json (setting, in the backup) and dungeon-musik/ (pieces, stays local, can be made again). Live: pieces, MB, full fields, making now, waiting fields, made and failed today. Log: dungeon: musik | … with fixed words and numbers only.

AI Dungeon Master: annoying piece: Next to ⏭ the music bar has a 👎 button for the piece that is playing, for every seat of a running round, guests too. One mark is enough: the piece leaves every table's list at once, the next one fades in, its field no longer counts it and orders a new one. At night (with the fill) the Spark throws marked pieces away with their files and makes new ones; if a field fills up before, marked pieces go first. Each seat marks a piece only once; only the number of marks is kept, no name and no seat. Under Features → AI Dungeon Master → Adjust rules → Music at the table "N marked" shows each piece with world, mood and count; Take back lets it play again until the night. ▶ Listen plays the piece right there (the button turns into "■ Stop", only one at a time); listening does not count as played and keeps the mark. Doors: POST /api/profile/dungeon/{rid}/musik/{sid}/nervt (a profile with a seat) and POST /api/dungeon/musik/nervt (a guest with a seat code), own rate limit dungeonnervt; POST /api/admin/dungeon/musik/{sid}/zurueck and GET /api/admin/dungeon/musik/{sid} (listening, marked pieces too) for the admin only. Live: marked pieces and today's marks, log dungeon: musik | nervt … with fixed words only.

AI Dungeon Master: music with a fixed ground tone and a boss mood: The caption for the music model is a short list of tags in the order ACE-Step 1.5 was trained on: genre (per world), instruments (one way of playing per piece), mood (per world and mood) and production (instrumental, background music, steady groove, soft start, long fade-out, seamless loop); no whole sentences or negations. Tempo, key and time signature go to the music engine as metadata (bpm, keyscale, timesignature, dungeon_musik.meta): exploring 75, tavern 96 (6/8), tension 72, fight 100, finale 92, victory 96, vault 66, campfire 70 (3/4), boss 104 beats per minute, else 4/4; every world has its minor key (fantasy D minor, horror C minor, sci-fi A minor, pirates E minor), tavern, victory and campfire the relative major, the boss the minor key a fifth up. With all metadata given, the engine's small planner model does not rewrite the caption, it reaches the sound model word for word. What a piece must not be (vocals, speech, hectic, chaotic, abrupt changes) goes along as a negative prompt (lm_negative_prompt). The music service takes these four fields only when given and checks them itself (musik_server.metadata): tempo a whole number from 40 to 220, key only "A" to "G" with "#" or "b" and "major" or "minor", time signature only 2, 3, 4 or 6, negative prompt only lowercase letters, commas and hyphens, at most 200 characters; else 400. Making music and editing music send none of them. The bard's song gets the same: tags and tempo per world, the world's minor key from the same table, 4/4 and its own negative prompt. Boss: a ninth mood, picked by the panel by a fixed rule, never the model: the fight at the table still has a foe whose bestiary entry carries the boss mark (dungeon_musik.boss). It comes before every other mood; a fallen boss gives the fight back, words in the scene or a name do not count. Every world has its own instruments for it (choir, war drums, low brass, deep bass) and mood (epic, menacing). Every running round asks for 2 boss pieces ahead; while the store has no boss piece, the table plays fight pieces and shows "Fight". The table under Features → AI Dungeon Master → Adjust rules → Music at the table has a column for it. No switch of its own: everything belongs to "Music at the table". Log dungeon: musik | ok | boss | ….

AI Dungeon Master: quality of the music: The card under Features → AI Dungeon Master → Adjust rules → Music at the table has the tabs Store and Quality. There the admin picks with segment buttons: quality Fast (default: the turbo model, 8 steps), Good (the same model, the more careful solver dpm3m, quality correction 0.1, a calmer planner with temperature 0.75) or Best (the SFT sound model with 50 steps). Best computes only at night (1 to 6 o'clock); by day the pieces are made with Good. Without the SFT model installed the music service makes Good and says so; the card shows "The finer sound model (SFT) is not installed". The SFT model is prepared (musikmodell.SFT, sft_installed) but cannot be installed yet: its file comes into the fixed list only with a checked SHA-256. Length: Short (1½ to 2 minutes), Medium (2 to 3) or Long (3 to 6, default); a victory stays 30 s. Loudness: Normal (default) or Louder (the engine clips the loudest 0.01 % instead of 0.001 % and so lifts quiet parts). All values are fixed in musikmodell.QUALITAET and LAUT; the panel sends only the names (quality, loud), the music service checks them (musik_server.quality, else 400). There is no guidance control on purpose: the turbo models hold it at 1.0. Making music and editing music send no level and stay at Fast. Changes apply to new pieces, old ones play on. Test music (State → Checks) also measures "2B SFT, 50 steps" with the same two songs and the same seed once the SFT model is installed; the samples are kept as musik-test-2b-sft-1.mp3 and -2.mp3. Log: dungeon: musik | ok | kampf | 240 s | gut | … ms and dungeon: musik | einstellung | … | gut | lang | normal | …; the music service writes the level into musik: gemacht …. Storage: dungeon-musik.json (with quality, length, loudness; in the backup).

AI Dungeon Master: sound template per world and mood: The card under Features → AI Dungeon Master → Adjust rules → Music at the table has a third tab Sound. On the left are the moods of the chosen world (dot: changed or standard), on the right the field's template: genre (16 fixed genres or "As the world"), key (24 keys or the world key), time (4/4, 3/4, 6/8), instruments (at most 5 from a fixed list of 42), character (at most 3), tempo (50 to 140 bpm) and singing (none or wordless choir). A package (orchestral, medieval, Celtic, dark ambient, gothic, synth, epic, seafaring) fills every mood of the world fitting its role with "Apply to all moods"; "Standard" takes back every change of the world, "Back to standard" only the chosen field. There is no free text field: the panel takes only values from its lists (dungeon_musik.pruefen) and refuses anything else (400). Below it shows what goes to the music model (saved state, fixed words only). Only what differs from the standard is stored, in dungeon-musik.json (key stil); the template applies to every table. Every piece carries the fingerprint of its template: when the template changes, the field's pieces are "outdated" but play on until new ones are there; the night replaces them bit by bit. Endpoints: PUT /api/admin/dungeon/musik/stil and POST /api/admin/dungeon/musik/paket, admin only, with CSRF, size and rate limit. Live overview: number of outdated pieces and changed sound templates. The apps show the panel's rules page (Android in the panel view, iPhone through the jump link).

AI Dungeon Master: hear a probe and like: In the tab Sound under Features → AI Dungeon Master → Adjust rules → Music at the table the box Hear a probe sits below the template. "Make a probe" has the music model make a piece of the chosen field with its saved template, 30 seconds or at full length (the length from the tab Quality). Probes run on the same place for heavy jobs after the voice, only one at a time and at most 20 a day; meanwhile the card looks again every 5 seconds. Per field the last 3 probes stay, at night (or after a day) they are gone. Per probe: ▶ Listen, Into the store (only a full-length probe with the current template; it goes into the field as a liked piece), Variation (the same planner number lm_seed, a new sound number seed: sounds related) and Away. Every piece and every probe keeps seed and lm_seed; the music service takes lm_seed as an optional field (musik_server.request_body, 0 to 2³¹−1). At the table the button Liked (heart) sits next to 👎 for the piece playing, for every seat of a running round, guests too, once per seat; only the number is kept. A liked piece stays when a full field is pruned and stands first in the table's list. Doors: POST /api/admin/dungeon/musik/probe, POST /api/admin/dungeon/musik/probe/{pid}/behalten, DELETE /api/admin/dungeon/musik/probe/{pid} (admin only, CSRF, size and rate limit), listening through GET /api/admin/dungeon/musik/{id}; POST /api/profile/dungeon/{rid}/musik/{sid}/gefaellt and POST /api/dungeon/musik/gefaellt (a guest with a seat code), own rate limit dungeongefaellt. Probes live in dungeon-musik/probe/. Live: probes, whether one is being made, today's probes, today's likes and liked pieces; log dungeon: musik | probe | … and dungeon: musik | gefaellt … with fixed words and numbers only.

AI Dungeon Master: bigger catalog from the SRD: Nothing is taken from the DnDAppFiles repo (no licence, copied word for word from protected books). The data comes from the System Reference Document 5.1 (SRD 5.1) by Wizards of the Coast under CC-BY-4.0, shortened, converted to the game's values and translated into German, plus own entries for horror, sci-fi and pirates. Everything lives as the fixed file app/panel/dungeon_srd.json in the repo, nothing is loaded at runtime. The base rules stand on their own: what the five base classes and their items get from the SRD (weapons, spells per level, new classes) is a dazu entry in the SRD file. The panel puts it as a layer between dungeon_regeln.json and the admin's rules (Features → AI Dungeon Master → Adjust rules); the admin changes or removes any entry by its id ("aus": true). Contents: 212 foes (142 from the SRD, 70 own) with level (challenge rating), life, armour class, attack bonus, damage dice, six values, experience, size, worlds and the conditions they cause; 254 items (47 weapons, among them magic ones like Flame tongue or Vorpal sword with a fixed rarity, flintlock pistol and musket only for pirates, laser weapons only for sci-fi; 18 armours, 23 jewellery pieces with a fixed value like Gauntlets of ogre power, 19 potions, 85 spells from cantrip to level 5 with classes, 24 tools with keywords for the bonus on fitting checks, 38 gems and art objects to sell); 17 conditions (blinded, charmed, deafened, frightened, grappled, incapacitated, invisible, paralysed, petrified, poisoned, prone, restrained, stunned, unconscious, exhausted, burning, bleeding) with fixed effects and rounds; the difficulties very easy 5, easy 10, medium 15, hard 20, very hard 25, nearly impossible 30; 15 backgrounds (such as soldier, sage, sailor, smuggler, spacer, investigator) with a bonus and a starting item; 4 peoples (dragonborn, gnome, half-elf, tiefling) and 7 classes (barbarian, bard, druid, monk, paladin, sorcerer, warlock) with six abilities each. Powers only when you have them: each of the twelve classes has 1 to 2 starting abilities (start_faehigkeiten, e.g. rogue: ambush and picking locks, paladin: divine sense and lay on hands); the spellcasting classes (mage, sorcerer, warlock, healer, druid, bard, paladin, ranger) have a spell list per level (zauber, level 0 to 5, every spell carries its grad), warrior, rogue, barbarian and monk have none. Cantrips (level 0) work any number of times, from level 1 on charges per chapter by hero level count (ladungen, level 1: two charges of level 1, level 10: 4/3/3/3/2 as in the D&D table). The data is only data: rolls, damage and loot are decided by the panel by its rules, the model only narrates. Self-test test_dungeon_srd: attribution in the file and in the docs, no address except the licence, no id shared with the base rules, check_rules on the merged rules empty, every weapon belongs to a class, every condition and starting item exists, every world has at least 15 foes from weak to strong. Attribution: This work includes material taken from the System Reference Document 5.1 ("SRD 5.1") by Wizards of the Coast LLC and available at https://dnd.wizards.com/resources/systems-reference-document. The SRD 5.1 is licensed under the Creative Commons Attribution 4.0 International License available at https://creativecommons.org/licenses/by/4.0/legalcode.

AI Dungeon Master in the car: everything for the car lives in dungeon_auto.py, endpoint POST /api/profile/dungeon/auto ({text, nach, lang, rid, ok, neu, wahl}, answer {sagen, n, warten, aus, rid}, plus danach, ton, frage, weiter when they fit). Summary: after the narration the panel says with fixed sentences what happened, from the log since the previous narration (rolls, hits, damage, healing, loot, level, down, unconscious, dead, up again, spells, victory; at most EREIGNIS_MAX = 8) and whose turn it is. Asking back: every action and every command that changes something (TUN) first comes back as "… Is that right?" (frage); only the same request with ok acts. Commands (FRAGEN, only up to 60 characters, else it is the action): fight status, equip, cast (only a spell from the own bag), pick up, potion to a friend, merchant with buy and sell, stat point, ability at a level up, the map's ways, the host's "Go on now". Every command goes through the same rules as at the table (hero_act, act, maybe_close); the panel finds names only among the own things, the wares of the open market and the seats of the round. Choosing and creating a round: rid picks an own round (only an own seat counts, else the newest), neu offers three stories (WAHL), wahl takes only stories the panel offered; after "yes" make_round creates the round with the first free hero, and the prologue starts. Voices: with reading aloud on in the round, the car waits up to TON_WARTEN = 90 seconds for the round's pieces (narrator and NPC voices from Voice Design) and plays them (GET /api/profile/dungeon/{rid}/ton/{n}/{k}, also for the iPhone app), else the Spark voice reads. Waiting: the iPhone app asks again without the 10-minute limit (4 seconds, after 2 minutes 10 seconds, up to 4 hours) and only while nothing else runs. Logs only fixed words: dungeon: auto | anlegen | ok, dungeon: auto | kaufen | abgelehnt, dungeon: auto | neue runde | angeboten, dungeon: weiter | gastgeber | auto. Status → Live counts the steps in the car. "Where can we go?" says the map's ways as "From here" at the table (dungeon_karte.wege, only what a seat may see). "Pause the round" does not exist in the car yet. Self-tests test_dungeon_auto (panel) and test_carplay.DungeonInTheCar (app).

AI Dungeon Master: damage types and bosses in the SRD catalog: Each of the 212 foes carries its damage type (schaden_art: slashing, piercing, bludgeoning, fire, cold, lightning, acid, poison, necrotic, radiant, psychic, thunder or force, taken from the strongest attack in the SRD), plus, where the SRD names them, resistenz (half damage), immun (no damage) and schwaeche (double damage), e.g. skeleton: vulnerable to bludgeoning, ghost: immune to cold and poison. The game knows no magic weapons, so immunity to nonmagical slashing, piercing and bludgeoning counts as resistance (stone golem, werewolf), which keeps every foe beatable. boss marks foes with legendary actions or from level 10 (aboleth, stone golem, young red dragon, unicorn, archmage) and the own leaders xeno queen, rogue AI, pirate captain and puppeteer; the 70 own foes are set by hand (ghost pirate: resistant to slashing, piercing and bludgeoning, vulnerable to radiant). Each of the 47 SRD weapons has its damage type and eigenschaften (light, finesse, reach, thrown, heavy, versatile); spell foci deal force, lasers and plasma fire, light weapons radiant. The panel computes what follows in combat by fixed rules. Self-test test_dungeon_srd: types and properties only from these lists, no type in two lists at once, every SRD weapon with a damage type.

The Spark makes music itself with ACE-Step 1.5 (MIT licence), without the internet. The model only comes with the installation on the model computer: sudo ./install.sh --musik 2b (2B turbo with the 1.7B planner, recommended), 2b-klein (0.6B planner, less memory) or xl (XL turbo, sounds better, needs more); the first install asks, the default is none. The engine is acestep.cpp (ace-server, pinned to one commit, built for the GB10 with CUDA, no torch and no Docker); the GGUF files are pinned by revision and SHA-256 (musikmodell.py). The service speech-spark-musik (musik_server.py, only 127.0.0.1:31004, with a split install through the TLS-Tor, API key) loads the engine only for a song (127.0.0.1:31014, after checking the free memory) and stops it after 10 minutes without a song; the picture and music services share bedarf.py for it. A song takes two steps: the small planner sets structure and audio codes, then the sound model turns them into an MP3 (192 kbit/s). The service sets every field itself, takes only an MP3 back and writes its own ID3 mark into it ("KI-erzeugt mit ACE-Step 1.5"). State → Checks → "Test music" makes two fixed samples for every installed model (30 s of piano, 60 s of pop with German lyrics) and shows done in, planning, sound and memory at the peak, plus both samples to listen to. When the engine stops a sample, it says "engine error"; the details are in the log (area "Music"). State → Live: target "Making music" with the last measurement (numbers); service guard part "Making music"; maintenance pause part "Making music"; logs (area "Musik"): musik: test gestartet, musik: test xl 1 ok 12.5 s, musik: gemacht 30 s instrumental 12.5 s spitze 8.1 gib, musik: engine gestartet 2.0 s, musik: engine beendet leerlauf, musik: engine nicht gestartet speicher 6.2 gib frei. API (admin): GET|POST /api/admin/musik-test, GET /api/admin/musik-test/{2b|2b-klein|xl}/{1|2}.mp3.

Heavy jobs: one model at a time: Painting pictures, changing pictures and making music share one place on the model computer: only the picture model or the music model is loaded, never both. A fixed rule without a switch, like Speech first. All jobs stand in one queue in the panel (schwer.py), "Bild testen" and "Test music" too. The order is by arrival, but while the loaded kind still waits it goes first, at most 3 times in a row while the other kind waits. When another kind is next, the panel first ends the loaded model (/v1/bild/stop or /v1/musik/stop), else it stays loaded until its idle time. The services hold the rule themselves: whoever starts its engine first takes the lock state/bedarf.lock on the model computer; when the other service holds it, it answers 503 "belegt" (counter refused_place in /health). With too little memory a job keeps its place, tries again every 30 seconds and only gives up after 10 minutes. Who waits behind others gets a fixed sentence, e.g. "Many requests are running right now, you are in the queue at place 2. It takes a moment, about a minute."; the panel estimates the time from the measured seconds per picture or song and the load time. The card in the chat and under Me → Pictures or Me → Music shows "Waiting · place 2 of 3 · about a minute" or "waiting for free memory"; when it is done the notice comes. At most 10 heavy jobs wait on the whole Spark, pictures and songs together. State → Live: under "In the background" every picture and song with "waiting for the place (one model at a time)" or "waiting for memory", at the targets "Painting pictures" and "Making music" "hat den Platz" or "wartet auf den Platz", the same in the control centre. Logs (area "Heavy jobs"): schwer: wartet bild platz 2, schwer: dran musik nach 40 s, schwer: entladen bild wechsel, schwer: wartet musik memory naechster versuch in 30 s, schwer: abgesagt musik memory nach 600 s; on the model computer bild: engine nicht gestartet belegt. The memory budget under State → Models counts pictures and music as one place.

Messages in the conversation: hovering over a message (on a phone: tapping it) shows a bin and, on answers, a speaker. The bin deletes the message, a question together with its answer; the speaker reads the answer out again.

Timers and reminders: "remind me about the oven in 10 minutes" or "remind me tomorrow at 8 about the appointment". Pending reminders show as chips below the toggles (✕ cancels); "which timers are running?" and "cancel the oven timer" work by voice too. When one is due, the page chimes, shows it in the conversation and speaks it; if the tab is in the background, a browser notification appears as well, while the page is open. Reminders need a profile and are kept on the Spark; guests have none. A reminder rings only once: the first device that plays it (an open page, the iPhone app or push) takes it on the Spark, all others stay silent. While a page of the profile is open, push waits 20 seconds so it does not arrive twice. A reminder more than 10 minutes overdue when the page opens shows quietly in the conversation ("Missed"). The iPhone app without Apple push rings with its own alarms; if it was closed, it reports that the next time it opens; together with an open page it can then ring twice, with Apple push it does not. Can be turned off under Features.

Reminders as notifications (profiles only): in the "Me" window under "Conversation", "Reminders on this device → Switch on" turns on push notifications; a reminder then arrives also when the page is closed, only on the devices of that profile. This needs https with a valid certificate (e.g. behind a reverse proxy); on an iPhone first add the page to the home screen ("Share → Add to Home Screen"). The Spark only sends to the browsers' push services (Apple, Google, Mozilla, Microsoft), encrypted. Every notification (reminder, "speaking up" note, morning briefing, agent report) arrives once: on the device the profile used last (an open page, the iPhone app or Telegram, at most 12 hours back), else the iPhone app, else Telegram, else the browser set up last. Private notes go over Telegram only when the profile allowed personal data there.

Notes to the device in use (zustellung.py, admin switch Features → Timers and reminders → "Notes to the device in use", chat.note_device, off): With the switch every device only tells the Spark how long ago its last input was: an open page and the Android app every minute in front, at once on the first input after a pause, and "away" in the background (POST /api/zustellung/da, only a number and a state); the iPhone app when opened, every minute in front and "away" in the background; the Spark companion with its poll every 30 seconds the computer's idle time (Windows GetLastInputInfo, Mac CGEventSource). A note then goes to the device with the last input within the last 2 minutes (the device's word no older than 90 seconds), else at once to the phone app (iPhone, else Android), without a phone app by the normal order. A way the profile chose for a kind of note (service watch) still holds. Kept in memory only, nothing is stored. Logs: push: route aktiv|handy <way>; Live: the connection "Gerade benutzte Geräte" with the count and the notes routed so today. Self-test test_zustellung.

Tapping a note opens exactly that note (mitteilungen.py, no switch): every note to the iPhone app, the Android app, the companion and the browser stays on the Spark for a day with a random number (in memory only, at most 30 per profile); only that number goes along (through Apple only "New message from the Spark"). Tapping opens the conversation and shows the note as a card above it: title, the whole text, the time and one button the Spark picks by fixed rules from the kind, never the model: about something open its card ("View and handle"), a chat "Open chat", a new mail "Read mail", a confirmation code "Copy code", a way in the text ("Me → Music") "Open: …" as a jump link; else only the text. The cross closes the card. Only the own profile gets its note back (GET /api/profile/mitteilung, the app GET /api/iphone/note?tapped=1, with a login and a rate limit); older than a day or after a restart of the Spark, the card says so. Browser through the service worker (#meldung=<number>), Android app from 1.4.4, the companion on the Mac on a click on the note (Windows shows it in the Meldungen tab). Logs: push: mitteilung geoeffnet <kind> <way> or nicht mehr da, never the text; Live under events "Mitteilung". Self-test test_mitteilungen.

Following up and "read everywhere" (same switch): push.send remembers every note (title and text in memory only, 6 hours at most). If it went to a device other than the phone app and the Spark chose the way itself, it comes once to the phone after 5 minutes (zustellung.follow, every minute), an urgent kind (vorgaenge.ARTEN "dringend", the one list; without a Vorgang a reminder counts as kind "erinnerung") after 2 minutes; never a third time. Not when the device was touched afterwards (its signal) or its Vorgang is no longer open. Notes about a Vorgang carry its number (vg, to Apple only the number): a tapped note says gesehen with the signal (5 numbers at most, vorgaenge.seen), the answer zu names the Vorgänge no longer open; pages close their browser notifications, the iPhone app takes them out of the notification centre, the companion and the Android app no longer fetch them. Logs: push: nachgefasst <way> → <phone>, push: nachfassen nicht noetig, gesehen, push: nachfassen ohne handy, push: gesehen <n>; Live: followed up and waiting as numbers.

Daily briefing as a notification (profiles only): below that, each profile sets a time under "Tagesbriefing als Mitteilung" (daily briefing as notification). Every morning at that time a short briefing (appointments, reminders, unread mail, your topics) goes to all devices of the profile with notifications on and is kept in the history; "Aus" (off) turns it off. Parts at the same time: calendar, web search topics, weather, the other small services and the mailboxes are read at the same time, each part at most 25 seconds (chat.BRIEF_PART_S, the small services 20 seconds each, extras.PART_S); a part that does not come in time is left out, the log names it with a fixed word (briefing: part slow | kalender | 25 s, also thema, extras, mail). The language model has 90 seconds (chat.BRIEF_LLM_S); if it is too slow or not there, a short version from what the panel read itself comes instead of an error (the day's appointments, reminders, which parts were missing; log briefing: model slow, short version). The Begleiter's Tagesstart waits at most 125 seconds (chat.BRIEF_MOST). Topics really researched (2026-11-14): a topic is a sentence of one's own; the panel turns it into search words with fixed words (chat.brief_query: "Wetterwarnungen und Wetter in 76307 Karlsbad." becomes "Wetterwarnungen Wetter 76307 Karlsbad"). A topic about "my interests" becomes a search of its own for each confirmed interest under Me → What I know about you (chat.brief_topics, at most 3, those with tips from the web first; only the interest's word goes to the own web search); without confirmed interests the briefing says where to add them, and a voice that may not hear personal things does not get this topic at all. Each topic reads five hits and the text of the first page (at most 3 seconds, chat.BRIEF_SEARCH), the model sums up the most important per topic in one or two sentences. Log briefing: topics | 3 set | 5 searches.

Daily briefing and calendar: say "good morning" or "what's on today?" and the assistant reads out today's and tomorrow's appointments, today's reminders and a few lines on your own topics (e.g. "weather Berlin", via your SearXNG); "What do I have on Friday?" works too. Each profile connects up to 8 calendars on the page Calendar, tab Settings; an appointment found in two calendars is read out once. Each one is a CalDAV address with user and app password (iCloud: https://caldav.icloud.com with the Apple ID and an app-specific password from appleid.apple.com; Nextcloud: …/remote.php/dav; Radicale …), or a subscription link with webcal://, webcals:// or https:// (Google: "secret address in iCal format", a public iCloud calendar). New appointments: "put dentist on Tuesday 10 am in my calendar" makes the assistant read out a proposal; only on a plain yes in the same conversation does the panel itself write it to the first CalDAV calendar (optionally with an alarm). Subscription links stay read only. The password stays on the Spark and is never shown again. Guests get no calendar. Can be turned off under Features.

Changing appointments on the page: on the Calendar page "+ Appointment" adds one (title, all day or from/to, place, with several calendars the choice), the details of an appointment hold "Change" and "Delete" (delete asks first). "Save" is the person's own yes; the panel checks as for the assistant: the Notaus, only own CalDAV calendars (never a subscription link), never a repeating appointment, and changing or deleting with the server's etag (If-Match), so a change made elsewhere is never overwritten. It finds exactly the appointment the page shows (calendar, title and start); if it is no longer there like that, the answer is "changed or repeating" (409). Into a calendar shared with "See and add" the page adds only when it is chosen; changing and deleting stay with the owner. Endpoints POST and PUT /api/profile/calendar/event (own browser login only, rate limit kalenderaendern); Live shows at the calendar only how many appointments were changed on the page today; log calendar: appointment saved|changed|deleted or page change refused, not found.

Sharing calendars: Features → Calendar and daily briefing → "Kalender teilen" (off by default; once released it applies to every profile at once, only the admin blocks single profiles; never guests). Under Calendar → Settings every connected calendar has "Share": for each other profile "Not shared", "See only" or "See and add", with the own code (level Confirm, PUT /api/profile/calendar/{id}/share, rate limit kalenderteilen); "Not shared" takes it back at once. The other profile sees the calendar on its Calendar page in its own colour as "Name · Calendar" and under Settings in "Shared with you"; its assistant reads it with calendar_events ("Was hat Sabine morgen?", "Hat Tom am Freitag Zeit?", the Weiche sends such questions to the calendar). It is read with the owner's access, address and password stay in the owner's file. A private appointment (CLASS PRIVATE or CONFIDENTIAL) shows at the other profile only as "belegt" with its time, without title and place. With "See and add" the other profile's assistant enters an appointment there only when the calendar is named ("put … in Sabine's calendar") and only after that profile's yes; changing, deleting and undo stay with the owner. The daily briefing, Proactive and Today show only the own calendars. Live shows at the calendar only how many shares there are from how many profiles. Log: calendar: share set see|add, share taken back, share refused.

Page Calendar: the calendar is a page of its own in the menu (on the left below "Assistant", on phones through the card "Appointments" under Today). Tab Appointments: day, week, month or list, paging with ‹ Today ›; all-day appointments on top, overlapping ones side by side; each calendar has its colour; a tap shows time, place and calendar. A calendar that does not answer is named on top as "Not reached"; one still loading after 8 seconds is named "Still loading" and appears by itself once it is there (see the cache below). Tab Settings: connect and remove calendars, topics for the briefing, "Show next appointments". Every way "Calendar → Settings → …" in help, hints and apps leads there; links to #me=calbox open the page. Read only through GET /api/profile/calendar/view (own profile, at most 42 days, rate limit); titles and places reach the page only as text. Appointments can be changed on the page (see above) and through the assistant ("Move the appointment …").

Calendar fast: cache and background refresh: The Spark keeps the appointments of each calendar month by month in the panel's memory (calendars.py), never on disk. Page, assistant, briefing and "On its own" read the same months; a month is fetched once even when several ask at the same time. Where an address's calendars are (CalDAV discovery, several requests at iCloud) is kept for 6 hours. The page waits at most 8 seconds: whatever is still loading keeps loading in the background and lands in the cache, and the page asks again by itself after 3 seconds (at most 5 times). A month older than 5 minutes is shown on the page at once and fetched anew behind it (up to 24 hours old); the assistant waits for a fresh one. Every 5 minutes the panel fetches this and the next month anew for every profile that read its appointments in the last 24 hours. When an appointment or a setting changes, the cache is dropped at once, and a fetch begun before stores nothing. A big calendar is parsed outside the event loop. No switch. Logs: calendar: view loading | n of m calendars, calendar: kept fresh | n calendars of m profiles, calendar: refresh failed (error). The uConsole (spark-tui kalender) shows "Lädt noch: …".

Calendar without panel stalls: the Spark works out each appointment (expanding repetitions) once per calendar month and keeps the result in memory (at most 30,000 entries, never on disk); only a changed appointment or a new month is computed again. All of it runs in one background thread at low priority, never two at once, and lets the panel go after every appointment.

Calendar renewed: full width, floating card, quick add, drag, share window: the Calendar page uses the whole width. A tap on an appointment opens a card floating beside it over the view (on a phone a sheet from below): calendar, title, when, where and, for own CalDAV appointments, "Change", "+1 day", "+1 week" and "Delete". Esc closes it, E changes, Del deletes (after asking). Above the view sits "Quick add": the panel reads a line like "Zahnarzt morgen 10 Uhr bei Dr. Weber" by fixed rules, without the language model (calendars.quick, GET /api/profile/calendar/quick, reads only): day (heute, morgen, übermorgen, today, tomorrow, a weekday, "nächsten Montag", "in 3 Tagen", 24.12. or 24.12.2026), time (10 Uhr, 10:30, 14-15 Uhr, 3pm), place after "bei", "in" or "im", the rest is the title. Without a time the appointment is all day, without a day it is today or, when the time has passed, tomorrow; short weekdays (Mo, So) only count as "am So" or "So.". What was understood shows as chips below; it is saved only with "Add" or Enter, into the first own calendar, the same way as the form. "More …" opens the form already filled in. In week and day own appointments are dragged with the mouse to another time (quarter hours) or day; on a phone "+1 day" and "+1 week" move them. After every move "Undo" stays above the view for a minute. Under Calendar → Settings every calendar is a card with its kind (CalDAV, iCloud, subscription) and "Shared with …"; the address and "Remove" are under "⋯". "Share" opens a window with one row per profile and Not · See · See + add; the search filters while typing, those with access are on top, "Save" sends only the changes (each with the code). "Shared with you" is a section of its own. The briefing topics are chips with ✕, a new one is added with Enter and saved at once (at most three). No switch of its own.

Sharing only the chosen calendar: an address can hold several calendars (an iCloud or Nextcloud account); a share holds exactly one of them. With several, the share window asks "Which calendar of this account" (GET /api/profile/calendar/{id}/parts, reads only), the server asks for the calendars anew when saving and refuses a share without the choice. Per person share_parts is stored (profile → the calendar's address); the other person reads and adds only there (calendars._only). A share of such an account without that choice shows nothing until it is shared again; addresses with a single calendar need no choice.

Page E-mail: mail is a page of its own in the menu (on the left below "Calendar", only with reading e-mail; on phones through Today). Tab Inbox: the newest 50 messages of the last 14 days from every mailbox, unread ones bold with a dot, search by sender or subject, "Unread only"; a tap shows the message as plain text (HTML becomes text, pictures and links from outside stay off, long links become "[Link]"), attachments only by name. It is read with PEEK, so the message stays unread. Tab For you (only when "For you from mail" is released): what was found in the mails. Tab Settings: mailboxes, tidying, mail style, parcels. Every way "E-mail → Settings → …" jumps there; links to #me=mailbox open the page. Reading goes only through GET /api/profile/mail/inbox and GET /api/profile/mail/message (own profile, rate limit "post", log without contents). Replying, archiving and moving see below; anything else through the assistant.

E-mail fast and replying below the mail: All mailboxes of a profile are read at the same time. The list of the E-mail page lives in the panel's memory (mail.py, never on disk): the page shows the last state at once (up to 24 hours old) and fetches anew behind it when it is older than 2 minutes. Without a kept state it waits at most 8 seconds, then shows "The mailboxes are still loading …" and asks again by itself after 3 seconds (at most 5 times); the fetch goes on in the background. Requests for the same list at once start one fetch; the assistant's shorter list ("unread mail of the week") comes from the page's longer one when that holds all of it. Opened messages stay in memory for 30 minutes (at most 40 per profile), and the panel fetches the 10 newest ahead in the background (with PEEK, they stay unread). Every 5 minutes the panel fetches the list anew for every profile that read its mail on the page or through the assistant in the last 24 hours (tidying and "For you" do not count). Read/unread, archive and move change the kept list at once without a new fetch; a fetch begun before stores nothing. No switch. "Reply" opens the reply form right below the mail, as in a mail program; the mail stays above it, with preview and send. The tab "For you" reads all mailboxes at the same time, shows the last reading at once (up to 24 hours old) and reads one older than 10 minutes anew behind it; the first reading waits at most 8 seconds, then "Reading your mails …" and the page asks again by itself (log fuerdich: laedt noch). Logs: mail: inbox loading | n mailboxes, mail: kept fresh | n profiles, m messages ahead, mail: refresh failed (error).

E-mail like a mail client: the E-mail page uses the whole width: the list on the left grouped by day (today, yesterday, weekday with date), each row with the sender's initials in their own colour; a wide reading pane on the right, on a phone the mail instead of the list. When "For you" found something (bill, contract, suspicious …), a chip says so in the row (only with "For you from mails" on). Keys on a computer: J/K go through the mails, Esc closes, R replies (with "Send mail"), E archives, U toggles read/unread (with "Order mail", with "Undo"). On a phone: swipe left archives, swipe right toggles read/unread (with "Order mail"). "As appointment" opens the calendar with the subject in "Quick add"; the panel reads it by fixed rules, it is added only with "Add". No switch and no endpoint of its own.

Always a way back: an open mail, an answer and a new mail have a button at every width: on the phone "‹ Back" or "‹ Discard", on the computer "✕ Close" or "✕ Discard". Esc closes the answer even from the text field. With text typed, the Spark asks "Discard the draft?".

Suggested answers: when answering on the E-mail page or in the iPhone app, three short answers in different directions are ready (e.g. accept, decline, ask back), in the mail's language and form of address, signed with the profile's name. The Spark prepares them while the mail is open and keeps them 15 minutes in memory (never on the disk). A tap puts a suggestion into the text, free to change; "shorter", "friendlier", "more formal" and "in English" rework it with the Schreibhilfe. It is sent only with "Send" in the preview. Part of "Send mail" (no own switch). Only the own language model reads the mail; it is data, never a command (between fixed marks, the answer taken only as text, at most three, cut). The suggestions ask the model directly, not through the background work line; speech and answers with priority go first (at most 20 seconds of waiting), during a maintenance pause a fixed sentence comes, at most two suggestions at the same time on the Spark. When the model is busy or too slow the Spark answers 503 with a sentence, and "Try again" stands below. Log: "mail: suggestions | 3 in 2.1 s", "mail: rewrite kuerzer", mail: suggestions busy (belegt|gespraech|wartung), mail: suggestions failed (TimeoutError) | 90 s; Status → Live shows today's number at the E-mail box.

Warming up: when a profile signs in or opens the panel or the app, the Spark reads ahead in the background: this and next month from all its calendars (shared ones too), the e-mail listing with the newest messages, "For you" and the address book. Calendar, E-mail and Today show it at once; Today uses the same memory as the page Calendar. Afterwards the refreshes every 5 minutes keep it fresh. Rules: only functions the profile may use, never for guests; a profile at most every 10 minutes, at most two profiles at the same time; every step waits while somebody speaks. Everything stays in memory. Status → Live shows for Calendar and Mail only how many profiles are warm and how long ago; log (area Priority): "vorwaermen: done" with numbers.

Per-profile store, stage A (vorrat.py, no switch): when the person asks about appointments, weather or parcels, the tool takes the data from its service's memory while it is fresh (calendar 10 minutes, weather 30, parcels 15; vorrat.DIENSTE). When older (up to 24 hours, weather and parcels up to 6), the service asks anew and the answer waits at most 2 seconds; if nothing comes, the assistant names the older reading with its time ("as of 14:05"), and the new one is ready for the next question. "Look again", "refresh" or "reload" always ask the server. Mail follows the same rule with the encrypted mail store. Pages and background work keep their rules. Only for released functions, never for guests; it only changes when data is read. Measuring: every spoken answer keeps how long the tools waited and, per service, whether the data came from the store, as an older reading or after waiting (fixed words). Status → Checks shows it under "Per service: store, last 7 days" and in the column "Tools wait"; Status → Live shows for Calendar, E-mail, Weather and Parcels "today n questions, x % from the store". Log (area Priority): "vorrat: older reading" with service and age in minutes, never a profile or content.

Per-profile store, stages B and C (vorrat.py, halive.py, no switch): one round every minute (vorrat.loop) compares the calendars every 2 minutes and, for every profile active in the last 24 hours, refreshes what is older than its fresh age: weather at home, parcels and "For you" (as soon as a mail is newer than its last reading). At most two profiles at the same time, each step waits while somebody speaks, only released functions, never guests; mail has its own round, its times for the assistant (10 minutes fresh, 2 seconds wait) come from vorrat.DIENSTE. Weather (only at the own place) and parcels keep their last reading sealed in the profile folder (wetter-vorrat.bin, pakete-vorrat.bin, through vorrat.Vorrat, written at most every 30 or 5 minutes); after a restart the assistant answers the first question from it at once, with its time when older. Parcels only from mailboxes read completely; deleted with the last mailbox or the place, after 14 days without a reading and with the profile. Another place asked for once stays in memory only. Warming up also reads weather and parcels at sign-in; a device in use right now (signal of "Note to the device in use") warms too (at most every 10 minutes). The daily briefing is written 10 minutes before its time and sent on the minute (a text written ahead counts for 20 minutes); calendar, mail, weather and parcels are then already in memory. Home Assistant live: for active profiles with Home Assistant released the Spark keeps one WebSocket connection (at most 4 on the Spark), asks for all states once and then listens for changes (state_changed); questions, states, history and finding a device to switch use this copy. The connection only reads, goes through the guard (home network rules, checked address), uses TLS as set, ends with My kill switch and a block. At most 5000 devices and 8 MB per message, nothing on disk. A connection whose copy stood for 5 minutes counts as good: when it breaks the Spark reconnects after 10 seconds, otherwise the wait doubles (60 to 900 seconds). A WebSocket ping every 20 seconds (answer within 30) and TCP keepalive keep proxies and routers open. Right after signing in the Spark asks for bundled messages (supported_features coalesce_messages): Home Assistant then sends all waiting changes as one list in one frame, instead of dropping the connection without a goodbye once more than 1024 messages wait during many simultaneous changes (its 30-second polling beat); an older Home Assistant keeps sending them one by one. Status → Live: at Calendar "Vorrat: today n rounds, m services refreshed", at Home Assistant "live: n connections, today m changes", at Weather and Parcels "versiegelt bei n Profilen" (sealed for n profiles). Log: "vorrat: kept fresh", "homeassistant: live connected | n entities", homeassistant: live lost (ConnectionClosedError) | code 1006 | up 812 s | retry in 10 s (1006: cut without a goodbye, mostly a proxy; then add the custom header "WebSocket" in the Synology's reverse proxy), numbers and the profile as a short name only; Status → Logs shows a fixed hint for it.

Up to date (frisch.py, no new switch): fixed rules of the panel hold every source against today, never the model. A stand always names its day ("as of heute 06:40", "as of gestern 18:00", frisch.stand), for calendar, weather, parcels and mail. The weather works out "today" and "tomorrow" from the clock at the place; when today is missing from the forecast it says so, and "Jetzt …" (now) comes only from a reading of the last 2 hours. The morning briefing names every mail with day and time ("heute 06:12", "gestern 21:40") and only what was unread when read; a mail listing is at most 24 hours old. When the person asks for today's or the latest (fixed words like heute, aktuell, neueste, Nachrichten, today, latest, news), SearXNG searches only the last day (for "gestern", "diese Woche" the last week), for news also in its news category; every hit carries its date ("Datum: gestern 21:00", "Datum: unbekannt"), older ones are dropped. The briefing's topics always search the day's news; when a topic has no hit of today, the Spark takes the same hits of the last days, each with its day, and never gives hits without a date as today's news (log frisch: topic widened | week or frisch: topic without a hit | week). When the SearXNG knows no period it searches without and the dates decide; when nothing of today is found the result says so with the date of the newest hit. When a service came only with an older reading or a search found nothing of today, and the answer does not say so, the panel adds "Nicht ganz aktuell: Wetter: Stand gestern 23:10 Uhr." (not quite current; a rule of the answer check, off with it); the daily briefing's push too. A mail opened in the Spark counts as read at once (computer and iPhone, only when "Order mail" is released; it sets "read" on the mail server). Since V01.1.516 (issues 16 and 17 in spark-meldungen) the sentence names mail, weather and parcels only when the answer talks about them (fixed words per service, frisch.DIENST_WORT; the calendar always counts; else the log "frisch: hint left out | parcels | not in the answer"), and a hit without a publishing date whose title or opening names the day with the year ("Nachrichten vom 17. November 2026", "17.11.2026", "2026-11-17") counts for that day (frisch.text_day, never a day without a year or after today); it then stands without a time ("Datum: heute"). Status → Live at Web search: "tagesaktuell: today n searches with a period, m without a hit of today, k old hits dropped, j stand notes"; log (area Chat): "frisch: search dropped", "frisch: search without a current hit", "frisch: hint said", "frisch: weather …", fixed words and numbers only.

New mail at once (mailidle.py, admin switch Features → Reading e-mail → "Neue Mails sofort", chat.mail_idle, off): for profiles that read their mail in the last two hours the Spark keeps a connection to the inbox open (IMAP IDLE). When the server reports a new (EXISTS) or moved mail (EXPUNGE), the profile's mail rules run (with "Mails ordnen"), the E-mail page's list is fetched anew with the newest mails, and "Für dich" hears of it (mailidle.on_new); at most every 20 seconds per profile, never while someone speaks. At most 4 connections on the Spark, the newest readers first; a server without IDLE stays with the fetch every five minutes (mail.keep_fresh, asked again after a day). The connection only reads (EXAMINE) and waits in select() on its socket without holding the loop or a lock; IDLE is renewed every 24 minutes, a lost connection is retried after 1 minute (up to 15 minutes). From the server only EXISTS, EXPUNGE, BYE and the answer to DONE count; over-long lines end the connection. My emergency stop, the admin's block and the switch close it. Live (node E-mail): open connections and new mails today, numbers only; the log only fixed words and the profile as a short name.

Mail supply (mailvorrat.py on vorrat.py, part of "Read mail", no switch of its own): the Spark keeps per mailbox the newest headers (sender, subject, time, read and flag marks; at most 300 from the last 30 days) and up to 40 mail texts per profile (fetched ahead and opened ones, each at most 4000 characters of plain text, never attachments, HTML or pictures) in the profile folder (mail-vorrat.bin), sealed with AES-GCM, bound to profile and name, written at most every 5 minutes; without a key in memory only. It is filled only from what the Spark reads anyway (the page's listing, a longer listing every 30 minutes, texts fetched ahead), never with a connection of its own. When a mailbox does not answer, the assistant, the briefing and the page answer from the supply with its time ("as read on 20.10. at 14:05"), and a mail opens from the kept text. After a restart the Mail page shows the listing at once from the supply and fetches it anew behind. For the assistant: a listing up to 10 minutes old counts, an older one is fetched anew for at most 2 seconds, otherwise it names the older state with its time. Ordering on the page follows in the supply. It is deleted with the mailbox, with all mailboxes, with the profile and after 14 days unread. vorrat.py is the one way to build such supplies. Live (node Mail): profiles with a supply and answers from it today, numbers only. Folders at once and folder menu: the folder list (names, what for, unread) is in the supply too; after a restart "Mailboxes" is there at once (at most 7 days old) and read anew behind; a new, renamed or removed folder drops it. The "⋯" at an own folder (or a right click) opens a menu beside it: Rename, New folder inside, Remove folder (empty ones only); on a phone as a sheet from below, Esc or a click beside closes it. Renaming and new folders are typed right in the row (Enter keeps, Esc drops). On the iPhone the same with a long press or a swipe. Moving without reloading: a moved, archived or deleted mail leaves the list at once, the folder list stays and recounts its unread numbers itself; the Spark rereads the folders quietly behind (a list shown is never replaced by an older one). When the Spark refuses, the mail comes back with the reason. The same on the iPhone.

Load older mail (mail.more, part of "Read mail", no switch of its own): at the end of the list the Spark fetches the next 50 older mails, in the inbox and every folder, down to the mailbox's first mail. A placeholder of fixed height keeps anything from jumping; at the end it says "No older mail". A search goes over the whole mailbox: the mail server searches sender, subject and text (umlauts too, CHARSET UTF-8), page by page; has:attachment is checked by the Spark on the header. The continuation mark vor (per mailbox the UID of the next page) names only own mailboxes, anything else is refused. Each mailbox goes on in its own order, the mailboxes merged by date; mails with a new number but an old date come with the second page. Fetching only reads (headers), nothing onto the disk or into the mail supply; the pages stay 10 minutes in memory, at most 10 per profile, and go as soon as a mail is ordered. Own rate limit (30 pages a minute). spark-tui mails --anzahl N shows up to 200 mails, spark-tui mail N opens any of them. Live (node Mail): older pages today, the number only.

Calm mail page (Dominik 2026-11-13, part of "Read mail", no switch of its own): the page draws the list and the open mail in parts with a fixed key (keyFill in base.js): a row that did not change stays the same, the reading place stays, an opened HTML mail loads its frame exactly once, even while For you, Send later, Sorting or the folder list arrive beside it. Whoever comes back to the page sees the list from before at once; it is then compared quietly with the mailbox, never dimmed or emptied. The page asks for a mailbox's folders once at a time, after a no not again for 30 seconds. On a phone the page is at least as tall as the window, so the footer does not wander. Self-test test_post_seite.Page.test_calm_page_keeps_rows_and_loads_the_mail_once (shift below 0.03 while filling, the same rows after drawing again and comparing, one load per mail frame, one folder request).

Spark calendar, stage 1: a copy on the Spark: every CalDAV calendar (iCloud, Nextcloud, …) has a copy on the Spark. The first time the Spark fetches it whole, after that only the changes (WebDAV sync with a sync token; without it, compared by the tags of the appointments; a server that can do neither is read month by month). The Calendar page, Today, the assistant and the briefing read from the copy in milliseconds. For profiles active in the last 24 hours the Spark compares every 2 minutes, after an own change right at the next look. The copy is on the disk only encrypted (kalender-spiegel/, the same key as for the passwords), at most 5000 appointments per calendar, and is deleted with the calendar or the profile. Subscription links (.ics, webcal://) are read directly. Status → Live shows for Calendar the number of copies, appointments and the last comparison; log: "calendar: mirror full" or "changed" with numbers.

Spark calendar, stage 2: changes at once: what you add, change or delete on the Calendar page or in the iPhone app is in the copy at once and shows without waiting; it goes to the calendar server behind it. To change, the Spark takes the appointment and its tag from the copy. If the server refuses (changed elsewhere, not reachable), the Spark takes the change back, the server's version stands, and the page shows "Not saved, the calendar refused" with the title for 10 minutes. Changes by voice wait for the server, because a spoken confirmation cannot be taken back. Log: "calendar: saved behind" or "not saved behind" with the status.

Spark calendar, stage 3: a calendar without an account: under Calendar → Settings → "Add calendar" → provider "Spark calendar" (iPhone: Connect accounts → Calendar → "Create a Spark calendar") you create a calendar only on the Spark, without iCloud, Google or Nextcloud. Appointments come via the Calendar page, the iPhone app or voice ("Put dentist Tuesday 10 am into Zuhause"); Today, the briefing, changing, deleting, "undo that" and calendar sharing work as with any calendar. Technically it is a calendar entry with the address https://spark.invalid/<id>/, which never reaches the network: sparkkalender.py answers the CalDAV requests itself, bound to exactly this entry of this profile. Stored only encrypted in the profile folder (users/<id>/spark-kalender.json); without the Spark's key none is created. It moves with the profile and is part of its backup; removing it (after a question) deletes its appointments. Checked: iCalendar with an appointment, at most 256 KB per appointment and 5000 appointments per calendar. spark.invalid cannot be entered as an address. Logs: calendar: spark calendar made, calendar: spark calendar deleted | count; Live (Calendar) counts Spark calendars and appointments. Stage 4 makes it reachable for calendar apps.

Spark calendar, stage 4: the Spark as a calendar server: a profile's Spark calendars show in the iPhone's calendar (or in Thunderbird, DAVx5) and can be changed there; the Spark is a CalDAV server for them under /caldav/ (kalenderserver.py). Admin switch Features → Calendar and daily briefing → "Calendar server for calendar apps" (chat.calendar_server, off). The profile makes an app password with its code under Calendar → Settings → "For calendar apps" (or on the iPhone under Connect accounts); it is shown once, the Spark keeps only a check value (users/<id>/kalender-server.json). On the iPhone under Settings, Apps, Calendar, Calendar accounts add a CalDAV account: server https://<address>/caldav/, user = the profile id shown, password = the app password; the app finds the rest itself (/.well-known/caldav). Works at home and through the proxy. Protection: only the own Spark calendars under the own path (anything else is 404), wrong passwords lock like a PIN, every request counts against the rate limit, requests from foreign web pages (Origin) are refused, Mein Notaus and the admin's block close the door, every appointment is checked as in stage 3 (iCalendar, size, count, etags). Name and colour stay on the Spark (PROPPATCH and MKCALENDAR refused). "Delete access" ends it at once, a new app password replaces the old one. Logs: calendar: caldav saved|deleted|not saved (status), calendar: caldav login refused, calendar: caldav password made|removed; Live (Calendar): profiles with an app password and the day's requests, changes and refusals.

Birthdays in the calendar (Nextcloud idea, off by default): The birthdays from a profile's contacts show as a calendar of their own, "Birthdays", on the Calendar page and in the iPhone app, all day, with the age when the year is known (29 February on 1 March in other years). Admin switch Features → Calendar and daily briefing → "Birthdays in the calendar" (chat.calendar_bdays, off; needs Calendar and Contacts). The calendar is made on every request from the copy of the contacts (contacts.bday_calendar through calendars.EXTRA); nothing is stored and nothing leaves the Spark. It is read only (change it in the contact card), never a target for new appointments, and also shows without a calendar of one's own. The page and the apps name it through made in their language. The assistant does not read it with calendar_events; the daily briefing already names birthdays.

Away (Nextcloud idea, off by default): Under Calendar → Settings → Away (iPhone app: Calendar → Away) a profile enters from which day to which day it is away (at most 366 days), a text for replies (at most 2000 characters), a stand-in (a name) and two switches: "Mail reply" and "Show in the calendar". Admin switch Features → Calendar and daily briefing → "Away" (chat.away, off; builds on Calendar). While the profile is away, fixed rules of the panel apply, never the model: an all-day entry "Away" in a calendar of its own, "Away" (read only, through calendars.EXTRA, nothing in a CalDAV calendar), "away until …" next to the name in the chat list and the chat (profiles.AWAY, never for another Spark), a Spark call does not ring and is a missed one at once, and "Call …" first says "Dominik is away until 4 January, stand-in Sabine." The mail reply itself is built by the mail part; it reads abwesenheit.aktiv(uid) (from, until, text, only with "Mail reply") and learns of every change through abwesenheit.ON_CHANGE. Stored sealed in the profile (abwesenheit.bin), with the browser's time zone; after the last day the entry goes by itself, "End away" deletes it at once. Live (node Calendar) shows only how many profiles are away now and how many calls did not ring today.

Busy in an appointment (Nextcloud idea, off by default): While an appointment with a time from a profile's own calendars runs (never all day, never a shared one), it is "busy" like with the Begleiter's "Do not disturb" (begleiter.set_busy, reason termin): no announcements to its speakers, notes wait and come after the appointment as one summary "While you were busy" (alarms, reminders and safety notes always, begleiter.URGENT), Spark calls do not ring, and the chats show only the word "busy", never the appointment. Admin switch Features → Calendar and daily briefing → "Busy in an appointment" (chat.calendar_busy, off; builds on Calendar). abwesenheit.minute() checks every minute from the copy of the calendars (calendars.events, older blocks at once) for the profiles whose calendars the Spark keeps fresh anyway, at most 5 seconds per profile; the Begleiter's own "Do not disturb" stays untouched. Live (node Calendar) shows numbers only.

Polls in chats (Nextcloud idea, off by default): Admin switch Features → Chats → "Polls in chats" (chat.chats_polls, off; builds on "Chats"). In a chat for two or a group of this Spark the bar symbol "Make a poll" sits next to the text field: a question (at most 300 characters), 2 to 10 different answers (at most 120 characters each) and "Several answers allowed". The poll is a message with "📊" before the question. Every member taps an answer (tapping again takes it back, with "Several" one by one) and can change the vote until the poll is closed; each answer shows its count, a bar and the names of those who chose it, visible only to the members. Only who asked can "Close poll"; after that no vote counts, the answer with the most votes is highlighted (on a tie the first). Not in private chats (end-to-end) and not with other Sparks; a poll cannot be changed, taking the message back takes the poll with it. Question and answers are sealed like every chat text (chats.seal, each answer bound to chat, message and number), votes only as profile number and answer numbers. Never a tool for the model. Endpoints POST /api/chats/poll, /api/chats/poll/vote and /api/chats/poll/close (sign-in, profile, CSRF, 8 KB or 1 KB, the chats' rate limit). iPhone app: the same symbol in the chat, the poll inside the message. Logs (area messages) "chats: poll made | options 3", "chats: poll vote", "chats: poll closed"; Live (tile Chats) only polls today and votes today.

Find a time (Nextcloud idea, off by default): Admin switch Features → Calendar and daily briefing → "Find a time" (chat.calendar_find, off; needs "Calendar" and "Polls in chats"). In a chat for two or a group of this Spark the bar symbol opens "Question" and "Find a time" at the top: title, length (30 minutes to 3 hours), from which day, how many days (at most 14) and between which hours. "Find free times" reads for every member only the appointments with a time from the copy of their own calendars (all-day ones do not count) and shows times when everybody is free: on a 30-minute grid, at most two a day (the second at least two hours after the first), at most 6, never in the past. Only these times and the number of members without a calendar (they count as free) leave the Spark, never a title, place or time of somebody else's appointment. The chosen times (2 to 6) become a poll with "📅" and "Several allowed"; the title is sealed in the message. When who asked closes the poll, the Spark enters the time with the most votes for them and for everybody who voted for it (the vote is the yes), into the first writable calendar of their own; without a vote nothing. Never a tool for the model. Endpoints POST /api/chats/termin/frei and POST /api/chats/termin (sign-in, profile, CSRF, 1 KB or 4 KB, the chats' rate limit). Logs (area calendar) "calendar: find | members 3 | free 2 | without 1", "calendar: find poll | slots 2", "calendar: find entered | n 2 | failed 0"; Live (node Calendar) only searches, polls and entries today.

Appointments: changeable or read only, with their text: on the Calendar page an appointment the page cannot change carries a 🔒 in week, day and list; its card names the reason in fixed words (calendars._why): subscription link (iCal), shared calendar, repeating appointment (change the series in the calendar app) or a calendar that cannot be changed here. The card also shows the appointment's text (DESCRIPTION, "Note") and link (URL), as text only: at most 2000 characters, no control characters, links only with http or https, never opening by themselves; long notes show 8 lines and "Read on". The card is never taller than the screen from where it stands and scrolls inside, after "Read on" too (since V01.1.516, issue 19 in spark-meldungen; on the phone the sheet from below scrolls). A private appointment from a shared calendar stays "belegt" (busy), without text or link. The same in the iPhone app (lock, section "Note", reason in the card).

Order mail (Features → Reading e-mail → "Mails ordnen", chat.mail_manage, off): an opened mail shows "Read"/"Unread", "Archive" and a folder choice; after archiving or moving, "Undo" brings the mail straight back into the inbox (by its Message-ID). The button is the person's own yes. These actions in postfach.py set the \Seen flag, put a mail into the archive (folder flagged \Archive, else "Archive"/"Archiv") or an ordinary own folder, and back; never into trash, junk, sent or drafts, never deleted; without IMAP MOVE only COPY and then UID EXPUNGE of exactly the confirmed original. Notaus holds every action off. Endpoints GET /api/profile/mail/folders and POST /api/profile/mail/act (own browser login only, own mailboxes only, rate limit postordnen); Live shows only how many mails were ordered on the page today; log mail: page <action> done|refused, not found|refused, notaus|failed, never sender, subject or folder.

Snooze mail (Features → Reading e-mail → Order mail → "Zurückstellen", chat.mail_later, off; idea from pl_mail): in a mail of the inbox "Later …" (key H) puts it away: this evening (18:00, after 17:55 tomorrow evening), tomorrow morning (8:00), at the weekend (Saturday 9:00), next week (Monday 8:00) or at a time of one's own (5 minutes to 1 year ahead); the Spark computes the fixed times in the profile's time zone (spaeter.when). The mail moves into the folder "Später" below the KI folder of its mailbox (like "Falsch sortiert", made the first time; tidy.Box.own), the list (Message-ID, mailbox, time, sender, subject, at most 200) is kept sealed in mail-zurueck.bin. Every minute spaeter.due brings what is due back into the inbox and removes \Seen, so it stands on top unread; that also runs when the switch is off by then, so no mail stays away. If someone moved the mail themselves it leaves the list (mail: later gone); if the mailbox does not answer, the Spark tries again every minute (a log line at most every 30 minutes). In the folder "Später" the mail shows "Snoozed until …" with "Bring back now". No tool for the model. Endpoints GET|POST /api/profile/mail/snooze and POST /api/profile/mail/snooze/back (own profile, rate limit postordnen, 1 KB); Notaus holds both off. Live (node e-mail): how many wait, how many came back today. Log mail: later put | <hours> h, mail: later back | <count>, mail: later refused, …, never sender or subject. iPhone: "Later" at the bottom of the mail, "Bring back now" in the folder "Später".

E-mail as a full mail client, stage A: folders (part of "Mails ordnen", off): above the list stands "📁 Inbox ▾"; it opens, in the list's place, every folder of every mailbox: inbox, drafts, sent, archive, own folders indented, junk and trash, each with its number of unread mails. A tap opens the folder (reading only: EXAMINE, BODY.PEEK, the newest 50; search and "Unread only" work on it). "+ New folder" makes a folder at the top of the mailbox, "⋯" on an own folder offers "Rename", "Folder inside" and "Remove (empty only)". Folders of the mail program (inbox, sent, drafts, trash, junk, archive) and those of "Tidy mails" are never renamed or removed; a folder holding mails or folders stays. Rename and remove ask for the code (stufen.LIST, confirm). On every mail: "★ Flag" (flag \Flagged, ★ in the list), from a folder also "Move to … Inbox"; mails are moved only out of the inbox, own folders and the archive, never out of sent, drafts, trash or junk. Multiple selection: a tick per row, above it "N selected" with Read, Unread, Flag, Archive, Move (into a folder of one mailbox) and "Clear selection", at most 50 at a time, "Undo" brings moved ones back. Endpoints GET /api/profile/mail/tree (kept 60 s), GET /api/profile/mail/folder, POST /api/profile/mail/acts, POST /api/profile/mail/acts/back, POST /api/profile/mail/folder/new|rename|remove; GET /api/profile/mail/message and POST /api/profile/mail/act take the folder (folder, src). All with the own login, own mailboxes only, size limit, rate limit postordnen/post, Notaus holds every change off. Live counts folder actions with the ordered mails (a number). Log mail: tree shown | <folders>, mail: page many <action> done | <number>, mail: folder new|rename|remove done|refused|failed, never a folder name, sender or subject. iPhone: folder button top left (pick, make, swipe to rename or remove), "Select" for the multiple selection, flag by swipe and in the mail.

E-mail as a full mail client, stage B: rules (mailregeln.py, part of "Mails ordnen", off): every mail has "⚙ Rule from this …": a form with the mail's sender and subject (subject without Re:/AW:/Fwd:, both changeable), "When" (sender as address or @domain, optionally a word in the subject, a recipient, only with attachment) and "Then" (into a folder of this mailbox, mark as read, ★ flag, not in "For you"). Trash, junk, sent and drafts are never a target, nothing is deleted. "Dry run" counts matching mails in the inbox of the last 90 days and changes nothing. After saving, the panel asks whether to sort existing mails; that asks for the code (stufen.LIST, confirm), takes at most 50 per mailbox, "Undo" brings them back. Otherwise a rule takes only newly arriving mails; the panel looks every 5 minutes (at most 200 mails per run). The first matching rule decides. The tab E-mail → Rules shows all rules with "This month N", Pause, Move up, Edit and Delete, below them the sender rules of "Tidy mails". At most 100 rules per profile, file users/ID/mail-regeln.json. A rule is fixed data, never a command; the language model never sees it. Endpoints GET|POST /api/profile/mail/rules, POST /api/profile/mail/rules/test, POST /api/profile/mail/rules/order, POST /api/profile/mail/rules/{id}/apply, DELETE /api/profile/mail/rules/{id}; own login, own rules and mailboxes only, size limit, rate limit postordnen, Notaus holds rules off. Live: "N rules at P profiles, today X mails sorted". Log mail: rules run | N taken, E errors, mail: rule apply done|refused|failed, never a sender, subject, folder or word of a rule. iPhone: "Rules" in E-mail (⋯) and "Rule from this …" in every mail, with dry run, sorting and "Undo".

E-mail as a full mail client, stage C: search, forward, attachments, drag: the search knows, besides words, von:anna, betreff:rechnung, hat:anhang, ist:markiert and ist:ungelesen (English from:, subject:, has:attachment, is:flagged, is:unread), plus the buttons "★ Flagged" and "📎 Attachment". The panel compares these words as text with sender, subject and header lines (mail._words, mail.fits), nothing is ever run; in the inbox the last 14 days, in a folder the newest 300 mails. Mails with an attachment show 📎. Fetch an attachment (with "Mails ordnen"): each attachment stands as "⬇ name (KB)"; a tap downloads it (GET /api/profile/mail/file, at most 25 MB, own mailboxes only), always as a file (application/octet-stream, nosniff, sandbox), never shown in the page. Forward (with "Mails senden"): opens the form with "Fwd: …"; below your lines (may stay empty) stands the mail with From, Date, Subject and To, attachments only with "Send the attachments along" and together at most 20 MB. It goes out only from the preview; from a folder only with "Mails ordnen". Drag into a folder (on a computer, with "Mails ordnen"): drag a row or all ticked ones onto the "Drop here" bar, the same as moving, with "Undo". Live counts fetched attachments. Log mail: file shown | <KB>, mail: file refused|failed, never a file name. iPhone: a search field with the same words as suggestions, attachments open by a tap in Quick Look, "Forward" in every mail; instead of dragging "Move to …".

Search, "Why is this mail here?" and mailbox state (ideas from pl_mail, no own switch): the search also knows an: (recipient), vor: and nach: (date: 13.11., 13.11.2026, 2026-11-13, heute, gestern; without a year the last such day up to today; English to:, before:, after:, since:) and ordner:name, which opens the folder instead of searching. The mail server searches with TO, BEFORE and SINCE, read only; an invalid date is no search word. While typing, a list below the field suggests the words and the sender of the open mail (arrow keys, Enter, Esc) without the page jumping; search words are marked in subject and preview. Above a mail a rule or the tidying moved stands a fixed sentence on why it is here (rule with its condition or tidy kind, target folder, whether you brought it back; mailregeln.placed, only with "Mails ordnen"), with "Sorted wrongly? Back to the inbox". If your mail server confirms the sender (top header Authentication-Results), it shows "Sender confirmed"; if it reports dmarc=fail or spf=fail for the sender's domain, "Sender does not match" (fuerdich.echtheit), otherwise nothing. If a mailbox has said no for more than 10 minutes, the list names it with a fixed sentence and path (e.g. login refused, E-Mail → Einstellungen; mail.zustand from the service state). Live (node e-mail): today N× "Why here" and N× mailbox errors shown, numbers only. Log mail: mailbox state shown | <count> | <profile>, mail: placed not readable. iPhone: the same words as suggestions, the sentence and "Sender confirmed" in the mail, the mailbox state below the list.

The bar of a mail: the buttons of an open mail sit in one bar that stays on top while scrolling: "Reply" large with its word, beside it symbols in three groups: writing (forward, as appointment), ordering (read/unread, ★ flag, archive, move to … as a folder menu) and rule from this. Hovering a symbol shows its name and key: R reply, F forward, T as appointment, U read, S flag, E archive, V move, G rule, J and K browse, Esc closes (menu first, then the mail). On a phone the five most used sit at the thumb below (reply, forward, archive, folder, appointment), on top back, ✎ new mail, ★ and ⋯ (read, rule from this); the iPhone app the same in its bottom bar and top right. "✎ New mail" always stands above the list. A function that is off shows no button.

Folders, dragging, deleting and the rule hint: the Mail page shows the list, the mail and the folders as three equal boxes with a head line (the list with its name, count and new mails). The folders sit on the left (Apple style, see below); the "Folders" button or the key O shows and hides them, the browser remembers it. The folders of the mail program carry their own names and symbols (Inbox, Sent, Drafts, Archive, Trash, Junk). One or several mails can be dragged onto a folder; while dragging the folders open, and the archive and trash symbols of the open mail take it too; afterwards "Undo" is there. On a phone the folders come as a sheet, moving goes through the menu.

Deleting has its own admin switch under Functions → Read mail → Order mail → "Delete mail" (chat.mail_delete, off). Only the person deletes, on the page (trash symbol, the Delete key, dragging onto the trash, "Delete" for several): the mail goes into the mailbox's trash (the folder with \Trash), "Undo" brings it back. "Delete for good" exists only inside the trash, after its own question, and only for exactly that mail: the mailbox must know UIDPLUS, the Message-ID must match, then UID STORE \Deleted and UID EXPUNGE of that UID only, never a bare EXPUNGE. The model, rules, "For you" and the voice never delete; an ordinary move never goes into the trash. Live (node Mail): "of them N deleted", numbers only.

Conversation: under an opened mail stand the other mails of the same conversation, oldest first, one line each (who, when, first words; own ones as "You"), opened with their own text without quotes. The Spark finds them by Message-ID (References, In-Reply-To and replies to this mail) in the inbox, Sent and the mail's own folder, read only (EXAMINE, PEEK), at most 10, and checks every id exactly (mail.thread, GET /api/profile/mail/thread, loaded after the mail so opening never waits). No switch of its own, part of "Read e-mail". Live: "N conversations shown today". iPhone: the same section "Conversation".

Only the own text: mail.plain cuts quote heads (also those broken over two lines like "On Mon, Oct 20, 2026 at 10:00 AM Anna <" / "anna@x.de> wrote:"), the Outlook divider and lines like "Sent from my iPhone" or "Get Outlook for iOS"; summaries, "For you" and reply suggestions get only the sender's words (test_mail_text).

Rule suggestions from your filing: at night between 2 and 5 the Spark looks once per profile into the folders below the main folder of "Tidy mails" (the KI folder, tidy root), only when something changed there (STATUS MESSAGES and UIDNEXT; read only, headers only, per folder the newest 300 of the last 30 days). Only what the person filed counts: mails moved by "Tidy mails" (its log by Message-ID), senders with a rule and pairs on the never list are left out. Fixed rules, never the model: at least 5 mails of a sender in one folder and at least 80 % of its mails there (the inbox counted too); a domain (@company.de) only when several addresses all lie in the same folder and none in the inbox, never freemail (gmail, gmx, web.de, iCloud …); at most 3 new suggestions a night, the strongest first, open for 7 days at most. They stand on top of E-mail → Rules as "Suggestions from your filing" with "Make the rule and file" (the rule and the sender's mails in the inbox, with "Undo"), "Rule only" and "Do not ask again"; a rule comes only after the click. No switch of its own, part of "Order mails". Live: "N suggestions from filing"; the log has numbers only. iPhone: the same list on top of "Rules". As a card: each suggestion also stands in the morning as a card "Rule suggestion" in the assistant and under Open (vorgaenge.QUELLEN["regel"]) with "Make the rule and file them" (only while some of its mails lie in the inbox), "Make the rule", "Don't ask again"; the buttons run the same checks as the page (no buttons without "Mails ordnen"); taken on the page or after 7 days the card closes.

Rule hint: per profile the Spark counts how often mails of the same sender are moved into the same folder (mailregeln.learn, only address, folder, count, 30 days). The third time a hint below "Undo" offers "Make the rule and apply it now" (the rule and the fitting mails in the inbox, with "Undo"), "Only the rule" and "Don't ask again" (remembered for that pair). If the sender already has a rule, it does not ask. Live: "today N rule hints". iPhone app: delete on swipe, in the mail and for several, "Undo" and the rule hint above the list, in the trash "Delete for good" with a question, the mail program's folders with their own names.

No ping-pong with mail rules: like "Inbox tidying", the mail rules remember every mail they moved: Message-ID, mailbox, target folder, rule and time, 30 days, at most 3000, in mail-regeln.json (no sender, no subject). Both sorters ask one shared list (mailregeln.spark_moved, mailregeln.user_moved): did the Spark move this mail, and did the person put it elsewhere since? When someone puts a mail a rule moved back into the inbox in Apple Mail or on the page (new UID, same Message-ID), no rule touches it again, not "the existing ones too" and not "Inbox tidying". No switch. Log with numbers only (mail: rule skip | user_moved | N, mail: tidy skip | user_moved | N), Live: "N mails put back today, not sorted again".

Learn sorting from corrections: its own admin switch under Features → Reading e-mail → Order mail → "Learn sorting from corrections" (chat.mail_learn, off by default, no profile switch, never for guests). When the person puts a mail that a mail rule or "Inbox tidying" sorted (mailregeln.spark_moved) somewhere else, that is a correction (mailregeln.correct): on the E-mail page at once (mailregeln.page_moved), back in the inbox at the next run of the rules or the tidying, below the KI folder in the night look for rule suggestions (only when a folder changed). Dragging it into the fixed folder "Falsch sortiert" below the KI folder (tidy.WRONG, made once the switch is on; no folder of the tidying may have that name) means "was wrong" without a goal. Archiving is no correction. Consequences by fixed thresholds (FIX_EXCEPT = 1, FIX_PAUSE = 3, FIX_DAYS = 30, FIX_WEIGHT = 3), never the model: no sorter touches that mail again; one correction makes the sender address an exception of the rule (except, at most 50, fits skips it, for a domain rule only that address); 3 corrections of one rule in 30 days pause it (on off, paused, under E-mail → Rules "paused, often corrected") with a card "Rule paused" ("Switch on again", "Show the rule …"). "Inbox tidying" asks about a corrected sender instead of moving, until a newer rule of the person decides. A correction with a goal counts three times in the learning, so the card "Rule suggestion" comes at once: "Was in A, you put it into B" with "Change the rule" (the rule's folder becomes B, the exception goes), "Exception only" and "Don't ask again"; without a rule (tidying) "Make the rule". For a mail in "Falsch sortiert" the card asks "Where does this mail belong?" with the folders this sender usually goes to (at most 3), "Inbox", "Other folder …" (opens the mailbox's folders right at the card, "Move" puts the mail there; the iPhone opens E-mail → Inbox), "Just this mail" (the exception goes again), "Sender as exception" (for the tidying: stays in the inbox) and "Don't ask again". A folder button moves exactly this mail (Message-ID) out of "Falsch sortiert". Under Open the opened card shows the mail: from, subject, date, number of attachments and up to 2000 characters of text, as text only, read only (EXAMINE, PEEK, it stays unread in "Falsch sortiert"), through GET /api/profile/vorgaenge/mail (sign-in, own open card only, rate limit). The card's line names the folders first, then the sender. "Show in the conversation" is only on cards from a conversation and opens exactly that one. The buttons go through vorgaenge.act (sign-in, own card only, CSRF, size limit, rate limit, Notaus); the iPhone shows more than three buttons under "More". Kept in mail-regeln.json (corrections 30 days, at most 500: Message-ID, sender, folders). Logs with fixed words and numbers only (mail: rule correction | folder|inbox|wrong|placed | N, mail: rule exception | N, mail: rule paused | N, mail: rule wrong folder | made); Live: "Sortieren aus Korrekturen lernen an: heute N Korrekturen, M Ausnahmen, K Regeln pausiert".

See the corrections: only with "Learn sorting from corrections", E-mail → Rules shows the section "Corrections (30 days)" (mailregeln.fix_list, newest first, at most FIX_SHOW = 100): per correction the sender, from → to ("Falsch sortiert", inbox or folder), which rule or "Inbox tidying", the day and the state by fixed rules (mailregeln.fix_state: waiting, exception set, rule paused, not moved again, taken back). "Undo" (POST /api/profile/mail/rules/fixes/{id}/undo, mailregeln.undo_fix) takes back the exception and pause from this correction and counts it no more; the mail is not moved and stays untouched; the open card "Where does this mail belong?" or "Rule paused" closes. "Change the rule" opens the rule. Every rule shows "N taken (month) · M corrected (30 days)" with a bar (counters month and fixed), its exceptions to remove one by one (POST /api/profile/mail/rules/{rid}/except, mailregeln.drop_except) and, when paused, "On again" (the rule saved with on; only new corrections count for the next pause). Both endpoints: login, profile binding, CSRF, size limit, rate limit postordnen, the switches Order mail and "Learn sorting from corrections", never guests; journal lines mail: rule correction undone | N |, mail: rule exception removed | 1 | and one line per refusal, never sender or folder. Live counts "taken back". iPhone: the same list under E-mail → Rules with "Undo", "Change the rule", counters, exceptions and "On again" (swipe); Android through the panel view.

The model only suggests: no switch of its own, only with "Learn sorting from corrections". "Inbox tidying" notes in its log when the model filed a mail (model). When the person corrects such a filing, the correction carries the mark (mailregeln.found/correct, log mail: tidy model fix | N), and "Inbox tidying" asks about this sender for 30 days instead of moving by the model (mailregeln.tidy_fixed, already in the same run), until a rule decides: after "Make the rule" the correction is settled (mailregeln.settle), the sender's new mails are left to the mail rule (log mail: tidy skip | rule decides | N); if the rule is paused or deleted, it asks again. If the correction has a goal, the card "Rule suggestion" asks (kind regel, kind fix with model): "Mails from always to ""?" with "Make the rule" (a fixed mail rule sender → folder, only by this button), "Just this mail" and "Never" (never list), log mail: rule card model | asked | N. If such a mail lies in "Falsch sortiert", the model may suggest an existing folder in the background (mailregeln.model_hint, tidy.suggest_folder through tidy._ask, with maintenance pause and priority): it gets only the sender's domain and folder names (existing categories of "Inbox tidying" and the sender's usual folders, at most tidy.FOLDER_MAX = 30), never the address, subject or text. Its answer counts only if it is exactly one of these names (tidy.parse_folder), else it is dropped (mail: rule card model | refused). A valid suggestion becomes the first button of the card "Where does this mail belong?" marked "(the model's suggestion)"; only the person's tap files the mail, only then the card asks for a rule. The model moves nothing and never makes a rule. Under E-mail → Rules such corrections show "Inbox tidying (model)". Live: "N of them filings of the model, M folders suggested by the model". Self-tests test_mail_lernen.ModelOnlySuggests, test_tidy.

Mail like Apple Mail, stage 1: the Mail page follows the layout of Apple Mail, without a switch of its own (part of "Read mail").

Calendar like Apple Calendar, stage 2: no switch of its own (part of "Calendar"). A sidebar on the left: a small month (a tap jumps to the day), every calendar with its colour to show and hide (the browser remembers), shared ones and subscriptions marked; on a phone ☰ opens it as a sheet. View Year (twelve months, a tap opens the day). Creating like Apple: in week and day drag in free time (quarter hours) or double-click, double-click the all-day row for all day, long-press on a phone; the appointment shows at once as a draft and the inspector opens with the title to type. A tap on an own appointment opens the same inspector: title, place, all day, start and end, repeat (Never, Daily, Weekly, Every 2 weeks, Monthly, Yearly, with "Ends on"), calendar (only when creating), alert (5 min to 2 days before), people, note and link. Closing (Esc, a click beside it, "Done") saves; then "Undo" stays at the bottom for two minutes. Dragging the lower edge changes the length. On a phone the day shows a week strip on top; a swipe changes the day. Repeating appointments can be changed, moved and deleted: the panel asks "Only this appointment" or "All future ones" (with a changed rule only "All future ones"). "Only this" writes an exception (RECURRENCE-ID) or removes the day (EXDATE); "All future ones" changes the series itself from the first appointment, from a later one the old series ends before it (UNTIL, a COUNT is converted) and a new one begins. People are only a list in the appointment (ATTENDEE with SCHEDULE-AGENT=CLIENT): neither the calendar server nor the Spark sends an invitation through it. Technology: kalserie.py (pure iCal functions: reading and checking fields, changing a series), calendars.page_series, change_series, keep_undo, page_undo. Every change goes into the Spark's copy first and to the server behind, in order per profile, so "Undo" never arrives before the save. Endpoints: PUT /api/profile/calendar/event takes uid, rid (original start) and scope one|future for an appointment of a series; repeat, alert, people, note and link only when the form names them (otherwise they stay). POST /api/profile/calendar/undo {"undo"}: the token from the answer of every save, bound to the profile, valid 120 seconds, at most five, usable once (then 410); login, CSRF, size limit, rate limit "kalenderaendern". Logs: calendar: series changed|deleted, this one|from this on, calendar: series not changed (…), calendar: page undo done|gone|failed, each with … refused, notaus. Live: "heute N auf der Seite geändert, N davon Serien, N zurückgenommen".

  • Mailboxes on the left: with "Order mail" the column "Mailboxes" stands on the left: all inboxes, the smart mailboxes Unread, Flagged and With attachment, below them the folders per account. It stays open until you hide it (sidebar button or key O, the browser remembers it); dragging a mail opens it. Rows sit close like the side menu (30 px; in the panel on a phone 44 px). On top one quiet bar: search, "Select", reload, "New mail" (key N). Ticks only after "Select" or with ⌘/Ctrl-click.
  • List: the sender with the time on the right (today the time, yesterday "Yesterday", this week the weekday, else the date), the subject below, 📎 and ★ as small marks.
  • Reading: a head like Apple Mail (circle with initials, name, address, to, time on the right, subject big), attachments as tiles. HTML mails are shown formatted (paragraphs, bold, lists, tables, quotes): mailansicht.py cleans them on the Spark with a fixed list of allowed tags and attributes (no script, no style from outside, no position, no on… attributes, no SVG, no forms, no frames); the page shows them in a sandbox frame without script with its own CSP (default-src 'none'; img-src 'self' data:). Pictures from outside stay off so the sender does not learn that you read it; "Load pictures" fetches them for this mail through the Spark (netguard, only public addresses named in exactly this mail, only PNG, JPEG, GIF and WebP by their first bytes, never SVG). Embedded pictures (cid:) come from the attachment. A link opens only after "Open the link? It leads to …" with its real address; when the link text differs from the target, the page warns (a phishing trick). mailto: opens a new mail. Mails without HTML stay text.
  • Phone: the bar with reply, forward, archive, folder and delete stands fixed at the bottom above the tab bar.
  • Writing: reply, forward and "New mail" open a window of their own (on a computer bottom right, movable by its head and to be made small, the mail stays readable; on a phone a sheet) with lines To, Copy, Subject, the text and the Spark's suggestions as ✨ chips. "Send" (or ⌘/Ctrl+Enter) has the Spark check the mail (like the preview sheet, send/preview), then it waits 10 seconds with "Undo" and "Send now"; "Undo" brings the window back with everything typed, nothing went out. When the mail holds text of the Spark (a ✨ suggestion, ✨ shorter/friendlier/more formal/in English, a draft from "For you"), the preview sheet comes before sending and only it sends. Mails by voice have their approval card with "yes".
  • iPhone app: the same mail formatted in a web view without script that loads nothing from the network (a content rule blocks every http/https load, its own CSP, embedded pictures as data:), a head like Apple Mail, links only after the question with the address (then Safari), pictures from outside stay off. "Send" with 10 seconds "Undo", text of the Spark with the preview.
  • Live (node Mail): "today N shown formatted, M pictures from outside loaded", numbers only. Logs: mail: view html|text | N pictures outside, mail: picture loaded|shown|refused …, never an address, subject or text.
  • Not part of this stage: preview lines in the list, drafts in the folder "Drafts" and address suggestions from contacts.

Contacts like Apple Contacts, stage 3a: Contacts is a page of its own in the menu (kontakte.js), shown with "Contacts". On the left a search, the address books as groups (chips with counts), A to Z with a letter bar; on the right the card with initials, Message (sms:), Call (tel:), Mail (opens "New mail" on the page E-mail, without "Send mail" the mail program), Event (Quick add on the page Calendar) and Share (the card as .vcf), below phone, e-mail, address, website, birthday, note and "With Anna": the next appointment within 60 days (by mail address or name) and the latest mail from the mail supply, without asking a mailbox. Tapping the sender of a mail opens their card. The address books are under Contacts → Settings. Changing: admin switch Features → Contacts → "Edit contacts" (chat.contacts_edit, off). Then "Edit" like Apple (a minus per field, "+ add" per kind, "Done"), "New contact" (into the chosen address book or "On the Spark") and "Delete contact" after asking. kontaktkarte.py checks every field (numbers only digits and signs, mail form, websites only http/https, birthday as a date, maximum counts) and replaces only the page's lines in the vCard; photo, UID and everything else stay. contacts.save fetches the card fresh, compares the ETag, writes with If-Match (new ones with If-None-Match: *); if it was changed meanwhile, the Spark answers 409 and overwrites nothing. Cards "On the Spark" are kept sealed in the profile. Endpoints /api/profile/contacts/page|with|vcf|card with login, profile, CSRF, 64 KB, rate limit kontakte; Notaus blocks changing (423). The assistant and the voice never change contacts. Live: address books, cards on the Spark, changed on the page today (numbers only).

Contacts like Apple Contacts, stage 3b: the Spark as a CardDAV server (kontaktserver.py): admin switch Features → Contacts → "Contacts for contacts apps" (chat.contacts_server, off; needs "Contacts" and "Calendar server for calendar apps"). Then the address book "On the Spark" shows in the iPhone's Contacts app (on the iPhone: Settings → Apps → Contacts → Accounts → Other → CardDAV account: server = the Spark's address with /carddav/, user = profile id, password = the app password from Calendar → Settings → "For calendar apps"). The door is the calendar server's (Basic login, wrong guesses lock like a PIN, rate limit caldav, other sites' web pages refused, Mein Notaus). Only the own address book "On the Spark", never iCloud address books and never another profile. PROPFIND, REPORT (addressbook-query, addressbook-multiget), GET, PUT, DELETE with etags; per card exactly one vCard with a name or company, at most 256 KB, at most 2000 cards. Writing only with "Edit contacts", otherwise read only (403). A change on the page keeps the app's object name. Live: requests, changes, refusals today.

Invitations from mail (einladung.py): admin switch Features → Reading e-mail → "Invitations from mail" (chat.mail_invites, off; needs Reading e-mail and Calendar). If a mail carries an invitation (a text/calendar part or an .ics file; mail.show only reports invite), the E-mail page shows a bar under the subject (einladung.js): title, time, place, organiser, number of people, the own answer so far and whether the appointment is in a calendar already. "Accept" and "Maybe" put it in (into the chosen calendar, else the first writable one, CalDAV or Spark calendar), "Decline" takes it out; with METHOD:PUBLISH only "Add to calendar", a cancellation by the organiser (CANCEL) only "Remove from calendar" after asking. The invitation is someone else's text: at most 256 KB, one appointment (VEVENTs of one UID, at most 50), only REQUEST, PUBLISH and CANCEL. Into the calendar goes an appointment newly built by the Spark with only the fields needed (time, repetition, title, place, description up to 4000 characters, organiser, at most 100 people, time zones); the sender's alerts, attachments and links stay out. The place follows from the UID: the same invitation or its update replaces the appointment instead of adding it twice. With "Send mail" the answer (iMIP METHOD:REPLY with the own PARTSTAT) goes from the invitation's mailbox to the organiser (senden.send_now: day limit, Notaus, journal); it can be left out with the tick "Answer to … send". Endpoints GET|POST /api/profile/mail/invite with login, profile, CSRF, 4 KB, rate limit einladung; Notaus 423. The assistant does not answer invitations. Live (Calendar): shown, entered, answered today (numbers only). iPhone: the same section above the mail (Einladung.swift).

Cards in the assistant: when the assistant reads appointments (calendar_events), "Show in calendar" under the answer opens the Calendar page on that day; when it reads a mail (mail_read), "Open mail" opens exactly that mail on the E-mail page (event goto, at most three buttons, only a valid day or mail id, only with the page, never for another person's voice). The card is only a way there: the server decides what the page shows; adding, moving and deleting by voice have their approval card with yes/no.

Send mail (Features → Reading e-mail → "Mails senden", chat.mail_send, off): on the E-mail page "New mail", or "Reply" under a mail; "Preview" sends the form to POST /api/profile/mail/send/preview, the server checks every field (no line break in a field, so no header from the form; real addresses only; at most 10 recipients; subject at most 200, text at most 20,000 characters; no attachment, no HTML) and keeps the finished mail for 10 minutes under a random token bound to the profile. The sheet shows exactly that mail; only "Send" there (POST /api/profile/mail/send with the token) sends it, once. An answer takes subject ("Re: …"), In-Reply-To and References from the mail in the own inbox. senden.py sends through the mailbox's outgoing server (SMTP_FOR: iCloud smtp.mail.me.com 587, Gmail 465, GMX 465, web.de 587; with another IMAP server only the outgoing server typed in when connecting, never guessed, without one the mailbox only reads; the preview shows the server under "Via") with the same login, TLS only (465) or required STARTTLS (587), through netguard.SMTP/SMTP_SSL (checked address, USER rules). Except for iCloud and Gmail it puts a read copy into "Sent". At most 30 mails a day per profile, the Notaus holds sending off, a wrong password keeps the sheet for another try; if the server breaks off midway the sheet counts as used (never twice). Rate limit mailsenden; Live shows only how many mails were sent today; log mail: send preview|sent|send refused|send failed|sent copy … with numbers, never address, subject or text. Sending by voice (chat.mail_send_voice: off, answers only, all; default off): no tool for the model, fixed rules of the panel on the person's own words (senden.answer): "Antworte ihr per Mail: …" up to 15 minutes after the assistant read a mail (to its sender, From only, never Reply-To; the name only from the own contacts, never from the mail), with "all" also "Schreib eine Mail an Anna: …" (Anna only from the own contacts with exactly one address, or an address said in full; several fit → asked back). The Spark reads recipient and text back, approval card (kind "senden"), it is sent only after the plain "Ja" in the next message on the same device, through the same checks as the sheet. Never for guests, another voice or Telegram without the private release. Log mail: voice proposed|sent|declined|refused, <reason>.

Send later (part of "Mails senden", no switch of its own): the preview sheet and the "New mail" window offer "Later …" (iPhone: "Send later …" with date and time). POST /api/profile/mail/send with the token and at plans exactly the sheet's finished mail, at least 1 minute and at most 30 days ahead, at most 20 at once; until then it lies sealed in the profile (mail-spaeter.bin, vorrat.seal, bound to profile and file name). Above the list stand the planned mails (when, to whom, subject, never the text) with "Withdraw" (DELETE /api/profile/mail/later/{id}, also when "Mails senden" is off meanwhile). Each minute senden.later_due_once sends what is due, each mail exactly once, through the same checks as "Send" (30 a day, TLS, copy in "Sent"): the Notaus holds it back until it is over; with "Mails senden" off it shows "not sent"; if the outgoing server breaks off it shows "unclear, check Sent" and is never retried. With the sending the text goes, the line stays a day. Live shows only the number of planned mails; log mail: send later planned|refused|dropped|unclear … without address, subject or text.

Confirmation codes (Features → Reading e-mail → New mail at once → "Bestätigungscodes", chat.mail_code, off): when a mail with a code arrives ("482913 ist dein Bestätigungscode"), mailcode.py sends a note "Bestätigungscode · 482913 · GitHub" to the device in use, with "Copy code" (iPhone: the button or a tap puts it on the clipboard for 3 minutes, local only; Begleiter on Mac and Windows likewise). Fixed rules, never the model: unread, at most 10 minutes old, a word like code, Bestätigungscode, TAN, verification code close (80 characters) to exactly one code of 4 to 8 digits or capitals with digits; voucher, discount, order, tracking and customer numbers do not count, a year never. At most 10 notes an hour per profile, one per mail. Needs "New mail at once"; a profile with this function that used any device in the last two hours gets its IDLE connection for it. Never through Telegram: if Telegram is the device in use, it goes to the next other way (iPhone app, Android, Begleiter, browser); with none there is no note. Apple carries only "New message from the Spark", the app fetches the text from the Spark; the code lives only in memory with its note, never on disk, never in the log (mail: code looked|no device|limit|too slow … with numbers only); Live shows only the number of notes today (and how many arrived already over). Expiry (idea from pl_mail): if the mail says how long the code is valid ("gültig für 10 Minuten", "10 Minuten gültig", "gültig bis 09:30 Uhr", "expires in 15 minutes"; mailcode.valid_until, counted from the mail's time sent, at most 24 hours), the note can no longer be fetched on any device after it (notes, Begleiter, Android, iPhone card), a browser note waits at the push service at most until then (TTL), and it is not followed up (push: nachfassen nicht noetig, abgelaufen); a mail already past it makes no note (mail: code expired). Without such words as before. My emergency stop holds them.

Mail statistics (part of "Mails ordnen", no switch of its own): at the top of the tab Rules (panel and iPhone) "Who writes most" opens: the mails a week of the last four weeks and the 15 most frequent senders of the last 30 days with count and unread ones, plus "has rule" or "Rule …" (the form with that sender). mailregeln.stats counts in the panel from the listing of the Mail-Vorrat (300 headers a mailbox) and reads nothing again while it is fresh; nothing goes to the model. GET /api/profile/mail/stats (rate limit postordnen), log mail: stats shown|too slow … with numbers only, Live: how often looked at today.

Sort every mail here (part of "Mails ordnen", no switch of its own): in the "⋯" (or right click, a long press on the iPhone) at the inbox, the archive and every own folder, "Sort every mail here" sorts every mail of that folder once, down to the oldest (the newest 50,000), not only 90 days like "old mail". Per mail the first fitting rule decides: first your mail rules (only their folder), then, where inbox tidying is on for the mailbox, its stages 1 to 3 (protected senders, tidying rules, fixed header signs). The language model never decides here: a mail without a fitting rule stays, so does one whose target is the folder itself. First a proposal comes in the background with progress ("1,240 to Rechnungen, 830 to Spark/Newsletter; 2,100 stay"); mails move only after "Move" (with the code like any bulk change), in packages of 100; "Stop" halts after the running step. "Undo" brings every mail of the last run back by its Message-ID; after "Close", "Undo the sorting" stays in the folder's "⋯". Never out of sent, drafts, trash or junk, never deleted, never flagged; if the mail server renumbered the folder, nothing moves. One run per profile, at most two at once on the Spark, speech goes first between the steps. einordnen.py, GET/POST /api/profile/mail/einordnen, …/go, …/back (both with the code), …/stop (rate limit postordnen); the proposal lives in memory only, the last run for "Undo" sealed in mail-einordnen.bin (30 days). Log mail: sort folder … with numbers only, Live: runs and mails moved today.

Reading e-mail: "Any new mail?", "What does Anna write?", "Read me the mail from the bank". Each profile connects up to 4 mailboxes over IMAP in the "Me" window, tab E-mail: iCloud (imap.mail.me.com, your iCloud mail address and a new app-specific password from appleid.apple.com), Gmail (imap.gmail.com, app password, needs 2-step verification), GMX and web.de (allow IMAP there first) or any other IMAP server with TLS. Outlook/Microsoft 365 is not supported (needs OAuth). The assistant only reads the inbox of the last 30 days and changes nothing: the mailbox is opened read only, no mail is sent, deleted, moved or marked as read. It summarizes mails and reads them out word for word only when asked; the daily briefing names the unread ones. Mail text is someone else's words: once the assistant read a mail in an answer, in that answer it cannot switch smart home devices, change memory, cancel reminders, search the web or enter appointments; answers made from mails are not learned into memory. Guests and another person's voice at a different device get no access. The password is stored encrypted on the Spark and never shown again. Times are given in your time zone (else the Spark's), not with the sender's offset. Off until turned on under Features.

Inbox tidying (Features → Mail and contacts → "Inbox tidying", off by default; needs reading e-mail; profiles only): the Spark sorts advertising, newsletters, invoices, notifications and social media mail into folders under a main folder (Spark/ unless renamed, e.g. Spark/Werbung; renamed in the "Me" window under E-mail, empty puts the folders at the top; renaming also renames them in the mailbox with IMAP RENAME, the mail moves along; if the new name exists already, the old folder stays) so the inbox keeps only what matters. It only moves; it never deletes, never sends and never marks mail as read. Without IMAP MOVE (iCloud) it copies, checks the copy and only then removes exactly that original (UIDPLUS); no other mail is touched. Each profile picks per mailbox in the "Me" window, tab E-mail, part "Inbox tidying": off, preview (only shows what it would move; a week is recommended to start), safe automatic (only what a rule or clear headers such as List-Unsubscribe prove) or fully automatic (also when the model is at least 85 % sure). Below the switch Off / Preview / Safe / Full one line says what the chosen mode does; pointing at or tapping another shows its line. With the second login step, switching asks for the code. Only new mail is checked, every 5, 15 (default) or 60 minutes. Order: people you wrote to (sent folder), sign-in and security mails and your "always keep" list stay put; then your rules (sender or @domain); then fixed headers; only then the language model, which may only return a category from the fixed list and has no tools. It asks first for invoices, notifications and unclear mail; your answer can become a rule. When no folder fits, "+ New folder" in the question adds an own one: type a name, "Create and file"; then the folder is made under the main folder, the mail moves there and "Always" turns it into a rule. The name follows a fixed rule (1 to 40 letters or digits, plus space and . , & ( ) + ' -, no /, no control characters, never a folder of the mail program such as inbox or trash); if it exists, the Spark takes that one. Own folders (at most 20) show in every choice and under "Folders and exceptions" (add, rename, remove). Only your answers and rules fill them, never the language model; "Remove" only takes them off the list and deletes their rules, folder and mail stay. A mail put back into the inbox is not moved again, and the Spark asks. Brakes: at most 200 mails per run; a run that would move more than half of at least 10 new mails stops and puts everything into the preview. Every move stays in the history for 30 days and can be undone. "Old mail" proposes once where the last 90 days belong; nothing moves until you press "Move". By voice: "Tidy my inbox", "Move everything from Lidl to advertising", "Undo that"; the assistant reads out the proposal and the panel carries it out only after your plain "yes". Reply drafts (per mailbox): "Write Anna that I'm coming" saves a draft in the drafts folder after your "yes"; you send it yourself in your mail app. Guests and other people's voices get no access.

Learn mail style (mailstil.py, Features → Mail and contacts → "Mailstil lernen", chat.mail_style, off by default; needs reading e-mail; once released for every profile, never guests): under E-mail → Settings → My mail style, "Learn style" reads the "Sent" folder of the chosen mailboxes read-only (EXAMINE and BODY.PEEK), at most the newest 200 mails of the last 12 months. The panel cuts quotes, "On … wrote", forwarded parts, signatures and "Sent from my iPhone" with fixed patterns and puts every mail into a group: "Sehr geehrte", "Guten Tag" or "Sie" → Work, "du" or "Hallo/Hi/Liebe" → Private, the first mail to someone also → Unknown. The panel counts the form of address (du, Sie, mixed) and the length (median of words) itself. The language model gets at most 40 own texts per group between <<<MAIL and MAIL>>> as data, without tools, in the background with speech first, and only fills a fixed form: greeting (names become {Name}), sign-off, tone (casual, friendly, matter-of-fact, formal), up to 8 typical phrases, up to 4 habits. The panel checks every field; addresses, numbers, links and marks are dropped, nothing is repaired. Only this summary is kept in users/<p>/mailstil.json (stays on the Spark), recipients only as a salted hash, never a mail. Every field can be adjusted with "Change" and stays when it learns again; "⋯ → Delete mail style" and "Delete data" remove everything. It learns only on the button. It works in mail drafts: by voice and in the chat mail_draft reshapes the draft in the style of the recipient's group (on an error the draft stays), "Draft a reply" in the Begleiter (Outlook classic, Mac Mail, the Outlook button "Antwort") gets the style as <<<STIL … STIL>>> (form and tone only); the panel finds the group from the "Von:" line, unknown senders get "Unknown" and the form of address of their mail. "stil": false in /api/write/assist writes once without it. The writing help page, Word, Excel and the browser stay without it. Logs only with fixed words: mailstil: gelernt … postfaecher=1 mails=180 gruppen=3, mailstil: abgebrochen grund=kein_gesendet_ordner, mailstil: benutzt weg=begleiter gruppe=beruflich. API (profile): GET|PUT|DELETE /api/profile/mailstil, POST /api/profile/mailstil/learn.

For you from mail (fuerdich.py; Features → Mail and contacts → "Für dich aus Mails", chat.mail_insight, off by default; needs reading e-mail; once released for every profile, never guests): under E-mail → For you (a tab of its own) the Spark shows what it found in the mails of the last 30 days. Everything is read read-only (EXAMINE and BODY.PEEK): the inbox, the tidying folders Werbung, Newsletter and Rechnungen when they exist, and the headers of "Sent". Fixed rules, no language model: bill (amount, deadline from "fällig am", "zahlbar bis" …, or "wird abgebucht"), contract (renews on …, cancel by …), order (order confirmation with amount), offer (advertising or newsletter with coupon/discount ending within 14 days, at most 5), reply missing (someone you wrote to before asks something and has had no answer for 2 to 14 days; by In-Reply-To and later mails to the address), suspicious (sender or subject names a known brand like Sparkasse, PayPal, DHL but does not come from its domain and wants something confirmed, or the header says DMARC failed; a brand only in the subject does not count when the mail server confirms that the sender's own domain sent the mail (DMARC, DKIM or SPF passed) and the subject itself does not urge to confirm or log in; a brand in the sender's name or a lookalike domain stays suspicious). Amounts and days count only when they parse; every sentence on a card is a fixed sentence with checked values. Sender name and subject are outside text and appear only as text; links from mails are never opened or linked. Per run at most 60 mail texts per mailbox, in the background with speech first (vorrang.in_thread("Für dich")), the result kept 10 minutes in memory. ✓ (done) and ✕ (not interesting / is genuine) keep only a checksum of the Message-ID in users/<p>/fuerdich.json (stays on the Spark); "⋯ → Forget the marks" and "Delete data" remove them. Under Me → Overview the card "For you" only counts how many cards need you (waits at most 3 seconds, else "being read"). Logs only with fixed words: fuerdich: gelesen funde=3 fehler=0 sekunden=1.2, fuerdich: markiert als=done Profil …. API (profile): GET /api/profile/fuerdich (?fresh=1 reads again), POST /api/profile/fuerdich/mark {"id", "as": "done"|"no"|"open"}, DELETE /api/profile/fuerdich.

For you, stage 2: buttons, voice, by itself: every card gets the buttons the panel allows by fixed rules for its kind and the released functions (fuerdich.acts): Remind me (bill, contract, offer, reply missing; with "Timers and reminders") sets a reminder with a fixed text, e.g. "Rechnung Stadtwerke bezahlen (84,20 €)", at 9 am the day before the deadline, without a deadline tomorrow at 9 am, never sooner than in an hour. Add to calendar (cards with a deadline; with "Calendar") opens the calendar with a fixed line such as "31.10.2026 Kündigungsfrist congstar" in "Quick add"; it is saved only with "Add". Draft a reply (reply missing from the inbox; with "Send mail") opens the mail on the E-mail page with the reply form and reply suggestions in the own mail style. Draft a cancellation (contract; with "Send mail") opens a new mail with a fixed text ("hiermit kündige ich meinen Vertrag bei … fristgerecht zum …") to the sender, except no-reply addresses. Sending only goes through the preview sheet of the E-mail page. By voice: "What do I have to do this week?" reads the cards as numbered fixed sentences (tool fuer_dich, at most 8, mail data like any reading from mail), with the mail of every entry (sender, day, subject, folder outside the inbox); "reply missing" reads "… sent you a question 4 days ago and waits for your answer". When reading takes longer than 20 seconds the tool uses the last reading or says "still reading" (log fuerdich: werkzeug laedt noch or … liste aus letzter lesung). "Number two is done", "… not interesting" or "remind me of number one" acts through fuer_dich_tun, only with a number of the list read last (valid 30 minutes) and never in the same answer that read mail text. The daily briefing names at most three cards that need you. Speak up by itself → Deadlines and suspicion (pro_fuerdich, under E-mail → Settings, on once "Speak up by itself" is on): a bill or cancelling deadline due today or tomorrow and a suspicious mail, once per card, 8 am to 8 pm, at most 3 a day, fixed sentences only. It checks every 30 minutes from the last reading; with "New mail at once" (IMAP IDLE, mailidle.py, chat.mail_idle) on, right after a new mail (mailidle.on_new(fuerdich.new_mail)). The last reading per mailbox stays sealed in the profile (fuerdich-vorrat.bin, through vorrat.Vorrat, only found entries with sender, subject and time, never mail text): after a restart the tab shows it at once, and when a mailbox does not answer its entries come with "Stand hh:mm" (up to 24 hours old), in the tab, when read aloud and in the card under Today; without a kept reading the assistant says the mailbox cannot be read right now. The file goes with "forget marks", with the profile and after 14 days without a reading; Status → Live counts under E-Mail the answers from the last reading today. Endpoint POST /api/profile/fuerdich/act {"id", "do": "remind"|"cancel"} (own profile, only cards of the last reading, only allowed buttons, size limit, rate limit "fuerdich"). Logs: fuerdich: erinnerung gesetzt, fuerdich: kuendigung entworfen, fuerdich: knopf abgelehnt grund=…, fuerdich: werkzeug liste funde=N, fuerdich: briefing teile=N. iPhone: Today → For you with the same cards and buttons (swipe for Done and Not interesting, ⋯ for Read again and Forget the marks).

What I know about you, stages 3 and 4: a page of its own Me → What I know about you (ichweiss.py, part of "For you from mail", chat.mail_insight, no switch of its own; never guests). Layout: a title, one line of explanation, tabs "To sort out" (proposals and "Which topic is this?" with word buttons "Right/Not really" and "Take it/Leave it"; opens first while something waits, its count then orange), "Interests" (list on the left, details on the right, on the phone a page of its own with "‹ Interests"), "Recurring" and "Week & kept". Interests: a proposal is a topic from a fixed list (ichweiss.TOPICS, about 25 topics such as "Music production & samples", "Smart home & IoT", "Food delivery"; per topic fixed words and sender domains, whole words, no model), backed by headers of the last reading of For you (fuerdich.shops, never mail text). A sender gets the topic whose words stand in at least two and at least a third of its mails (subject and sender name) or whose domain it has. Under the topic its senders show as chips (✕ leaves one out) and up to three subjects as examples, as text only, in memory only, never in a file, log or search. A sender with offers or newsletters but no topic shows "Topic unclear": open its subjects and pick a topic (confirmed interests and fixed topics, with suggestions while typing; a name of the fixed list, German or English, becomes that topic) or type one. Never proposed: own addresses and the profile name, services and accounts (e.g. notifications@github.com, security@, account@) and machine mail (Auto-Submitted); a sender with orders only just when it has a topic. An interest counts only after "Right" (the topic with its senders; then offers of new senders with the same words fit too); "Not really" is remembered; own interests can be added ("+ Add an interest", folded "Not really (n)"). "More of this" on an order or offer under E-mail → For you makes the shop's topic (else the shop) an interest; fitting offers come first with "fits …". The details show the senders (✕ takes one out, it does not come back as "Not really"), "✎ Rename or give a topic", the switch "Tips from the web" with the last tip, and "Forget". An old confirmed sender name without a topic shows in orange as "old sender, no topic yet" and is asked once with "Take it" or "Leave it"; with a topic it becomes a sender there; it is no topic to pick; the chips under "own topic" are called "Quick pick". Only name, topic, senders, state and time are kept, in users/<p>/interessen.json (at most 60). From the web: for an interest with "Tips from the web" a separate run searches at most once a day between 10 am and 7 pm in the own web search (SearXNG) for exactly the topic word, never with mail text or sender; the first hit with an https address becomes the tip (title as text, link only in a new tab without referrer), visible for three days. Needs the web search released. Recurring: bills of the same sender in three or more months around the same day (at most 6 days apart), from the headers of the last 200 days (read-only, once a day); "Remind me monthly" sets a monthly reminder "Rechnung … kommt um den 15." at 9 am. Week & kept: "Deine Woche: 3 erledigt, 2 offen. Nächste Woche: …" from the marks of the last 7 and the deadlines of the next 7 days; the month's sum of bills and orders only from checked amounts (also under E-mail → For you); tip of the day; the newest facts of the memory and the mail style with the ways to their pages. On Sundays from 6 pm the weekly review comes by itself (By itself: "Weekly review", pro_rueckblick, once a week, under E-mail → Settings). "⋯ → Forget every interest" and "Delete data" remove the file. iPhone: For you → What I know about you with the same tabs as a segment, a senders menu, "Topic unclear", an interest as its own page (swipe a sender left to take it out), "More of this" on the card, CarPlay row "Read deadlines aloud". State → Live: event "Was ich über dich weiß" (only "Netz-Tipp gefunden"). Logs (area "mail"): ichweiss: angesehen vorschlaege=2 interessen=1 wiederkehrend=1 …, ichweiss: interesse als=yes …, ichweiss: erinnerung monatlich gesetzt …, ichweiss: netztipp gefunden|ohne treffer|fehler=…, ichweiss: kopfzeilen gelesen ordner=2 absender=5, fuerdich: mehr davon …. API (profile): GET /api/profile/ichweiss, POST /api/profile/ichweiss/interest {"name", "state": "yes"|"no"|"forget", "src", "web"} with topic and senders (at most 20) and the states adopt {"name", "topic"}, keep {"name"}, rename {"name", "to"} and drop {"name", "senders": [one sender]}, POST /api/profile/ichweiss/recurring {"id"}, DELETE /api/profile/ichweiss; plus POST /api/profile/fuerdich/act {"id", "do": "more"}.

Writing help (schreib.py): improve mails and other texts (also from Word, Excel, Pages). Switch: Features → Mail and contacts → "Schreibhilfe" (admin, off); once released it works for every profile, Me → Writing help shows what it can do; never guests. On the page Me → Writing help: paste a text, pick what to do (Correct: only spelling, grammar, punctuation; Smooth; Shorter; Friendlier; More formal; Translate into German, English, French, Spanish, Italian or Dutch; Draft a reply from the mail you received and your own notes, missing details as [square brackets]), optionally a free wish about the form ("informal", sign-off). When correcting, smoothing, shortening and rephrasing the panel shows every change in colour, worked out by itself (word comparison), not by the model. "Copy", "Use as my text" (for a second round). With "Picture recognition", "Read from picture" or a screenshot pasted with Ctrl+V reads the text from a picture (the picture is dropped right after). With "Reading e-mail", "Inbox tidying" and the mailbox switch "Drafts", "Put into the mailbox as a draft" saves the text in the drafts folder; nothing is ever sent. For other programs there is the MCP tool write_text ("Improve text") under Me → Spark as MCP server. The text is data only: one call of the language model without tools, between fixed marks, told never to follow requests in the text. Nothing is stored (no history, no memory); the journal, Logs → Requests and Status → Live see only the kind, the number of characters and the time. Limits: 20,000 characters of text and mail, 96 KB per request, one request per profile at a time, two on the whole Spark, 20 per minute. Notaus stage 3 stops the writing help, from stage 2 there are no drafts.

Writing help in other programs: sub-switch Features → Mail and contacts → "Writing help in other programs" (admin, off; then for every profile, pairing is under Me → Writing help). Me → Writing help then shows the programs to download and "Pair a program": one click (with confirmation code) gives a setup line like https://spark.example.de#schreib=ABCD-EFGH, valid 10 minutes, usable once. The program swaps it for its own device key of kind "write" that can only improve texts (no chat, no mail, no drafts, no history). Paired programs are listed below and can be removed one by one; at most 10 per profile.

  • Mac (download "Mac quick action"): Services menu "Mit Spark verbessern" in Apple Mail, Pages, Word, Excel and any other program, optionally with a shortcut. Pick what to do, look at the suggestion, "Übernehmen" replaces the selection. Key in the keychain.
  • Windows (x64 and ARM): part of the Spark companion (below), paired under Me → Companion.
  • Outlook, Word, Excel (Office add-in, only with the Spark's https address): download the manifest and load it in Outlook under "Get Add-ins" → "My add-ins" → "Custom add-in", or in Word/Excel as a shared add-in. Side pane with kind, suggestion and "Übernehmen" into the mail, document or cell. Works in Outlook for Windows, Mac and the web.
  • Browser (extension for Chrome, Edge, Firefox): right-click selected text in webmailers (Outlook on the web, Gmail, GMX, web.de and others) → "Mit Spark verbessern". Load as unpacked extension; in Firefox only until restart.
  • iPhone and iPad (Spark app): Share → Spark → "Improve text" and the shortcut "Improve text with Spark"; uses the app key. All programs send only the selected text, the Spark does not store it; http only in the home network. Live and logs show program kind, kind and number of characters.

Spark companion on PC and Mac (begleiter.py, tools/begleiter): a small program in the Windows taskbar (x64 and ARM, GitHub Action "Spark-Begleiter Windows", release begleiter-windows) and the Mac menu bar (macOS 13 and later, Action "Spark-Begleiter Mac", release begleiter-mac). Switch: Features → On the go and devices → "Spark companion on PC and Mac" (admin, off); once released it works for every profile, pairing is under Me → Companion; never guests. Pairing: Me → Companion → "Pair a device" gives a setup line …#begleiter=ABCD-EFGH (10 minutes, once, with confirmation code); the program gets its own key of kind "desk" that knows only its own paths. Parts, on or off per device under Me → Companion (new devices: writing help, Ask Spark, notes and state on; dictation and the kill-switch button off):

  • Writing help (needs the writing help): select text, Ctrl+Alt+S (Mac ⌥⌘S or the Services menu). Defaults per device: kind, language for translating, fixed wish, which kinds show in the menu, show the suggestion first or replace at once.
  • Ask Spark: Ctrl+Alt+A (⌥⌘A) opens a window for a question, the answer comes as text; follow-ups within 10 minutes keep the context, a day's questions are a conversation "Begleiter" in the history. With cards as in the panel (chat.desk_cards): follow-up cards (Yes/No, "A or B?"), the approval card ("Appointment waits for your yes"), "Show in calendar"/"Open mail" (open only #me=calbox or #me=mailbox) and the line of tools used; a click only sends the fixed word as if typed.
  • Dictation: Ctrl+Alt+D (⌥⌘D) starts and ends the recording (at most 60 seconds, visible indicator), the recognised text lands at the cursor. Language per device.
  • Notes: the Spark's notes as system notifications when the companion is the device used last (fetched every 30 seconds, like the Android app).
  • State dot: icon normal, grey (Spark not reachable) or red (Notaus or my kill switch).
  • My kill switch: menu item with a confirmation, stops the own profile (as Me → Security). Lifting only in the browser with the PIN. Hotkeys are set in the program under Settings. Changes in the panel reach the program with its next check. Removing a device under Me → Companion stops its key at once. Windows: not signed, SmartScreen on first start ("More info" → "Run anyway"), key encrypted with DPAPI. Mac: not notarized, first start right-click → Open; for the writing-help hotkey and pasting macOS asks once for "Accessibility", for dictation for the microphone; key in the keychain. Status → Live shows pairing, questions, dictations (character count only) and notes to "Spark-Begleiter".

Companion: updates, look, coffee: the programs look like the panel: the Spark face as icon in taskbar and menu bar (dot bottom right: green reachable, grey not reachable, red kill switch, accent colour when a new version is there), a window on clicking the icon with all parts that are on and their hotkeys, light and dark following the system. Updates: the Spark fetches new versions itself from the GitHub releases begleiter-windows and begleiter-mac (once a day, only when a device of that kind is paired; Features → Spark companion → "Fetch new version now" at once) and checks size and SHA-256 against the version's begleiter.json. The program learns from its check of the new version, downloads it only from the paired Spark, checks size and SHA-256 again and installs only after your click on "Update"; a damaged file is deleted and the old version keeps running. In the Companion app: Settings → About shows the version, "Check for updates" and the switch "Download updates automatically, ask before installing". The program and Me → Companion carry the link "☕ Support Spark" (buymeacoffee.com).

Companion deeper in the computer: eight more parts, all off, turned on per device under Me → Companion:

  • Right-click on files: "With Spark" in Explorer (Windows 11: "Show more options") and under Services in Finder: summarize, translate, explain (PDF, Office, text, mail, pictures; at most 20 MB, the first 40,000 characters are read) or add to knowledge (needs own documents).
  • Ask about the screen: Ctrl+Alt+B (⌥⌘B), drag a region, optionally a question, then explain, read out the text or translate. The language model reads the picture; it is kept nowhere.
  • Know the app: the writing help learns the kind of program (mail, Word, Excel, chat, browser …) and fits tone and form; program names and window titles do not go to the Spark.
  • Draft a reply: Ctrl+Alt+M (⌥⌘M) for the open mail in Outlook (classic, Windows) or Apple Mail: the answer is a draft in the reply window; nothing is ever sent. In the new Outlook it is on the clipboard.
  • Spark-Wissen folder: what lands in the folder (default: Spark-Wissen in the user folder) goes into the own documents; a changed file replaces its older version, at most 50 a day. Sub folders you leave out under Me → Documents → Left-out folders are not sent; what was sent from them leaves the search at once.
  • Buttons in notes: Reply, Later, Open panel. A reply goes to the Spark with the note as context; the note counts as outside text (nothing switches). The buttons depend on the kind of note (fixed in the panel, begleiter.NOTE_ACTS, never from its text): a deadline or suspicion from For you has Done, Remind and Show (POST /api/desk/note/act; the panel looks up note and card itself, the program only names the note's number and the button). "Open panel" goes to the note's way (weg: E-mail → For you, or the first way in its text).
  • Mail in the companion (part post, off; follows Features → Reading e-mail): a section "Post" in the tray window: unread mail and For you as numbers, up to 3 urgent For-you cards with Done, Remind and Show (GET /api/desk/post, POST /api/desk/post/act; the panel looks up the card itself) and "Open e-mail". An important new mail comes as a note as soon as "New mail at once" (IMAP IDLE) reports it (mailidle.on_new): only unread, at most 15 minutes old, from a contact or someone you wrote to in the last year (Sent folder, read only), never from lists or no-reply addresses; at most 3 at once, each only once. Sender and subject are only text in it. Buttons: Draft a reply (opens Ask Spark with the note and the request in the field, nothing is sent), Read (only with "Mails ordnen") and Show (E-mail → Inbox). Only devices with this part get such notes; on the Mac the lock screen shows only "Neue Mail" when previews are hidden.
  • Quick capture (part capture, off; follows Features → Calendar or Features → Timers and reminders): Ctrl+Alt+N (⌃⌥N), the tile "Erfassen" or the menu open a small window for one line like "Dentist Fri 10 am at Dr. Weber"; marked text comes along as the line. The panel reads it by fixed rules (calendars.quick, no language model) and shows what it found: appointment or reminder, day and time, place (POST /api/desk/capture). It is saved only with Eintragen; the panel reads the same line again for that, so exactly what was shown lands in the calendar or the reminders. A reminder without a time is for 9:00 (if that has passed, in one hour); an appointment needs an own calendar account. Then Rückgängig for 10 minutes (POST /api/desk/capture/undo, only the entry this profile just made). At most 200 characters, 60 calls a minute. Logs only with fixed words: begleiter: erfassen termin|erinnerung ok, begleiter: erfassen rueckgaengig … ok, begleiter: erfassen abgelehnt grund=eingabe|notaus.
  • Reply suggestions in the companion and the Outlook add-in (follows reply suggestions and the writing help): in the window "Draft a reply" (Windows, Mac) and in the Outlook add-in's side pane 3 Vorschläge fetches three short replies to the mail that was read (POST /api/write/suggest, as in the panel: the mail is only data, one call without tools, nothing is stored). A click takes a suggestion; then Kürzer, Freundlicher, Förmlicher and Englisch reshape it (/api/write/assist). Nothing is ever sent, the draft opens in the reply window.
  • Shared calendars in "Als Nächstes" (part agenda): "Als Nächstes" in the companion window also shows appointments of calendars other profiles share with you (Features → Share calendars), with the profile's name as a chip; a private appointment is only "belegt". A click opens the calendar in the panel on that day (#kal=YYYY-MM-DD; the program takes only a plain date).
  • Lists in the companion (part lists, off; follows Features → Lists for shopping and tasks): a section "Listen" in the companion window: shopping, tasks and own lists with open entries, each with a count and the newest entry as a fixed sentence ("Sabine hat „Milch“ ergänzt", else "zuletzt „Milch“"; GET /api/desk/lists, at most 6). "Öffnen" goes to the page Lists. Quick capture knows the kind Liste: "Milch, 2 Eier und Butter auf die Einkaufsliste" puts three entries onto that list (only lists of the profile, else shopping), only with "Eintragen", with you as "who" and "Begleiter" as "from where"; "Rückgängig" takes only the new entries off.
  • Act on the PC (own admin switch "May act on the PC", off): for a request like "Open tagesschau.de on the PC" the computer asks in a window whether it may (60 s, else no). Allowed only: open a page (http/https), a program released under Me → Companion, music (play, pause, next, previous), volume, lock the screen, show a text. Locked after mail, web pages or other outside text.
  • Wake word on the PC: "Hey Spark" through the computer's microphone, as in the browser (short pieces to speech recognition, a hit starts the question). Listens only while the part is on; the icon shows it, "Pause wake word" in the window.

Companion: seven more parts: all off, turned on per device under Me → Companion. Read aloud (Ctrl+Alt+L, ⌥⌘L): marked text in your Spark voice, at most 5000 characters. From the phone to the PC: text (into the clipboard), a link (opened only after asking, only http/https) or a file (at most 20 MB, into "Downloads/Vom Spark") from the panel ("Send to the PC" at the device) or by voice ("Send the link to my PC"); waits up to 24 hours. Appointments in the companion: the next 24 hours with a note 10 minutes before, "Remind me in 20 min" on notes. Recognise do not disturb: while another program uses the microphone or camera or a presentation runs, notes and announcements on your own speakers wait; then "Während du beschäftigt warst" follows. Notaus, security notes and reminders always come. Write along in meetings (own admin switch "Write along in meetings", off): only on a click, with a red bar; the microphone and the computer's sound go to speech recognition, the transcript stays in memory only (at most 3 hours). Afterwards a summary and tasks; with "Ausgewählte auf die Liste" chosen tasks go onto a list ("Tasks" by default, selectable; with the date from "due" and the source "from a meeting"), with "Als Erinnerung" into the reminders, the summary on request as a document on the reMarkable (folder "Meetings"), and it is in the history. Everybody taking part must agree. Smart home buttons: up to 12 buttons (lights, switches, fans, climate, scenes) of your Home Assistant, set up under Me → Companion; with a code word the companion asks for it. Start and end of the day: in the morning the daily overview, in the evening tomorrow's appointments and what is open. For "Act on the PC" the companion sends the list of installed programs; under Me → Companion you pick from it.

Companion update looks right away: "Check for updates" in the program and every program start make the Spark look at GitHub at once (at most every 5 minutes per kind of computer). The Mac names the failing step when it refuses an update.

Companion with the chosen face: the companion shows the face picked under Settings → Defaults (robot, comic, comic woman or wave) in every window and the icon; a change arrives with the next check. In the companion the comic face is a still picture.

Acting on the PC right at the companion: in Ask Spark on the computer itself ("open Safari with Google") the computer need not be named; a verb of doing (open, start, play, louder, quieter, lock, show) is enough. The question at the computer stays.

Acting on the PC from a speaker or the phone: a clear order naming the computer ("Open heise.de on my Mac") goes to the computer from there too; the question comes at the computer. When it cannot go (no computer paired, "Act on the PC" off at the device or for the profile), the Spark says exactly that instead of trying other tools. Speech recognition may write "Mac" as "Mäc".

Remote control of the computer, stage 1: more fixed orders: "Act on the PC" can also bring a released program to the front ("Switch to Outlook"), close, minimize, maximize or full-screen the front window, press fixed keys (next, previous, space, enter, Esc, Tab, undo, redo, copy, paste, save, reload, find), type your own words ("Type on the PC: be right there"), open a folder (Documents, Downloads, Desktop, Pictures, Music, Videos, Recent), put the computer to sleep, turn the screen off and run a shortcut. Shortcuts (Mac: the Shortcuts app; Windows: scripts, links, programs) are released only at the computer (companion → "Am PC handeln einstellen"); the Spark knows only their names. There are no free key combinations. Only what you said yourself in this sentence is typed; if the model adds words, the panel refuses. The computer asks; in the window "Without asking from now on" can be picked for a kind (not for pages, typing and showing a text), set and undone only at the computer, Me → Companion only shows it. Requests arrive at once: the companion waits for them with an open request.

Remote control of the computer, stage 2: show and operate the screen: under Me → Companion tap "View screen" or "Operate" for the device and you see the main screen of your own PC or Mac in the panel or in the iPhone or Android app. The computer asks every time: Decline (preselected), View only or Allow (only when operating was asked for). After "Allow" a tap or click on the picture is a click on the computer, dragging moves the mouse, the wheel scrolls, "Right click" makes the next tap a right click; text and fixed keys (Esc, Tab, Enter, Backspace, arrows, Copy, Paste, Undo) come through the bar below the picture. There is no Windows key, Cmd-Space, Alt+Tab or Ctrl+Alt+Del. While it runs the computer shows a red frame and a bar on top with "Beenden" (End); ending also works in the companion menu (Windows), with My emergency stop and in the panel. Up to four pictures a second, at most 1600 pixels wide; the Spark keeps only the newest picture in memory and forgets it at the end. No recording, no history. At most 30 minutes; when nobody watches any more or the computer stops sending, the session ends after 30 seconds. Own admin switch (Features → Show and operate the screen) and own part per device, both off; only own computers, never guests. On the Mac the companion needs the permissions "Screen Recording" and, for operating, "Accessibility".

Remote control of the computer, stage 3: Spark operates the computer: "Spark, write to Anna in Outlook that I'll be there at three" – the Spark does the task on your own PC or Mac step by step: it sees the screen, proposes exactly one step (click, double click, right click, scroll, a fixed key or typing text), the computer shows it with the target marked in red and asks: Stop (preselected), Skip or Allow. Only after "Allow" does the step happen; 60 seconds without an answer count as Stop. Protection against injected orders: the task is fixed from the first sentence and must be in your own words; screen text is only content for the Spark. Only text from your task is typed, anything else is shown as a warning above the step. Only a program released under "Act on the PC" may be in front; terminal, settings, login windows, password managers and the Companion itself are always blocked. If something on the screen looks like an order to the Spark, it pauses and asks (No / Continue). At most 30 steps and 5 minutes; Stop, "End" in the bar and My emergency stop end it at once. The result comes as a notice in fixed words ("On the computer: done (4 steps)"); pictures and screen text never go to memory, history or chat. Own admin switch (Features → Spark operates the computer), off; on the device both "Act on the PC" and "Show and operate the screen" must be on. Needs a language model that sees pictures.

Describe the screen: "What do you see on my Mac right now?" or "What is open on my PC?" – the computer asks (Decline preselected, 60 seconds without an answer count as Decline), takes one single picture after "Allow", and the Spark describes it in a few sentences. Screen text stays content, never an order; it never names passwords, codes or account numbers, and in the same answer it changes nothing afterwards. If a protected program is in front (login, password manager, settings, terminal), it describes nothing. Only you see and hear the description: in the history, on other devices and in memory there is only "Here was a description of your screen". Switched on with Features → Spark operates the computer; on the device "Show and operate the screen" must be on. If something is missing, the Spark says exactly what.

Follow-up requests to the computer: after "What is running on my Mac?", "Bring the Terminal to the front." or "Again" is enough without naming the computer again: if one of your two messages before named it, the request goes to it (a fixed rule, only with an order word or "again"). "… in den Vordergrund" or "… nach vorne" brings a released program to the front, with the question at the computer. After a screen description the next request is not locked.

Office add-ins from the companion: part "Office add-ins" (per device, off; needs the writing help). Then "Office-Add-ins einrichten …" in the companion; it asks first. Outlook classic (Windows): a "Spark" button in the ribbon (main window and reading: draft a reply, translate; composing: improve text, translate), also with iCloud or IMAP accounts. The button only sends one fixed word to the running companion, which works as with its hotkeys; nothing is ever sent. Word and Excel (Windows and Mac): the companion registers the Office add-in itself; for that open the panel once at its https address and save under Me → Companion; "In other programs" of the writing help must be released. New Outlook, Outlook for Mac and on the web: the companion shows the file and opens "Add from file"; adding it is done by the person (Microsoft allows nothing else, only for Microsoft 365, Exchange or Outlook.com). Part off: everything is removed.

Outlook classic with the add-in: the Spark add-in declares the Office interface exactly as Microsoft does (the custom parameters as a SAFEARRAY), and nothing in it can disturb Outlook with an error. If Outlook classic stops at "Loading add-ins", switch the part "Office add-ins" off and on again in the companion; the setup dialog names this way out.

Blocked Spark add-in: after a hang Outlook moves an add-in to "Disabled items", and its tick under COM add-ins stays empty. "Office-Add-ins einrichten …" lifts that block for Spark only (Resiliency\DisabledItems and CrashingAddinList); other add-ins stay as Outlook set them.

Companion window in order: in the window on a click on the icon (Windows) or on the face in the menu bar (Mac), the head, "Frag Spark …", the tiles and the foot with "Panel öffnen" and Notaus always stay visible; below are three tabs: Heute (Als Nächstes, Post, Listen), Meldungen (with a count) and Rechner (Zuhause, Dieser Rechner or Dieser Mac). Tabs without content are left out, with only one there is no bar. The window is at most as high as the free screen and only the tab scrolls; all tabs have the same height so nothing jumps. The tiles are small, four in a row, the hotkey is in the tooltip. Als Nächstes and Post show the first three, "Alle n zeigen" opens the rest; lists are one line each with count and newest entry, a click opens the page Lists. When a new note comes, the window opens on "Meldungen" (newest on top, "OK" and "Erledigt" take it away), else on the tab chosen last (kept only on the device). On the Mac "Meldungen" also shows the Spark's notes since the start (at most 10, only in memory) with the same buttons as the notification; "OK" also removes it from the Notification Center. The Mac window always sits exactly as high as its content right under the menu bar. No switch of its own, no change in the panel.

Notes with "OK": in the Windows companion's tray window every note has the button "OK" first. It takes the note away without opening anything; the window stays open for further notes. On the Mac notes are macOS notifications and go away with "Close".

Microphone open/closed: the companion (Windows: right-click menu and tray window, Mac: menu bar window) has "Mikrofon schließen" or "Mikrofon öffnen" as soon as a part with the microphone is on (dictation, Ask Spark, wake word, meeting). Closed really means closed: the wake word stops, a running recording is discarded and not sent, a meeting ends, and no button opens the microphone until you open it again. The state stays after a restart; the icon then shows a struck-through microphone. Under Me → Companion every device shows "Mikrofon offen" or "Mikrofon zu"; Status → Live only counts the devices with the microphone closed. Only this state goes to the Spark, never sound.

"Draft a reply" when Outlook asks: when Outlook asks something while creating the reply (e.g. "Download external content?"), the companion brings Outlook to the front, does not stay on top of it and shows "Outlook öffnet den Entwurf … bitte dort antworten". While the Spark writes, the seconds count up, and "Abbrechen" stops it.

Speaking into the companion windows: with "Dictation" on, every free text field in the companion windows has a mic button: "Draft a reply" (notes and mail text), "Improve text" (wish, source text, result), "Ask about the screen" (question) and "Ask Spark". First click starts, the second (■) stops the recording (at most 60 seconds); the recognised text goes to the cursor or the end and is never run. So the Outlook classic buttons "Draft a reply" and "Improve text" can be used by voice too. Never in code word or password fields. The Office add-ins in Word, Excel and new Outlook have no mic button. Button labels never break inside a word; if the Mac panel is too narrow, "Spark unterstützen" moves to its own line.

Companion window: clicking the face opens at the top a greeting, device and state as a dot, on the right a gear (settings) and ✕ or power; below the field "Frag Spark …" (Enter asks, the microphone asks by voice), the commands as tiles with their hotkey and sections like in the panel: next up, notes (Windows), home and "this computer" or "this Mac" with switches for microphone and wake word and, when "act on the PC" is on, the row "act on the PC … set up" (a running screen session can be ended there). At the bottom "Open panel" and "Notaus …". The settings have a side menu (overview with the state and the parts switched on in the panel, Ask Spark, hotkeys, start of the day, knowledge folder, below "device" with pairing and About and update; on the Mac also permissions); pages of parts that are off are left out. The coffee button sits quietly in About and update.

Companion, buttons into the panel: in the companion's settings the page "Übersicht" has under "Im Panel" a button each for Meine Daten (my data), Gedächtnis (memory) and, only for a profile with the admin role while remote access is on, Fernzugang (remote access), the same on Mac and Windows. Each button only opens the panel in the browser at its place (Me → Security → My data, Me → Memory, Remote access → Systems); the panel checks as always. Whether the remote access button shows, the Spark reports with fern in /api/desk/config (only yes or no; after a role change the next check applies). Sprung-Links in notifications, Telegram, the apps and the companion also know the own pages Lists, Open, Find and Dungeon Master: "Find → Tags" in a note opens the place. Companion parity: every function is in the companion (features.DESK, with the parts that carry it) or outside with a reason (features.DESK_SKIP, such as "stays in the panel"); a missing entry turns the self-tests red. No switch of its own; needs the current companion build.

Companion, Open and Find: two parts, each turned on per device under Me → Companion, off by default, the same on Mac and Windows. Offen: the tab "Heute" has a section "Offen" with the number of open cases and the first three cards (newest first, kind, title, line) with their fixed buttons such as "Erledigt" or "Später". Only the direct buttons that vorgaenge.knoepfe also gives a note, never a yes to a proposal; a button runs through vorgaenge.act with the card's state (rev) and is checked like in the panel (place "Begleiter"), the companion decides nothing. A card without a button and "Alle n ansehen" open Offen in the panel. Only when "Everything open in the assistant" is allowed for the profile. Notes "Gemerkt von selbst" carry "Stimmt" and "Rückgängig". Finden: Ctrl+Alt+F (Mac ⌃⌥F, because ⌥⌘F is taken in Notes and Xcode), the tile "Finden" or the menu open a search field; marked text comes along as the search. The Spark searches the profile's index with fund.suche and gives up to eight hits (title, source, date); a click opens the entry in the panel (#fund=), "In Finden ansehen" the page Finden with the search (#fundq=). Nothing stays on the computer, the words are in no log. Only when "Find in all data" is allowed for the profile. Endpoints GET /api/desk/offen, POST /api/desk/offen/act and POST /api/desk/fund only with the companion's device key (profiles.DESK_PATHS), profile binding, size and rate limit; log begleiter: offen angesehen, begleiter: offen knopf=… ok|abgelehnt, begleiter: finden | n treffer | ms. No switch under Features; needs the current companion build.

Companion in system style: the companion looks like the panel in "Clear 2 · system style" on Mac and Windows. Its colours stand only in Theme.swift and Theme.cs and match tokens.css: neutral greys, one blue accent (light #0071E3, dark #0A84FF), green, yellow and red only for state, light and dark following the system, with high contrast the system colours. No colour bar, no gradients, no shadows inside windows; only floating indicators (recording, dictation) have a light shadow. Radius 6 for buttons and fields, 10 for cards and groups. Tiles show line symbols (SF Symbols on the Mac, own line signs on Windows) in the accent, writing along in red. Face only on request: the face shows in the head of the windows, in the companion window and next to Ask Spark's answers only with the switch "Gesicht in den Fenstern zeigen" on the page "Übersicht" (this computer only, off by default); the icon in the menu bar or taskbar and "Über und Update" always show it, which face (robot or comic) the admin picks. The coffee button stands only under "Über und Update", the switches on the Mac are rows in a box. No switch in the panel, nothing goes to the Spark. Guard: test_design_tokens.Begleiter (theme equal to the tokens, no colour outside the theme, no gradients, face only on request). Needs the current companion build.

Room mode (Features → Home → "Room mode", off by default; profiles only): the switch "Raum" (on a computer in the "⋯" on top of the conversation) lets the assistant listen to the conversation in the room at this device for a chosen time (15 minutes to 4 hours, it ends by itself); an orange dot shows it. In a pause it helps on fixed cues: an open question (with web search, nothing when in doubt; also without a question mark, after "Sag mal", "Weißt du, wann …", "Stimmt es, dass …"; not questions about the people in the room such as "Wo ist meine Brille"), an appointment ("Shall I enter it?"), "cold", "too warm", "too dark" (the room's real temperature from Home Assistant, offering the heating one degree or the light on), things to buy (Home Assistant shopping list), timers, reminders and unit conversions. A question pointing back is completed only with words that were said. It changes something only after a "yes", for the smart home with the code word when one is set; with a taught voice and speaker identification on, only the profile's own voice can say "yes". Under Me → Room mode each device sets the duration, how much it may say (questions only, also hints, also comments), each kind on its own, the room in Home Assistant and "text only". "Also comments": at most every two minutes, after three seconds of quiet, one casual sentence. What it hears stays in memory for five minutes only and is never stored; it uses neither memory, mail nor earlier conversations. Everyone in the room should know it is listening. A soft tone comes before it speaks; "Stopp" ends the sentence, "Nicht jetzt" keeps it quiet for 15 minutes, "Raummodus aus" (also "Hör auf zuzuhören") switches it off, from any voice. In the profile's quiet hours (Me → By itself, 22 to 7 by default) text only. The answer is looked up while people still talk. Page in the background or phone locked for over two minutes: ends with its summary; tab closed: ends at once. Speakers: on all ESP32 boards with "Raummodus an" after the wake word or the switch "Room" under Me → Speakers (when the speaker sleeps, it starts at its next wake word), where duration, how much it may say, the room in Home Assistant and "detect more" are set per speaker. The Spark keeps the connection, cuts sentences (at most 8 seconds a piece), checks each on its own, speaks after 1.5 seconds of quiet from the last loud sound after the soft tone and streams the speech; boards with a display show the sentence. It ends after its time, with "Raummodus aus", the switch, a dropped connection or when the admin or profile switch it off; then the board waits for its wake word. In quiet hours it stays silent; the wake word interrupts it. At most two speakers at once. Me → Speakers → "Stimme hier anlernen" (speaker identification on, browser login, with the second step when set up): three sentences make its own voiceprint for the board microphone; a sentence counts for a profile when it fits any of its voiceprints. Without a voice taught through it, a speaker listens to everybody despite "only known voices" (log: "listens to everybody (no voice taught through it yet)"). "Genauer erkennen": the model looks for missed questions, appointments and shopping, counted only with a word-for-word quote. When it ends, the page shows what it said and did (not what it heard), not stored. Every decision writes a "room:" line to the log (why it spoke or stayed silent, never the heard text).

Ignoring TV voices (Features → Room mode → "Fernsehstimmen überhören", off by default): every device picks under Me → Room mode "Who it listens to" (speakers under Me → Speakers): everybody (default), only known voices while the TV is on (recommended) or always only known voices. A voice is known when a profile taught it under Me → Speaker identification; speaker identification must be on and runs on the CPU (about 0.1 s per sentence, no GPU load). Whether the TV is on comes from Home Assistant at most every 30 seconds: a media player on, playing or buffering in the device's room, without a room set anywhere in the home; when Home Assistant does not answer, it listens to everybody. A sentence in a foreign voice triggers nothing and is dropped at once; the model never sees it, not with "Genauer erkennen" or comments either. Always counted: sentences starting with "Spark" (also from visitors), "Stopp", "Nicht jetzt" and "Raummodus aus". A "yes" counts only in the profile's voice. Very short sentences (under about one second) often count as foreign. With Trial (on at first) it only counts: summary and log say e.g. "Probelauf: Von 40 Sätzen hätte ich 12 als fremde Stimme überhört.", for speakers also under Check. Only this number is kept, never text or voice; log "room: ignored (unknown voice)" or "(unknown voice, tv on)".

Where it listens right now (part of room mode, no switch of its own): the Spark keeps, in memory only, a list of every device in room mode (browser pages and speakers) with name, kind, since/until, "who it listens to" and trial, never anything heard. A page signs in and gives a sign of life every minute; missing for three minutes, it drops out; after a restart it signs in again with its next sign of life. Visible (1) as a green strip on top of every page ("Kitchen listens until 21:30", View opens Me → Room mode), (2) at the face ("Also the kitchen is listening"), (3) under Me → Room mode → Active now with +30 min and Stop (waiting speakers with Do not start), (4) for the admin under Status → Listening right now with profile, device, time, Stop and Stop all, and as a mark "listening" and the filter "listening right now" under People and devices. Tab title "● Room" and a red dot on its icon. Everybody who sees the list may end a room; extending only in the profile's browser login, never beyond 4 hours from now. A browser's name under Me → Room mode → Name of this device (else e.g. "iPad · Safari", with a device key its name). Reminder tone (per device, speakers under Me → Speakers, off): the soft tone every 15 minutes, never in quiet hours. Note when a speaker starts listening (profile, off): on "Raummodus an" at your speaker a note goes to the device used last, at most once an hour per speaker, never in quiet hours. Recently: the last 20 times within 14 days with device, time, how it ended and the count of sentences heard, said and ignored, never text (users/<profile>/room-history.json, in the backup). Home Assistant (admin: Features → Room mode → Room mode for Home Assistant, off): under Me → Room mode → Home Assistant the profile makes a key of its own (with the second step when set up; a new one replaces the old). It may only GET /api/room/active (count, first device, until when) and POST /api/room/end ({"all": true}); the page shows the text for configuration.yaml once (REST sensor "Spark Raum-Modus", command spark_raummodus_aus). The log only says "room: listed …", "room: … ended (panel|iphone|ha|admin)" and "room: page … gave no sign of life".

Starting from afar (admin: Features → Room mode → Start room mode from afar, off; then for every profile): "Raummodus im Wohnzimmer an" (also "… für 60 Minuten") in the panel, the iPhone app or at another speaker. The panel recognizes the sentence by fixed rules (roomfar.py); the language model gets no tools, Home Assistant is not asked, no code word is wanted. Only the profile's own speakers that are connected right now, found by name or by the room entered under Me → Speakers; when several fit, the answer names them. Only a plain "Ja" in the next message of the same conversation (15 minutes) starts it; the speaker says "Raum-Modus an, gestartet von der iPhone-App" (or the panel, the kitchen speaker). Duration from the sentence (rounded to 15/30/60/120/240 minutes), else the speaker's own. Not via Telegram or Siri, never for guests or a voice recognized as someone else. "Raummodus im Wohnzimmer aus" / "Raummodus überall aus" ends without a question (history: "ended from another device"). With the switch off a fixed answer names the switch. "Starte den Raummodus" without a place stays the device's own room mode. Log: "room: start at speaker … asked from …", "room: on at speaker … (remote from …)".

Speaking up by itself (Features → My day → "Speaking up by itself", off by default; profiles only): once released it is on for every profile; under Me → By itself each profile sets each kind on its own or switches it all off: its own smart home rules ("Whirlpool above 37.5", "bathroom window is open and rain is on", "washing machine power below 5 for 3 minutes"; read only, never switching), a short greeting with the next appointment or reminder when the conversation is opened after three hours or more, at most one follow-up a day on a plan mentioned yesterday and a weather note for tomorrow via web search. The mail rows (important mail, mailbox tidying, parcel comes today; sender and subject only) sit under E-mail → Settings, appointments ahead ("In 20 minutes: dentist. Shall I remind you again at 9:55?", a "yes" sets the reminder) under Calendar → Settings; Me → By itself keeps the main switch, quiet hours, the daily limit, learning from feedback and the other kinds. "nicht jetzt" means two hours of quiet, "das interessiert mich nicht" halves how often that kind may speak (can be reset). The panel decides when, by fixed rules from real data; where the model words something (weather), its answer only counts when it quotes the data. The follow-up is a fixed sentence with the person's own words ("Gestern hast du zu mir gesagt: „…“. Hat das geklappt?"); the model only points at a sentence, and the panel takes it only as an own plan in the first person (no question, no request to the assistant, no pasted text, no question about a mail or web page, nothing from briefing, jobs or meetings). With the conversation open the note is spoken, otherwise a push notification comes; only the first device of the profile (page or iPhone app) speaks, like reminders. Every note is in the log with its reason. Asked about a note ("what do you mean?", "where is that from?"), the model gets its basis from the panel and must not make up another source; for mail notes only "sender and subject read", never mail text. Logs → Requests show it as "von selbst: Grundlage", Live shows a refused pick as an event.

Home Assistant tells the Spark: each smart home rule under "By itself" can speak at most every N minutes, for "changes" on, off or both, and have an extra condition: only when I am away (the person in Home Assistant with your profile name or the one chosen under "Me in Home Assistant"), only when nobody is home, only at night or only during the day (by sun.sun, else 9 pm to 6 am). Plus five parts, each with its own admin switch under Features → Speaking up by itself, all off at first, never for guests; once released they work for every profile and can be switched off one by one under Me → By itself. Instant notes from Home Assistant: a WebSocket connection (same address and token, only the devices of your rules, subscribe_entities), changes arrive in about a second; if it drops, the Spark checks every minute. House notes on speakers: a rule also says its own sentence on chosen speakers that take announcements from you, e.g. "Someone rang the bell."; without names, never for person devices, never with a camera picture, not in the speaker's quiet hours, at most 20 an hour. Home Assistant tells the Spark: a list of event names with a fixed sentence (e.g. klingel → "Es hat geklingelt.") and a key of its own; Home Assistant calls rest_command.spark_melden with event: klingel (POST /api/ha/event). Only names from the list count, nothing else is read or said; at most 30 a minute, a pause per event (default 1 minute). Smart home rule by voice: "Sag mir Bescheid, wenn jemand an der Haustür ist": the panel recognizes fixed words, finds the device and asks "Soll ich mich melden, wenn …?"; only a "yes" in the same conversation adds the rule. Describe a camera picture: a rule can name a camera; the local language model describes the still in a few words. The picture is never stored, the description is outside text and goes to your devices only, at most 30 an hour. Picking devices: the field suggests all devices from Home Assistant, "Zuletzt geändert" shows the last changed ones, with "Gerät erkennen" you trigger the sensor within 40 seconds and tap what changes (only the change time Home Assistant reports is compared). "Edit" brings a rule back into the form, "Check and save" checks it like a new one and replaces it in place; it speaks only after it was false once. Log lines start with "hamelden:". Status → Live shows the live connection (under channels) and each fired rule and event as a request of "Home Assistant" with camera picture, note (Web Push, Apple Push, Android app, Telegram or the open page) and speaker announcement, everything else said by itself as a request of "Von selbst" (e.g. greeting, reminder, task); never device names, sentences or camera words.

Natural turn-taking (on by default, conversation settings): during a short pause the recording is transcribed already; a finished sentence ends the turn at once and its transcript becomes the question. After "and …", "because …", "um" or a comma the assistant waits up to 2 s.

New conversation every day (on by default, conversation settings → Display): the first question of a day starts a new conversation; earlier ones stay in the history and can be continued.

Speaker identification (off by default, Features): each profile reads three short sentences in the "Me" window. When the assistant clearly recognizes a voice, it answers for that profile (memory, documents, reminders, voice), even on a guest device; the conversation shows "🎙 name". When someone other than the logged-in profile speaks, the assistant gets only that question, and the exchange stays out of the logged-in profile's history and memory. When the voice is unclear, nothing changes. Runs on the Spark's CPU (Resemblyzer, Apache 2.0), no GPU memory; strictness adjustable. A voice is not a password: similar voices or recordings can get into a profile.

Profiles and memory: under People and devices the admin creates profiles with a name and PIN; in the chat you log in with the "Guest" button at the top of the conversation. Logged in, the assistant remembers things when told ("remember that I'm vegetarian") or when they will be useful later, and forgets them on request; the Me lists what it knows, for deleting. Memory and conversations belong to the profile and live on the Spark, so the same history shows on every logged-in device. Which profile is asking is decided only by the login (cookie) or the device key, never by the model; guests get no memory. Speakers and your own programs get a device key of one profile under People and devices and send it as the header X-Speech-Device to /api/chat. A new PIN logs out every browser of that profile; deleting a profile removes its memory and devices. Data under /var/lib/speech-spark/users, one folder per profile.

Home Assistant (Funktionen → "Home Assistant", off by default): each profile connects its Home Assistant in the "Me" window under "Smart home" with the address (e.g. http://homeassistant.local:8123) and a long-lived access token (best of a separate non-admin user). Then "turn on the living room light" or "how warm is it in the bathroom?" work. Commands go to Assist (/api/conversation/process), so only entities exposed there (in Home Assistant: Settings → Voice assistants → Expose) are switched; devices Assist does not know are switched directly through their service (e.g. switch.turn_on), except locks, alarm systems and updates. With a code word ("Me" window → Smart home) it switches only when the code word is in the same message ("lights off, code word sunflower"), else it asks. The panel checks this, not the model; the model and stored conversations see only "[Codewort]", it is stored encrypted and compared with some tolerance (a letter or two off, "Apollo 13" = "Apollo dreizehn"). Questions need no code word. Also: history ("how warm was it in the bathroom yesterday?"), several devices at once (each checked; an unknown room never switches the whole home), typo-tolerant device search and to-do lists such as the shopping list (read, add, tick off; changes need the code word). Values, states, zones and where someone is are read directly (/api/states): everything the token's user may see, exposed or not. Home Assistant tells rooms (areas) only to an admin token, otherwise devices are found by name only. Only that profile uses its Home Assistant: never guests, never a recognized voice at someone else's device. The token is checked before saving, stays on the Spark (users/<id>/homeassistant.json, mode 0600) and is never sent to the browser. When several devices fit, the one whose name, room or device class fits wins ("TV in the living room" is the TV, not the Apple TV box); if it stays unclear, the Spark switches nothing, names the fitting devices, and the model gets no switching tool.

Ask instead of guessing (Funktionen → "Rückfrage statt Raten", off by default; released for every profile): when several devices fit a switching command, the Spark switches nothing at random but asks: "Several fit: Samsung, Samsung The Frame or TV. Which one do you mean?", in the chat with buttons and "None of these". When it cannot find the device exactly it asks "I can't find that exactly. Do you mean …?"; "None of these" or "show all" brings the whole device list with a search field, by room (never locks, alarm panels or remotes). Answer typed, spoken or tapped: name, room or number ("the second"), only in the same conversation, on the same device and for two minutes; the command's code word covers the choice but is never stored or spoken. When the Spark picked one itself, "No, the Apple TV" corrects it: the wrong device goes back to its old state, the right one is switched. Only fixed rules in the panel decide, never the language model.

Remember the choice (sub-switch, off by default): after a choice or correction the Spark asks "Shall I remember that "TV in the living room" is Samsung?" ("Yes, remember" / "No"); only a yes stores it. From then on the same sentence switches that device at once; the code word is still needed. Mappings are under Me → Memory → "Mappings" (change words, other target, delete, assign your own with "Give own names"), in the profile's zuordnungen.json, with the memory in your own storage and the backup. Live shows numbers only (open questions, asked today, chosen, corrected, remembered, used), the log fixed words only ("klaeren: frage ha 3 kandidaten"), never devices or sentences.

Asking back for weather and messages too (same switch): for same place names in the weather the Spark asks with buttons instead of taking the first ("Karlsbad" in Germany and Czechia) and for lists in Home Assistant ("Einkauf" fits "Einkaufsliste" and "Einkauf Baumarkt"; for changes the request's code word covers the choice). The choice runs the same request with the chosen target; after a yes the word stands for it from then on (Me → Memory → Mappings, areas "Places (weather)" and "Lists"). With "Do you mean Quirin Meier or Quirin Müller?" the names are buttons below. Telegram shows the choices as a keyboard; in the apps and at a speaker the spoken or typed answer does it. A named calendar that does not exist is never silently replaced: the Spark enters nothing and names the calendars there are.

Ask which way (Features → "Ask which way", a sub-switch of "Ask instead of guessing", off by default; once released for every profile, the admin blocks single ones under People and devices → Blocked functions): if a wish could go two changing ways, the Spark asks first: "Write Tom a mail that I am late" → "Should I first send it as an e-mail, second send it as a message at home or third just answer?". Likewise for appointment or reminder, call or message, list or reminder, and when a changing way is only weakly recognized (hint words only such as "Meeting Anna tomorrow at 3", a follow-up naming something new such as "And what about Dad?", the model's classification below its threshold). The rules are fixed in the panel (intent.ask_route), question and buttons in a fixed table (intent.ASK_SAYS), at most two ways and always "Just answer"; the answer is only the question, without language model or tool. The choice (button, number such as "second", word such as "mail") carries out your sentence that way; "Just answer" answers without changing tools. It counts for two minutes in the same conversation, only from the own profile and voice; any other message lets the question lapse. Never asked for reading or knowledge questions, negated sentences, "Never mind" or "Stop", after outside text, for guests, other voices or over MCP, never more than once per turn or twice for the same sentence; if the sentence names the way ("by mail", "Remind me …"), nothing is asked. Panel chat, Telegram (keyboard), watch and iPhone app show buttons; at a speaker, in CarPlay, in the Android app and at the companion the number is enough. The choice counts as a correction for the switch (Features → Routing, groups and numbers only). Status → Live shows numbers only ("Weg: asked, chosen, just answered, lapsed"), the log fixed words ("klaeren: frage weg | 2 kandidaten | nah", "klaeren: auswahl weg | mail").

Searching conversations: the magnifier next to the conversation list (on phones in the menu) searches all earlier conversations of the profile, as a guest the browser's; a click opens the spot.

Earlier conversations (Funktionen → "Frühere Gespräche", on by default; profiles only): the assistant looks things up in the own profile's saved conversations ("what did you tell me about the grill last week?"). Conversations quiet for ten minutes are read once in the background while nobody talks, and up to three lasting facts per conversation go into memory, marked "automatic" in the "Me" window, deletable. Can be switched off in the conversation settings ("Learn from conversations"). Once a week (or with "Propose cleanup") it proposes merging duplicates and removing outdated entries; nothing changes until you accept under Me → Memory. With notifications on, a note is sent.

Pronunciation: Settings → Speech output → Pronunciation takes one rule per line, e.g. DGX = De Ge Ix; it applies to whole words and all speech output, Open WebUI included.

Barge-in: while the assistant speaks, the microphone keeps listening; about a quarter second of talking interrupts the answer and becomes the next question. This relies on the browser's echo cancellation; if it interrupts itself on loud speakers, use headphones or untick "barge in" below the chat. With "Barge-in: pause first" the answer only pauses, and a "mhm" lets it play on.

Read answers aloud: speech output can be switched off. For one device, the "Vorlesen" switch (on a computer in the "⋯" on top of the conversation, on a phone the speaker icon at the top right of the chat), in this browser or the Android app only. For all devices of the profile: conversation settings → answer → "Read answers aloud". The Spark then answers as text only, does not call the speech output (saves the GPU) and plays no instant acknowledgement; notes, messages and reminders come with a chime and text. Speakers without a screen and CarPlay keep speaking. "Read again" on an answer works. The Spark-Begleiter then does not read "Frag Spark" answers aloud either.

Your own voice: under Voices you can record a reference from the microphone (read the suggested text, about 10 seconds); speech recognition fills in the transcript. Cloning needs a Base model (Settings → Speech output → model …-Base), then pick the new voice as the default voice. The default voice is a list fitting the model: CustomVoice shows the built-in speakers, Base your own voices, VoiceDesign locks it (the voice comes from the speaking style); a saved name missing from the list stays as "(not in the list)". A German reference gives steadier German than the built-in speakers. Own voices can be exported one by one or all as a ZIP (reference audio and transcript) and imported on this or another Spark; on a name clash rename, replace or skip.

Required tools and answer check: questions about appointments, mail, reminders, timers, weather, parcels, lists, match results and news have to go through the matching tool (table NEED_TOOLS in chat.py, also used by the quality test). While choosing the tool the "tool choice" temperature (0.1) applies, the normal one afterwards. The answer check (Settings → Language model, on by default) lets no sentence through for such questions that names a time, date, score or amount found in no tool result, the question or the conversation; instead it says once "Genauere Angaben dazu habe ich nicht." If the model answers without looking anything up, the answer is dropped and it is asked once more. Both show in the tool log as "Antwort-Prüfung"; general questions without a tool are not checked. Optionally the admin allows "think while choosing tools" (off), then for every profile, never for guests. A round with thinking holds its text until the thinking ends: when the thinking comes as text up to a lone </think> instead of apart (reasoning_content), everything before it is never shown, spoken or kept; a lone </think> is never shown. No sentence comes twice: when the model writes the answer before and after a tool call, the next round shows each sentence only when complete and leaves out sentences already said, in chat and voice; Logs → Requests show "Repetition left out" with the count.

Check deeds and stop error loops: two protection rules, on by default like the answer check (Settings → Language model, chat.action_check, chat.loop_stop, reason in features.DEFAULT_ON), without a switch per profile (taten.py, fixed rules, no model). Check deeds: every changing tool has a kind (taten.KIND: geraet, erinnerung, termin, mail_entwurf, dokument, remarkable, nachricht, merken, aufgabe, musik and more). Per answer the panel keeps which kind worked (the same failure words as Logs → Requests; "NOT saved yet" counts as a proposal). When a finished sentence claims a deed ("is on now", "I have entered it", "has been sent", "I'll remember", a bare "Done." while something changing was offered) and none of the named kinds worked, it is neither shown nor spoken. At the end comes one fixed sentence: "That did not work: TV." (tool failed) or "I did not do that." (did not run); nothing while a proposal is open. No second try. When a tool of that kind works later in the same answer ("I'm making the song." before musik_machen), the sentence is left out silently. In doubt the sentence is said (several deeds, one worked). Promise without a deed (V01.1.494, issue 14 in spark-meldungen): a sentence that promises to speak up later by itself ("I will warn you", "I'll let you know as soon as …", "I'll get back to you when …") only holds when a reminder or a watch worked in the same answer (taten.COVERS); noting it alone is not enough. Otherwise the panel says "I cannot let you know about that by myself, nothing is set up. I can set you a reminder for a fixed time." Wish for a weather warning: "Warn me when it gets stormy" (fixed words for warning and storm, rain, thunderstorm, frost, black ice or heat, never negated, Weiche weather or unclear; proactive.warn_wish) is answered by the panel itself with what holds (proactive.wetter_zusage): the weather warning the evening before at pro_weather_at is on, it was off for the profile and is switched on now (only pro_weather; "By itself" stays the person's own choice), or why it cannot come (not released, "By itself" off, place missing, each with the way Me → By itself). Journal proactive: weather warning wish | an|eingeschaltet|admin|profil|ort, Logs → Requests "Wetterwarnung (Panel)". Stop error loops: when the same tool fails twice with the same details (or three times with any), it is not offered again for the rest of the answer, the model hears why. Visible in Logs → Requests ("Taten-Prüfung", "Schleife gestoppt"), in the journal (chat: action check: held back kind=… reason=…, chat: loop stop: tool=… fails=…) and on the Live page ("Taten-Prüfung": held back and stopped today, numbers only). The interface taten.check(text, acts, offered) also serves the settings assistant's rule set (a fixed "built-in" rule).

Three protection rules from the quality test: (1) Announced deed: a sentence that only announces a tool call or deed ("I'm calling the timer tool …", "I'll set a timer …", taten.announces) is neither shown nor spoken while no tool has worked in this answer. When a tool call follows, it is left out silently; otherwise the panel says "I did not do that." at the end. Check deeds also applies when no tool was offered (then every claimed deed is false). Journal: chat: action check: held back kind=ankuendigung …, chat: action check: announcement left out, a tool ran. (2) Remember only what there is to remember: a message that only asks (one sentence with a question mark, no "remember", nothing the person says about themselves like "I am …"; chat.just_asks) is not offered memory_save (chat.offer_memory, in the quality test as well), so "Do you know my brother's name?" never saves a made-up fact; journal chat: memory_save not offered - the message only asks. (3) Account balance: there is no bank tool, so every honest answer is right ("no access", "no tool", "check your banking app"). The quality test checks only facts here: an amount in figures or words (quality.MONEY) or an unsuitable tool fails. The two cases without calendar and mail access accept every "no access" answer (quality.NO_ACCESS).

Appointments only fresh from the calendar: "Guten Morgen" on its own (also with "Spark", "wie geht's") counts as asking for the day: the switch files it under the calendar and the first round has to call daily_briefing (without the briefing: calendar_events); not before another request ("Guten Morgen, turn on the light"). The same for the briefing by name, also as one word: "Morgenbriefing", "Gib mir mein Tagesbriefing", "Was ist mein Morgenbriefing?" call daily_briefing; only "Was ist das Morgenbriefing?" or "Wie stelle ich es ein?" asks about the function (Spark help). Calendar results mark ended appointments with "(already over)"; briefing and daily overview do not name them as coming up. Once an answer has read the calendar, the answer check takes times, dates and quoted appointment titles only from the question, instructions and this answer's results, not from earlier answers, so yesterday's appointments never come back as today's (tool log: "Termin aus früherer Antwort").

Learning from corrections: admin switch Features → Conversation → "Learning from corrections", off; released for every profile, never guests or another voice. When a message right after an answer starts like a correction ("Nein, …", "Das stimmt nicht", "Du sollst …", at least three words), the model words a short sentence on the side (fixes.py) and the assistant ends with "Soll ich mir merken: …?". It is stored only after a plain yes from the same conversation within 15 minutes. Never proposed: sentences about code words, PINs, passwords, rules, security, confirmations, locks or alarms, world knowledge (scores, amounts) and links; after mail or outside text no proposal, and the earlier answer is not sent along. Tool log entry "Korrektur"; "Send the question to the admin as a test case" puts the question into quality-cases.json (at most 30) and it runs with the quality test (all tools offered, each finds nothing, made-up figures are failures). The admin deletes them under Status → Checks → Quality test.

Memory check: admin switch Features → Memory check, on by default (protection: what may be out of date is never stated as a fact; reason in features.DEFAULT_ON); released for every profile, never guests (gedaechtnis.py). Every entry keeps its evidence, also while the switch is off: source (said remembered in a conversation, fix from a confirmed correction, auto learned from a quiet conversation, hand changed under Me, tidy from an accepted cleanup proposal), conversation (own ones only, never to the model) and last confirmation. Entries without evidence count as auto when learned, else said. Fixed rules of the panel, no model, mark: R1 a date it names is more than a day past (never birthdays, "seit", "ab", "jeden"; "Still right" after the date keeps it), R2 "tomorrow", "next week" … older than 14 days or "currently", "right now" … older than 90 days, R3 learned automatically, never confirmed and older than "Learned counts as old after" (setting under Features, 1–60 months, default 6), R4 contradiction: two entries say the same thing with another value (fixed patterns "X is called", "lives in", "works at/as", "drives a", "is married to", "favourite … is", apart by person); the one said or confirmed last wins. Nothing is deleted. The model gets three blocks: sure, learned (with the month), "maybe outdated, never say it as a fact". Me → Memory shows marks (confirmed, learned, outdated?, contradiction), the filter "Outdated", a note card and, on a tap, where from (with "Open the conversation"), remembered, confirmed, the reason and "Still right" (POST /api/profile/memory/{id}/confirm, rate limit "memory"). Live: node "Memory" with counts per mark; Logs: area "Memory" (gedaechtnis: pruefung …, only when the numbers change); Logs → Requests: step "Memory (panel)" with numbers.

Versions and check-back: with Memory check on, a confirmed correction about the same thing ("lives in …", "drives a …", "X is called …") becomes a new version of that entry; ✎ Change keeps the old wording too. Up to 5 earlier versions show in the detail under Me → Memory with "Bring back" (POST /api/profile/memory/{id}/restore, login, profile binding, CSRF, 256 bytes, rate limit). Sub-switch Features → Memory check → "Check back in conversations" (chat.memory_ask, off; released for every profile): when an entry that may be out of date fits the question (a shared word, fixed rule), the panel adds "Quick check: is this still right: …?". At most once per conversation, three times a day, the same entry once in 30 days; never with someone else's voice, after mail or web pages, during an emergency stop or while another question is open. The answer is open for 15 minutes (users/<id>/memory-ask.json): "yes" confirms, "forget it" deletes, "no" changes nothing, a correction goes through "Learn from corrections" and becomes a new version after a yes. Live shows open questions as a number, Logs → Requests the step "Memory check-back (panel)", the journal gedaechtnis: nachfrage … and gedaechtnis: fassung … grund=….

Memory topics: sub-switch Features → Memory check → "Memory topics" (chat.memory_topics, off; released for every profile). In the background (never while someone is talking) the language model in the home network sorts entries without a topic once into a fixed topic: person, home, on the move, work, health, right now, other; any other answer becomes "other", after a failure it retries only after an hour. Me → Memory shows groups; in the detail the person picks another topic (POST /api/profile/memory/{id}/topic), which the model never changes again. The topic is only for display, does not go to the model when answering and changes no rights. Live shows "N ohne Thema", the journal gedaechtnis: themen … gesetzt=N. Quality test cases "gedaechtnis-veraltet" (outdated never as a fact) and "gedaechtnis-bestaetigt" (confirmed is used).

Cap without silent throwing away: a profile has at most 200 entries (profiles.MAX_FACTS; earlier versions do not count). A fixed rule of the panel (profiles._cap, when remembering and tidying up): above the cap the oldest entries learned by itself and never confirmed make room first (auto without "Still right"). Entries said, corrected, changed by hand, tidied or confirmed never go. When only such entries are left, the new entry is refused: memory_save answers "Not done: the memory is full …", the assistant says so and names the way Me → Memory ("Suggest tidy-up" or delete entries); learning by itself stores nothing, "Learn from corrections" says "not remembered, memory full". A correction about a fixed thing becomes a new version and needs no room. Journal (area Memory): gedaechtnis: platz frei … | entfernt=N grund=alt-gelernt and once a day per profile gedaechtnis: voll … | abgelehnt=said|auto max=200 | next log in 24 h, never text. Live: the node "Memory" shows "N Profile voll". Self-test test_gedaechtnis_grenze.

Fixed topics: with Memory check the panel knows fixed topic places (gedaechtnis.SLOTS, one list, R4 reads the same): home, employer, job, partner, children, birthday, diet (vegetarian, vegan …), car, pet (one place per kind of animal), names ("brother is called …") and favourites, apart by person (WHO: "brother lives in …" is the place wohnort:bruder). Only fixed patterns of the panel recognize them (gedaechtnis.slot_of), never the model; a sentence about another person by name ("Anna lives in Ulm") or without a value ("lives near …") fills no place. Allergies are no place (they add up). Per place one entry holds the value: what the person says (memory_save), corrects or changes by hand becomes the new wording, the old one stays as an earlier version (at most 5, reason "new value for the same topic", grund=platz in the journal). A value learned by itself never replaces one that was said or confirmed: it waits as an offer and comes as a card "Learned" under Open (vorgaenge, kind gedplatz, not urgent, only under Open) with "Take it" and "Discard"; the same buttons under Me → Memory at "Fixed topics" (POST /api/profile/memory/{id}/offer with {"do": "take"|"drop"}, login, profile binding, CSRF, 256 bytes, rate limit "memory"; also the iPhone app). "Take it" makes the value the wording (the old one becomes a version, reason "learned value taken"), "Discard" keeps the value so it never asks again; if the person says something about the topic first, the offer goes with its card. Learned over learned: the newer wins, the old one stays as a version. The model gets per place only the holding value, never older contradicting entries, versions or offers. Me → Memory shows the box "Fixed topics" on top: every own place (empty as "–") and every other place held, with value, source, "since" and "n earlier"; tapping opens the versions with "Bring back". Also "N of 200", yellow from 180 (profiles.WARN_FACTS), red at 200; when the memory is full, a card "Gedächtnis voll – aufräumen" comes under Open ("Show" to Me → Memory, kind gedvoll; at most once a day again) and goes by itself once there is room. iPhone: My things → Memory with "Fixed topics", Take it/Discard, "Bring back" (press and hold) and "N of 200"; Android shows the panel. Journal (area Memory): gedaechtnis: angebot … | platz=wohnort, gedaechtnis: angebot uebernommen|verworfen …, gedaechtnis: fassung … | grund=platz|gelernt-uebernommen; never a value. Live: the node "Memory" also shows "N gelernt, wartet auf Übernehmen". Self-test test_gedaechtnis (Places, FullCard).

Remembered note: when the assistant remembers something (memory_save), "✓ Remembered: …" stands under the answer with "Undo" and "Show" (opens Me → Memory). The event memory carries the number, state (rev, a short fingerprint of wording, source, confirmation and time, gemerkt.rev_of) and whether there is something to take back; the conversation keeps only number and state (mem, profiles._clean_msg), the page takes the text from the memory, so the note stays after reloading and on other devices. "Undo" (POST /api/profile/memory/{id}/undo with {"rev"}, gemerkt.py; login, profile binding, CSRF, 256 bytes, rate limit "memory"; also the iPhone app) takes back exactly what happened: a new entry goes, a fixed place gets its earlier version back as it was (the wording taken back is not kept as a version). Only while the entry is unchanged, otherwise 409 "Changed since"; only own entries, never guests. "Undo that" right after (aendern.undo) takes the same way. What was learned by itself comes as a card "Remembered by itself" (vorgaenge, kind gemerkt, key gemerkt:<conversation>, up to 3 entries, not urgent, never said into the conversation): behind "● N" on top of the conversation, under Open and as a number on the card Memory of Me → Overview, with "That's right" (confirms), "Undo" and "Show …"; after 7 days the card goes, the entry stays learned, not confirmed. Only its title ("Spark hat sich 2 Dinge gemerkt") reaches a notification after "Later" or Telegram, never an entry's text. Begleiter: Frag Spark shows "Gemerkt: …" with "Rückgängig" (sends "Mach das rückgängig", which asks for a yes like a typed one) and "Gedächtnis ansehen". iPhone: chip under the answer, the card under Open; Android shows the panel. Switch Features → Remembered note (chat.memory_note, on by default, reason in features.DEFAULT_ON: protection and transparency). Journal (area Memory): gedaechtnis: rueckgaengig geloescht|zurueckgeholt | weg=chip|karte|sprache, gedaechtnis: rueckgaengig abgelehnt grund=geaendert|fehlt|gleich, gedaechtnis: gemerkt-karte neu|ergaenzt fakten=N, gedaechtnis: gemerkt-karte stimmt fakten=N; never a value. Live: the node "Memory" with "heute N gemerkt · N Karten · N rückgängig · N bestätigt". Self-test test_gemerkt.

One way to the own data: memory, conversations, tool log, room mode history, the read marks of learning, remembered matches, interests, the Spark diary and the open question about the memory are read and written by the panel only through profiles.read_own, write_own and drop_own, never by a module itself; so they are sealed in one place. Self-test test_siegel (OnlyThroughTheHelpers).

Memory and conversations sealed: memory, conversations, tool log and room mode history lie on the disk only sealed; copied or put into another profile, the files show only noise. Files still open are sealed once at start, after a backup "vor-siegel". When a backup comes to another Spark without the move backup, the profile starts empty and nothing is overwritten: the old files lie aside, admins see a hint (Settings → Backup), and after the move backup "Read in again" under Me → Memory brings them back with everything newer. Live shows at the box Memory how many files are sealed and lie aside. Self-test test_siegel.

What was learned sealed too: sealed as well are the read marks of learning, remembered matches, the open question about the memory, "What I know about you" (interests) and the Spark diary; open files are sealed once at start (backup "vor-siegel"), "Read in again" brings them back too. Every file of memory and conversations in the file register must be sealed (test_siegel).

Download all my data (no switch: right of access): under Me → Security → My data "Choose …" shows the areas with count and size (each can be left out) and, folded, what stays out and why. "Pack and download" asks a fresh code or passkey every time (without a second step the PIN) and downloads a ZIP with everything of the own profile: memory, conversations and what was learned opened, documents, lists, calendars, settings without secrets, from chats with others only the own messages; with LIESMICH.txt (de+en) and uebersicht.json. Login and keys, the voiceprint, queues, read mails and the supplies of foreign servers stay out. At most 3 per hour and 2 GB; the pickup link holds 10 minutes and exactly once. iPhone app under Me → Security → My data (with a second step) to share or save, Android app through the download. Live shows only counts at the Memory box. Self-test test_meinedaten.

Language model settings: under Settings → Language model → Advanced the admin sets the history length (4000–64000 characters, default 24000), web searches per answer (1–3, default 2), the time limit for an answer (60–600 s), top_p and presence_penalty (0 = the server's default) and own keywords that require a tool (one line per tool, e.g. web_search: elfmeter, aufstellung; whole words only, at most 20 per tool, built-in words stay). "Restore default" fills in the shipped system prompt, "Show the whole prompt" lists all parts in order and marks the fixed ones. With Features → "Own conversation style" (off) each profile says under Me → Conversation → Answer, in at most 500 characters, how the assistant should talk; the text sits below the system prompt and above the fixed rules, never applies to guests or other voices and cannot be changed with a device key. Fixed: tool rules, handling of outside text, code word, locks and the values of background jobs (learning, briefing, mail sorting, room).

Roles by voice: with the admin switch Features → Own conversation style → Roles by voice (off) every profile adds up to 8 roles under Me → Conversation → Answer, one per line like "Butler: polite, dry, with British understatement". "Sei jetzt der Butler", "Wechsle zur Rolle Erklärbär" or "Rolle Butler" switch, "Sei wieder normal" ends, "Welche Rollen hast du?" lists them. The panel recognizes these sentences with fixed rules only in the own latest message and only for saved names ("Sei leise" stays a normal question); that answer has no tools, the model only says the result. The active role applies on all devices of the profile, sits in the prompt after the own conversation style and before the fixed tool rules, and changes only the tone, never the rules. Never guests or other voices; roles change only in the own browser, not with a device key, and admin defaults hand out no roles. Log line: "rolle: set - Butler".

Wikipedia straight away: with the admin switch Features → Web search → Wikipedia straight away (off, works without a SearXNG address too) every profile not blocked gets the tool wikipedia. For knowledge questions ("What is a quasar?") the panel fetches the intro of the matching article with one request to the MediaWiki API (at most 1,500 characters, answer at most 1 MB) instead of SearXNG and whole pages; the model reads less and starts sooner. With no hit on de.wikipedia.org it asks en.wikipedia.org; an own address set by the admin is used without a second try. Answers are kept in memory for 24 hours (at most 300). The article is outside text: wrapped as data, no switching or saving in the same answer afterwards. "Wikipedia" or "Lexikon" in the question requires the tool; with "only web search and memory" for unclear questions Wikipedia is included. Only the search words leave the Spark. Never guests.

Own Kiwix archive: with the admin switch Features → Web search → "Own Kiwix archive" (off) and an address (best in the home network, e.g. http://192.168.178.20:8080; changing it needs the second sign-in step) the assistant looks things up in your kiwix-serve for every profile. "Choose books" shows the catalog as a list: search, language (default German and English, "All languages" or one), kind (Wikipedia, TED, PhET, Docs …), grouped, each book with language, variant (maxi/nopic), article count, size and date; chosen books on top as chips with ×. At most 10; without a choice the German and English Wikipedia. The book name is saved without its date: when the Kiwix replaces a file with a newer one (e.g. …_2025-01 → …_2025-03) the Spark takes the newest; on a 404 it reads the catalog again at once, and "Tell me more" finds the article in the new file. "Look in my archive …" always means the Kiwix, never the uploaded documents; the router also recognises "dein/unser Archiv", "im Archiv" and "Archiv durchsuchen", and when the archive is offered the first round must call exactly archive_search. When it is not available for the profile the assistant says why (admin switch, address, profile blocked) instead of searching the documents (log line kiwix: archive asked, not offered); this note comes only when the admin switched the Kiwix on or "Kiwix" is in the question. wikipedia asks the Kiwix's Wikipedia books first (title suggestion, else full text), the online Wikipedia only without a hit or when the Kiwix fails; a profile with only the Kiwix switch gets wikipedia without internet. archive_search searches the full text of the chosen books (at most 5 at once) and names the best article with further hits; article_more reads on (at most 3 parts of 1,500 characters, only by the id a tool named before). If the web search fails (SearXNG unreachable or no search engine answers), the assistant answers from the Kiwix, saying it is the offline archive with its date. Security: addresses only from the admin's address plus fixed endpoints (/catalog/v2/entries, /suggest, /search, /content/<book>/…), redirects only to the same host and inside the book, netguard HOME (home network allowed, own ports and link-local never), answers at most 1 MB (articles 4 MB), 10 s, XML with a DOCTYPE refused, HTML only turned into text (no scripts, tables, footnotes). Everything is outside text. Answers kept 24 hours in memory (at most 300), the catalog an hour. Status → Checks → "Check Kiwix" shows reachability, books and a test search; Logs → area "Knowledge" shows kiwix: lines with book, hits and time, never the question. Never guests.

Look locally first: with the admin switch Features → Web search → "Look locally first" (off; time limit 200 to 1500 ms, default 400) the Spark, for every profile, first looks in the own sources for knowledge questions before anything goes out. A fixed rule (the source switch quellen.py with the classes internal, external and both, see „Source switch“ below; never the model) sorts the person's message: outside (web search asked for, weather, trains, parcels, news, prices, rates, "today", "right now", years from 2020 …) goes straight out, without delay; local (an own source named: "in my documents", "in the archive", "we talked about", "last time") searches only there, without web search in this answer (a new message can ask for it); a knowledge question (anything else with search words) gets the quick look. It asks the own and shared documents (full text; meaning search only when that model already runs and is free), the own Kiwix (title suggestion, else full text, only articles with a fitting title) and earlier conversations (without answers from mail, without the current one) at the same time. What is not back by the time limit is not waited for. A passage counts only with at least 60 % of the search words (question words like "who", "how high" do not count). At most 5 hits across the sources, with source and date, of 500 characters each (the part with the search words, from tables the head row and rows with the rarest search words, lokal.excerpt) go to the model in the first round as the tool result local_search, wrapped as outside text: data, never an instruction, and the answer is locked like one from the web (no switching, saving, reminders). The model names the source briefly ("In your documents …", "According to your archive …"); when nothing fits it answers timeless questions from its own knowledge or searches the web. It only looks where the answer may look anyway (document_search, archive_search, history_search and fund_suche of this turn): guests, MCP, a voice not recognised at a shared speaker and Telegram without personal data get no quick look. Web search after documents: locked without the switch; with it possible, but the panel sends only the words of the question (without code word, at most 120 characters), never the model's query. After mail it stays locked. Status → Checks → "Test looking locally first" shows class, search words, hits per source and times for one sentence (admin, 20 per minute); Logs → area "Knowledge" shows one lokal: line per question with class, hits per source, time and what happens next, never the question.

Kiwix in the quick look: the Kiwix has its own time limit in the quick look (chat.local_first_kiwix_ms, Features → Web search → "Look locally first" → "Time limit for the Kiwix archive", 200 to 2000 ms, default 900); no source borrows time from another. Which books a question asks is a fixed rule (kiwix.pick, never the model): at most 5 (kiwix.MAX_SEARCH_BOOKS), the biggest German Wikipedia always, then books whose title, description or kind holds a word of the question (most shared words first; words found in half of the chosen books or more, like "Wikipedia" or "Docs", do not count), free places in the order of the choice. "How does git rebase work?" so asks the Git Docs. The same holds for archive_search. The order is changed under Features → Web search → "Own Kiwix archive" by dragging or ◀. An archive article from the quick look stands under the answer as a source with book and date ("Albert Einstein (Wikipedia, Stand 2025-01)"), linked into the own Kiwix; with "Address for links" (chat.kiwix_link_url, empty = the Kiwix address, changing it needs the second sign-in step) the links point to another name, such as behind the own proxy, while the Kiwix is still asked at the home address. When the book is older than a year (frisch.ARCHIV_TAGE) and the answer does not name its year, the answer check adds "Not quite current: archive: as of 2024-11." (frisch.note_archive, frisch.nachsatz), also for archive_search and wikipedia from the Kiwix. A chosen book the catalog no longer knows is skipped while the catalog is readable; "Check Kiwix" names it ("No longer in the Kiwix and skipped"), journal kiwix: chosen books missing in catalog n=1. Mistyped long words still fit: lokal.same allows one wrong letter for 6 to 9 letters and two from 10 letters (edit distance, common.edit_distance), shorter words must match exactly; this holds for titles and hits of all sources of the quick look. When the whole question finds no title, the panel asks up to 3 further title suggestions per book (lokal.variants: a long word at the end cut to its first 4 letters, "Dresdner Frau…", or a long word alone); the title naming most words of the question wins (lokal.fit: "Dresdner Frauenkirche" before "Dresdner Bank"). Self-tests test_lokal.Turn.test_archive_article_despite_a_typo, test_lokal.Turn.test_the_archive_has_its_own_limit, test_kiwix.Pick, test_kiwix.ArchiveAge.

reMarkable notes: a profile connects its my.remarkable account (reMarkable 2, Paper Pro, Paper Pro Move); the picked notebooks then show in the document search, also with meaning search, document card and "Look locally first". Switches: Features → Own documents → Read pictures and scans → "reMarkable notes" (admin, off); released for every profile, connecting under Me → reMarkable; never guests. Pairing: get a one-time code for a desktop app on my.remarkable.com (eight letters) and enter it under Me → reMarkable (own browser only, never with a device key; with the second sign-in step a fresh code). The Spark signs in as device "desktop-linux"; the long-lived device token is sealed in the vault (users/<p>/remarkable.json), the short-lived user token lives in memory only, neither is ever logged. It uses the unofficial sync protocol ("sync15") like rmapi, the Obsidian plugin and remarkable-mcp (MIT, used as a model); if reMarkable changes it, the error shows under Me → reMarkable, exporting a PDF and uploading it stays as a way. Without a Connect subscription reMarkable syncs only in part. Only ticked items are read (notebooks, folders with their content or "All notebooks" without PDFs/books; nothing by default; never the trash). Per page (format v6, rmscene 0.8.0 pinned): typed text (Type Folio, keyboard, "Convert to text") and highlighted text directly; handwriting is drawn from the strokes as a picture (Pillow, cropped, at most 1600 pixels) and read like a scan by the language model in quiet minutes (same daily limit, night window). For PDFs and e-books only highlights and own notes. Each notebook becomes one document with source "reMarkable" (Folder/Name, cited as "reMarkable: Folder/Name, Seite 4"). Compared every 30 minutes, never while someone speaks (vorrang.py), "Compare now" at once: pages with the same hash are not fetched or read again; notebooks deleted in the cloud or no longer ticked disappear; one deleted under Me → Documents returns only when ticked again. "Disconnect" deletes the token and all notebooks on the Spark (then remove the device on my.remarkable.com). Limits: 5,000 entries, 500 pages per notebook, 300 pages per comparison (the rest two minutes later), page file 20 MB, index 2 MB, 2 million stroke points per page, the documents' space quota. Connections only through netguard to *.remarkable.com, *.remarkable.engineering (and storage.googleapis.com without login), https only, redirects only there. The content is outside text. Logs: remarkable: 2 notebook(s), 5 page(s) new, 0 removed.

Sending to the reMarkable: below "reMarkable notes" the admin switch "Sending to the reMarkable" (off; released for every profile). Then every answer has "To the reMarkable" (on a click only, own browser), and "Write on the reMarkable: …" makes a dictated note. remarkable_note is only offered when the person's own message names "reMarkable" and is locked after outside text (web, mail, documents) in the same answer. It creates a new EPUB in the folder "Spark" (made when missing); existing documents are never changed, moved or deleted; the root index only gets lines added (generation checked). At most 20 a day and 60,000 characters.

Put into: under Me → reMarkable the profile picks its own folder for new documents (default "Spark", created when needed). The Spark only adds new documents there and never changes anything that exists. If the folder is deleted or in the trash, it takes "Spark" again, says so once and resets the choice.

Date of the last change and last comparison: Me → Documents shows a reMarkable notebook with the day it last changed on the device; "Neueste zuerst" and the groups (today, last 7 days, months) follow it, in the app as well. A document's page names "Added" and "Changed". With the source reMarkable picked at the top, the count is followed by "Letzter Abgleich 10:25 · 3 Seiten neu" (time and number only, "mit Fehler" when the last comparison failed); without a connected account the line is left out. Comparison every 30 minutes, in between a short look at the account every 3 minutes; after a break it goes on with the missing pages, pages already read are never fetched again.

Newest first: sub-switch under "reMarkable notes" (Functions, admin), off; released for every profile. The Spark keeps when each page last changed (time per page when the reMarkable software names it, else the notebook's; uploaded documents with their upload). With similar hits the newer passage moves up at most two places, the gain halves every two weeks, a clearly better old hit stays first; this applies to the document search and to "Search locally first". Each hit carries "changed on …", where they disagree the model follows the newer passage and says its date. "What did I note last / today / yesterday / this week / last month?" is a fixed rule on the person's own words: the first round must search the documents and gets the pages changed last, newest first; if nothing is in that span, the assistant says so. Between comparisons the Spark checks every 3 minutes with one small request whether anything changed in the account, and then compares at once (journal "remarkable: account changed, comparing now"); the Spark's own writes (answers, guide, inbox) do not count as a change. On 502/503/504 from the cloud it tries once more after 2 seconds. The page reader's hints about newer page parts are counted into one journal line per comparison.

More with the reMarkable: admin sub-switch "More with the reMarkable" below "Sending to the reMarkable", off; released for every profile. Morning sheet, week in review and daily inbox are on and can be switched off under Me → reMarkable (code: app/panel/rmplus.py). Morning sheet: at the chosen time (default 06:30, two hours' window) the daily briefing as a PDF with lines for notes. @Spark: "@Spark" and a question on a page that is read; after the comparison (for handwriting after reading) "Antwort: …" lies next to it, from the own documents and, if there is one, the web search; each question only once. Tasks: lines with ☐, [ ], "TODO" or "Aufgabe:" show up under Me → reMarkable, a reminder only after "Remind". Meetings: notebook or first line with "Besprechung", "Meeting", "Protokoll" …: 30 minutes after the last change a summary with decisions and tasks as a new document plus a note. Week in review: on Fridays from 5 pm a PDF with the week's main points. Web pages and attachments: remarkable_page (a public page as EPUB) and remarkable_attachment (the newest PDF or EPUB attached to a fitting mail of the last 30 days, whole files up to 30 MB only), only when the person's own words name an address or an attachment. Daily inbox: dictated notes gather in "Eingang DD.MM.YYYY". Spark guide: an e-book about the reMarkable functions and the service (comparison, privacy, limits, disconnecting), each function marked on/off; the Spark compares the text every 10 minutes and renews the same document when it changes. A self-test demands a section for every function below "reMarkable notes". Only the guide and the day's inbox belong to the Spark and are renewed (your marks stay); everything else is a new document. At most 30 documents of its own a day; never while someone is talking. Notes only go to the language model as data, without tools.

Paper for the reMarkable: admin sub-switch "Paper for the reMarkable" below "Sending to the reMarkable" (chat.remarkable_paper, off), released for every profile, never for guests; only "Tidy up by itself" is on and can be switched off under Me → reMarkable → Paper (code: app/panel/rmpapier.py). Folders by kind (rm_folders): what the Spark puts on the reMarkable goes below "Spark" into Morgenblatt, Wochenrückblick, Besprechungen, Antworten, Web und Anhänge, Eingang or Archiv; folders are kept by id (renaming or moving is fine, a missing one is made again), the guide is pinned on top; "Sort in now" moves its loose PDFs and e-books (only its own, known from the list made or old titles, never notebooks, at most 30 at once). Tidy up (rm_tidy, needs the folders): once a day morning sheets and week reviews without handwriting go to the archive after 7 days, archived ones without handwriting to the reMarkable's trash after 30 more days (recoverable there). Designed sheets (rm_paper): morning sheet, week review, summaries, answers, inbox and the guide come as PDF (fpdf2, DejaVu) in the device's screen format: reMarkable 1/2 157.8 × 210.4 mm, Paper Pro 179.7 × 239.6 mm, Paper Pro Move 91.8 × 163.2 mm (detected from the page size or chosen under Paper), with a header band, numbered sections, cards and lines; web pages stay EPUB without boxes. The box "Kann weg" (can go) sits top right; on the morning sheet every reminder of the day has a box. Reading: only sheets it made itself with stored boxes (papers) are read; a copy on the device never triggers anything. On each look into the cloud (at most 12 changed sheets) the strokes (rmscene, without highlighter and eraser) are converted to mm and each box is checked geometrically: at least 3 mm of ink in the box (2 mm margin) = ticked, 70 % filled = taken back, ink only beside it = unclear (nothing happens, Paper shows "unclear"), else empty. Fixed rules, no model: "Kann weg" puts the sheet into the trash, into the archive with handwriting on it (without folders it stays); a tick completes a reminder, filling the box in brings it back; each box acts once per state. Both can be taken back under Paper (POST /api/profile/remarkable/papier/zurueck). A sheet with handwriting is never overwritten: a new version is made and the old one goes to the archive. Calibration: the calibration sheet has four circles; the crosses give a mapping per model (least squares, kept only when every circle fits within 2.5 mm). Under Paper a control picture per sheet shows the boxes in the colour of what was read and the strokes on top. Endpoints (profile browser login, CSRF, rate limits rmsend, rmpic, rm, body 1 KB): GET /api/profile/remarkable/papier, GET …/papier/{id}/{page}.png, POST …/papier/abgleich, POST …/papier/einsortieren (409 while a sync runs), POST …/papier/zurueck. One cloud job per profile at a time; the sync writes back only its own fields so a sheet placed meanwhile is not lost. Journal with numbers only ("remarkable: sheet read | 2 ticked, 0 unclear, 1 done"), live overview "Blatt gelesen: n angekreuzt, n unklar".

reMarkable documents well formatted: every document for the reMarkable reads its text through one shared reader (rmpapier.blocks): headings ("## …" and lines that are only "part"), paragraphs with single lines, bullets, numbered steps, tables, quotes, rules and code blocks; "bold", "italic", "code" and "link" lose their marks, a left-out emoji leaves no gap. The designed sheet (Sheet.text) draws sections, bullets, numbers (1. 2. 3. in the accent colour) and tables of up to 3 columns with a head row; wider ones become "column: value" lines. Small head (title 13 pt, sections 10 pt). Without "Designed sheets" the morning sheet and the weekly review come as the same sheet in black and white without boxes (rmpapier.plain_pdf, device format); answers, meetings, inbox, guide and web pages as EPUB with real headings, lists and tables (remarkable.epub_body); answers are not flattened first. Documents from "Create documents" come in the device's page format instead of A4 (docrender.render(…, page=…), narrow pages with small margins and a smaller title, docrender.SMALL_PAGE); letters and own templates stay A4. Guard test test_rmformat: builds a sample sheet for every kind (rmpapier.ARTEN, guide, calibration sheet, document) on every model and turns red on leftover Markdown, text past the right margin, lost numbers or a new kind without a sample.

Crosses in other units: some sheets deliver strokes in other units than the page says (e.g. 1620 instead of 954 points across). The calibration tries every possible width (rmpapier.widths, fit), and when reading, best_map takes another width instead of the calibration only when the ink then lies clearly better in the boxes (twice as much and at least INK_MIN); handwriting alone moves nothing. The journal names page size, units and where the ink lies ("page 954x1696 … units 1620 | ink x … y …"). Self-tests test_rmpapier.Tasks.test_ticks_in_larger_units_than_the_page_says_still_hit_their_boxes and test_handwriting_alone_never_moves_the_mapping.

"Gelesene Blätter": of calibration and task sheets the list shows only the newest (rmpapier.ONE_SHOWN), sheets deleted on the device not at all, ones put away by "Kann weg" one more day (GONE_SHOWN); unread ones show when they were sent. Self-test test_rmpapier.Reading.test_the_list_keeps_one_sheet_per_replaced_kind.

Crosses from another device: when a sheet's page names another model than the one it was built for (one account, two devices), it never takes the other device's calibration: rmpapier.calib_key then gives "move@pro", without a calibration of its own the page size counts. Journal "remarkable: sheet for move written on pro". With answers side by side the control picture shows the point once above and only the answer at each box, in the sheets' own font (arrows, umlauts). Self-test test_rmpapier.Tasks.test_a_page_from_another_model_never_takes_this_models_calibration.

Reasons in the log when the reMarkable cloud stalls: the journal names reasons in fixed words and numbers, e.g. "remarkable: 15 of 75 entries not read | file HTTP 429 ×12, ReadTimeout ×3" (remarkable.why, why_count, why_long; the cloud's own text never reaches the journal). On 429 or 500/502/503/504 the Spark waits once (Retry-After honoured, at most 10 s) and tries again. Self-tests in test_remarkable.

Task sheet to tick: admin sub-switch "Task sheet to tick" below "Paper for the reMarkable" (chat.remarkable_tasks, off, never guests; code: app/panel/rmaufgaben.py), with no profile switch of its own: the first sheet comes by itself, after that there is always one (see "Always a task sheet" below); "Send task sheet" under Me → reMarkable → Paper or by voice fetches a new version at once. A living PDF in the folder "Spark/Aufgaben" with what is open, each point with boxes for fixed answers: tasks from the handwriting (remind tomorrow 9:00 / remove / later, rm_todo), memory entries "maybe outdated" or "contradiction" (true / not true / later, "Check memory"), proposals for the profile's own settings (take / no). Only for an admin profile (Admin role): open proposals of the settings assistant except stages C, U, I and P (take / reject / later, ticked = done directly; role and switches are checked again when acting) and the field test after an update (the new lines from CHANGELOG.md, works / does not work; "does not work" becomes a case under Status → Improve). The panel fixes what each answer does when it builds the sheet (rmaufgaben.OPTS, _do); the paper only picks. Evaluated at once when "Fertig – bitte auswerten" is ticked, else after 15 minutes without a change; two ticks in one point = unclear, nothing happens, the point comes again; each point acts once. The emergency stop holds everything. Then a new version with "Erledigt seit Version N" (at the earliest after 10 minutes, else every morning from the morning sheet's time); the old one with the ticks goes to the archive. "Take back" under Paper for a reminder, a deleted memory entry, a setting and an assistant proposal (POST /api/profile/remarkable/papier/aufgaben/zurueck, body 1 KB, rate limit rm); "Send task sheet" POST /api/profile/remarkable/papier/aufgaben (rate limit rmsend), both with the profile's browser login, CSRF, guard.log. By voice: "Leg mir das Aufgabenblatt aufs reMarkable" (remarkable_sheet). Journal numbers only ("remarkable: task sheet read | 1 done, 0 unclear"), live "Aufgabenblatt" as background work.

Note on the task sheet: below the points the sheet has four lines "Anmerkung" (Sheet.note_area, a field of kind notiz, never judged as a box). When at least 12 mm of changed handwriting lie there (rmaufgaben.NOTE_MIN), the Spark renders only these strokes as a picture and lets the language model read them (wissen.read_page, only with "Read pictures and scans"; otherwise the note waits, journal "note not read | reading pictures is off"). One line remains, without the picture description and "[unleserlich]", at most 200 characters. The text is data: it stands in the receipt ("gelesen: …") and as a point "Aus deiner Anmerkung" on the next version with remind (tomorrow 9:00) / remove / later; only the tick makes a reminder, "Take back" under Paper takes it back. When the fixed rule of "Own tasks" (beobachten.parse, never the model) finds a watch sentence ("Sag mir Bescheid, wenn es eine neue Firmware gibt"), watches are allowed (agent.watch_on) and there is room under beobachten.MAX_WATCH, "Als Auftrag" is added: the tick makes the watch under Me → Jobs (created_by "remarkable"), where it can be paused, changed and deleted; "Take back" removes it. Everything is checked again when acting; if it cannot be done, the note stays open. One note per sheet (writing on replaces it), at most 6 wait. Only strokes lying almost wholly in a box count for choosing the units; lines of handwriting move nothing. Journal numbers only ("remarkable: task sheet note read | 42 characters"), live "Anmerkung gelesen". Self-tests test_rmpapier.Tasks.test_the_anmerkung_is_read_and_comes_back_as_a_point_never_a_command, test_the_anmerkung_waits_while_reading_pictures_is_off, test_note_text_keeps_only_what_was_written, test_a_note_asking_to_watch_offers_a_task_only_by_the_panels_rule, test_a_task_ticked_after_watches_were_switched_off_does_nothing, test_a_tick_and_long_lines_of_writing_never_move_the_mapping.

Morning sheet in sections: the morning sheet takes the sorted daily overview (chat.morning_briefing(..., markdown=True), BRIEF_MD_SYSTEM): per area with content a line Termine, Erinnerungen, Mails, Wetter, Themen with short bullets; on the sheet each becomes a numbered section (rmpapier.heads). Self-test test_rmplus.SheetOnRequest.test_the_morning_sheet_is_sorted_into_sections.

Task sheet with five parts of one's choice: each profile sets under Me → reMarkable → Paper → "What goes on the sheet" which parts come on its task sheet (rmaufgaben.PARTS, profile settings rm_tasks_cal, rm_tasks_lists, rm_tasks_mail, rm_tasks_new, rm_tasks_note, all on until the profile turns them off; no function switch of its own). A part only comes while its function is released for the profile, otherwise the page says what is missing. Today in the calendar: today's appointments still to come (at most 6, calendars.events) with Passt / 30 min vorher erinnern / Auf morgen; all-day ones without "remind". Only a reminder is made (30 minutes before, or "Von gestern verschoben: …" tomorrow at 9:00), the calendar stays unchanged; when the appointment is over by evaluation, the receipt says "schon vorbei". Tasks and shopping: up to 6 open entries per list (tasks.items) with a box "Erledigt" that ticks it off there (tasks.change, also in the iCloud calendar); "Take back" puts it back. Waiting mail: up to 5 unread mails of the last two days (mail.find) with Gelesen / Antwort entwerfen / Später. "Gelesen" only takes the mail off the sheet, the mailbox stays unchanged. "Antwort entwerfen" only when the profile may put drafts (schreib.draft_ok): the writing help writes the answer (the mail is data, never an order), the draft lies in the drafts folder (tidy.make_draft) and is never sent. Quick note: three lines and one tick for the kind: reminder today (18:00, after 17:00 in an hour), tomorrow (9:00), task or shopping (both only with released lists). Read like the note (read_new, only with "Read pictures and scans"); each line becomes one entry, at most 6. The tick is the yes: without a tick nothing happens, two ticks = unclear; "Take back" removes the entries again. Note: as above. When a service does not answer, only its part is missing from this version (journal "remarkable: task sheet mails not read: …"). A new version comes every morning from the morning sheet's time. The receipt shows "gelesen" instead of ✎, which the font does not have. mail.message is the one place that fetches a mail by id (also for mail.read). Journal fixed words and numbers only ("remarkable: task sheet quick note read | 2 line(s)"). Self-tests test_rmpapier.TaskParts.

Always a task sheet: there is always a sheet in the folder "Aufgaben", also when nothing is open. The first one comes by itself once the task sheet is released for the profile and a reMarkable is paired (rmaufgaben.due "erst"). "Kann weg" or deleting it on the device puts only this version away (trash, with handwriting the archive); at the next check, at the earliest 10 minutes after the last version, a new one lies there ("fehlt"). Every morning from the morning sheet's time a new version comes, also without changes ("morgen"), and after evaluation ("neu"). Whoever wants no sheet switches the function off. With nothing open the sheet shows (rmaufgaben.calm): "Alles erledigt" with the cards "0 offen · Stand DD.MM. HH:MM" and "n erledigt · seit Version N", what the Spark keeps an eye on (parts switched on: appointments, lists, mail, and the sources notes, memory, proposals), "Zuletzt erledigt" (the receipt), "Als Nächstes" (tomorrow's first appointment, only with the part appointments; "Neue Version spätestens morgen um …") and still Schnell notieren and Anmerkung. Calendar text is data and is cut and cleaned like every point. Journal only fixed words ("remarkable: task sheet | version 5, 0 point(s), why fehlt", reason from rmaufgaben.WHY). Self-tests test_rmpapier.Tasks.test_kann_weg_puts_only_this_version_away_a_new_one_comes, test_a_new_version_every_morning_also_when_nothing_changed, test_nothing_open_says_so_with_the_time_and_what_comes_next.

Tidying the configuration: admin._tidy drops, when the configuration is read, whatever the running version does not know: keys config.default.json does not have, presets in chat.defaults that profiles.clean_settings refuses, Melder in berater_off that are gone, the old entry chat.new_profile_on and old entries in chat.deny (deleted profiles, removed functions). So no save of an admin switch fails on leftovers. What the admin sends is checked strictly by validate. Self-test test_features.

Answer onto the reMarkable: "Summarize the political situation and put it on my reMarkable" puts the whole answer as a new document into the folder "Spark". A fixed rule on the question's own words decides this (put, send, save … plus "on/to my reMarkable", no colon), not the language model: the model only writes the answer, the panel sends it and says "The answer is now on your reMarkable …" (or why not). This also works after a web search, after which remarkable_note is locked; the destination is fixed, outside text only shapes the content, never where it goes. Same switches and daily limit as above, only in the own browser or at a speaker with the recognised voice, never guests. Logs → Requests shows "remarkable (Panel)".

"Yes" to "Shall I put it on the reMarkable?": when an answer offers that (fixed rule remarkable.offered on its own sentence: "Soll ich/Möchtest du/Willst du … reMarkable …?", "shall I … reMarkable?"), the panel keeps the text before it as the profile's one waiting proposal (remarkable.propose, profiles.pending_set, 15 minutes, same device and conversation). A plain "yes" (calendars.confirms) then puts it there like "… and put it on my reMarkable" (send_answer, folder "Antworten"); the model only says the result. Any other answer drops the proposal, so does the Notaus. Never after mail or other outside text, never for guests, only with "Send to the reMarkable" and a paired device. With "Show steps and approvals" the yes/no card ("reMarkable") stands below. "erstellen", "anlegen" and "machen" also count as asking for the answer there ("Create a note on the reMarkable with the recipe for cherry cake"), also spelled "Remarkabel". Tool rule 5 (chat.TOOL_RULES): when the user already said what they want and the tool is there, the model does it at once instead of asking, and never offers anything without a tool. Journal only fixed words ("remarkable: answer proposed | waiting for yes", "remarkable: answer sent | after yes", "remarkable: answer not sent | no yes"). Self-test test_remarkable.AnswerToRemarkable.test_an_offered_answer_waits_for_a_plain_yes. For "Look locally first" a plain "yes" or "no (thanks)" is never a knowledge question (lokal.classify → "Antwort auf Rückfrage"), and when the panel already carried out something confirmed in this turn (appointment, mail, reMarkable …) it does not look locally. Self-test test_lokal.Rule.test_a_short_answer_to_a_question_before_looks_nothing_up.

My status: under Me → My status every profile sees what the Spark does for it in the background and whether its connected services answer. Switches: Features → My day → "My status" (admin, off); released for every profile; never guests. In the background: reading documents (page x of y, n of 100 pages today), preparing meaning search, document cards, comparing the reMarkable, tidying the inbox (per mailbox), fetching contacts, jobs, morning briefing, tidying memory, each with its state (running, waiting, fine, needs you), the reason it waits ("paused while someone speaks", "waits for a quiet minute", "waits for the night", "daily limit reached"), last and next time, a progress bar and the history of the last 7 days (at most 50 entries per job, users/<p>/hintergrund.json, only for profiles with the switch). Connected: mailboxes, calendars (task lists too), address books, Home Assistant, Telegram, iPhone app, Pebble, speakers. A service's state is the outcome of its last real request (netguard.client(seen=…), IMAP login), the page never asks itself; after a restart it says "not asked yet" until the service was needed (state/dienste-zustand.json). "Compare now" (reMarkable) and "Fetch now" (contacts) use the existing buttons. Only fixed words, numbers and own names (document, mailbox, calendar, device); never subjects, senders, events, document text or a server's error text (reduced to a fixed reason). When something needs the profile (sign-in refused, address not found, storage full, tidying stopped, a memory proposal waiting), a red dot shows at "Me" (asked once a minute, ?brief=1). The page refreshes every 10 seconds. The iPhone app reads the same source (GET /api/profile/hintergrund, key "app", read only). Status → Summary "My status of all profiles" shows the admin counts only (GET /api/admin/hintergrund).

Targeted tool choice: a "switch" in the panel (intent.py) sorts every question by fixed rules into a group: smart home, calendar, mail, web search, reminder, list, weather, parcel, contact, memory, document, message, agent, iPhone, small talk or "unclear". It reads only the person's own latest message, never outside text or model output, and writes one weiche: line per question to the journal (intent, matching word, number of tools, required tool, lock); the diagnosis filter "Chat" shows it. With the admin switch Features → Speed and accuracy → "Targeted tool choice" (off, then for every profile, never guests) the model sees only the tools of a clear question's group (plus "remember"); a group with one tool (weather, web search) makes the first round call exactly that one. The switch only takes away what the rights check allowed, never more. After an answer from the web, calendar, a document or a picture, a new request in the person's own words lifts the lock and the old answer is no longer sent along; if the request points at it ("Setz das auf die Liste", "Erinner mich daran", "Und …"), everything stays locked. Mail has its own lock rule. When something is locked the model always gets the real reason in one sentence (also with the switch off). Optionally the language model sorts questions no rule recognizes into a group (only the own message, answer only from the fixed list, default off). Below the admin switch: "Show the rules" lists every group with built-in words and tools, "Try it" sends one sentence through the switch (no model, nothing stored; admin only, rate limit, at most 500 characters), and "Own words per group" (chat.route_words, one line per group like smarthome: sauna, kamin; whole words only, at most 20 per group, checked on save and restore) adds to the built-in words, never replaces them. Test bench with more than 90 example sentences: app/tests/test_intent.py.

The switch shown and set up (Features → Routing): a page of its own beside "Features" shows the switch as a picture. "Try" sends a sentence through the same rules as a real question and shows its way in six boxes: question (points back or not), checks first (small talk, about the Spark, message to someone), group (with the matching word, built in or own), tools (from the group, extra, always kept), locks (protection rules with a lock) and result (read directly, required tool, instant sentence). No model, nothing stored. Below, the groups as a list with details: built-in words, own words as chips (chat.route_words), "Not with" (chat.route_not: a word takes the group out again), extra tools (chat.route_extra, at most 6, only the switch's own tools and only when the question is offered them anyway) and narrowing per group (chat.route_off: group recognized but every allowed tool). All of it only takes away or stays within the rights; the protection rules (nothing switched or remembered after mail or outside text, emergency stop, at most 2 lookups) are no setting. Test sentences: built-in (app/panel/intent_bench.py, also used by test_intent.py) and own ones (chat.route_tests, at most 200, a sentence up to 200 characters with the expected group). "Check and save" runs every sentence through the new rules first; when one lands elsewhere the page lists it and saves only after "Save anyway". "Undo" puts the version before back (the last 20 in STATE/weiche-history.json). "Wrongly sorted …" comes after a try, at every switch step in Status → Logs → Requests (the question is never recorded, it is typed again) and as "Check the switch" in the hint under an answer in the admin's own chat: pick the right group, the switch suggests words of the sentence by a fixed rule (at least 4 letters, not a common word, not in any group yet) with the number of test sentences each would change; "Apply" changes the rules on the page and keeps the sentence as a test. Statistics: per day and group only counts, tools and direct reads (8 days, STATE/weiche-stats.json), never a word of the question; the live overview shows today's numbers at the switch node. Admin only (not the manager role), rate limit, body at most 40 KB, checked on save and restore. The settings form never puts older switch rules back.

A smarter switch (Features → Routing): the switch is measured on everyday sentences (app/panel/intent_alltag.py) that are never used to set the rules up; the test sentences in intent_bench.py always land right because every reported mistake became one. The page shows the everyday score (right, kept by a hint, open, wrong) and the sentences that do not land right; test_intent_alltag.py holds the numbers (good may not go down, wrong not up). Hint words per group (intent.HINTS, built in, shown at the group): when no rule recognizes a question for sure ("We need milk"), they keep their group's tools with "lean" (chat.route_model: lean) and beside the model's or the classification's pick. A hint never narrows and never gives more than the rights and locks. Follow-ups ("And tomorrow?", "Turn it off again") get the group of the person's own question just before in the same conversation: only when short (up to 80 characters), pointing back and recognized by no rule; answers or outside text never count. "Try" has a "question before" field for it. The rules recognize many everyday questions (meetings, letters from an office, the DAX, opening hours, an umbrella, "write a notice of termination" as a file, "send me … every morning" as a job); language and nature questions ("What is Fenster in English?") do not go to devices or contacts. One place for the switch: "Questions no rule recognizes" (chat.route_model), the classification's threshold (chat.systemone_min) with "Measure classification" and the must words (chat.tool_words) are only under Features → Routing and are saved there with "Check and save" (with undo); the switches "Targeted tool choice" and "Classification with probabilities" stay under Features. The live overview shows at the switch node how many questions had a hint today and how many were follow-ups.

Tune the switch (chat.route_tune below "Targeted tool choice", off; admin only; panel/weiche_abstimmen.py): on Features → Routing "Tune" starts a run. The everyday sentences are split by a fixed rule: even places are the practice half (plus the admin's own test sentences), odd ones the check half. For each group with at least 2 missed sentences of the practice half (at most 8 groups) the language model proposes up to 6 words (JSON; sentences as data in <<< >>>, the question goes through vorrang behind every conversation). Each word is measured in memory and stays only when no test sentence flips (weiche.flips: intent_bench.BENCH and the own ones), the practice half gets at least one more right and none more wrong and the check half none fewer right and none more wrong. The result is a proposal with the numbers of both halves; "Apply" saves through the switch's normal save (chat.route_words, the same checks, undo) and only when the words did not change since the run. Only the admin's own words change, never the built-in rules (test_intent_alltag measures without them). The check half is the honest number. The model decides nothing, it only proposes words. Log only weiche: abstimmen … with numbers. Endpoints GET|POST|DELETE /api/admin/weiche/abstimmen, POST /api/admin/weiche/abstimmen/uebernehmen; self-test test_weiche_abstimmen.

Unclear questions, anonymous (chat.route_unklar below "Targeted tool choice", off; preference unklar_anon per profile, on, under Me → Conversation → Privacy; panel/weiche_unklar.py): when no rule recognizes a question of a profile, it shows on Features → Routing at "unclear" in the list "Unclear questions, anonymous". Redaction is fixed rules only: first the redactor of "Report a problem" (names of profiles, devices and accounts, mail addresses, links, host names, IP and MAC addresses, phone numbers, coordinates, long codes, every secret from the settings), then names from the own address book, a name after "Herr/Frau/Dr." and every number ([PERSON], [ZAHL] …). Then the leak check of "Report a problem" runs again; if it finds anything, the question is dropped and only counted. Sentences with the code word, from guests or an unknown voice at a speaker are never kept. Only the redacted sentence is kept with count and day, never profile, device or time of day; next to it the group whose tool the model took afterwards (from weiche.learn). The file state/weiche-unklar.json is sealed, at most 100 sentences, gone after 7 days. "Belongs to …" opens "Wrongly sorted" with the sentence and the model's group: words checked against all test sentences, "Apply", "As test sentence", Undo; a placeholder is never offered as a word. Afterwards the sentence is gone. One by one or "Delete all" (DELETE /api/admin/weiche/unklar[/{id}], admin log), only admin and co-admin. Live shows only the number at the switch node. Log only weiche: unklare Frage anonym gemerkt|verworfen (Prüfung) and … gelöscht <number>. Self-test test_weiche_unklar.

Switch check: „Terminal“ does not count as an appointment. A price or a strike goes to the web search, „Call me“ to the Spark calling back, „a list of …“ in a file stays with „Create documents“, „difference between …“ is knowledge. The everyday sentences also measure the telephone, chats, pictures, the state and tools a module offers only by their own word (volume, undo, pause notes, NAS, reMarkable): such a sentence counts as right when the module's fixed word rule matches. A photo with a wish to change it („Remove the beard“) shows under Logs → Requests as the group pictures („Foto ändern“); the model does not have to pick. Learning: when no rule recognizes a question and the model calls a tool of one group, the switch counts that group and the fixed hint word that named it (never a word of the question, 7 days). A hint word that led to the same group at least three times is offered under Features → Routing, „Statistics“, as a word of that group; when the admin takes it over, „Check and save“ with all test sentences and Undo applies. The switch never changes its rules by itself.

A more precise switch (no switches of its own; everything under Features → Routing): normalization before every rule (intent.normalize, also for the must words in chat.needed): a word without umlauts or with "ss" ("Strassenbahn", "Kueche", "Haustuer") gets the spelling of the word lists (compared with homeassistant._norm, no second helper), a glued device word is set apart ("Wohnzimmerlampe", "Deckenlicht", "Heizlüfter"; never "Taschenlampe", "Tageslicht", "Schulpflicht"), a few English phrases get the German words ("Search the internet", "What do you know about me?", "What are my tasks?"). Knowledge questions ("What is a lamp?", "How does a socket work?", "Explain …", "What is a thermostat?"), a joke, poem or story about a thing and "I am in the kitchen" get no acting group (smart home, iPhone, calendar, documents, agent, list, contacts, messages, memory; intent.KNOW_DROP), so web search and Wikipedia stay; with an own thing or a room ("How does my heating work?") the group stays. The Spark help answers "What is a calendar?" only when the Spark itself is meant (hilfe.SPARK_NAMED). "List" alone only counts with an own or place word ("on the list", "my DIY list"), never "Give me a list of plants". Calls: an emergency number ("Call 112", police, fire brigade, emergency doctor) gets no tool (reason "Notruf", the person dials it), a call for later or on a condition ("at 6", "tomorrow", "when I am home") is a reminder, never the instant call; "Call it a day" calls nobody. Follow-up only with a real reference back ("And …", "again", "too", "of it"; never a bare "it", "there" or "her": "What time is it?" after the weather is no weather question) and only up to 5 minutes after the own question before in this conversation (intent.asked_age, memory only, at most 2,000 conversations; chat_turn passes the time in, the rule reads no clock); otherwise the journal says "weiche: Folgefrage zu alt". One source: one list of switching verbs (SWITCH_VERB, "Alles aus" counts, "Mach die Sauna an" does not), CALL_ME once (the reminder words build on it), "Bescheid" only unambiguous (an official notice only as a compound or with the office → documents, "Sag Anna Bescheid" → messages), the function names for "Switch on web search" compiled once into one expression. The computer's tools (pc_action, pc_send, pc_look) stay when narrowing only when the own words name the computer or the question came from the companion (begleiter.offer "keep", werkzeug_abdeckung.BY_WORD). Counter check (intent_bench.GEGEN, 101 sentences: knowledge questions with everyday words, negations, small talk, stop and cancel, calls) that must get no group or not a given one: 1 wrong, 0 forced; test_intent.Genauer holds both numbers (they may only go down). python3 app/panel/intent_bench.py (in app/) prints test sentences, everyday sentences, counter check, confusions per group (expected → got) and wrong sentences; Features → Routing shows the counter check beside the everyday sentences. Test sentences 259/259, everyday sentences 204 right, 11 kept, 1 open, 0 wrong.

Source bench and fixes (no switches of its own): bench app/panel/quellen_bench.py: 66 sentences (German and English, with traps like „How do I put my iPhone into flight mode?“ and questions about own data without a word of ownership) with the expected class (internal, external, both) and the sources needed (mail, attachment, document, appointment, contact, conversation, list, knowledge book, web). measure() follows today's way (switch, narrowing over every tool, „Local first“, every switch released) and counts how often class and sources are right; test_quellen_bench holds the floor, it never goes down (now 55 of 66, 83.3 %: internal 28/34, external 16/17, both 11/15, 1 mail question sent outside). Rules: own mails are a normal source for questions about own things, not only when asked for mails; the documents hint names Find for own things beside document_search for the wording. fund_suche always stays when narrowing if it is offered (intent.NARROW_KEEP; only the own profile, the own browser or the owner's voice, never guests, strangers' voices or MCP). A parcel word with the own mail („What did Thomann write to me about the delivery?“) is the mail; with an own order („my order“) it does not count as a question outside for „Local first“. „What does … cost according to the offer, invoice or contract“ is an own paper, never the web search. Reading questions without a search word and another group: „Did the bank write to me?“ (a named sender) becomes „mail“, „Did the plumber get back to me?“ and „What did I order from Thomann?“ become „finden“, never with a newspaper, the web or the archive; „Did anyone write to me?“ stays with the hint words. A question with a group of own data (mail, calendar, contact, Find …) does not count as a question outside for „Local first“ because of „today“. Mails stay outside text (wrapped, mail lock unchanged). The decision internal/external/both is made by the source switch (below).

Source switch and all sources: no switches of its own; it hangs on „Look locally first“ (Features → Web search → Look locally first) and for the sources on Find (Features → Find in all data). After the switch, for knowledge and reading questions the source switch (app/panel/quellen.py, quellen.klasse) decides by fixed rules, never the model: internal (own source, group of own data, word of ownership like „my insurance“, document word), external (weather, prices, news, offices, years) or both (timeless knowledge, how-to questions about the own device). Otherwise a hit probe in the own Find index decides (fund.suche, at most 3 hits in 150 ms, own thread, never on the event loop, at most 2 at a time): strong (at least 60 % and 2 search words, or sender, company, person named) internal, weak or too slow both, none external. The probe runs only for the own profile in the own browser or with the owner's voice, never for guests, strangers' voices, Telegram without personal data or MCP; a collection of the conversation holds. Without Find no probe (then documents, Kiwix, earlier conversations; the model decides about the web). Internal and both ask every released source through Find at once (mails and attachments, appointments, contacts, documents, NAS, reMarkable, conversations, lists, knowledge book), plus documents and earlier conversations, for both the Kiwix, within the time limit of „Look locally first“. At most 5 hits go to the model, taking turns, with source and date as outside text; a mail or attachment among them locks the answer like a read mail (nothing to the internet with the model's words, no switching, saving, reminders). For both the panel searches the web itself with the question's own words (no code word, at most 120 characters) before any own data is read, so no mail text reaches the web; the result (at most 2000 characters) comes with sources under the answer, the model's same search does not run twice. Not with the kill switch, after an answer from mail or while the service watch sees the web search as gone. A clear reading request the panel fetches itself needs no look before it. Bench: test_quellen_bench with a fixed stand-in index, 66 of 66, floor 66 (an upper bound; new misses come in as new sentences). See: Logs → area „Knowledge“ (lokal: Klasse intern (Probe stark) | Probe 3 Treffer 42 ms | Dokumente 1, Verlauf 0, Finden 2 | 120 ms | weiter: Treffer an das Modell, Mail gelesen), Logs → Requests „Erst lokal (Panel)“, Status → Live at the node Find, Status → Checks → „Test looking locally first“ (never the web). Self-tests test_quellen, test_quellen_bench, test_lokal.

Origin and „Also search the web“: hangs on „Look locally first“. With own hits the panel counts (lokal.herkunft, never the model) a line of origin under the answer, only kinds and numbers („From: 2 mails, 1 document, 1 appointment“, maybe „, the web“), never titles, senders or words; with Find hits also „Show in Find“. Was the question internal and without the web, „Also search the web“ appears: the panel keeps only the own words (lokal.own_words, next message on the same device, at most 15 minutes) and searches exactly those on the web (chat.web_search_own) without looking at own data again. Never after a mail (chat.LOCKED_AFTER_MAIL), at the emergency stop, without available web search, for guests, other voices at a shared speaker or MCP. Panel, Android, iPhone, Begleiter and Telegram show line and buttons; the line never goes into the history. Live (Find): „Herkunft N-mal, Internet-Chip N angeboten, N genutzt“. Log (Knowledge): lokal: Herkunft N Treffer | Internet-Chip angeboten or | kein Internet-Chip, lokal: Klasse extern (Internet-Chip) | Web 1 | …, lokal: Internet-Chip abgelehnt (Websuche gesperrt). Self-tests test_quellen.Herkunft, test_quellen.Chip, practice test P769.

Source note (Features → Conversation → "Source note", switch chat.source_note, off; released for every profile; panel/quellenangabe.py): under every answer that wants to know something it says where it came from, written by the panel with fixed rules from what really ran in this answer, never by the model: every reading tool that did not fail, with its readable name (werkzeuge.label, "Web search", "Read appointments", "Own documents"), plus the hits of "Look locally first" as kinds and numbers ("2 mails", "own data, no hits"). "Own data, no hits" is only named when nothing else was looked up (quellenangabe.genannt, since V01.1.494). Without any source: "Source: nothing looked up, model knowledge only". Tools that change something (taten.KIND) do not count; a plain action ("light on") gets no line. Whether a tool reads the own data or the world comes from the switch's groups (intent.GROUPS with quellen.OWN_GROUPS and WORLD_GROUPS). Note when the source does not fit: the source switch's class (from "Look locally first" or, without it, the same fixed rules without the probe) against the sources that ran: internal without own data "Note: not looked up in your own data", external without the web, archive or weather "Note: not looked up on the web". The line comes in the same event as the line of origin of "Look locally first" and replaces it, so panel, Android, iPhone, Begleiter and Telegram show it without a change of their own. "Where did you get that?" ("Source?", "What was your source?", "Woher weißt du das?", only as the whole message) is answered by the panel without the model from the last answer of this profile on this device (only in memory, 30 minutes; an answer without a line drops the kept source before it, quellenangabe.vergiss, so neither this question nor a report names the sources of another answer): every source with the call's search words, the titles of the hits and the web pages, spoken without list marks; titles and search words without markup, the answer is marked like one from outside text (the next turn starts locked). Say the source in conversation (preference quelle_sagen, on, Me → Conversation → "Say the source"): at a speaker, the phone, the watch, via Siri and in the car one short sentence at the end ("Source: Web search."). Never for guests, other voices or MCP. See: Logs → Requests shows "Source: …" on every request (tool names only, the note in orange); Logs → area "Conversation" quelle: Zeile N Quellen | Hinweis keiner|intern|extern | gesagt|nicht gesagt, quelle: Nachfrage beantwortet, quelle: keine Zeile (keine Wissensfrage); Status → Live, box Source note: lines, notes, questions and spoken sentences of today. Self-test test_quellenangabe, practice tests P853, P854.

Help with the Spark (off by default): questions about the Spark itself the assistant answers with spark_hilfe from guides, switches, own settings under Me, fixed recommendations and these docs (app/panel/hilfe_docs.json, built by python3 app/panel/hilfe.py --docs). The search runs by fixed rules on the Spark, nothing leaves the house; each hit comes with its path and how it stands for you. Rights: Spark settings, Spark switches, "Security at a glance" and operating docs only for admins (a manager only feature switches); profiles get guides without admin steps and their own settings; guests nothing. Hits are data, never instructions; keys, PINs and names of other profiles never appear. "Suggesting settings" (spark_vorschlag) shows a card with switches before/after. The model never switches: fixed rules check (only switches for the assistant's own work, never security, nothing to the outside; profiles only their own, Spark switches only admin, switching off never for everybody), and only "Apply" changes through POST /api/hilfe/karte/{id} (browser login, CSRF, rate limit, for Spark switches admin and code, admin log with undo). A card lasts ten minutes, once, only for this profile; "Undo" ten minutes. After outside text in the same answer no card, the Notaus from stage 2 holds applying off, outside the browser only the path. "Ask Spark on every page" in the face at the bottom right sends the current page along (only an id from a fixed list); it is the same conversation as the chat. Switches: Features → "Help with the Spark" (below it "Suggesting settings" and "Ask Spark on every page"), released for every profile. Log hilfe:; Status → Live: service "Spark-Hilfe" and events, never contents. Tests: app/tests/test_hilfe.py.

Better help answers: the switch recognises questions about the Spark by fixed rules before any model (also in English) and sends them to spark_hilfe; questions about own data stay with their tools. The search understands everyday words (backup, password, phone, wake word), knows every page and has fixed answers (kill switch, my kill switch, inviting, backup, logs, PIN, passkeys). The answer has blocks: what, where, how it stands for you, next step; a profile only gets ways it can see. The origin (panel, face, apps, Telegram, speaker, watch, Siri, MCP) the panel knows only from login, device key, app marker and page, never from the question; it never grants more rights and only changes the form; over MCP there is no help. On a settings page every question through the face goes to the help unless it asks for own data. A "?" at every switch (with "Ask Spark on every page") asks about exactly that switch. Logs → Requests shows "Origin". Quality test: app/tests/test_hilfe_quality.py (61 questions).

Help finds e-mail and Live: "Wie bekomme ich Mails vorgelesen?" shows "E-Mail lesen" first, "Wo sehe ich die Live-Übersicht?" shows "Status → Live". For this the help search knows two words (hilfe.SYN): "vorgelesen" means "mail lesen" like "vorlesen", "Live" also searches "Zustand". The update installs only versions with a green GitHub run "Tests".

The face at the bottom right everywhere: the sign "Ask Spark" at the top is there for every login (not for guests) on every page, over Me and in the phone view, also without the Spark help. One tap starts listening and opens the window with "Open conversation", "Stop" and a field to type in; a second tap stops listening, the second tap of a double tap does not count. Keyboard: tab to the sign, then Enter or Space. The current page only goes along with "Ask Spark on every page". The wall monitor (/live) stays a pure display without a face.

Folding in the face's window: the × at the top right of the window or Escape folds it in, also while "Set up" runs (its steps come back the next time it opens, "Done" ends them). Listening and speaking go on. On narrow screens (below 760 pixels wide or 600 pixels high, also in the iPhone app) the window takes at most half the height and scrolls inside; the × stays visible at the top.

Suggesting functions (off by default): the assistant points out a switched-off function when it would help, and helps setting it up. Fixed rules in tipps.py decide, never the model: a wish without its tool (group recognized, function off), half set up (e.g. iPhone app without notifications, second sign-in step without passkey), repetition (e.g. five web searches in seven days without "Look locally first"; only the kind is counted, never the words), newly released and to set up yourself under Me → Let's go. The hint goes once it is set up or "Check" reports "Set up", at the latest 14 days after the release. A plain profile setting comes as an "Apply" card (as in "Suggesting settings", ten minutes "Undo"), otherwise the guide's steps and "Open the page"; passwords only into the form. If it is off on the Spark, "Ask the admin" sends the admins a notification (at most once a day). Me → Overview shows at most three suggestions; under Proactive at most one a week as a notification (10 am to 7 pm, never in quiet hours). At most one hint per conversation and three a week, "Do not show again" is for good; none after text from mail or the web, under the emergency stop, at a speaker, watch or Siri, on Telegram, over MCP, never for guests or a device key. Stored per profile only shown and declined hints and question counts per kind (tipps.json, 14 days). Switches: Features → below "Help with the Spark" "Suggesting functions" (below it "… also by itself"); can be switched off under Me → By itself → "Suggest a function". Log: lines tipps:; Logs → Requests hinweis; Status → Live events "Suggesting functions", never contents. Tests: app/tests/test_tipps.py.

Show steps and approvals (off by default): below every answer a folded "3 tools used · 2.1 s", unfolded per tool ✓ or ⚠ and time; only name (werkzeuge.NAMES), success (taten.failed) and milliseconds, never inputs or findings. When a proposal waits for a "Ja", a card "Waiting for your yes: Appointment" with "Yes" and "No" stands below; a tap sends the word like a typed answer, the proposing module decides by fixed rules (calendars.confirms …). The card carries nothing out and names only the kind (ablauf.KINDS); at most one per answer, only this device and conversation, never under the emergency stop, never for guests or other voices. Panel, Android and iPhone app (events step, confirm). Switch: Features → "Show steps and approvals". Log chat: freigabe-karte gezeigt | n. Tests: app/tests/test_ablauf.py.

Question cards: part of "Show steps and approvals". When an answer without a waiting proposal ends with a question, answers stand below as buttons (ablauf.asks, fixed rules on the last sentence, never made by the model): "Ja"/"Nein" for a fixed sentence start ("Soll ich", "Möchtest du", "Shall I" …), for "A or B?" up to 3 short parts of the question (each at most 30 characters and 4 words, no links) and "Something else …" (only places the cursor). After outside text never parts of the question on a button. A tap sends the word like a typed answer; only then is anything done, with all rules. "yes"/"no" (ablauf.short_reply) keeps the group of the question before (intent.follow_up(…, answered=True), ablauf.was_asked: same device and conversation, ten minutes, once). Panel and Android (choiceCard), iPhone (AnswersCard, choice), Telegram buttons, Pebble; the speaker stays with speech. Only rueckfrage-pending.json is kept (ten minutes). Log chat: rueckfrage-karte gezeigt | n, weiche: Antwort auf Rückfrage - group. Tests test_ablauf.Questions, test_ablauf.Chat, test_pebble, test_klaeren.

You can also say (basic set): functions that are on but never used are shown with an example sentence; a tap only puts it into the input field, sent it goes through the Weiche and every rule. Fixed rules (saetze.py) choose, never the model; sentences are in German and English in werkzeug_abdeckung.SENTENCES (checked by test_werkzeug_abdeckung). Only what features.allowed permits, is set up and works on the device. Places: up to three follow-up sentences under the answer (only tools never used); "Try this" in an empty chat; "Did you mean …?" (only a suggestion); "What can you do?"; Me → What I can do (all sentences, search, "new", "never used", in the apps too); once "New for you: …"; while talking at most one sentence a day (switch "Tips while talking", each profile can switch it off under Me → Conversation); Telegram buttons, TUI /tipps; "sentence of the week" under On its own; for the admin Features → Routing "Nobody finds it" (unused for 30 days). At most one row per answer, one sentence per tool every 14 days, six a day; never after text from mail or web, in the emergency stop or for guests. Stored only tool use and shown sentences (tipps.json, never questions); Me → What I can do → "Delete my count". Switches: Features → below "Suggesting functions" "You can also say" and below it "Tips while talking". Log tipps:; Status → Live "Funktionen vorschlagen". Tests: app/tests/test_saetze.py.

Cheat sheet to print: Me → What I can do → "Deutsch" or "English" opens two A4 sheets: per area sentences to say with the trigger word marked (from intent.classify, including own words under Features → Routing), key words, the function's name, short commands, "Easily mixed up" and help when an answer goes wrong; only what is released and set up. Print, "Save as PDF" or "Download as file". Built from the code on every open (spickzettel.py, werkzeug_abdeckung.SENTENCES, saetze.AREAS, features.py, app/VERSION); test_spickzettel checks every card and sentence. Part of "You can also say"; never for guests; no scripts, strict CSP. Log tipps: Spickzettel de|en <n> Werkzeuge; Live "Spickzettel".

Basic set for newcomers: a new installation switches on a fixed list (features.GRUNDAUSSTATTUNG, each entry with its reason): targeted tool choice, fetch clear questions directly, instant acknowledgement, fetch ahead on a question back, ask instead of guessing with remember the choice, follow-up without wake word, undo by voice, learning from corrections, face shows what it does, help with the Spark with "Ask Spark on every page", suggesting functions, you can also say, lists for shopping and tasks, instant history sync. Only what needs no setup, nothing new to the outside, no extra model and no admin code; guests only ask and get answers. An existing installation never changes by itself: at the top of Features the card "Basic set for a good conversation" with "x of n on", "Take them all" and "What is off?" (filter "Recommended"); undo under Status → Logs → Admin-Protokoll. Once it asks "May the Spark use the internet?": yes switches on the weather, Wikipedia straight away, the service watch and the web search (only with a SearXNG address); no keeps chat.grund_internet. Also in the iPhone app under Manage Spark → Funktionen. Endpoint GET/POST /api/admin/grundausstattung (admin only, never the Verwalter, rate limited, 256 bytes), every take-over in the admin log. Tests: app/tests/test_grundausstattung.py.

Tool coverage: every function stands in werkzeug_abdeckung.py with tools, a fixed rule or the reason there is nothing to ask for; a self-test keeps it complete. Tools named by the person ("… onto the reMarkable", an own MCP service) stay whatever the group. The switch knows e.g. doors, windows, household appliances, power, battery, camera, "Call Mum", "Navigate home", "tick off milk", "Postfach", "Bestellung". "Turn on web search" goes to the help, never to the web search.

More to read: "Which documents do I have?" (document_list) names the document cards by kind or tags. "What is on my reMarkable?" (remarkable_library, rmliste.py) reads list and tasks of the last comparison, never the cloud itself. "What does the front door camera see?" (camera_describe) describes the still picture of a Home Assistant camera (switches Features → Describe a camera picture and "Camera picture" under Me → By itself, both off; at most 30 pictures per hour; never kept). "Which smart home rules do I have?" (home_rules_list). All four results are outside text: nothing is switched or changed after them, nothing over MCP.

Changing by voice (aendern.py): what was created can also be changed. Everything except switching waits for the yes in the next message, goes through the emergency stop and is locked after outside text; none of it goes over MCP.

  • Appointments (calendar_change): "Move the dentist to Friday 15:30", "Delete tomorrow's appointment with Anna". It searches writable CalDAV calendars by title and day; repeating appointments are never changed (only in the calendar app), and when several fit the Spark asks. The server's etag guards against changes made meanwhile. To move one the model never uses calendar_add.
  • Scheduled jobs (agent_change): "Pause the weekly overview", "Resume the weather plan", "Delete the scheduled job …".
  • Smart home rules (home_rule_delete): "Delete the rule for the front door".
  • Notes by itself (proactive_pause): "Don't speak up any more today" (until midnight or some hours, at most 24), "You may speak up again"; at once, like "not now".
  • Volume of own speakers (speaker_volume): "Make the kitchen speaker quieter", "Volume to 40"; own devices only, at once like switching.
  • Repeating reminders (reminder_set with repeat): "Remind me every Monday at 7 about the bins": daily, weekdays, weekly or monthly (at most the 28th), always at the same clock time, also across the clock change.
  • A message into an own group (message_send): "Write into the family group that I'll be late"; only the profile's groups, never private chats.
  • Undo (undo_last, Features → "Undo by voice", off; once on for every profile): the Spark keeps its last five deeds for 30 minutes in memory only (reminder, list entry, note, appointment, device on/off, volume, pause, job, rule) and proposes to take back the last one; only the yes does it. For devices behind the code word, say "yes" with the code word.

Status by voice (zustand_wz.py, tool spark_zustand): "Is everything running?", "When was the last backup?", "Is the emergency stop on?": every profile reads its part of Me → My status and its own emergency stop, an admin also the service watch, backup, version and last update check (never GitHub itself). Fixed words and numbers only, no error texts or addresses; nothing is switched. Only for switch group "zustand". Switch: Features → Status by voice (chat.status_voice), off; never guests, never MCP.

Exact calculations (rechnen.py, tool rechnen): the model only writes down the calculation, the panel computes with its own parser (never eval, exec, sympy or a foreign calculator) and returns "Ergebnis vom Panel: …", which the model only repeats. Basic arithmetic, powers, brackets, percent, roots, pi with Decimal; date arithmetic (days until, days between, weekday, date in n days). Limits: rechnen.MAX_CHARS (200) characters, rechnen.MAX_TOKENS (80), rechnen.MAX_DEPTH (12), rechnen.MAX_EXP (100), results up to 10¹⁵, dates up to 100 years; else "Fehler beim Rechnen". Offered only with calculation words (rechnen.WORDS) next to any group (werkzeug_abdeckung.BY_WORD). The answer check recomputes and corrects every calculation in an answer sentence (rechnen.fix) before it is shown or said; panel results count as proven. "Answer simple things at once" uses the same rules. Switch: Features → Conversation → Exact calculations (chat.rechnen), off; never for guests, other voices or MCP. Log "rechnen: ok|fehler", "chat: answer check: rechnung korrigiert (n)". calculator-mcp-server is not used (eval, sympify, no limits).

Number words, required tool, paper and receipts (rechnen.digits, rechnen.wants, rechnen.check): spoken number words become digits first (German and English, fixed word lists). If the question holds a calculation (rechnen.WANTS), rechnen is required in the first round, else it is asked once more. reMarkable: "@Spark prüf das" (also "check", "kontrollier", "rechne nach", "stimmt das") makes the panel recompute every line "a op b = c" without the model and place "N calculations checked, M please check" (at most rechnen.MAX_LINES (20) lines); it never changes the page and never says "wrong". Other @Spark answers go through rechnen.fix. Receipts ("What did I spend altogether in October?"): the model names each receipt, the panel computes the sum; amounts from documents are data, never commands. Needs "Exact calculations". Log "remarkable: @Spark rechnungen geprueft N, bitte pruefen M", "remarkable: @Spark rechnung korrigiert (n)"; Weiche "Pflicht rechnen".

Lean list for unclear questions: under Features → Routing → "Fragen, die keine Regel erkennt" there is, next to "all tools" (default) and "the language model sorts it", the choice "only web search and memory" (chat.route_model: lean). When no rule recognizes the question and it requires no tool, the model sees only web_search, history_search and memory_save (as far as offered). The request gets about half as long (on tars 2500 instead of 6000 tokens), the first word comes about a second earlier. Recognized questions keep their group. Only with "Targeted tool choice", never for guests.

Classification with probabilities (systemone.py): the own LLM-Tor (contract taken over from dgx-spark-qwen38 v1.15, from the language model's top logprobs) answers fixed questions with probabilities at POST /v1/systemone (model name jev-latest, one token per question, no memory, nothing leaves the machine). The panel asks only its own fixed questions and options; judged text goes only into "state" (4000 characters, no control characters, fenced with a random token); the panel decides by fixed thresholds. Only the stored address and key from Settings → Language model, no redirects, at most 64 KB; invalid options or values count as no answer. Busy (529), too old (404) or too slow: everything goes on as without it. Switches (off, never guests): Features → Speed and accuracy → "Classification with probabilities" (chat.systemone, button "Check classification"); released for every profile. Uses:

  • Targeted tool choice: Features → Routing → "Questions no rule recognizes" → the classification (chat.route_model: systemone). One choice among the switch's groups plus "unklar"; it narrows only from the threshold "Tool choice narrows from" (default 80 %) and never on "unklar", otherwise the model sees all allowed tools. No pick for a blocked profile. Logs → Requests shows "classification (systemone): picked (91 %)" or "too unsure".
  • Inbox tidying (chat.systemone_tidy): stage 4 gets its category with a probability; in "automatic" mode the Spark moves only from 90 % (else it asks), reason "systemone, 93 % sicher". Without systemone, stage 4 asks the language model for JSON.
  • Recognize important mail (chat.systemone_mail below speaking up by itself, profile E-mail → Settings → Important mail → pro_mail_smart): also senders off the list when a yes/no on sender and subject (never the mail text) gives at least 80 %; only new mail, at most 5 questions per check. Only what stays in the inbox after mail rules and "Tidy the inbox" is reported (waiting at most 2 hours). Automatic senders, lists, social networks, bills, ads, login codes, mails moved by rules and senders on "Not important" are never important, without asking the model; the own list always counts. The card's "Not important" adds the sender (pro_mail_not, view and delete under E-mail → Settings and on the iPhone). Live: "Wichtige Mail: heute N gemeldet, M aussortiert"; logs proactive: mail sorted | … new, … not important, … asked, proactive: mail cards tidied | n, proactive: mail sender not important | added|kept.
  • Quality test (chat.systemone_quality): a second opinion per question, "answers" 0 to 2 and "made up" in percent. It never counts for passing; a passed question with doubt (below 1 or 50 % made up and more) stays open to look at.
  • Classification in the settings assistant (chat.systemone_berater, admin only): picking the catalog proposal for a case (berater.pick) as a choice with a probability (options o0, o1 … plus "none"); proposed only from 60 % (systemone.BERATER_MIN), otherwise the catalog order holds. Reason: "Einordnung, 74 % sicher". The person's words go only into "state". Language model busy or missing: the JSON question. _cand and the check stay the bolt.
  • Check answers in the background (chat.systemone_check, needs the settings assistant): after an answer with tools the panel asks the quality test's two questions in the background (question, up to four tool results, answer). Since V01.1.494 (issues 13 and 14 in spark-meldungen) the check sees every result without the note "text from outside" and without <<< >>>; the room (einordnung.MAX_STATE, 8000 characters) is shared, a short result stays whole, a long one keeps the parts that share most words with the answer (systemone.check_state, seitentext.best_parts). Before, every result ended after 800 characters, so the weather at the end of the daily briefing was missing and a right answer counted as made up. Only the model's own words are checked, never the panel's fixed sentences after them (source line, "My last answer was not backed up"). From 90 % "made up" (systemone.CHECK_MIN) a case "Made-up suspected" is made (faelle.KINDS["erfunden"], proposals answer check, temperature, quality test). Runs through vorrang ("Antwort prüfen", waits while somebody speaks), at most 50 times a day, never before speaking; never for sentences with the code word.
  • Mark answers that are not backed up (since V01.1.432, chat.unbelegt_mark, off, builds on "Check answers in the background"; issue 3 in spark-meldungen): if the check holds an answer for made up (from 90 %), "Not backed up, please check." stands under it with "Look again" (panel, Android, iPhone). After the answer the page asks once GET /api/answer/check?id=… (only its own answer, waits at most 60 s, systemone.MARK_WAIT_S, rate limit unbelegt, nothing is changed); the result stays in memory only, 10 minutes. "Look again" asks the same question with recheck: the first round must call a tool, and a fixed sentence asks to answer only from its result. At a speaker, on the phone and in the car the Spark says once after the next answer within 5 minutes "Noch ein Hinweis: Meine letzte Antwort war nicht belegt. Frag lieber noch einmal nach." The answer itself is never held up. Log (area Weiche): systemone: Antwort nicht belegt markiert|belegt|nicht geprüft, chat: nochmal nachschauen | Werkzeug Pflicht.
  • Recognize complaints (chat.systemone_klage, needs "Stop error loops"): the deeds of the last answer stay in memory for 10 minutes (taten.note_last). When the next message says "still does not work" (taten.COMPLAINT) or the classification finds a complaint from 80 % (systemone.KLAGE_MIN, 1.5 s), the model has to look first and answer honestly; tools of that kind (taten.locked) are locked unless the message itself asks for it (taten.RETRY). Logs → Requests "Beschwerde (Panel)"; Live "n Beschwerden erkannt".
  • Narrator bench (under Test benches, chat.dungeon_pruefstand, admin only, on the button): per fixed scene the model's view, "vivid" and "follows the actions" in per cent (use erzaehler); only the fixed rules give points.
  • Label mass: x-systemone-label-mass says how much probability fell on the options; below 50 % (systemone.MIN_MASS) the answer counts as unsure and the caller goes on without it (Live counts "unsure"). x-systemone-branches gives the number of questions asked; "Check classification" and Live show it.
  • Measure classification (button under Features → Routing at "Questions no rule recognizes", POST/GET /api/admin/systemone/messen, admin only): up to 200 test sentences of the switch (intent_bench.BENCH without two-group sentences, plus own ones) run as background work ("Einordnung messen") through the tool choice. Per threshold 60/70/80/90 %: narrowings, errors, label mass, time, mix-ups. Suggestion: the lowest threshold with at least 10 narrowings and at most 3 % errors; "Take the suggestion" sets chat.systemone_min (0.6/0.7/0.8/0.9, default 0.8). Memory only. Journal: systemone: with use and milliseconds, weiche: systemone wetter 0.91; never text. Status → Live: "⚖ n" at the language model, failures under events ("Einordnung"). Self-tests: app/tests/test_systemone.py.

First sentence sooner: a long first sentence goes to speech output at its last comma from 50 characters on, if that comma comes after at least 20 characters; the first sound comes earlier.

Formatted answers: the panel's chat (browser, phone view, Android app) shows Markdown formatted (headings, bold, italic, lists, quotes, code, tables, links), also while it comes in. Safe (md.js): model text never becomes HTML, elements only from a fixed list via createElement/textContent, pictures only linked, links only http(s) to public addresses (no localhost, no home network, no name:password@ addresses), in a new tab without referrer, naming the host when the link text differs; over 60,000 characters plain text. The signs are never spoken (textnorm.speech_markdown, whatever "do not read out emojis, code and Markdown" says; code as a word in quotes, links only as text, code blocks not at all), and this runs before "never say passwords". Without formatting, text without signs arrives (textnorm.plain_markdown): Telegram, Siri, companion, reMarkable, watch, speaker display; the history keeps the original. The iPhone app shows bold, italic, code and links (http(s) only); copy and share without signs. Only the panel's chat gives the model the hint chat.WEB_HINT (spoken without tables and code blocks). No switch, nothing leaves the house. Test: test_markdown. The automatic daily briefing (Calendar → Settings, push "Your day") is kept sorted in the history (chat.BRIEF_MD_SYSTEM), the push without signs, the reMarkable morning sheet as prose. Companion: "Ask Spark" shows formatted (Windows: bold, lists, monospace; Mac: bold, italic, code, public http(s) links); /api/desk/ask sends next to answer (plain text) the field md, passwords hidden in both, md left out when the plain text hides more. Nothing is shown as HTML or run (MdText.cs, MdAnswer in AskView.swift). The morning start (/api/desk/daily?kind=morning) comes as md for the window and text for the notification; the evening stays a fixed list without the model. Test: test_begleiter.

More precise and faster

Package A:

  • Measuring per kind of question: every spoken answer keeps the time to the first sound, switch group, number of tools offered, language model rounds, share read from the cache, seconds to the first character and to the end, and the version (latency.MEASURE, fixed words and numbers only, two weeks in state/latency.json). Status → Checks shows, folded, "Per kind of question, last 7 days" (slowest first, median and 9 of 10) and "Per version" (the last four). The language model always reports how much it read (stream_options.include_usage).
  • Short answers without a screen: speakers, phone, watch, Siri, the Android assistant and CarPlay get at most chat.SPOKEN_MAX_TOKENS (700) tokens; their hints ask for one to three sentences. Anything longer ends at its last full sentence.
  • Names for listening (Features → Names for listening, chat.hoer_namen, off): the speech recognition gets profile names, contacts and the profile's Home Assistant rooms and devices as context (hoerwoerter.py, at most 100 names, 700 characters, before the context under Settings → Speech recognition); contacts and Home Assistant only when released. Shared speakers and the phone only profile names, guests nothing. Home Assistant at most every 30 minutes, memory only; log hoeren: numbers only.
  • Complete spoken text: units after a number (km/h, km, kWh, kW, kg, g, l, GB, MB, min, h, W …) and German abbreviations ("z. B.", "ca.", "bzw.", "usw.", "Nr.", "Str." …) are spoken in full, "30 €/Monat" becomes "dreißig Euro pro Monat" (textnorm.UNITS, speak_abbreviations, in both speech services).

Package B:

  • A fixed tool list per group (with Fast answer start, chat.prompt_cache): when the switch recognizes a group, the model gets exactly its tools in a fixed order. So the server keeps one start per group in its cache and the model chooses only among fitting tools. An unclear question sees the full list; what the rules do not offer, the panel never runs.
  • Trim a large memory (Features → Trim a large memory, chat.memory_trim, off): when the memory is longer than chat.MEMORY_CORE (6000) characters, only the newest facts stay fixed in the system prompt, plus at most chat.MEMORY_EXTRA (5) older ones sharing words with the question, for this turn only (chat.memory_split). The fixed part stays in the cache; nothing is deleted. Log: "chat: Gedächtnis gekürzt, N von M Fakten fest, K passende dazu".
  • Reading tools at the same time (Features → Reading tools at the same time, chat.tools_parallel, off): When the language model calls several tools in one round (at most chat.MAX_CALLS, 4), they start together when fixed rules allow it (gleichzeitig.auswahl): each is in gleichzeitig.LESEN (reading tools only; never mail, smart home, screen or anything in taten.KIND), none comes twice, and at most one is in notaus.INTERNET_TOOLS. The locks come out exactly as one after the other, because chat_tools._run sets "outside" and "docs" before its first wait and the tasks start in the model's order. The results go on in that order (Ablauf, actions, error loop, request trace as before); when the answer stops, the others are cancelled. Log: "chat: gleichzeitig: N Werkzeuge". Idea from OmniBot (AGPL, only the idea).
  • Summarize long conversations (Features → Summarize long conversations, chat.history_summary, off): What chat.trim_history leaves out of a long conversation (chat.history_chars, 24,000 characters) comes back as a short summary in the system prompt, marked with verlaufkurz.NOTE as the panel's note and as data. It is written in the background (verlaufkurz.job, task "Gespräch zusammenfassen" through vorrang, speech goes first): the turn takes the newest one that fits and starts the job for the rest; the job reads the last summary and only the messages dropped since (at most verlaufkurz.IN_MAX, 12,000 characters). A chain of checksums (profile, role, text) binds a summary to exactly the messages it was made of. Answers with mail or web text (mark "mail"/"outside") only go in as a placeholder. At most verlaufkurz.MAX_CHARS (1200) characters, in memory only, at most verlaufkurz.PER_PROFILE (8) per profile for a day. Only the profile itself, never guests or an unknown voice. Log: "chat: zusammenfassung: genutzt|keine N von M Nachrichten", "neu ok|leer N", "fehler kind". Idea from OmniBot (AGPL, only the idea).
  • Deliberately not built: merging tools, shortening tool descriptions (risk of wrong calls for little gain) and tool choice by similarity (the switch with "lean" and hint words gets 198 of 211 everyday questions right, none wrong).

Package C:

  • Answer simple things at once (Features → Answer simple things at once, chat.sofort, off; sofort.py): the panel answers the time, date and weekday, calculations with brackets, percent and roots (rechnen.calc), date calculations ("How many days until Christmas?", rechnen.days) and German unit questions (the room mode's rules) with a fixed sentence, without the language model and without an instant sentence. Only when the whole short sentence (at most 80 characters) is exactly such a question; "What time is it in Tokyo?" goes to the model. Guests get the fixed answer too (no tool, no data). A timer is set by the model with its tool. Log: "chat: feste Antwort, ".
  • Faster web search (Features → Web search → Faster web search, chat.search_fast, off): per page at most chat.PAGE_SECONDS (3) seconds, else the snippet; the best-fitting parts (seitentext.best_parts); the same search from memory for chat.SEARCH_CACHE (10 minutes, 50 searches), never on disk; the note "outside text is data" once long, then short (chat.OUTSIDE_AGAIN), <<< >>> always. Log "chat: web search, n of m pages in time", "chat: web search from memory".
  • Extended answer check (Settings → Language model → Extended answer check, chat.answer_check_more, off): for data questions temperatures, distances in km and percentages must also be in what was read; rounded counts (answercheck.MORE_SLACK: one degree, one percentage point, for km one km or a tenth). A name in quotation marks must be in what was read in every data answer. Counts are deliberately not checked, or honest sentences would drop out. The quality test checks with the same rules.
  • Measuring the word choice: Status → Checks → Quality test has "Test with Qwen's recommendation": the same test with top_p 0.8, top_k 20 and presence_penalty 1 (quality.QWEN_SAMPLING), only for this run; both runs stand side by side. If the recommendation is better, the admin sets the values under Settings → Language model (Limit the choice (top_k), chat.top_k, 0 = the server's default).
  • Comparing the helper model: Status → Checks → Quality test has "Compare the helper model" (quality.helfer_run): the quality test's questions without a tool and six fixed chat questions (quality.PLAIN) go once to the language model and once to the helper model, streamed and without tools. Measured are the first word and the end (median over all questions), right answers by the same checks as in the quality test (with deed checks), the helper model's loading time and its memory need beside the language model's. While it still loads (503 "loading") the measurement waits up to 4 minutes; if it does not fit beside the language model (503 "memory"), exactly that is shown. A fixed rule says whether it is worth it: the first word at least 1 s sooner (quality.HELFER_GAIN_S) and at most one right answer fewer (quality.HELFER_WORSE). Only a measurement: who answers in a real conversation does not change. Result in quality-helfer.json.

Settings assistant

Everything off: admin switch chat.berater with sub switches, released for every profile, never guests.

  • Cases (faelle.py): fixed rules check the way at the end of every answer (also without the request log, then without writing): a tool failed, an error, no rule and then web search, a fixed refusal sentence, the same question twice in 5 minutes, the answer check held back, speech output gaps, stopped after the first sound (from the third time); plus 👎, "That was wrong" and "Wrongly sorted". A function that is only off makes no case. Sentences with the code word never keep their words; questions of switching, sending or writing groups never go into the quality test. A case keeps a fingerprint (kind | group | tool or error), counts and up to three request numbers; the question only with consent (👎 "Send the question along" or "My name in the request log"), never from guests or outside text. 30 days, 1000 cases (STATE/faelle.json).
  • 👍/👎 (chat.bewerten): buttons under the answer, with 👎 five reasons (wrong tool, wrong answer, too slow, not understood, mispronounced) and 200 characters of text; changeable for 24 hours, at most 10 👎 a day. Spoken: "That was wrong", "That was good", "Thumbs down", "Thumbs up" (fixed sentence, no tools). In the car: CarPlay → "Antworten bewerten" (the last 5 answers, one tap per rating). 👍 is only counted (STATE/bewertungen.json); with consent the question becomes a confirmed sentence (STATE/gut-saetze.json, 200) no proposal may sort differently.
  • Detectors (every 30 minutes, each can be switched off under Status → Improve → Catalog): many unclear questions (over 30 % of at least 30 in 7 days), often slow (over 30 % of at least 10 in 24 hours), errors pile up (5 in 24 hours), quality test newly red, a service was gone, memory below the reserve, few 👍 in a group (under 75 % of at least 20 in 7 days).
  • Catalog (berater_katalog.py): stage A Weiche (own word, "not with", test sentence), must-word, pronunciation, word for the speech recognition, question into the quality test; stage B fine values in narrow ranges, one step (web search, lookups, wait for own sources, history, temperatures, first sound); stage C switches with a second step (a code on the page, 2 minutes); P a profile's own settings. Stage D never: passwords and keys, the language model's address, Notaus and Wächter, second sign-in step, roles, ports, guest access, sending mail, MCP to the outside, reporting problems, updates, backups.
  • Proposal: fixed rules build the fitting candidates from the catalog. Only when the language model runs at home (loopback or private address) it picks one (JSON schema, only candidate numbers, one sentence of reason shown as data); at most chat.berater_calls (20) a day, through vorrang and only after a minute without speech. Otherwise the rule takes the first.
  • Test bench: the same check as saving (admin.validate), every test sentence of the Weiche, the confirmed sentences, the questions of the last 7 days (how many land differently), ranges and step. Red cannot be taken; "Other" shows the remaining candidates.
  • Take writes through the panel's own ways (the Weiche with its history, else admin._save with undo and service restart, the quality test through its list) and keeps the value before; Undo puts exactly that back. Re-check after chat.berater_check_h (24) hours: the case did not come back "helps", once "unchanged", twice or a test sentence red "worse".
  • Routes of a case: local (catalog, test bench green), report (chat.berater_issue, needs Reporting problems): a draft in fixed words (kind, group, tool, numbers, never a question), sent only after its preview; environment (chat.berater_env): steps to copy for services outside (e.g. speech-spark status, sudo speech-spark logs tts -n 100), nothing is run; "Done" starts the re-check.
  • Ideas outside the catalog (chat.berater_ideas, admins only, off): when only a report or the environment remains, the language model in the LAN writes an idea (at most 400 characters, also on "Get idea"), marked "Idea, not checked" and never applied. Named settings only without secrets, addresses and access (never stage D), shown as a name with a jump link; the admin changes it alone. Keys and tool names become names before they are shown (klartext.readable). Environment steps (only with chat.berater_env) are to copy; chains, redirection, deleting, downloading and rights are filtered out. From two "Good idea" on, "Report as catalog wish" is offered (needs chat.berater_issue). Counts against the model calls of the day.
  • Finding before every proposal (befund.py): fixed rules work out the cause from tool names and yes/no marks of the request, never from words of an answer (e.g. wrong group, tool not called, missing, failed, service error, found nothing, answer contradicts, refusal, gaps, cause unclear). Proposals only fit the cause; temperature and "Check answers" only for "answer contradicts". A 👎 with an unclear cause gets, instead of a proposal, the question "What would have been right?" (expected tool, then "Re-assess").
  • Plain words (klartext.py): every case and proposal shows a card in fixed sentences: What happened, Where from (with "View request" to Status → Logs → Requests), Why, What helps (with jump links); never words of a question. The error code sentences exist once (klartext.CODES). The same change for several cases is one proposal with "N cases". "Why this proposal" names cause, risk and how to undo. "★ best pick" is set by the panel by fixed rules (test bench green, replay not red, more cases, rule before fine value before switch), never by the model.
  • What needs you, whole way, check yourself: the top says what waits for the admin (proposals, checks to do yourself, reports with their cases), the best pick one tap away, below it the 👍 share of the last 7 days as a light (green from 85 %, yellow from 75 %, else red; a colour only from 20 ratings). "Whole way" shows the request's way in fixed sentences (with Explain) and its log lines on the same page. "Check yourself" shows the service as the service watch sees it, with "Check now"; the steps are a checklist on the page only (nothing stored or run).
  • "Should have looked in …" with 👎 (panel and iPhone app, optional): documents, documents the Spark made, calendar, mails, devices, reminders, web, earlier conversations. Only the choice is kept.
  • Tool map: every tool belongs to a group of the Weiche or to the general ones; a self-test keeps it so.
  • Gaps (Status → Improve → Gaps): cases with no fitting tool offered, counted per tool (cases, reports, people); the Live overview shows the number.
  • "Not helpful" on a proposal: like Reject (30 days), but the case gets the next proposal; after three times for the same cause and change that change comes last.
  • Must rules for every tool (chat.tool_words, Features → Routing → must words): a line tool: word, word works for every tool of the Weiche; when exactly one is a must, the first round has to call exactly that one.
  • Tool hints (chat.tool_hints, Settings → Language model → Advanced): one line tool: sentence (4 to 200 characters, no angle or curly brackets, at most 20); the model gets the sentence only in answers that offer the tool, also in the quality test. The settings assistant only proposes fixed sentences.
  • Extra tool for a group as a proposal: when the expected tool is missing because the Weiche left it out, the assistant proposes chat.route_extra (Features → Routing, with history and undo); it is only added when the answer may offer it anyway.
  • Quality test with an expected tool: a question from a case can go into the quality test with the tool it has to call; passed only when exactly that one was called.
  • Replay: every proposal for the Weiche, a must rule, a hint, an extra tool or a test sentence runs the case's last question through the fixed rules before and after (group, offered tools, must, called first) and shows "fits" or "does not fit" without naming the question; when the answer is already right without the change, it says so. With "Analyse case" the local model then calls the offered tools once, without running them.
  • Analyse case (admin switch below the settings assistant, off): the language model in the LAN picks a rule from templates by JSON schema (kind, tool, group, template, one word of the question). The panel turns it into a catalog proposal by fixed rules, nothing else; the word has to be a whole word of the question. Test bench and replay run as always, only the admin can take it; every analysis counts against the calls of the day.
  • Rules (Status → Improve → Rules): every own rule with its source and "Remove"; Live counts them. Built in lists the fixed answer rules "Check deeds" (a claimed deed without a successful tool is not said) and "Stop error loops", only switched off by their switches. "Never say no … without" exists only for tools that know the Spark's earlier doing.
  • Rule versions, export and import: before every change to the own rules the Spark keeps the six rule settings (the last 30, STATE/regel-versionen.json, in the backup); "Earlier versions" restores one. "Export" saves the rules as JSON, "Import" checks them like a save and first shows which test sentences of the Weiche would come out differently.
  • Cleanup: the Rules tab marks rules that are built in already, contradict "not with", are in the group already or were not used for 30 days. Only which rule applied is counted, never a word of the question. Removing stays with the admin.
  • Re-check after an update or a model change: when the version or the language model's name changes, the Spark replays every taken rule and writes "Still works" or "No longer works" on the proposal.
  • Undo automatically (admin switch, off): the re-check also counts the group's 👍 share (7 days before against after, from 10 ratings); a fall of 15 points means "worse". With the switch the Spark then undoes the admin's takes too, otherwise only the autopilot's, and tells the admin profiles.
  • Guard against manipulation: the autopilot only takes cases from at least two profiles or an admin; one person alone cannot change anything by itself with many 👎, and the proposal shows that. Rule texts only come from fixed templates.- English form (with "Analyse case"): for a must word or a Weiche word the language model in the LAN fetches the English form (one word, schema with a pattern, checked by the panel); it is the first choice under "Other", with its own test bench.
  • Monthly report (Status → Improve → Report): 👍 share per group against the 30 days before, rules taken, helpful, worse and undone, open proposals, gaps and own rules, numbers only. On the 1st of a month from 8 am it goes once to the admin profiles with "Note on a new proposal".
  • "Why?" for every profile (admin switch, off; released for every profile, never guests): the Spark answers "Why did you just search the web?" in fixed plain sentences: how it understood the question and where it looked, without tool names, rules or settings. Admin profiles with "Ask for proposals in the chat" get the detailed version.

Spark diary (Features → "Spark diary", off; never guests): the Spark notes what it did for a profile (reminder, mail draft, document, reMarkable, message, device only with name and on/off, never the code-word sentence). 7 days, at most 200 entries, users/<id>/tagebuch.json. "What did you do for me today?" has to call spark_tagebuch. The model never gets titles of web pages and mails, only the kind. Journal "tagebuch: notiert".

  • Questions about the Spark's own doing ("Was a document made for the reMarkable?", "Is the letter ready?"): a fixed rule (chat.DONE_WORDS) makes the first round call document_status (time, where it was sent, what went to the reMarkable in the last 7 days), with the reMarkable and without "Making documents" remarkable_sent; never the uploaded documents. Such a question never sends the answer to the reMarkable.
  • Explain (chat.berater_explain): Status → Logs → Requests → "Explain" describes a request in fixed sentences and names what could help; "Take as a case". Likewise under Status → Logs → Diagnosis at the newest error (only the area, never the log line).
  • In the chat (chat.berater_chat, admin profiles only): "What does the settings assistant propose?" names open proposals; "Why did you just search the web?" (Warum … eben/gerade …) explains the way of the last answer (switch, tools, first sound, errors; from the memory of the last 24 hours); "How do the answers get faster?" names the catalog's steps. A "yes" never takes anything; for everybody else these are normal questions. Note (chat.berater_notify, profile berater_note): a new proposal to admin profiles, at most 3 a day.
  • Feedback "fixed" (chat.bewerten_back, profile rate_back): when a change after a 👎 helps, the person gets one note.
  • Proposals for a profile (chat.berater_me): from the own 👎 of the last two weeks (e.g. twice "too slow": shorter answers, instant reply), at the top of Me → Conversation; only the profile takes them, "No thanks" hides one.
  • Autopilot (chat.berater_auto): stages A and B with a green test bench and at least two reports, at most one change a day, at most three steps from the admin's value; it undoes on "worse". Never 22 to 7 o'clock, never during a Notaus; every change goes as a note to the admin profiles. Rejected proposals do not come back for 30 days. A report counts as done once the issue is closed on GitHub.
  • Display: Status → Improve (inbox, proposals, re-check, done, catalog with detectors; above them the 👍 share per group of the last 7 days), on top of the admin pages and in the iPhone app under "Needs you" "N proposals to improve wait for you" (without changing the status colour), Live node "Improve" with numbers, events "Verbessern". Journal: faelle: (kind, group, tool, number) and berater:.

The panel

On the first admin login a setup wizard walks through password, language model (with a connection test), voice (to listen to), profiles, access and features, and ends with the live check. Start it again: Status → Checks → Run setup again.

Ease of use: the search also finds description words and everyday words (alarm clock, light, backup, PIN, delete); without a hit it offers "Ask Spark". When the microphone fails, a fixed sentence names reason and way. The head under Status → Summary is red only when something really is not running; advice stands as "Open" below. Pills and marks have at least 4.5:1 contrast; on a phone small buttons and links have a larger hit area. New profiles get "Los geht's" at their first sign-in; the sign-in page says "Forgot the PIN? An admin sets a new one.". A new PIN goes into two hidden fields. "Still switch on yourself: Features → …" is a jump link. Notes only to know stand only under Status.

The menu is on the left on computers and at the bottom on phones (Assistant, Me, Status, Manage). Search (Ctrl K or ⌘ K; on phones in the assistant under "⋯" → Search at the top) finds pages, switches, settings, Me, checks, logs and guides and marks the hit. A way like "Settings → Spark → Operation" or "Me → Documents" in a hint or answer is a link there. Below are Assistant and Me, under Manage Spark the admin pages Status, Features (with Routing), People and devices (with Apps and interfaces) and Settings, each with sub-pages; a number at "Settings" counts unsaved pages. On a computer "Me" opens as a page right of the sidebar.

  • Assistent (assistant): voice chat with the language model (the own one behind the LLM-Tor); the answer as text and streamed speech sentence by sentence. Hands-free mode listens again after each answer; the space bar or "Speak" interrupts; after 8 seconds of silence the microphone goes off ("Heard nothing, microphone off"), only "Hey Spark" listens all the time. Follow-up without wake word (admin: Features → Follow-up without wake word, off by default; profile: Me → Conversation, off/4/6/8/10 seconds): after a spoken question the microphone stays open that long; never after typed questions, never for guests, never in room mode, not on ESP32 speakers ("Jarvis" on the chip). When iOS ends the microphone (lock, background, call, Siri), the panel says so and gets a fresh one next time; muted time does not count as silence.
  • Silence never becomes words (fixed rule, stille.py): at /api/test/asr (app, browser, guests) the panel measures in 30 ms pieces how long the recording is clearly above the quietest part of the room (three times the 20th percentile, about −46 to −30 dBFS). Under 0.1 s of voice it is silence; typical silence sentences ("Untertitel im Auftrag des ZDF", "Thanks for watching", "[Musik]") never count; a lone short word ("Ja", "Okay") only from 0.2 s of voice. A text made mostly of the name list of "Names for listening" (at least 3 names and 60 %, or without commas at least 8 words nearly all from the list) is never a question (stille.context_echo), also for speakers, phone, voice messages and the Dungeon table; a sentence with one or two device names goes through. Reasons silence, silence phrase, too short, context echo; browser "Heard nothing.", log chat: ignored (silence), Live "Stille überhört", never text; no sound is kept. The iPhone app leaves out its chime plus 0.25 s and sends only from 0.15 s of voice.
  • TV and other voices never become a question (fixed rule, fremdstimme.py): when the browser opens the microphone by itself, the page reports opened = barge, follow or hands; "Speak" and "Hey Spark" are never checked. (1) With a taught voiceprint and speaker recognition, the recording counts only for the profile's voice, clearly another household profile's, or when it is too short to compare; else no question, browser "Ignored a voice that is not yours, for example from the TV." (2) Without a voiceprint the page learns the room level while the Spark is quiet; barge-in only clearly above it (3.5, 2.5 or 2 times by sensitivity), follow-up and hands-free window only above twice that. Log chat: ignored (foreign voice, barge-in) from web | match 0.48 of 0.75 needed, … or chat: open microphone voice checked … | known voice, Live "Fremde Stimme überhört", never text or name. The iPhone app checks hands and barge the same way.
  • Barge-in: pause first (admin: Features → Barge-in: pause first, off by default; zwischenruf.py): without it a quarter of a second of voice ends the answer. With it the browser, Android and iPhone app only pause (fade out in 15 ms, the model keeps writing) and send the recording to /api/test/asr (opened=barge, hold=1, maybe asked=1). The panel decides with fixed words, never the model (barge): weiter (nothing, own or foreign voice, silence, listening words like "mhm", "ja", "okay", "genau"): the answer plays on. stopp (only stop words like "Stopp", "Halt", "Sei still", "stop"): the answer ends. frage (anything else, more than four words always): a new question; after an answer ending on a question even "ja" is an answer. Without a decision after 4 s the answer plays on; a tapped "Stop" always ends it. Only signed-in profiles with "Barge in" (Me → Conversation), never guests; the admin can block. Log hoeren: zwischenruf weiter | listening words | from web, Live "Ins Wort fallen: Angehalten, läuft weiter", never words. iPhone: /api/iphone/hello with barge_hold; off in the car.
  • Turn end by tone (admin: Features → Turn end by tone, off by default; satzende.py, smartturn.py on the model computer): the turn end is decided by the word list of natural turn-taking at each pause (250 ms): "fertig" at once, "offen" ("und", "weil", "ähm", a comma) up to 2 s, otherwise after 800 ms. Smart Turn v3.2 (pipecat-ai/smart-turn, BSD-2-Clause, 8 MB int8 ONNX) estimates a number 0 to 1 from the tone of the last 8 s. The switch only measures: the pause goes to /api/test/asr with turn=1, the last 8 s as a 16 kHz WAV to POST /v1/turn (port 31001), the answer waits at most 0.3 s; the next recording reports turns=<number>:<fertig|offen|neutral>:<0|1>. Log hoeren: satzende p=0.82 regel=neutral weiter=nein ms=31, state/satzende.json only four numbers, never sound, words or profile. Ends after 200 pauses or 7 days; the summary below the switch shows hits, false alarms (threshold 0.8) and possible savings (0.55 s each). Nothing is decided with it. install.sh fetches the model from the pinned PyPI package pipecat-ai 1.12.0, checks with SHA-256, keeps only the model (/opt/speech-spark/smartturn/, owned by root), the service checks before every load; no pickle, no foreign code, no transformers. Only signed-in profiles with natural turn-taking or live text (Me → Conversation) in the browser and Android app, never guests; the admin can block profiles.
  • Ignore my own voice (admin: Features → Ignore my own voice, off by default, with "What it ignores" below; profile: Me → Conversation, on once allowed): the Spark remembers in memory for 60 seconds what it said on which device (at most 20 pieces, never on disk). A recording whose word pairs come at least 60 % from that counts as silence (browser "Ignored my own voice.", iPhone "Nichts verstanden.", speaker diagnosis "Eigene Stimme überhört"). With "also everything while another device is speaking" (recommended), a recording falling at least 70 % into another device's speaking time of the same profile (plus 1 second) does not count either; the speaking device is never held back. Sentences under three words and those starting with "Spark", "Jarvis" or "Computer" always count. Only signed-in profiles, never guests. Log chat: ignored (own voice) or (speaking pause), never text. Home Assistant via Wyoming is not covered.
  • Design own voices (since V01.1.374, Dominik 2026-11-11; admin: Features → Design own voices, off by default; needs Settings → Speech output → "Also provide VoiceDesign" and "Also provide own voices"; profile: Me → Conversation → Own voice → "Voices …"): a box with three tabs opens below the row. Ready voices: 20 voices with more variety (calm and warm, factual, narrator, storyteller, butler, Bavarian, North German …), filter Woman, Man, Neutral, "▶" plays the sample, a click chooses it. Design your own: gender, age, pitch, pace and up to two kinds from fixed lists, plus up to 120 characters of own words (only letters, comma and dot); "▶ Sample" speaks the fixed example sentence, "Roll again" makes a new variant, "Take it" keeps exactly the sample heard under a name and chooses it. My voices: up to three of your own, listen, choose, delete (tap twice). VoiceDesign makes each voice only once as a short sample (3 to 15 seconds); after that the third engine "Own voices" (Base, speech-spark-tts-klon) speaks it the same in every answer and as fast as a fixed voice. If the main voice is a Base model itself, it speaks the own voices and the third engine does not run (never a weaker model beside a better one); under Status → Models VoiceDesign then shows as "ready, loads on demand". VoiceDesign itself loads only when needed and is unloaded again after tts.voicedesign_leerlauf_min minutes without a request (default 5); while it loads the page says "VoiceDesign is loading …" and the sample comes by itself. The Spark makes the 20 ready voices after the release in quiet minutes, one after the other (priority "Stimmen gestalten"). 10 samples per day and profile (the admin lifts that under People and devices, at the profile under Rights, with "Ohne Tageslimit"), never for guests. If the engine for own voices is not running, the standard voice speaks. The choice counts on all devices.
  • Own voices: the lock holds on every way (code review 2026-11-11, point 4): whether a profile may speak with a designed voice is decided by stimmdesign.stimme_ok alone (function released, one of the 20 fixed ones or its own). Speaker, Telegram and the MCP server take the profile's voice only through profiles.voice_for (before, unchecked from the settings), the chat takes a voice from the request only when the profile may speak with it, and the MCP tool speak refuses another profile's. A voice stored earlier that is no longer allowed (function off, another profile's) counts as the standard voice everywhere. GET /v1/audio/voices of the speech output names no designed voices any more (tts_proxy.ohne_eigene). When a deletion leaves the voice sample on the model computer because it does not answer (stimmdesign: loeschen ablage fehler), the panel takes it away the next time Me → Conversation → Voice is opened (stimmdesign.reste_weg: every sample eigen-… that belongs to no profile, at most 10 each time; stimmdesign: rest geloescht ok). A second "Übernehmen" while the first still stores is refused (409), so a fourth voice never appears. (🧪 test_stimmdesign)
  • Zustand (status): on top one sentence on whether everything runs, below it "Braucht dich" (needs you: update ready, unsaved settings, a service off or failing) with a button to each place; the dot next to "Status" in the menu shows the same in green, yellow or red. Sub-pages Summary, Checks (live check, quality test, benchmark, try speech recognition and speech output) and Logs. Under the sentence chips with version, last backup and last check and a button Zum offenen Punkt (to the open point); Braucht dich right below. A wide tile Antworten pro Stunde (answers per hour) shows the last 24 hours as bars (counts only, from latency.json; tapping opens Status → Logs → Requests; without any answer it is not shown; the iPhone app shows it under "Heute"). Jetzt (now) shows four tiles Zuhören (listening), Sprechen (speaking: running, off, no answer, error; model and average time), Sprachmodell (language model, per the last check) and Speicher (memory: free, with the 8 GiB line below which DGX OS ends processes). Heute (today, last 24 h) has tiles for answers, median first sound (yellow when clearly slower than the week before), speakers online (yellow when not all are reachable) and background waiting; every tile jumps to its place. The other cards stand under Bereiche (areas). GPU, CPU, the service table with start/stop are under Technische Details (folded).
  • Einstellungen (settings): sub-pages on the left, starting with At a glance (each page's state in one line, on top what a switched-on feature is missing), then Assistant (Features, Defaults, Language model), Speech (Speech recognition, Speech output, Voices) and Spark (Security, Operation, Update, Backup). Every page: title with a sentence, sections, rows with the switch or value on the right, one sentence of help, the rest behind "More", "Advanced" folded; a search field finds all settings and guides and marks the spot (also in the Me window). Features: one switch per capability in groups (conversation, my day, mail and documents, home, on the go and devices, access), each with a sentence, marks (set up under Me → …, never for guests, read only, leaves the house), a guide and indented settings that appear once it is on; each feature is first one short line to unfold. Filters All, On, Off, Needs you (on but missing e.g. SearXNG address, Wyoming addresses, Telegram token, Apple key, speaker firmware). Further pages: Defaults (for guests and new profiles), Language model, Speech recognition (Qwen3-ASR or Parakeet), Speech output, Voices, Security, Operation (memory guard, watchdog, GPU clock cap, logs, ports), Update, Backup. Each sub-page saves on its own; the bar at the bottom shows unsaved changes (with "Discard"), leaving asks first; only affected services restart.
  • Funktionen (features; its own menu entry): all switches, each with its guide (per service: what it does, what you need, setup, use, what leaves the house, switching off) and Who may do what: only functions blocked for at least one profile, with one chip per profile (tap lifts the block); without blocks "No profile is blocked. You set blocks in the function under "Who may use it"." with To the features. New blocks are set in the function under Who may use it. Guests get no function. Clicking the name jumps to the function's switch (or the switched-off function it builds on). Every change is in the admin log ("Wetter für Anna erlaubt"); a Verwalter (manager) can lift blocks too. A new profile gets everything released at once. Under Me what is off or blocked stays visible with the reason (for admins with a jump to Features or People and devices → Blocked functions). The preset for "Rückfrage ohne Weckwort" and "Eigene Stimme überhören" sits in the detail of those functions.
  • List and detail: on computers one line per function on the left, the open one on the right with explanation, marks, Guide, Wer darf es ("Who may use it: every profile · blocked: …"; "Block a profile …" opens the profile chips; applies at once, overview under People and devices → Blocked functions) and settings; only one open at a time, on phones below its line. The speed and accuracy switches have their group Tempo und Genauigkeit.
  • Me, people and apps: on computers Me looks like the settings. Gespräch (conversation) has no tabs; what the admin switched off is collected at the bottom. People and devices: the open person beside the list, devices below. Apps and interfaces: addresses and one tile per app with steps and code; the MCP and Pebble tiles show whether the function is on.
  • One shell for everybody: profiles get the same menu as the admin, without an admin role only Assistant and Me; guests the plain assistant page. A profile with the Admin or Manager role, signed in with the second step, sees the admin pages. The emergency access is the panel password via the address with #admin (e.g. https://…/#admin). "Einstellungen" is only the admin menu, the roles Admin-Rechte; the Me page Werkzeug-Verlauf, Logs → Update Update-Verlauf.
  • Ich starts with "Heute": at the top of Überblick (phone: above the page list) stand the next appointments of today and tomorrow (at most three titles, calendars with a 3 second budget, cached for 5 minutes), open reminders, unread messages, own documents and remembered facts; only for allowed functions, only numbers and short titles, never mail or message text. Below it Probier mal with up to six sentences. Endpoint GET /api/profile/today (profile login or its own app key, rate limited), also for the iPhone app.
  • Rights arrive at once: blocks and releases arrive without reloading. Open pages ask /api/whoami every minute, on coming back and on focus; its rights is a fingerprint of the rights (features.stamp, stamp in /api/features); when it changes the page reloads (never mid-conversation or after typing in the last 10 minutes; then a bar "Your functions were changed"). The iPhone app asks hello every minute in front; the Begleiter notices through rev. An ESP32 speaker checks switch, block and device every 2 seconds and disconnects otherwise (Live: "Rechte · Lautsprecher getrennt"). A confirmed MCP proposal only runs while the profile may still use MCP. A known device key with its function off (or Mein Notaus) gets 503 "Für dieses Gerät gerade ausgeschaltet" and keeps its pairing; an unknown one stays 401. MCP programs: the Spark refuses switched-off functions on every call, new ones show after the next connect.
  • Explain instead of silence: asking for something the answer may not use puts a note with the reason from fixed rules under it (intent.explain, features.reason, never the model): switched off on the Spark (admins: Under Features), blocked by the admin (no button), switched off yourself (Change under Me), needs a profile (Sign in), needs the second login step, or at a shared speaker "personal things need your recognized voice". Nothing shows when the function is offered, the question is unclear or the reason is not a switch. Log weiche: erklärt weather - spark.
  • Switching on what a function needs: every function knows its chain in features.py (the functions it builds on and their Spark switches). When a prerequisite is missing while switching on under Features, the Spark asks ""Dokumente erstellen" also needs "Eigene Dokumente". Switch them on too?"; the switches get ticked and are saved with the page. What the Spark may not switch itself or what still needs setting up it names with its way. Switching off asks "This also switches off …. Switch off anyway?". When something cannot be used in the chat, the answer names every missing switch with its way (features.missing_text), and so does the help about the Spark.
  • Personen und Geräte (people and devices): profiles and devices with a key, plus Apps and interfaces with values for Open WebUI, OpenAI-compatible apps, the Pebble watch, Siri, curl and Python. One profile in one place: at the top Guests (guest access on/off; questions and answers only). Admin roles carry a badge. Details: Access (PIN, reset the second step, admin role – main admin only –, browser Sign out), Call name, Devices, Functions ("3 of 12 on", blocked ones to lift), Rights (background jobs: off, read only, also act; No daily limit "frei"; Spark update from the iPhone app; upload space in MB) and Data (delete profile). What the Spark switched off shows as "Off on the Spark". A manager sees no rights but may sign browsers out.
  • Text fields grow with the text: every text field grows with its text up to half the window, then scrolls inside; the assistant's input up to six lines. Enter sends, Shift+Enter makes a new line (on a phone the arrow sends). From four lines ⤢ opens the large view with Done (also Esc) and Send; nothing is lost. From 80 % of the allowed length "n / max" stands below. The iPhone app does the same (up to five lines), the Android app shows the panel, the terminal asks in three to six lines.

The panel is available in English and German; the button at the top right switches (default: the browser's language).

History on every device: a profile's conversations live on the Spark. The panel, the Android app and the iPhone app send only the new messages after each answer, and the Spark appends them; when two devices ask in the same conversation, both questions stay. An open page fetches what other devices added as soon as it is in front and every 30 seconds (only changed ones, at most 120 requests per minute and profile). Only deleting replaces the Spark's copy. Questions from the Pebble watch are kept like Siri, Telegram and the companion as their own conversation per day ("Uhr 12.10."). Guests keep their history in their own browser only.

Instant history sync, one conversation for all channels, offline reading (each function off until the admin switches it on under Features; then for every profile; never guests):

  • Instant history sync: each open page keeps one event connection to the Spark (/api/profile/convos/stream, at most 8 per profile, renewed after 30 minutes). When a conversation changes on another device, the page fetches it at once; a deleted one closes. While another device answers in the open conversation, a pale "Phone is answering …" shows (only the kind of device, never the question). The live view shows only the number of these connections.
  • One conversation for all channels: Telegram, Siri, the companion, the watch and the own voice at a speaker write into today's main conversation (the first time the day needs it the newest of today that belongs to no channel alone, else "Heute DD.MM."; it stays the same all day), each message marked with its channel (white like the text in the own, blue bubble). More context, but also more foreign context. A voice that is not surely the owner's stays in the speaker's conversation.
  • Read history offline: only a browser the profile trusts at the second sign-in step keeps a copy of the last 30 conversations and the page. Without a connection the panel opens it for reading; questions without a connection (at most 10) go out once the Spark answers, each into its conversation. Every other browser stores nothing and deletes what it had the next time it opens; signing out always deletes.

Device instead of profile as the key (fixed rules): whatever waits on an answer belongs to device and conversation (profiles.quelle; device profiles.geraet: the device key, in a browser a hash of its login). The "yes" to proposals, the command waiting for the code word, questions back and the short follow-up hang on it. Two devices or conversations never confirm each other. A "yes" for which nothing waits here, while something waits elsewhere or was replaced, carries out nothing, and the assistant says so (chat_turn.YES_ELSEWHERE, log chat: ja ohne vorschlag hier | ersetzt|anderes geraet). One open proposal per profile and module applies.

  • Notes to the device in use: each device reports for itself, a page with its tab; an idle second window never outvotes the one in use, a hidden tab marks only itself away, and a note counts as seen only on the browser whose push subscription it went to (else it follows to the phone).
  • Today's main conversation: fixed and kept the first time it is needed (users/<id>/hauptgespraech.json, only the day and the id); answers from Telegram, speaker, watch, Siri, companion and the cards of Open land there all day, also when a topic conversation changes later. Deleted, the next need fixes a new one.
  • Siri and companion: the short follow-up (10 minutes) is per device; PC and Mac, iPhone and iPad never get each other's history.
  • Instant sync: when a profile opens more than 8 pages, the oldest one's connection ends with the event "verdraengt"; the page connects again after a minute.

Self-test test_geraet_statt_profil.

Always, without a switch: sources, document passages and created documents under an answer are kept with it and show again on every device. The iPhone app fetches what is new when opened and during a conversation.

All functions

Every function of the Spark with its switch, what it builds on, where you set it up and what it does (the first sentence of its guide). hilfe.py --docs writes this list from features.py and the guides, so a new function stands here and in the help by itself.

Conversation

  • Web search (Features → Conversation → "Web search"): When a question needs current information (news, opening hours, prices), the assistant searches the web itself and answers from the results.

  • Faster web search (Features → Conversation → "Faster web search"; builds on "Web search"): The web search no longer waits for the slowest page: each page gets at most 3 seconds, what is not there by then stays the short snippet from the result list.

  • Wikipedia straight away (Features → Conversation → "Wikipedia straight away"; Me → Conversation): For knowledge questions the Spark fetches the intro of the matching Wikipedia article and gives only that to the language model.

  • Own Kiwix archive (Features → Conversation → "Own Kiwix archive"; Me → Conversation): The Spark looks things up in your own kiwix-serve: knowledge questions first in its Wikipedia books, "Look in my archive …" in the full text of all chosen books, "Tell me more" reads up to three parts of an article.

  • Look locally first (Features → Conversation → "Look locally first"; Me → Conversation): Whether a question belongs to your own data, the web or both is decided by the source switch with fixed rules (never the model); what no rule knows it checks with a short look in your Find index.

  • Source note (Features → Conversation → "Source note"; Me → Conversation): Under every answer that wants to know something it says where it came from: "Source: 2 mails, Read appointments, Web search" or "nothing looked up, model knowledge only".

  • Say the source in conversation (Features → Conversation → "Say the source in conversation"; builds on "Source note"; Me → Conversation): At a speaker, on the phone, the watch, via Siri and in the car you see no line under the answer.

  • Roles by voice (Features → Conversation → "Roles by voice"; Me → Conversation): You save up to 8 roles, such as "Butler" or "Explainer", and switch by voice.

  • Own conversation style (Features → Conversation → "Own conversation style"; Me → Conversation): Each profile says in its own words how the assistant should talk to it: form of address, tone, form, e.g.

  • Follow-up without wake word (Features → Conversation → "Follow-up without wake word"; Me → Conversation): After answering a spoken question the assistant keeps listening for a few seconds, so "And tomorrow?" or "Make it brighter" works without another "Hey Spark".

  • Ignore my own voice (Features → Conversation → "Ignore my own voice"; Me → Conversation): Every device only filters its own echo.

  • Design own voices (Features → Conversation → "Design own voices"; Me → Conversation): The answer voice is no longer only the fixed speaker list: 20 ready voices with more variety (calm, lively, narrator, butler, Bavarian …) and up to three of your own, designed from fixed fields and a few own words.

  • Barge-in: pause first (Features → Conversation → "Barge-in: pause first"; Me → Conversation): Without this switch a quarter of a second of voice ends the answer, a cough or a "mhm" too.

  • Turn end by tone (Features → Conversation → "Turn end by tone"; Me → Conversation): Today a word list decides whether your sentence is finished: when it ends on "and", "because" or "um", the assistant waits longer.

  • Learning from corrections (Features → Conversation → "Learning from corrections"; builds on "Memory"; Me → Conversation): If you correct the assistant ("No, my brother is called Tim", "You should always check the calendar for appointments"), it turns this into a short sentence and asks: "Shall I remember …?" It is stored only after your "yes", in your memory.

  • Ask instead of guessing (Features → Conversation → "Ask instead of guessing"; Me → Conversation): If a command fits several devices ("Turn on the TV in the living room", with a TV and an Apple TV box there), the assistant does not guess: it asks "Which one do you mean?" and shows the fitting devices as buttons.

  • Remember the choice (Features → Conversation → "Remember the choice"; builds on "Ask instead of guessing"; Me → Conversation): After your choice the assistant asks: "Shall I remember that ‘TV in the living room’ is the Samsung?" After "yes" the same sentence switches that device straight away.

  • Ask which way (Features → Conversation → "Ask which way"; builds on "Ask instead of guessing"): If a wish could go two ways that both change something ("Write Tom a mail that I am late": mail or message at home; "Meeting Anna tomorrow at 3": appointment or reminder), the assistant asks first: "Should I, first send it as an e-mail, …

  • Show steps and approvals (Features → Conversation → "Show steps and approvals"): Below every answer a folded line shows which tools the assistant used, e.g.

  • Picture recognition (Features → Conversation → "Picture recognition"; Me → Conversation): You attach a photo and ask about it: "What plant is this?", "What does the sign say?", "What does the error message mean?".

  • Exact calculations (Features → Conversation → "Exact calculations"): A language model is bad at arithmetic.

  • Conversations by topic (Features → Conversation → "Conversations by topic"): Every topic gets its own conversation.

  • Help with the Spark (Features → Conversation → "Help with the Spark"; Me → Conversation): When you ask the assistant about the Spark itself ("What does targeted tool choice do?", "Where do I set the voice?"), it looks in the Spark's guides, switches and docs and answers from them, with the path in the panel and whether it is …

  • Suggesting settings (Features → Conversation → "Suggesting settings"; builds on "Help with the Spark"; Me → Conversation): When a setting fits your question, the assistant shows a card below the answer: which switches, before and after.

  • Ask Spark on every page (Features → Conversation → "Ask Spark on every page"; builds on "Help with the Spark"; Me → Conversation): The sign "Ask Spark" at the top (on a computer next to "Spark" in the side menu, on a phone in the top bar) is the assistant on every page.

  • Suggesting functions (Features → Conversation → "Suggesting functions"; builds on "Help with the Spark"; Me → Conversation): When you ask for something that is still off for you ("What is on my calendar today?" with the calendar off), the assistant says so plainly and shows "Set up" below.

  • You can also say (Features → Conversation → "You can also say"; builds on "Suggesting functions"; Me → What I can do): The assistant shows functions that are on for you but that you never used, each with a sentence you can say as it stands.

  • Tips while talking (Features → Conversation → "Tips while talking"; builds on "You can also say"; Me → Conversation): At a speaker, on the phone, in the car and at the watch there are no buttons.

  • Natural conversation (Features → Conversation → "Natural conversation"; Me → Conversation): In voice mode a conversation should not be just question and answer.

  • Priority for people (Features → Conversation → "Priority for people"): When several people talk to the Spark at once, chosen profiles get their answer first.

  • Note when a service is missing (Features → Conversation → "Note when a service is missing"; builds on "Service watch"; Me → Conversation): When the service watch sees a service gone, the assistant says so at once when somebody needs it, e.g.

  • Instant history sync (Features → Conversation → "Instant history sync"; Me → Conversation): What you ask on one device shows up at once in the open panel on your other devices, without reloading; a deleted conversation disappears there at once.

  • One conversation for all channels (Features → Conversation → "One conversation for all channels"; Me → Conversation): Telegram, Siri, the companion, the watch and your voice at a speaker write into today's main conversation instead of their own conversation per day.

  • Read history offline (Features → Conversation → "Read history offline"; Me → Conversation): A browser you trust at the second sign-in step ("trust this browser") keeps a copy of your last 30 conversations.

  • Settings assistant (Features → Conversation → "Settings assistant"): Whatever goes wrong becomes a case: a tool fails, an error, a question no rule recognizes that ends in the web search, a refusal ("I cannot"), the same question twice, a 👎 or "Wrongly sorted" on the Weiche.

  • Explain requests (Features → Conversation → "Explain requests"; builds on "Settings assistant"): Under Status → Logs → Requests a button explains a request in fixed sentences: which intent the Weiche saw, which tools ran, where it got stuck.

  • Ask the assistant for proposals (Features → Conversation → "Ask the assistant for proposals"; builds on "Settings assistant"; Me → Conversation): Admin profiles ask "What does the settings assistant propose?" and hear the open proposals.

  • Note on a new proposal (Features → Conversation → "Note on a new proposal"; builds on "Settings assistant"; Me → Conversation): When a new proposal comes, admin profiles get a short note with its title, at most three a day.

  • Prepare cases as reports (Features → Conversation → "Prepare cases as reports"; builds on "Settings assistant"): When nothing from the catalog helps, the case becomes a draft under Reporting problems, with fixed sentences and a preview before sending.

  • Autopilot for small changes (Features → Conversation → "Autopilot for small changes"; builds on "Settings assistant"): He takes stage A and B with a green test bench and at least two reports himself: one a day, at most three steps, back when it gets worse.

  • Ideas outside the catalog (Features → Conversation → "Ideas outside the catalog"; builds on "Settings assistant"): When the fixed catalog has nothing for a case, the local language model writes an idea: text, at most one setting with a jump link and steps to copy.

  • Analyse a case (Features → Conversation → "Analyse a case"; builds on "Settings assistant"): The local language model reads a case and picks a rule from fixed templates: must word, tool hint, extra tool for a group, word or test sentence for the Weiche.

  • Undo automatically (Features → Conversation → "Undo automatically"; builds on "Settings assistant"): The re-check looks at every taken change after its waiting time: when the case came back, a test sentence turned red or the 👍 share of its group fell by at least 15 points (from 10 ratings before and after), the result is "worse".

  • Steps for the environment (Features → Conversation → "Steps for the environment"; builds on "Settings assistant"): When a service outside the Spark is the cause (search, wiki, NAS, network), the proposal shows steps to copy.

  • Proposals for my profile (Features → Conversation → "Proposals for my profile"; builds on "Settings assistant"; Me → Conversation): A profile's own 👎 lead to proposals for its settings, e.g.

  • 👍/👎 under answers (Features → Conversation → "👍/👎 under answers"; builds on "Settings assistant"; Me → Conversation): Under every answer 👍 or 👎.

  • "Why?" for every profile (Features → Conversation → ""Why?" for every profile"; builds on "Settings assistant"; Me → Conversation): When you ask "Why did you just search the web?" or "Why didn't you look it up?", the Spark explains the way of its last answer: how it understood the question and where it looked, in fixed plain sentences, without rules, tool names or se …

  • Spark diary (Features → Conversation → "Spark diary"; Me → Conversation): The Spark notes what it did for you itself: devices switched, reminders set, mail drafts saved, documents made, files put on the reMarkable, messages sent.

  • Status by voice (Features → Conversation → "Status by voice"): When you ask "Is everything running?", "Is Home Assistant reachable?", "When was the last backup?", "Is there an update?", "Is the emergency stop on?" or "Is my mailbox connected?", the Spark reads its own state and answers only from it …

  • Undo by voice (Features → Conversation → "Undo by voice"): When you say "Undo that", the Spark proposes to take back its last deed for you: delete a reminder, remove a list entry, forget a note, take an appointment out again, switch a device back, set the volume back, the pause of notes, restore …

  • Feedback when it is fixed (Features → Conversation → "Feedback when it is fixed"; builds on "👍/👎 under answers"; Me → Conversation): When a change helps after your 👎, the assistant tells you once.

Speed and accuracy

  • Thinking while choosing tools (Features → Speed and accuracy → "Thinking while choosing tools"; Me → Conversation): The model thinks briefly before it picks a tool (calendar, mail, web search …).

  • Targeted tool choice (Features → Speed and accuracy → "Targeted tool choice"; Me → Conversation): Fixed rules in the panel recognize from your own words what it is about (smart home, appointment, mail, web search, reminder, list, weather …).

  • Fetch clear questions directly (Features → Speed and accuracy → "Fetch clear questions directly"; Me → Conversation): For short, clear questions the panel calls the matching tool itself, by fixed rules: "Do I have new mail?" (mail list), "Which reminders do I have?", "What is the weather like?" (today, at home), "Where is my parcel?" and "Which appointm …

  • Names for listening (Features → Speed and accuracy → "Names for listening"): The speech recognition gets a short list of names with every recording: all profiles, the profile's contacts and the rooms and devices from its Home Assistant.

  • Answer simple things at once (Features → Speed and accuracy → "Answer simple things at once"): The panel answers a few simple questions itself with a fixed sentence, without the language model: the time ("What time is it?"), the date and weekday ("What day is it today?"), calculations with brackets, percent and roots ("What is 17 …

  • Trim a large memory (Features → Speed and accuracy → "Trim a large memory"): When the Spark has remembered a lot for a profile (more than about 6000 characters), the language model only gets the newest facts as a fixed part plus at most five older ones that share words with the question.

  • Reading tools at the same time (Features → Speed and accuracy → "Reading tools at the same time"): When you ask for several things at once, e.g.

  • Summarize long conversations (Features → Speed and accuracy → "Summarize long conversations"): The language model only gets the newest messages of a conversation, about 24,000 characters.

  • Instant acknowledgement (Features → Speed and accuracy → "Instant acknowledgement"; builds on "Targeted tool choice"; Me → Conversation): Right after your question the Spark says in a short sentence what it is doing now, for example "Let me check your calendar." or "Let me search the web.".

  • Tune the switch (Features → Speed and accuracy → "Tune the switch"; builds on "Targeted tool choice"): On Features → Routing, "Tune" starts a run: the language model proposes up to 6 words for groups that everyday sentences often miss.

  • Keep unclear questions anonymously (Features → Speed and accuracy → "Keep unclear questions anonymously"; builds on "Targeted tool choice"; Me → Conversation): Questions no rule of the switch recognizes are listed on Features → Routing under "unclear": without names, numbers, addresses and codes, never with profile, device or time.

  • Fetch ahead on a question back (Features → Speed and accuracy → "Fetch ahead on a question back"; builds on "Targeted tool choice"; Me → Conversation): When an answer ends with a question back ("For which day?"), the panel already fetches what the next answer will most likely need: the calendar of the next days, the newest mails, the weather at home or parcels.

  • Classification with probabilities (Features → Speed and accuracy → "Classification with probabilities"; Me → Conversation): The language model on the Spark answers fixed questions of the panel with probabilities instead of text (/v1/systemone of the LLM-Tor).

  • Classification when tidying the inbox (Features → Speed and accuracy → "Classification when tidying the inbox"; builds on "Classification with probabilities"; Me → Conversation): Mails no fixed rule sorts while tidying get their category with a real probability.

  • Classification in the quality test (Features → Speed and accuracy → "Classification in the quality test"; builds on "Classification with probabilities"): The quality test (Status → Checks) gets a second opinion per question: how well the answer answers it (0 to 2) and how likely it makes something up.

  • Classification in the settings assistant (Features → Speed and accuracy → "Classification in the settings assistant"; builds on "Classification with probabilities"): The settings assistant picks the fitting proposal for a case from its fixed catalog.

  • Check answers in the background (Features → Speed and accuracy → "Check answers in the background"; builds on "Classification with probabilities"; Me → Conversation): After an answer for which tools ran, the panel asks in the background whether the answer names details that are in no result.

  • Mark answers that are not backed up (Features → Speed and accuracy → "Mark answers that are not backed up"; builds on "Check answers in the background"; Me → Conversation): If the background check holds an answer for made up (from 90 %), "Not backed up, please check" stands under it with "Look again": the same question once more, the first round must call a tool, and the answer rests only on its result.

  • Recognize complaints (Features → Speed and accuracy → "Recognize complaints"; builds on "Classification with probabilities"; Me → Conversation): When somebody says "still does not work" or "it is still on" right after a deed, the panel recognizes it from a fixed word list, otherwise with the classification from 80 %.

  • Helper model (Features → Speed and accuracy → "Helper model"): A small, fast language model (Qwen3 4B) on the model computer takes simple work off the big language model: fixed questions with a fixed answer list (classification) for routing, the dungeon judge and narrator test bench and mail (tidyin …

  • Helper model spots attacks (Features → Speed and accuracy → "Helper model spots attacks"; builds on "Helper model"): After an answer for which a tool read outside text (web, mail, document, calendar), the panel asks the helper model in the background whether that text held an order to the assistant.

My data

  • Memory (Features → My data → "Memory"; Me → Memory): The assistant remembers things about you, such as names, preferences or where something is, and uses them later.

  • Memory check (Features → My data → "Memory check"; builds on "Memory"; Me → Memory): Every entry in the memory keeps where it came from (from you in a conversation, from a correction, learned automatically, changed here), which conversation and when you last confirmed it.

  • Memory check-back (Features → My data → "Memory check-back"; builds on "Memory check"; Me → Conversation): When an entry the check marked as maybe out of date fits your question, the Spark asks once after the answer: "Quick check: is this still right: …?" Whether and when, the panel decides with fixed rules, never the language model.

  • Memory topics (Features → My data → "Memory topics"; builds on "Memory check"; Me → Memory): Under Me → Memory the entries are in groups: person, home, on the move, work, health, right now, other.

  • Remembered note (Features → My data → "Remembered note"; builds on "Memory"; Me → Memory): When the assistant remembers something in a conversation, "✓ Remembered: …" stands under the answer with "Undo" and "Show".

  • Past conversations (Features → My data → "Past conversations"; Me → Conversation): You can ask about past conversations.

  • Own documents (Features → My data → "Own documents"; Me → Documents): You upload documents, the assistant searches them when a question fits.

  • Read pictures and scans (Features → My data → "Read pictures and scans"; builds on "Own documents"; Me → Documents): Photos (invoice, rating plate, whiteboard) and PDF pages without text go into your documents.

  • Meaning search (Features → My data → "Meaning search"; builds on "Own documents"; Me → Documents): The document search finds not only the same words but also passages with a similar meaning: "car insurance" finds "motor liability", "when do I have to cancel" finds "notice period".

  • Keep originals (Features → My data → "Keep originals"; builds on "Own documents"; Me → Documents): The uploaded file stays on the Spark (photos made smaller, without location or camera data).

  • Read long documents at night (Features → My data → "Read long documents at night"; builds on "Own documents"; Me → Documents): By day the Spark reads only short documents (up to 10 pages) in quiet moments.

  • Shared documents (Features → My data → "Shared documents"; builds on "Own documents"; Me → Documents): A profile shares single documents with "For everyone", for example manuals.

  • Sharing with profiles (Features → My data → "Sharing with profiles"; Me → Shared): A profile shares a document with single other profiles, for example the lease with the partner.

  • Note on shared things (Features → My data → "Note on shared things"; builds on "Sharing with profiles"; Me → Shared): When someone shares something with you, a note comes to the device you use right now: "Anna shared something with you", without the title.

  • Docling server (Features → My data → "Docling server"; builds on "Own documents"; Me → Documents): A Docling server in your own network reads uploaded PDF, Word, PowerPoint and Excel files and scans a second time, in quiet moments.

  • reMarkable notes (Features → My data → "reMarkable notes"; builds on "Read pictures and scans"; Me → reMarkable): You connect your my.remarkable account.

  • Sending to the reMarkable (Features → My data → "Sending to the reMarkable"; builds on "reMarkable notes"; Me → reMarkable): Below every answer there is "To the reMarkable"; a click puts it as a new document into the folder "Spark".

  • Newest first (Features → My data → "Newest first"; builds on "reMarkable notes"; Me → reMarkable): With similar hits in your documents and reMarkable notes the assistant takes the newer one and names its date.

  • Morning sheet (Features → My data → "Morning sheet"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • @Spark on paper (Features → My data → "@Spark on paper"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Tasks from the reMarkable (Features → My data → "Tasks from the reMarkable"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Meeting summaries (Features → My data → "Meeting summaries"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Week in review (Features → My data → "Week in review"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Web pages and attachments to the reMarkable (Features → My data → "Web pages and attachments to the reMarkable"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Daily inbox (Features → My data → "Daily inbox"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Spark guide on the reMarkable (Features → My data → "Spark guide on the reMarkable"; builds on "Sending to the reMarkable"; Me → reMarkable): A morning sheet with appointments and lines for notes, answers to "@Spark" questions on paper, tasks from handwriting, meeting summaries, a week in review, web pages and mail attachments, one inbox per day and a Spark guide that keeps it …

  • Designed sheets to tick (Features → My data → "Designed sheets to tick"; builds on "Sending to the reMarkable"; Me → reMarkable): What the Spark puts on the reMarkable comes as a designed sheet exactly in your device’s format (reMarkable 1 and 2, Paper Pro, Paper Pro Move), with "Kann weg" at the top right: tick it and the Spark puts it into the trash.

  • Folders by kind (Features → My data → "Folders by kind"; builds on "Sending to the reMarkable"; Me → reMarkable): What the Spark puts on the reMarkable comes as a designed sheet exactly in your device’s format (reMarkable 1 and 2, Paper Pro, Paper Pro Move), with "Kann weg" at the top right: tick it and the Spark puts it into the trash.

  • Tidy up by itself (Features → My data → "Tidy up by itself"; builds on "Folders by kind"; Me → reMarkable): What the Spark puts on the reMarkable comes as a designed sheet exactly in your device’s format (reMarkable 1 and 2, Paper Pro, Paper Pro Move), with "Kann weg" at the top right: tick it and the Spark puts it into the trash.

  • Task sheet to tick (Features → My data → "Task sheet to tick"; builds on "Designed sheets to tick"; Me → reMarkable): A living sheet in the folder "Aufgaben" with what is open: tasks from your notes (remind, remove, later), memory entries that may no longer be true (true, not true) and proposals for your settings.

  • Creating documents (Features → My data → "Creating documents"; builds on "Own documents"; Me → Documents): On request the Spark writes a letter, report, minutes, a note, invitation, presentation or spreadsheet and puts the file under Me → Documents (Word, PDF, PowerPoint, Excel, Markdown, text or CSV).

  • Fill PDF forms (Features → My data → "Fill PDF forms"; builds on "Own documents"; Me → Documents): A PDF form (registration, application, consent) under Me → Documents or attached to a mail: "Fill in" shows every field with what the Spark proposes by fixed rules (first name, last name, e-mail from the profile and the mailbox, town, jo …

  • Own templates (Features → My data → "Own templates"; builds on "Creating documents"; Me → Documents): Profiles upload own Word or PowerPoint templates (.docx, .dotx, .pptx, .potx).

  • Pictures from the Kiwix (Features → My data → "Pictures from the Kiwix"; builds on "Creating documents"; Me → Documents): For the title slide and "Picture and text" slides the Spark fetches a fitting picture from the Wikipedia in your own Kiwix.

  • Painting pictures (Features → My data → "Painting pictures"; Me → Pictures): On request the Spark paints a picture, a drawing, a logo or a colouring page, itself and without the internet, with FLUX.2 [klein] by Black Forest Labs.

  • Changing pictures (Features → My data → "Changing pictures"; builds on "Painting pictures"; Me → Pictures): The Spark changes an own photo or a painted picture after your sentence, itself and without the internet, with the same FLUX.2 [klein] as for painting: sky blue, as a watercolour, add or remove a thing.

  • Making music (Features → My data → "Making music"; Me → Music): The Spark makes a song or piece of music on request, itself and without the internet, with ACE-Step 1.5 on the model computer.

  • Editing music (Features → My data → "Editing music"; builds on "Making music"; Me → Music): The Spark edits a song under Me → Music, itself and without the internet, with the same ACE-Step as for making: make a section new, extend at the front or back, change the music style (rock, jazz, reggae, …, you decide how close to the o …

  • AI Dungeon Master (Features → My data → "AI Dungeon Master"; Dungeon Master → Settings): A role-playing game for up to five players: under Dungeon Master (its own menu entry) you start a round, pick world, tone (from 8, 12 or 16) and turn time and invite by seat link or QR code, also people without a profile.

  • Pictures and hero song (Features → My data → "Pictures and hero song"; builds on "AI Dungeon Master"; Dungeon Master → Settings): Every item and spell of the Dungeon Master gets a painted picture instead of only a sign: weapons, armour, jewellery, potions, spells, scrolls and tools, peoples, classes, abilities and foes too, your own catalog entries too, per world i …

  • Second check by the model (Features → My data → "Second check by the model"; builds on "AI Dungeon Master"; Dungeon Master → Settings): After every turn the Spark first checks the narration with fixed rules.

  • Guests with e-mail (Features → My data → "Guests with e-mail"; builds on "AI Dungeon Master"; Dungeon Master → Settings): Guests at the Dungeon Master's table can keep their heroes: they type their e-mail address, get a 6-digit code (valid 10 minutes) and with it a guest account with up to 8 heroes, also on another device.

  • Chronicle and hero book (Features → My data → "Chronicle and hero book"; builds on "AI Dungeon Master"; Dungeon Master → Settings): When the host closes a chapter, the Spark writes a page into the campaign's book: cover, the story so far, the heroes with people, class, level and scars, the honours of the evening, the writings for everyone and the places of the map.

  • Own stories and import (Features → My data → "Own stories and import"; builds on "AI Dungeon Master"; Dungeon Master → Settings): Every story card when you start a round has "⋯": Edit (title, idea, tone, acts in the story planner's form), Copy and Delete.

  • Test benches (Features → My data → "Test benches"; builds on "AI Dungeon Master"; Dungeon Master → Settings): The Spark plays fights of the AI Dungeon Master by itself, with the real rules and dice and the catalog including your own rules, without the language model: per level 1 to 10 and group size 1 to 5, 200 fights of danger "medium" each.

  • Document card and tags (Features → My data → "Document card and tags"; builds on "Own documents"; Me → Documents): In quiet minutes (or at night) the language model reads the beginning of each document once and notes a card: title, kind, sender, date, deadline, number and 3 to 6 keywords.

  • Analyses (Features → My data → "Analyses"; builds on "Own documents"; Me → Documents): Every own document gets the sheet Analyses in its details under Me → Documents: summary and key points are made by themselves in quiet minutes; questions on the text, contents, deadlines and people you make per click.

  • Transcribe recordings (Features → My data → "Transcribe recordings"; builds on "Own documents"; Me → Documents): Audio and video files (mp3, m4a, aac, wav, ogg, opus, flac, webm, mp4, mov, mkv) are uploaded under Me → Documents like a PDF.

  • Links as documents (Features → My data → "Links as documents"; builds on "Own documents"; Me → Documents): Under Me → Documents → "Add link" (at the top beside "+ Add") you enter up to 10 addresses at once (one per line), or you tell the assistant "Save https://… as a document".

  • Transcribe YouTube links (Features → My data → "Transcribe YouTube links"; builds on "Transcribe recordings"; Me → Documents): A YouTube link under Me → Documents → "Add link" (or "Save https://youtu.be/… as a document") becomes no page document: the Spark fetches only the video's sound track and transcribes it like an uploaded recording, with time marks ("at 12 …

  • Search check (Features → My data → "Search check"; builds on "Own documents"; Me → Documents): Test questions with a known right place show how often the search in your documents finds the right thing.

  • Re-rank hits (Features → My data → "Re-rank hits"; builds on "Own documents"; Me → Documents): The document search mixes word search and meaning search and so finds 30 candidates.

  • Knowledge book (Features → My data → "Knowledge book"; builds on "Own documents"; Knowledge book → Settings): The Spark works each of your documents once into pages, such as "Car", "Insurance" or "Garage Müller", and writes short sentences there, each with its source.

  • Knowledge map (Features → My data → "Knowledge map"; builds on "Knowledge book"; Knowledge book → Settings): The pages of your knowledge book become points on a map, and the Spark connects them: "Golf insured with Nordstern", "parking damage raises the premium, +18 %".

  • People, companies and deadlines (Features → My data → "People, companies and deadlines"; builds on "Knowledge map"; Knowledge book → Settings): People, companies, places, contracts, accounts and deadlines from your documents become points of their own on the knowledge map, such as "Nordstern Versicherung", "José García" or "30.09.2026", each with the passages where it stands and …

  • Map helps the search (Features → My data → "Map helps the search"; builds on "People, companies and deadlines"; Knowledge book → Settings): When you ask about something in your documents, the Spark searches not only for your words and their meaning but also over the knowledge map: if your words name a person, company, place, contract, account or deadline, the passages where …

  • Collections (Features → My data → "Collections"; builds on "Own documents"; Collections): A collection bundles documents, knowledge book pages and notes for one undertaking, such as buying a house or taxes.

  • Audio overview (Features → My data → "Audio overview"; builds on "Collections"; Collections): From a collection a talk to listen to: under Collections → a collection → Audio overview you choose the length (5, 10 or 20 minutes) and two or three voices (A host, B expert, C questions) and tap "Make".

  • Audio overview as a discussion (Features → My data → "Audio overview as a discussion"; builds on "Audio overview"; Collections): The audio overview becomes a real talk instead of one sentence after the other: first the language model only plans the chapters (opening, then claims, points of dispute, examples or a turning point, at the end the conclusion) with the p …

  • Find in all data (Features → My data → "Find in all data"; Find → Settings): A search index over your own things: documents, knowledge folders on the NAS, reMarkable and the knowledge book, with "Find mail and attachments" also every mail, with the further sub-switches appointments, contacts, past conversations, …

  • Find mail and attachments (Features → My data → "Find mail and attachments"; builds on "Find in all data"; Find → Settings): Find reads all your mail: the inbox, archive and sent folder of every mailbox, the newest first, with no upper limit.

  • Find appointments (Features → My data → "Find appointments"; builds on "Find in all data"; Find → Settings): Find takes the appointments of your own calendars into the search index: title, place and description, sealed like mail (only marks and AES-GCM).

  • Find contacts (Features → My data → "Find contacts"; builds on "Find in all data"; Find → Settings): Find takes name, company, position and town of every contact card into the search index, sealed like mail; never phone numbers, mail addresses or streets.

  • Find conversations (Features → My data → "Find conversations"; builds on "Find in all data"; Find → Settings): Find also shows past conversations with the assistant, also over Telegram, Siri or the watch.

  • Find lists and reminders (Features → My data → "Find lists and reminders"; builds on "Find in all data"; Find → Settings): Find takes your lists on the Spark (shopping, tasks, own ones) with open and done entries and every reminder into the search index.

  • Find pictures and songs (Features → My data → "Find pictures and songs"; builds on "Find in all data"; Find → Settings): Find takes your painted pictures, photos and songs into the search index by their wish, description and lyrics.

  • Tags by the model (Features → My data → "Tags by the model"; builds on "Find in all data"; Find → Settings): In quiet minutes the language model reads one entry of your search index after another and proposes categories from the fixed list, people, companies, places and a few free tags.

  • Test questions by the Spark (Features → My data → "Test questions by the Spark"; builds on "Search check"; Me → Documents): So the search check has enough questions, the language model writes, in quiet minutes, a question about a random place in your documents that only this place answers, in its own words.

  • Storage and NAS (Features → My data → "Storage and NAS"; Me → Storage): Under Me → Storage you connect every place once: your NAS (Synology, QNAP, Fritzbox), a cloud with WebDAV (Nextcloud, ownCloud, HiDrive, MagentaCLOUD) or an SFTP server.

  • Copy of my data (Features → My data → "Copy of my data"; builds on "Storage and NAS"; Me → Storage): An encrypted copy of your data at one of your places (NAS, cloud with WebDAV, SFTP, SMB share at home) or in a folder the admin mounted on the Spark (NFS, SMB, USB disk).

  • Knowledge folders (Features → My data → "Knowledge folders"; builds on "Storage and NAS"; Me → Storage): You pick folders on your NAS or cloud, e.g.

  • Household folder (Features → My data → "Household folder"; builds on "Knowledge folders"; Me → Storage): A folder on the NAS for everyone in the household, e.g.

  • Filing folder (Features → My data → "Filing folder"; builds on "Storage and NAS"; Me → Storage): A folder "spark_ablage" on your NAS at home is the only place the Spark writes to.

  • NAS status (Features → My data → "NAS status"; builds on "Storage and NAS"): Every few minutes the Spark reads how your NAS is doing: use of the volumes, how much of the storage pool is given to volumes (that is not "full"), USB disks on the NAS, RAID, state and temperature of the disks, system temperature, fans, …

  • Storage in the home network (Features → My data → "Storage in the home network"; builds on "Copy of my data"; Me → Storage): Profiles may use places with addresses in the home network for their copy (NAS, Fritzbox, Nextcloud at home).

  • Folder on the Spark (Features → My data → "Folder on the Spark"; builds on "Copy of my data"; Me → Storage): Profiles put their copy in a subfolder of a folder you mounted on the Spark, e.g.

  • Move originals out (Features → My data → "Move originals out"; builds on "Copy of my data"; Me → Storage): Originals of documents neither changed nor opened for 30 days live only in the copy at your place; that saves space on the Spark.

My day

  • Suggesting functions by itself (Features → My day → "Suggesting functions by itself"; builds on "Speaking up by itself"; Me → By itself): At most once a week a suggestion arrives under "By itself" as a notification, e.g.

  • Speaking up by itself (Features → My day → "Speaking up by itself"; Me → By itself): The assistant speaks up when something is really up: before appointments, on your own smart-home rules, mails from chosen senders, tomorrow's weather, birthdays, parcels, a follow-up or a greeting.

  • Instant notes from Home Assistant (Features → My day → "Instant notes from Home Assistant"; builds on "Speaking up by itself"; Me → By itself): Your smart home rules listen to Home Assistant directly instead of looking once a minute.

  • House notes on speakers (Features → My day → "House notes on speakers"; builds on "Speaking up by itself"; Me → By itself): A rule or an event from Home Assistant also says its own sentence aloud on chosen speakers, e.g.

  • Home Assistant tells the Spark (Features → My day → "Home Assistant tells the Spark"; builds on "Speaking up by itself"; Me → By itself): Home Assistant sends the Spark an event, e.g.

  • Smart home rule by voice (Features → My day → "Smart home rule by voice"; builds on "Speaking up by itself"; Me → By itself): "Tell me when someone is at the front door" or "Let me know when Anna comes home": the Spark finds the device, names the rule and adds it after your "yes".

  • Recognize important mail (Features → My day → "Recognize important mail"; builds on "Speaking up by itself"; E-mail → Settings): Speaking up by itself otherwise only names new mail from senders on your list.

  • Describe a camera picture (Features → My day → "Describe a camera picture"; builds on "Speaking up by itself"; Me → By itself): When a rule applies, the Spark fetches a still picture of a camera from Home Assistant and lets the local language model say in a few words what is seen, e.g.

  • Timers and reminders (Features → My day → "Timers and reminders"): Timers and reminders by voice.

  • Notes to the device in use (Features → My day → "Notes to the device in use"; builds on "Timers and reminders"): A note (reminder, by itself, job, service watch …) goes to the device you are using right now: the open page you typed or clicked on in the last two minutes, the iPhone or Android app in front, or the Spark companion on the computer you …

  • Everything open in the assistant (Features → My day → "Everything open in the assistant"; builds on "Timers and reminders"; Open → Settings): What needs you comes as a card with buttons into the day's conversation: urgent finds from "For you" (bill, contract, reply, suspicion) and reminders that rang.

  • Lists for shopping and tasks (Features → My day → "Lists for shopping and tasks"; Lists → Settings): The page Lists in the menu: shopping, tasks and your own lists (DIY store, holiday, …).

  • Share lists (Features → My day → "Share lists"; builds on "Lists for shopping and tasks"; Lists → Settings): You share one of your lists with another profile: on the page Lists at the list "⋯" → "Share …" and per person "See" or "Write along" (put on and tick off).

  • Note on new entries (Features → My day → "Note on new entries"; builds on "Share lists"; Lists → Settings): You share one of your lists with another profile: on the page Lists at the list "⋯" → "Share …" and per person "See" or "Write along" (put on and tick off).

  • Lists in Reminders (Features → My day → "Lists in Reminders"; builds on "Lists for shopping and tasks"; Lists → Settings): Your lists on the Spark (shopping, tasks, own lists) show in the iPhone's Reminders app, through the same access as your Spark calendars.

  • Write link (Features → My day → "Write link"; builds on "Lists for shopping and tasks"; Lists → Settings): A link for people without a profile, such as visitors, grandparents or the cleaner: whoever opens it puts something on one of your lists, with a name if they like.

  • My status (Features → My day → "My status"; Me → My status): Under Me → My status you see what the Spark does for you in the background: reading documents, meaning search, document cards, comparing the reMarkable, tidying the inbox, fetching contacts, jobs, the morning briefing, tidying memory.

  • Jobs (Features → My day → "Jobs"; Me → Jobs): The assistant works longer for you: "Research …, let me know" runs in the background (search, read pages, sum up), the result comes as a notification and is listed under Me → Jobs.

  • Watching (Features → My day → "Watching"; builds on "Jobs"; Me → Jobs): The Spark checks the web regularly for something new (firmware, a new episode, a price below a limit) and only then tells you.

  • Jobs with plan, questions and proposals (Features → My day → "Jobs with plan, questions and proposals"; builds on "Jobs"; Me → Jobs): A job writes its steps as a list and ticks them off; you see it live under Me → Jobs.

  • Services over MCP (Features → My day → "Services over MCP"; builds on "Jobs"): Tools of outside services that speak MCP (e.g.

  • Own MCP services (Features → My day → "Own MCP services"; builds on "Services over MCP"; Me → My MCP services): Every profile connects its own MCP services (e.g.

  • Own MCP services in jobs (Features → My day → "Own MCP services in jobs"; builds on "Own MCP services"; Me → My MCP services): Background jobs (agent functions) may use the reading tools of your own services, never the acting ones.

  • Own MCP services with sign-in (Features → My day → "Own MCP services with sign-in"; builds on "Own MCP services"; Me → My MCP services): Services that want a sign-in (OAuth) instead of a key: the Spark registers at the service as a program, you sign in there, the access stays encrypted on the Spark.

  • Chats (Features → My day → "Chats"; Me → Conversation): Writing like in a messenger, but on your Spark: "Chats" in the menu (on a phone the "Chats" tab), the list on the left, the chat on the right.

  • Message to everybody (Features → My day → "Message to everybody"; builds on "Chats"; Me → Conversation): The fixed group "Alle" (everybody) in the chats: who takes part is in it, without admins; "Tell everybody we leave at eight" writes into it after your "Yes".

  • Group chats (Features → My day → "Group chats"; builds on "Chats"; Me → Conversation): "+ New chat" → "New group": a name, pick the people, done.

  • Polls in chats (Features → My day → "Polls in chats"; builds on "Chats"; Me → Conversation): In the chat beside the input: "Poll" opens a question and 2 to 10 answers, "Several allowed" if wished.

  • Find a time (Features → My day → "Find a time"; builds on "Calendar"; Calendar → Settings): In the chat (for two or a group) under "Poll" → "Find a time": title, length, from which day and between which hours.

  • Photos, files and voice in chats (Features → My day → "Photos, files and voice in chats"; builds on "Chats"; Me → Conversation): In the chat left of the input field: 📎 sends a photo or a file (PDF, Word, Excel, PowerPoint, OpenDocument, text), 🎤 records a voice message (up to 5 minutes, with what was said underneath).

  • Invite into a chat (Features → My day → "Invite into a chat"; builds on "Chats"; Me → Conversation): Chats → + New chat → "Invite someone": a link and a QR code for a person who has no profile yet.

  • Private chats (end-to-end) (Features → My day → "Private chats (end-to-end)"; builds on "Chats"; Me → Conversation): Chats → + New chat → "🔒 Private" beside a person: a chat for two that only your devices can read.

  • Chats with other Sparks (Features → My day → "Chats with other Sparks"; builds on "Chats"): Chats → + New chat → "🌐 Someone on another Spark": your Spark address (e.g.

  • Photos and files to other Sparks (Features → My day → "Photos and files to other Sparks"; builds on "Chats with other Sparks"): In chats with people on other Sparks photos, files (PDF, Office, text up to 25 MB) and voice messages (up to 5 minutes) go too, with the same buttons as in any chat.

  • Groups with other Sparks (Features → My day → "Groups with other Sparks"; builds on "Chats with other Sparks"): People on other Sparks can join a group too: the group's admins pick their contacts marked 🌐 when creating it or under "Add people".

  • Calls (voice and video) (Features → My day → "Calls (voice and video)"; builds on "Chats"): In a chat for two, 📞 or 🎥 at the top: every open Chats page of the other person rings, their phone says "Name is calling".

  • Calls when away (Features → My day → "Calls when away"; builds on "Calls (voice and video)"): An own relay (TURN) on the Spark: when one of the devices is on a mobile network or behind someone else's router, sound and picture go through it.

  • Calls by the assistant (Features → My day → "Calls by the assistant"; builds on "Calls (voice and video)"): Say or write to the assistant: "Call Sabine", "Video call Sabine".

  • Calendar (Features → My day → "Calendar"; Calendar → Settings): The assistant reads your appointments and adds new ones, but only after your "Yes".

  • Share calendars (Features → My day → "Share calendars"; builds on "Calendar"; Calendar → Settings): You share one of your calendars with another profile, "See" or "See + add": Calendar → Settings → "Share" on the calendar's card, find the person in the window.

  • Calendar server for calendar apps (Features → My day → "Calendar server for calendar apps"; builds on "Calendar"; Calendar → Settings): Your Spark calendars show in the iPhone's calendar (or in Thunderbird, DAVx5) and can be changed there: the Spark is a CalDAV server for them.

  • Birthdays in the calendar (Features → My day → "Birthdays in the calendar"; builds on "Calendar"; Calendar → Settings): The birthdays from your contacts show as a calendar of their own, "Birthdays", on the Calendar page and in the iPhone app, all day and with the age when the year is known.

  • Away (Features → My day → "Away"; builds on "Calendar"; Calendar → Settings): You enter from when until when you are away, a text for replies and who stands in.

  • Busy in an appointment (Features → My day → "Busy in an appointment"; builds on "Calendar"; Calendar → Settings): While an appointment with a time from your own calendars runs, you are "busy": no announcements to your speakers, notes wait and come as one summary after the appointment (alarms, reminders and safety notes always come), Spark calls do n …

  • Weather (Features → My day → "Weather"; Me → Weather): The forecast for your place: now, today, tomorrow and up to 7 days, with rain in the next hours.

Mail and contacts

  • Reading e-mail (Features → Mail and contacts → "Reading e-mail"; E-mail → Settings): The assistant reads your inbox of the last 30 days.

  • Inbox tidying (Features → Mail and contacts → "Inbox tidying"; builds on "Reading e-mail"; E-mail → Settings): Advertising, newsletters and the like go into their own folders (main folder of your choice, else "Spark").

  • Order mail (Features → Mail and contacts → "Order mail"; builds on "Reading e-mail"; E-mail → Settings): On the E-mail page you mark a mail read or unread, flag it with ★, archive it or move it into one of your folders, also several at once ("Select", then ticks, or ⌘/Ctrl-click).

  • Snooze mail (Features → Mail and contacts → "Snooze mail"; builds on "Order mail"; E-mail → Settings): A mail you do not need now you put away with "Later": this evening, tomorrow morning, at the weekend, next week or at a time of your own.

  • Send mail (Features → Mail and contacts → "Send mail"; builds on "Reading e-mail"; E-mail → Settings): On the E-mail page you write a new mail, answer one or forward it (with its attachments if wanted).

  • Delete mail (Features → Mail and contacts → "Delete mail"; builds on "Order mail"; E-mail → Settings): On the E-mail page you delete a mail with the trash symbol, the Delete key or by dragging it onto the trash, also several ticked ones at once.

  • Learn sorting from corrections (Features → Mail and contacts → "Learn sorting from corrections"; builds on "Order mail"; E-mail → Settings): If one of your rules or "Inbox tidying" sorts a mail wrongly, just put it somewhere else: on the E-mail page, in Apple Mail or on the iPhone.

  • Invitations from mail (Features → Mail and contacts → "Invitations from mail"; builds on "Reading e-mail"; E-mail → Settings): If a mail carries an invitation (.ics), the E-mail page shows above its text what, when, where and who invites.

  • New mail at once (Features → Mail and contacts → "New mail at once"; builds on "Reading e-mail"; E-mail → Settings): New mail is on the E-mail page within a few seconds, not only at the next fetch every five minutes, and your mail rules sort it at once.

  • Confirmation codes (Features → Mail and contacts → "Confirmation codes"; builds on "New mail at once"; E-mail → Settings): When a mail with a confirmation code arrives ("482913 is your code"), the Spark shows the code at once as a note on the device you are using, with "Copy code".

  • Learn mail style (Features → Mail and contacts → "Learn mail style"; builds on "Reading e-mail"; E-mail → Settings): The Spark reads your sent mails and remembers how you write: form of address, greeting, sign-off, length, tone and typical phrases, split into Private, Work and Unknown.

  • Parcels (Features → Mail and contacts → "Parcels"; builds on "Reading e-mail"; E-mail → Settings): From the shipping mails of DHL, Hermes, DPD, GLS, UPS and Amazon of the last 14 days: what comes today, what is on its way, what waits for pick-up and what was delivered.

  • For you from mail (Features → Mail and contacts → "For you from mail"; builds on "Reading e-mail"; E-mail → Settings): The Spark looks through your mails of the last 30 days and shows what needs you or is good to know: bills with amount and deadline, contracts and subscriptions that renew (with the last day to cancel), orders, offers with an end date, qu …

  • What I know about you (Features → Mail and contacts → "What I know about you"; builds on "For you from mail"; Me → What I know about you): A page under Me that shows what the Spark knows about you and where from: interests as topics with evidence (for example "Smart home & IoT" from newsletters about ESP32 and Zigbee, with the senders and up to three subjects) that count on …

  • Writing help (Features → Mail and contacts → "Writing help"; Me → Writing help): Paste a text and pick what should happen: correct (only mistakes), smooth, shorter, friendlier, more formal, translate, or draft a reply to a mail you received.

  • Writing help in other programs (Features → Mail and contacts → "Writing help in other programs"; builds on "Writing help"; Me → Writing help): The writing help right where you write: Mac quick action (right-click → Services → "Mit Spark verbessern", in Apple Mail, Pages, Word, Excel …), Windows program for x64 and ARM (mark text, Ctrl+Alt+S), Office add-in with a button in Outl …

  • Contacts (Features → Mail and contacts → "Contacts"; Contacts → Settings): The assistant knows phone numbers, e-mail addresses and birthdays from your address book.

  • Edit contacts (Features → Mail and contacts → "Edit contacts"; builds on "Contacts"; Contacts → Settings): On the page Contacts you change a card like on Apple: "Edit", a minus per field to remove it, an "+ add" per kind for phone, e-mail, address and website, "Done" saves.

  • Contacts for contacts apps (Features → Mail and contacts → "Contacts for contacts apps"; builds on "Contacts"; Contacts → Settings): The address book "On the Spark" shows in the iPhone's Contacts app (or Thunderbird, DAVx5 on Android), both ways when "Edit contacts" is on; otherwise read only.

Home

  • Home Assistant (Features → Home → "Home Assistant"; Me → Smart home): Control lights, devices and heating by voice and ask for values.

  • Room mode (Features → Home → "Room mode"; Me → Room mode): For a chosen time the assistant listens to the conversation in the room and helps in a pause: answers open questions, suggests appointments or shopping items, gives the real value on "cold" or "dark".

  • Ignore TV voices (Features → Home → "Ignore TV voices"; builds on "Room mode"; Me → Room mode): In room mode only voices the Spark knows count: TV, radio and visitors trigger no questions or suggestions.

  • Room mode for Home Assistant (Features → Home → "Room mode for Home Assistant"; builds on "Room mode"; Me → Room mode): Home Assistant sees on which device room mode listens right now and until when, and can end it, e.g.

  • Own speakers (ESP32) (Features → Home → "Own speakers (ESP32)"; Me → Speakers): A small ESP32-S3 board with a microphone and speaker becomes a voice assistant in the room.

  • Stop while it speaks (Features → Home → "Stop while it speaks"; builds on "Own speakers (ESP32)"; Me → Speakers): While an own speaker talks its microphone stays on.

  • Start room mode from afar (Features → Home → "Start room mode from afar"; builds on "Room mode"; Me → Room mode): You say or type "Raummodus im Wohnzimmer an" on one device and your living room speaker listens.

  • Announcements on speakers (Features → Home → "Announcements on speakers"; builds on "Chats"; Me → Conversation): "Announcement in the living room: dinner is ready": the speaker plays a tone and says it.

  • Home Assistant Assist (Wyoming) (Features → Home → "Home Assistant Assist (Wyoming)"): Home Assistant uses the Spark's speech recognition and voice.

  • Phone (Features → Home → "Phone"; Me → Phone): Call the Spark from a phone in the house (DECT handset, IP phone) and talk to it like to a speaker: ask, "Stopp" or # interrupts, "Tschüss" or hanging up ends.

  • Phone: take guests (Features → Home → "Phone: take guests"; builds on "Phone"): A handset without a profile and, with "Calls from outside", an unknown or hidden number get questions and answers as a guest.

  • Phone: calls from outside (Features → Home → "Phone: calls from outside"; builds on "Phone"): Call the Spark from on the go: a number confirmed under Me → Phone picks its profile.

  • Phone: the Spark calls (Features → Home → "Phone: the Spark calls"; builds on "Phone"; Me → Phone): The Spark calls by itself: wake-up call and reminder by call a profile orders itself, and the call back for callers from outside with an unsure voice.

  • Phone: call on outages (Features → Home → "Phone: call on outages"; builds on "Phone: the Spark calls"): If a service of the service watch is gone 10 minutes or longer, the Spark calls the admin besides the note, at most once an hour.

On the go and devices

  • Telegram (Features → On the go and devices → "Telegram"; Me → Telegram): You write to the assistant through your own Telegram bot or send a voice message, from anywhere.

  • Android app (Features → On the go and devices → "Android app"; Me → Android app): An app for Android phones, without the Play Store: it shows the Spark like the page on the phone and can also show notes while closed, start as the assistant app and share text from other apps to Spark.

  • Android: notes at once (Features → On the go and devices → "Android: notes at once"; builds on "Android app"; Me → Android app): Without a Google service notes on Android come every 15 minutes.

  • Android: update in the app (Features → On the go and devices → "Android: update in the app"; builds on "Android app"; Me → Android app): When the Spark has a newer Android app, the app shows a strip "Update now" at the top.

  • Android: Spark as assistant (Features → On the go and devices → "Android: Spark as assistant"; builds on "Android app"; Me → Android app): Spark becomes the phone's assistant: long-press the power or home button and a sheet with the face lies over the open app.

  • Android: fingerprint for admins (Features → On the go and devices → "Android: fingerprint for admins"; builds on "Android app"; Me → Android app): When a profile with an admin role or the panel password is signed in to the Android app, the app shows the Spark only after the fingerprint, face or screen lock: when opened and again after 5 minutes in the background.

  • Spark companion on PC and Mac (Features → On the go and devices → "Spark companion on PC and Mac"; Me → Companion): A small program in the Windows taskbar (x64 and ARM) and the Mac menu bar.

  • Companion may act on the PC (Features → On the go and devices → "Companion may act on the PC"; builds on "Spark companion on PC and Mac"; Me → Companion): The Spark may open a page or a released program on your paired computer, bring a program to the front, close, minimize or full-screen the front window, press fixed keys (next, previous, space, undo, copy, paste, save …), type your own wo …

  • Write along in meetings (Features → On the go and devices → "Write along in meetings"; builds on "Spark companion on PC and Mac"; Me → Companion): The Spark companion writes along in a meeting when you click "Besprechung mitschreiben" in the companion (or Ctrl+Alt+R, Mac ⌥⌘R): the microphone and the computer's sound go to speech recognition in pieces.

  • Show and operate the screen (Features → On the go and devices → "Show and operate the screen"; builds on "Spark companion on PC and Mac"; Me → Companion): You see the screen of your own PC or Mac in the panel or in the iPhone or Android app and, when the person at the computer picks "Allow", operate it with mouse and keyboard: a tap is a click, dragging moves the mouse, text and fixed keys …

  • Spark operates the computer (Features → On the go and devices → "Spark operates the computer"; builds on "Spark companion on PC and Mac"; Me → Companion): On your word the Spark does a task on your own PC or Mac step by step: it looks at the screen and proposes one click, scroll, key or text at a time.

  • Pebble watch (Features → On the go and devices → "Pebble watch"; Me → Pebble watch): The "Spark" watch app for Pebble Time 2, Core 2 Duo and Pebble Round 2 gets address and key from a setup code instead of typing both on the phone.

  • Watch: steps, pulse and sleep (Features → On the go and devices → "Watch: steps, pulse and sleep"; builds on "Pebble watch"; Me → Pebble watch): When the app opens, the watch sends its numbers of the day: steps, last pulse and sleep.

  • Terminal client (Features → On the go and devices → "Terminal client"; Me → Terminal): The "spark-tui" program brings the Spark into a terminal, e.g.

  • Device updates (Features → On the go and devices → "Device updates"; Me → Conversation): The Spark fetches new firmware for the speakers, the Android app and the Spark companion from GitHub, checks every file by checksum and tells you once when a new version is ready.

  • Update speakers at night (Features → On the go and devices → "Update speakers at night"; builds on "Device updates"; Me → Conversation): The speakers fetch new firmware only when they start.

  • Spark as MCP server (Features → On the go and devices → "Spark as MCP server"; Me → Spark as MCP server): Other programs (Open WebUI, n8n, Home Assistant, Claude …) use the Spark over the Model Context Protocol: speech to text, text to speech, Wikipedia and Kiwix, own documents, appointments, reminders and "Ask Spark".

  • MCP server from outside (OAuth) (Features → On the go and devices → "MCP server from outside (OAuth)"; builds on "Spark as MCP server"; Me → Spark as MCP server): Programs on the internet like claude.ai or ChatGPT connect to the Spark through your reverse proxy.

  • MCP: acting with confirmation (Features → On the go and devices → "MCP: acting with confirmation"; builds on "Spark as MCP server"; Me → Spark as MCP server): A program may switch the smart home, enter appointments and set reminders, but only as a proposal.

  • Language model by API (Features → On the go and devices → "Language model by API"; Me → Language model by API): Own programs (Python openai, Open WebUI, Continue, n8n …) use the Spark's language model like the OpenAI interface at /v1: text only, without the Spark's tools and without personal data.

  • Language model by API from outside (Features → On the go and devices → "Language model by API from outside"; builds on "Language model by API"; Me → Language model by API): A key "also from outside" works through the reverse proxy too, e.g.

  • Spark assistant by API (Features → On the go and devices → "Spark assistant by API"; builds on "Language model by API"; Me → Language model by API): With the model name "spark-assistent" a program (such as Open WebUI) asks not the plain language model but your Spark assistant: it looks things up in calendar, reminders, documents, Wikipedia and Kiwix, read only.

  • Open WebUI integration (Features → On the go and devices → "Open WebUI integration"; builds on "Language model by API"; Me → Language model by API): Your own Open WebUI uses the Spark: the language model, speech if you like and the Spark tools for reading with "Ask the Spark".

  • iPhone app (Features → On the go and devices → "iPhone app"; Me → iPhone app): An own app for the iPhone: press the button, ask, the answer comes in the Spark voice, also with the screen locked.

  • Push to the iPhone app (Features → On the go and devices → "Push to the iPhone app"; builds on "iPhone app"; Me → iPhone app): Reminders, the morning briefing and notes come to the iPhone even when the app is closed.

  • Panel areas in the iPhone app (Features → On the go and devices → "Panel areas in the iPhone app"; builds on "iPhone app"; Me → iPhone app): The iPhone app shows parts of the panel itself: memory, the next appointments, the Spark's reminders and conversation settings.

  • Apps keep the last state (Features → On the go and devices → "Apps keep the last state"): The iPhone and the Android app keep the last state of some pages on the phone: the conversations (the 20 newest with 50 messages each), the chats, the own settings and functions and in the iPhone app the numbers on the tiles of "My thing …

  • Review access for the iPhone app (Features → On the go and devices → "Review access for the iPhone app"; builds on "iPhone app"): For Apple's App Store review: instead of the pairing link that works only 10 minutes, the reviewer gets your panel's address and a code of twelve letters and digits.

  • Spark update from the iPhone app (Features → On the go and devices → "Spark update from the iPhone app"; builds on "iPhone app"): Chosen profiles get a notification when a new version with green tests is ready and see in the app under Settings → Spark version what changes.

Access

  • Speaker recognition (Features → Access → "Speaker recognition"; Me → Speaker identification): The assistant recognises you by voice, even on someone else's device, and then answers with your memory and settings.

  • Code word at a speaker (Features → Access → "Code word at a speaker"; builds on "Speaker recognition"; Me → Speakers): A speaker in a room gives personal things only to your clearly recognised voice.

  • Second sign-in step (Features → Access → "Second sign-in step"; Me → Security): Signing in with name and PIN also needs a code from an authenticator app.

  • Note on a new sign-in (Features → Access → "Note on a new sign-in"; Me → Security): When your profile signs in with its PIN from a kind of browser none of your other sign-ins has (such as "Windows · Firefox"), your devices get a notification "New sign-in".

  • Reporting problems (Features → Access → "Reporting problems"; Me → Reporting problems): The ladybug on top right of every page (on the phone in the bar on top, in the iPhone app on top of Assistant, Today, History, My things and Settings) opens "Report a fault or a wish": choose fault or improvement, the page, its area, the …

  • Tell admins about reports (Features → Access → "Tell admins about reports"; builds on "Reporting problems"; Me → Reporting problems): When a profile sends a report to GitHub or keeps it on the Spark only, the assistant tells the admin profiles (role Admin, the main admin first): in the assistant when the page is open, else as a note on the device.

  • Answer reports straight to GitHub (Features → Access → "Answer reports straight to GitHub"; builds on "Reporting problems"; Me → Reporting problems): If an answer was wrong, say "Make an issue of it" right after it (or tap "Report" under the answer).

  • Report made-up answers by itself (Features → Access → "Report made-up answers by itself"; builds on "Reporting problems"; Me → Reporting problems): If the background check holds an answer for made up (from 90 %), the Spark makes a report itself, like "Report" under the answer: question and answer, the toolsu2019 results and the way of the request, all anonymized with fixed rules, la …

  • Usage counter (Features → Access → "Usage counter"; Me → Usage): The Spark counts how much its models work: tokens read and written at the language model (of them from the cache), questions to the classifier, seconds of listening and speaking, texts of the meaning search, re-ranked hits and pictures.

  • Quota (Features → Access → "Quota"; builds on "Usage counter"; Me → Usage): Every profile has a language model limit for the day, the week (from Monday) and the month (from the 1st), each on its own, 0 means none.

  • Service watch (Features → Access → "Service watch"; Me → Conversation): The Spark looks by itself whether its services answer: language model, listening, speaking, the internet, the web search (SearXNG), the own Kiwix archive, Home Assistant, the mail and calendar servers and the NAS of the backup, each only …

  • Round-trip check (Features → Access → "Round-trip check"; builds on "Service watch"): Every few minutes the Spark makes a real test run: Speaking says a fixed sentence, Listening writes it down again, and the language model answers a fixed question in at most three words.

  • Sentry (Features → Access → "Sentry"): The Spark tells its admins by itself when something happens at the doors: a lockout after wrong sign-ins, a new way in (trusted browser, passkey, program over MCP, paired Spark, used invitation), changed protection (admin password, secon …

  • Maintenance pause (Features → Access → "Maintenance pause"): Before you put a new language model, speech recognition or speech output in place, you pause the Spark for a while.

  • Maintenance pause on restart (Features → Access → "Maintenance pause on restart"; builds on "Maintenance pause"): The Spark notices by itself when the language model, the speech recognition or the speech output restarts or switches, and pauses just that part for up to 30 minutes, like with the button.

  • Emergency mode with Parakeet (Features → Access → "Emergency mode with Parakeet"): When the panel runs on a computer of its own (Spark split) and the DGX is gone, the Spark otherwise answers every question with "The Spark is taking a break right now." With this switch the panel computer hears by itself: Parakeet recogn …

  • Pi voice (Features → Access → "Pi voice"): When the panel runs on a computer of its own (Spark split) and the DGX does not speak right now, because it is gone (emergency mode) or gave its voice away in Mischbetrieb so another project can start, browser and apps otherwise show the …

  • Case (Features → Access → "Case"): If the panel computer sits in a SunFounder Pironman 5, the Spark drives its parts itself, without SunFounder's software: the small display shows the admin status and numbers in turn (Spark, services and maintenance, Pi, DGX gone or pause …

  • System updates (Features → Access → "System updates"): A card under Status → Summary and the page Status → System updates show for each computer (the Pi with the panel, with Spark split also tars with the models): how many operating system updates wait, how many of them for security, and eac …

  • System updates at night on the panel computer (Features → Access → "System updates at night on the panel computer"; builds on "System updates"): Installs the Pi's operating system updates by itself between 03 and 05, after the Spark's own night update and never at the same time.

  • System updates at night on the model computer (Features → Access → "System updates at night on the model computer"; builds on "System updates"): With Spark split: installs tars' operating system updates by itself between 03 and 05, through the Wärter's fixed command.

  • Vulnerabilities (Features → Access → "Vulnerabilities"): A card under Status → Summary and the page Status → Vulnerabilities show known holes in everything the Spark runs: the panel's Python packages, the model engines (vLLM, vllm-omni), the models' Docker images and the operating system's sec …

  • Spark clients (Features → Access → "Spark clients"): Other programs in the home network use the model computer's services with a key of their own: a second assistant, Open WebUI, Home Assistant or own scripts.

  • Control centre on the screen (Features → Access → "Control centre on the screen"): A screen on the panel computer's HDMI output shows the control centre: state and the day's numbers on top, in the middle which request runs through which stage right now and on which computer (with Spark split tars and the Pi with CPU, G …

  • Switch models (Features → Access → "Switch models"): Under Status → Models an admin switches the model of a kind: language model, image understanding, speech recognition, speech output or painting pictures.

  • Own models (Features → Access → "Own models"; builds on "Switch models"): Under Status → Models an admin adds a model from Hugging Face, for the language model or image understanding.

  • Trial after a switch (Features → Access → "Trial after a switch"; builds on "Switch models"): After every switch of the language model, as soon as it answers, the fixed quality test runs once (Status → Checks → Quality test).

  • Foreign model services (Features → Access → "Foreign model services"): Another computer in the home network, for example a Mac with Ollama or LM Studio, offers a language model through the OpenAI interface.

  • Newly available (Features → Access → "Newly available"; builds on "Switch models"): Once a day the Spark asks Hugging Face's public list for the newest models of a few fixed publishers (Qwen, Google, NVIDIA, Mistral, DeepSeek, IBM Granite, OpenAI) and checks them by the rules of the search: a fitting task, safetensors, …

  • Workshop (Features → Access → "Workshop"): On the page Status → Workshop an admin lets the model computer work in a sealed-off copy of the code.

  • Test every night (Features → Access → "Test every night"; builds on "Workshop"): Once a night the workshop starts the test run by itself (all self-tests as on GitHub, without a language model).

  • Develop on the Pi (Features → Access → "Develop on the Pi"): You develop the Spark further right on the panel computer: in the terminal (in the browser under Status → Workshop → Develop or over SSH) OpenCode works with the Spark's own language model, without a cloud.

  • Hand to GitHub (Features → Access → "Hand to GitHub"; builds on "Develop on the Pi"): Way A: what you built with OpenCode on the Pi goes to GitHub as its own branch opencode/, never to main.

  • Terminal in the browser (Features → Access → "Terminal in the browser"; builds on "Develop on the Pi"): A shell as spark-dev in the browser, without SSH: Status → Workshop → Develop, tab Terminal.

  • Code order in the chat (Features → Access → "Code order in the chat"; builds on "Develop on the Pi"): An admin types in the assistant (panel or app) what should change in the Spark, such as "Code order: show the wind direction in the weather too".

  • Remote access to servers (Features → Access → "Remote access to servers"): The shell of a server elsewhere (a VPS, a NAS at friends', a Raspberry Pi) right in the browser, like Raspberry Pi Connect, only the relay is your own Pi.

  • Note on a remote session (Features → Access → "Note on a remote session"; builds on "Remote access to servers"): When an admin opens the shell of a server from the internet or from a place they never opened it from, all admins get a note on their phone with a fixed text: who, which server, home or internet, never an address.

  • Send to all in remote access (Features → Access → "Send to all in remote access"; builds on "Remote access to servers"): With two or more connected shells of the same kind (say all Linux) the head of the terminal shows "To all …".

  • Spontaneous help (Features → Access → "Spontaneous help"; builds on "Remote access to servers"): Help once, like TeamViewer QuickSupport: the person opens the page /hilfe of your panel, types the 6-digit number and her first name and shares her screen after you accept.

  • Control in spontaneous help (Features → Access → "Control in spontaneous help"; builds on "Spontaneous help"): When looking is not enough: in an open spontaneous help you use mouse and keyboard at the person's computer.

  • Assistant in remote access (Features → Access → "Assistant in remote access"; builds on "Remote access to servers"): Beside the terminal under Remote access → Systems there is "Ask the assistant": you ask e.g.

  • Screen in remote access (Features → Access → "Screen in remote access"; builds on "Remote access to servers"): The screen of a paired system in the browser, under Remote access → Systems with "Screen": Linux with X11 (x11vnc), GNOME on Wayland (gnome-remote-desktop) or other Wayland desktops (wayvnc) macOS (the built-in screen sharing) and Window …

  • Clipboard with the screen (Features → Access → "Clipboard with the screen"; builds on "Screen in remote access"): Exchange text between your browser and the system while you have "Control": what you copy there lands in your clipboard; "Send clipboard" sends yours over.

  • Notes in remote access (Features → Access → "Notes in remote access"; builds on "Remote access to servers"): A note of its own for each system: in the card's tab "Note" and in the tab "Notes" beside the assistant at the terminal, also in full screen.

  • Folders in remote access (Features → Access → "Folders in remote access"; builds on "Remote access to servers"): The systems on the left in folders like in Mail: one level, name and symbol of your choice, collapsible; collapsed, a folder shows "● online / total".

  • Files as another user (Features → Access → "Files as another user"; builds on "Remote access to servers"): "Files" in remote access as root or another user the server itself names, instead of spark; on Windows in folders the PC gives free.

  • Big files in remote access (Features → Access → "Big files in remote access"; builds on "Remote access to servers"): In "Files" of a paired system three ways for big files: "Upload in pieces" sends 8 MB at a time, each piece with a checksum, with "Pause" and "Resume" (also after "Disconnect", with the same file); "Fetch by link" lets the server downloa …

  • Web services in remote access (Features → Access → "Web services in remote access"; builds on "Remote access to servers"): The web pages of a paired system in the browser, without opening anything to the internet there: Grafana, a router's page, Home Assistant or a dashboard that listens only on 127.0.0.1 there.

  • sshTermy as jump host (Features → Access → "sshTermy as jump host"; builds on "Remote access to servers"): sshTermy on your computer reaches the paired systems of remote access through the Spark (Vermittler protocol v1).

  • Attack probe (Features → Access → "Attack probe"; builds on "Workshop"): Measures on a button how often the running language model would follow an order in outside text (document, mail, web page, calendar, smart home).