- frank-dragoon: measured the response_format contract. json_schema and json_object answer
schema-valid JSON at temperature 0 and draw a 400 at any sampled temperature, and because
the sampler default is server-side an absent temperature is sampled. The page claimed
"response_format is unsupported", which sends the next agent past a working feature.
- frank-dragoon: new "The NPU lane" section. The pinned 0.16.2 image already ships the
five-program AIE catalog including qwen3-embedding-0.6b, so /v1/embeddings is one env var
plus the accel device, the distro-XRT mount and the fabric-clock hold; embeddinggemma-2
needs 0.18.3+, the stock-kernel-driver memory-budget fix 0.18.8+. Host census recorded:
no /opt/xilinx/xrt, distro XRT 1:2.21.75 with libxrt_driver_xdna, clocks unheld.
- Open Notebook: scriptwriter probe verdict — greedy-only, and open-notebook's model record
is {credential, name, provider, type} with no per-row config, so it cannot ask for greedy;
frank-archon stays the writer. The embedding gap now has a named door instead of "build a
new llama.cpp slot".
- Frank TTS: "the NPU is not a door at all" was too broad. It is not a door for the TTS
family; halogen's precompiled catalog is a door on the same device.
- System Specs: NPU runtime row corrected to the distro XRT actually installed, and the
stale "frank-zealot serves 27B" line retired in favour of [[frank-zealot]] as sole owner.
Tests: ./tests/run.sh, 455 passed.
30 KiB
type, description, tags, timestamp
| type | description | tags | timestamp | ||||
|---|---|---|---|---|---|---|---|
| reference | The fleet's podcast generator: notes in, multi-speaker episode out, script and voices both served in-house. |
|
2026-10-19 |
Open Notebook
open-notebook (lfnovo/open-notebook) is the notebook layer that turns existing notes and sources into a spoken episode: an outline, then a dialogue transcript, then one synthesized clip per speaker turn, concatenated with ffmpeg into an MP3. In the fleet it is the consumer that closes the loop Frank's audio stack was built for — the script is written by frank-archon, the voices are rendered by frank-tts, and nothing leaves the LAN.
Deployed 2026-10-19. Both units installed and active, both containers healthy, SurrealDB migrated to v25 on first boot, and the first episode rendered end to end: a note in, an outline, 23 dialogue turns, 23 clips, and one 747-second MP3 on the host bind, produced in 301 seconds — about 2.5× real time with every concurrency knob at 1. The download route answers 200 audio/mpeg with the bearer token and 401 without it. It is guarded like every other user service — https://notebook.franksdank.cloud, Anubis → Authentik → the app's own login — and the API is no longer published on the LAN at all.
Host: Dankclaw (rootless Podman, user dank) — User path: https://notebook.franksdank.cloud (guarded) — Published: 0.0.0.0:8502 (the only upstream Caddy dials) and 127.0.0.1:5056 (the deployer's health gate, nothing else) — Deployer: open-notebook (one service, two units) — Docs: https://github.com/lfnovo/open-notebook
Facts (images and upstream source verified 2026-10-18; live-host columns re-read 2026-10-19 after deploy)
| Item | Value |
|---|---|
| App image | docker.io/lfnovo/open_notebook:v1-latest@sha256:54b2025a4a4853c188f74b9b8246eca8c5480e5dd1babfa92db1038ff2f30212 (open-notebook.container:79) — the tag upstream's own docker-compose.yml:27 pins for the multi-container shape. v1-latest is a moving tag, so the manifest-list digest (resolved from the registry 2026-10-18) is what makes this reproducible |
| Database image | docker.io/surrealdb/surrealdb:v2@sha256:e5d7387e3727bbe2f7cd6d869e48cd34777272258572ead37c9656b25f745723 (open-notebook-surrealdb.container:66) — that digest is SurrealDB 2.7.0 (image built 2026-09-23; measured by running the digest: surreal version) |
| Do NOT use | the -single tags (v1-latest-single). That variant bundles SurrealDB inside the app image and is deprecated upstream; here it would give the host a second, hidden database |
| Ports | container 8502 (Next.js UI) + 5055 (FastAPI API) → published 0.0.0.0:8502:8502 and 127.0.0.1:5056:5055 (open-notebook.container). Host 5055 is taken: seerr publishes 127.0.0.1:5055 (dankclaw/seerr/quadlet/seerr.container, and ss -ltn on Dankclaw shows it live). The API therefore leaves on 5056, and on loopback only: the vhost is its sole user path and the image's own Next.js layer rewrites /api/* to it, so nothing outside the container needs it |
| User path | https://notebook.franksdank.cloud → anubis:8923 → post-auth listener @notebook → 192.168.0.143:8502 (dankclaw/Caddyfile); Authentik provider notebook-proxy (external_host the vhost with its trailing slash, internal_host http://caddy:8017); LAN record in dankclaw/pihole/addn-hosts |
| Database port | 8000 inside its own namespace, never published (open-notebook-surrealdb.container has no PublishPort). Upstream publishes 127.0.0.1:8000 for debugging (docker-compose.yml:18); this unit does not, and the seam asserts that it stays that way |
| Data | open-notebook-data:/app/data (named volume: uploads, LangGraph SQLite checkpoints, extraction caches) plus the interim host bind /home/dank/media/podcasts:/app/data/podcasts (open-notebook.container:87-88); database in the open-notebook-db named volume |
| Networks | app: dankclaw_default first, then the private systemd-open-notebook (10.89.4.0/24, open-notebook.network:33); database: the private bridge only. Order is load-bearing — the generated --network flags keep file order, so the default route rides the network where host.containers.internal is proven |
| Units | dankclaw/open-notebook/quadlet/open-notebook.container → open-notebook.service; open-notebook-surrealdb.container → open-notebook-surrealdb.service; both Restart=always, RestartSec=10 / 5, [Install] WantedBy=default.target — boot-persistent per Quadlet Lifecycle (generated units cannot be enabled on this host; the [Install] section is what the v1 generator honors at user-manager start) |
| Health | app: curl -fsS http://127.0.0.1:5055/health (open-notebook.container:89); database: /surreal is-ready (open-notebook-surrealdb.container:73) |
| Env | scripts/open-notebook.env (repo, knobs) then /home/dank/Containers/open-notebook/env (host, secrets, mode 600) — two EnvironmentFile= lines per unit, repo file first because the last file wins |
| Deployer | deploy_open_notebook in scripts/deploy-remote.sh: seed secrets → ensure both digest pins are in local storage → install both units + the network → mkdir -p /home/dank/media/podcasts → restart database, wait for its container health → restart app → wait_for_health open-notebook http://127.0.0.1:5056/health 180 |
The guard chain, and the single origin
notebook.franksdank.cloud follows the fleet's exposure policy in this order, and the order is the law (Network Architecture):
- Provider first. Authentik proxy provider
notebook-proxyexisted before any route pointed at the app:external_host https://notebook.franksdank.cloud/(exact vhost, trailing slash),internal_host http://caddy:8017, the three flows copied fromembedded-outpost, ApplicationOpen Notebook(notebook-guard), and the provider attached to the embedded outpost's provider set. Flip the vhost first and authenticated traffic lands on the outpost's error page. Verify after the change that the outpost logged noFailed to fetch outpost from API(the null-flow wedge) and that an already-guarded vhost still answers. - Then the route, in one deploy: the guarded site block (
reverse_proxy anubis:8923withheader_up X-Real-Ip {remote_host}— the whole request, so no path ever reaches the app unchallenged) plus the post-auth@notebookhandler onhttp://:8017, plus the LAN record indankclaw/pihole/addn-hosts. The public Porkbun A record is a host action, not a repo file. - One upstream, not two.
reverse_proxy 192.168.0.143:8502: the image's own Next.js layer rewrites/api/*to the FastAPI beside it (next.config.ts,INTERNAL_API_URLdefaulthttp://localhost:5055), so the API needs no route and no outward face — hence127.0.0.1:5056. Caddy dials the published LAN port rather than a container name because this Caddy lives in root's Podman and cannot see a rootless container at all (Container Network Namespaces). SSE (/api/search/ask, chat) streams through the same bare proxy that carries OpenWebUI's chat atai.franksdank.cloud; noflush_intervalor timeout directive is needed, and adding a route timeout is precisely what would cut it. API_URLmust name the vhost.GET /config(the Next route) answers in priority order:API_URLenv → autodetect fromHost+X-Forwarded-Proto→http://localhost:5055. Autodetect appends:5055, a port that belongs to seerr on this host, so leavingAPI_URLunset hands the browser an address nothing answers and every call fails under a UI that loaded fine.CORS_ORIGINSis set to the same single origin only to keep the app from defaulting to*.scripts/open-notebook.envcarries both.
The app's own login stays on behind the chain. It is not redundant: publishing the API on loopback does not hide it from this host's other containers, which can dial open-notebook:5055 by name on dankclaw_default. The chain decides who from outside gets in; OPEN_NOTEBOOK_PASSWORD decides what anything that already reached the port may do.
What the image actually runs
One container, three processes under supervisord (supervisord.conf upstream): uvicorn api.main:app --port 5055 (:12), the job worker (:25), and the Next.js frontend (:39). Two consequences the config depends on:
- One unit owns the whole app. There is no separate worker or frontend container to scale or restart, and the frontend refuses to start until the API answers (
wait-for-api.sh && node server.js,supervisord.conf:39) — so gating the API gates the UI. - The worker's concurrency comes from the environment, not a flag baked into the image:
--max-tasks ${OPEN_NOTEBOOK_WORKER_MAX_TASKS:-5}(supervisord.conf:25). Setting it in the env file is a real change, not decoration.
Also from the image itself: WORKDIR /app and EXPOSE 8502 5055 (Dockerfile:84, :126), no USER line (the app runs as container root, which in this host's rootless map lands as dank — the Seerr UID note measured 0 → 1000 on this machine), and curl and ffmpeg installed in the runtime layer (Dockerfile:74-76) — curl makes the health probe possible without a shell wrapper, ffmpeg is how the per-line clips become one file.
DATA_FOLDER is hard-coded "./data" (open_notebook/config.py:5) and PODCASTS_FOLDER is "./data/podcasts" (:19); the database stores each episode's audio path relative to that folder (episodes/<uuid>/audio/<uuid>.mp3), and the download route is GET /api/podcasts/episodes/{id}/audio. That is why covering one subdirectory with a bind mount is sufficient — nothing in the database has to change if the mount moves.
What is provisioned (REST, 2026-10-19)
Credentials live in the database, encrypted with OPEN_NOTEBOOK_ENCRYPTION_KEY, and are not expressible in env or a Quadlet file — the UI (Manage → Models) or the REST API are the only doors. Both use provider type openai_compatible, because any server that answers /v1/audio/speech or /v1/chat/completions works through it (docs/5-CONFIGURATION/local-tts.md:5).
| Record | Value |
|---|---|
Credential frank-tts |
modality text_to_speech, base URL http://frank-tts:7772/v1, no API key (the shim does not authenticate) |
Credential frank-archon |
modality language, base URL http://192.168.0.235:7770/v1 |
Model row voxcpm2 |
type text_to_speech on the frank-tts credential. The name is decorative: frank-tts ignores the request's model field and synthesizes whatever voice names (Frank TTS) |
Model row frank-archon |
type language; PUT /api/models/defaults points chat, transformation and large-context at it. The embedding default stays null — nothing in the fleet serves /v1/embeddings |
Speaker profile dank-duo |
two speakers, Frank → voice_id: narrator1, Comrade → narrator2, voice_model = the TTS row |
Episode profile dank-daily |
num_segments: 4, speaker_config = dank-duo, outline and transcript LLM = the archon row, briefing that ends "Never invent numbers." |
Order that works over REST: credentials → model rows (POST /api/models with credential: <credential id>) → PUT /api/models/defaults → speaker profile (voice_model: <model id>) → episode profile (speaker_config / outline_llm / transcript_llm). POST /api/models/{id}/test proves each row: the language row answered with a real completion from frank-archon; the TTS row reached frank-tts and came back unknown voice 'alloy'; available voices: narrator1, narrator2, narrator3 — the app's own test path hard-codes an OpenAI voice, so that message is the proof the leg works.
POST /api/podcasts/generate takes profile NAMES, not record ids. episode_profile: "dank-daily" works; the episode_profile:… id returns a bare 500 Failed to submit podcast generation job, and the actual reason (Episode profile '<id>' not found) appears only in podman logs open-notebook.
The scriptwriter is frank-archon, not the planned frank-zealot, because two rules collide on the address. Measured from inside the app's netns 2026-10-19:
192.168.0.143:7771(frank-zealot, a host-netns listener) and192.168.0.143:7770(frank-dragoon, a root-published port) both refuse the connection;host.containers.internal:7771answers. Full census: Container Network Namespaces.- The app refuses to store that one working address: its URL guard rejects any base URL that resolves inside link-local
169.254.0.0/16(open_notebook/utils/url_validation.py, "Link-local addresses are not allowed (metadata endpoints)"), unconditionally — no env var touches it, andAddHost=cannot dodge it because the check runs on the resolved address.
http://192.168.0.235:7770/v1 — another machine, plain RFC1918 — is the only fleet LLM address that passes both tests. Cost: frank-archon runs --max-num-seqs 2 and the operator session itself lives there, so a render is a slow-down for whoever else is talking to that endpoint, not a stall; ESPERANTO_LLM_TIMEOUT=180 covers an outline or transcript call comfortably.
frank-dragoon can write transcripts, but only greedily — and open-notebook cannot ask for greedy. Measured 2026-10-19 against the live endpoint: response_format as json_schema or json_object returns schema-valid JSON at temperature: 0 and a 400 at any sampled temperature — halogen decodes greedy under a schema, and because its sampler default is server-side, omitting temperature is sampled, not greedy. That 400 is the trap: esperanto's is_json_schema_unsupported_error matches the words not implemented in it, so _SchemaFallbackModel in podcast_creator/nodes.py reads it as "this endpoint has no schema support", downgrades to json_object, gets the same 400, and fails the run — esperanto's own rescue (drop response_format entirely) fires only on the different message 'response_format.type' must be 'json_schema'. The full law is on frank-dragoon. And the fix is not reachable from here: a model record is {credential, name, provider, type} and a model response adds only timestamps (GET /openapi.json, ModelCreate/ModelResponse) — there is no per-row config field, no way to attach temperature: 0 to one row from the UI or the API. Making frank-dragoon the writer would therefore need something in the path that rewrites request bodies, which is a heavier tenant than the contention it removes. frank-archon stays the scriptwriter. Reachability would be a separate problem anyway: frank-dragoon is not on dankclaw_default (the serve script passes no --network), so nothing on this network has a name for it, and the one address that does answer — host.containers.internal:7770 — is the link-local the guard refuses to store (Container Network Namespaces).
No embedding model is deployed, and saving a note is where that shows up. Every note save submits an embed_note command that fails in the worker with No embedding model configured. Please configure one in the Models section. The note itself is stored and readable; semantic search, source ingestion and notebook-context questions stay dead until something serves /v1/embeddings. Podcast generation from content does not need embeddings, which is why renders work today. The cheapest door is halogen's NPU lane, not a new endpoint: qwen3-embedding-0.6b is already in the catalog of the image frank-dragoon runs and answers /v1/embeddings on the same port (1024 unit-length floats; the instruct prefix goes in the text, and check_embedding_ctx_length=False for LangChain). What enabling it costs — the accel device, the host XRT mount, and the fabric-clock hold that GPU+NPU co-run requires — is on frank-dragoon; after that, the embedding row still has to clear the reachability rule above.
Secrets never go in a command line. The API's bearer token is OPEN_NOTEBOOK_PASSWORD, and a -H "Authorization: Bearer …" argument is world-readable in /proc/<pid>/cmdline; put it in a mode-600 curl config and pass -K:
PW=$(grep -m1 '^OPEN_NOTEBOOK_PASSWORD=' /home/dank/Containers/open-notebook/env | cut -d= -f2- | tr -d '"')
cfg=$(mktemp); chmod 600 "$cfg"; printf 'header = "Authorization: Bearer %s"\n' "$PW" > "$cfg"
curl -s -K "$cfg" http://127.0.0.1:5056/api/models | head -c 400
rm -f "$cfg"
Speakers and voices: 1–4, and the IDs are free text
A speaker profile carries one to four speakers (docs/3-USER-GUIDE/creating-podcasts.md:27), each with a personality and a Voice ID that is typed exactly and passed through to the TTS request untouched (:29) — there is no whitelist, no enum, no validation against a voice list. So the fleet's voice-pack names work verbatim:
| Speaker | Voice ID to type |
|---|---|
| Speaker 1 | narrator1 |
| Speaker 2 | narrator2 |
| Speaker 3 | narrator3 |
Those are the pack names frank-tts resolves from /home/dank/voices (scripts/frank-tts.env header: a voice is real exactly when /voices/<name>/reference.wav exists). Two traps, both from upstream's shipped defaults:
- The three seeded speaker profiles carry OpenAI voice names (
nova,alloy, …) and no voice model at all — they show a "Setup required" badge, and generation fails with a voice error until they are edited (creating-podcasts.md:13,:33;local-tts.md:89). Add anarrator1/narrator2pair (or a third/fourth) rather than editing the seeded ones in place. - Two speakers with the same voice are hard to follow (
creating-podcasts.md:89). Distinct packs per speaker is the point of the 1–4 shape.
Two buttons that fail against frank-tts, and why that is cosmetic
- Test Connection probes
GET <base_url>/models(open_notebook/ai/connection_tester.py:208-229). frank-tts serves exactly two GET routes —/healthand/v1/audio/voices— and 404s every other path (dankclaw/voiceservice/app.py:228-238). The button reports a failure against a healthy server. - Discover Models does the same
GET <base>/models(open_notebook/ai/model_discovery.py:26-28) and finds nothing to list. - The TTS test path also synthesises with a hard-coded voice
alloyforopenai_compatible(connection_tester.py:328-336), which is not a fleet voice pack and would be refused even if the probe reached frank-tts.
None of it blocks anything: model rows are added by name ("If a model isn't listed, type its id and click Add", local-tts.md:82) and the Voice ID field is free text. The failure is a missing /models route on a deliberately minimal shim, not a broken credential. The honest end-to-end test is a real generation job, or the podman exec … curl /v1/audio/speech call frank-tts's own seam documents.
The CPU guard, and why both numbers are 1
Defaults are TTS_BATCH_SIZE=5 and OPEN_NOTEBOOK_WORKER_MAX_TASKS=5 (docs/5-CONFIGURATION/environment-reference.md:129-130) — five parallel synthesis requests from five parallel jobs. frank-tts spawns an engine process per request (about 8 GiB resident, 8 threads, from the frank-tts CPU trial of 2026-10-18; scripts/frank-tts.env pins LLAMA_TTS_THREADS=8), on a machine that also serves frank-dragoon and frank-zealot. Five of those is ~40 GiB and forty threads competing with two LLM endpoints for the same cores. scripts/open-notebook.env:87-88 sets both to 1: one episode at a time, one voice line at a time. Upstream's own guidance is the same direction ("Set 1 for a local model on a single GPU", "Lower it … for rate-limited or single-threaded TTS servers").
The clock next to it: ESPERANTO_TTS_TIMEOUT (:91) is patience per dialogue line, not per episode — a three-minute episode is dozens of separate POSTs, and the tail of a long turn on a CPU engine goes past upstream's 300 s default. It is set to 660, one round-trip outside SHIM_TIMEOUT=600 in scripts/frank-tts.env (frank-tts's own per-request ceiling): nested budgets go inside-out — the same rule that file states for LLAMA_TIMEOUT — so a frank-tts give-up arrives labelled as frank-tts's error instead of the worker's own timeout, and re-measuring frank-tts cannot silently strand this number below it. An abandoned request does not cancel the engine process; it only strands the episode in "generating".
What the guard costs, measured on that first render (the deployed shape): 23 dialogue clips, one POST each, 10–11 s per clip with both knobs at 1 → 301 s of wall clock for 747 s of speech, i.e. 2.5× real time, box still responsive. That ratio is the budget to hold any future TTS engine to: halve the per-clip time, halve the episode.
Secrets, and the difference between blank and unset
OPEN_NOTEBOOK_PASSWORD unset means authentication off (environment-reference.md:46) — every API route, including the episode-audio download, answers anyone who can reach it. Moving the API to loopback did not remove that exposure, it only removed the LAN from it: any container on dankclaw_default dials open-notebook:5055 by name, so an unset password is an open episode library to every container on this host, guarded or not. That is why deploy_open_notebook refuses to start either unit unless the seeded host file carries a value for all four secret keys (OPEN_NOTEBOOK_ENCRYPTION_KEY, OPEN_NOTEBOOK_PASSWORD, SURREAL_PASSWORD, SURREAL_PASS). OPEN_NOTEBOOK_ENCRYPTION_KEY is separately load-bearing: it is required to save any provider credential, and changing it later makes stored keys undecryptable (:44).
The tracked file declares the secrets empty and the host file supplies them; podman applies --env-file arguments in order and the last one wins (verified against the generated ExecStart line, 2026-10-18). Reordering the two EnvironmentFile= lines in a unit would blank every credential — that is the trap the seam's ordering assertion exists for.
The database has the same trap in a different spelling: the app reads SURREAL_PASSWORD, the surreal CLI reads SURREAL_PASS (its start --help prints [env: SURREAL_PASS=]; measured against the pinned digest). One value, written twice, by the seed function — so the pair cannot be given different root passwords. Both arrive through the environment, not through Exec=: --pass on the command line would put the database password in /proc/<pid>/cmdline, readable by any ps on the host. Measured with the pinned image: env-only credentials produce Initialising credentials user=…, the root user is created on first boot, a correct login authenticates and a wrong password is refused — no --user/--pass flags needed, and no --bind either, because the image's own SURREAL_BIND=0.0.0.0:8000 is what makes the RPC reachable from another container at all.
Episode destination: interim, and reversible (issue #7)
Episode files currently exist in two places by design. The app's own state stays in the open-notebook-data named volume; everything the render produces additionally lands on the host, because /home/dank/media/podcasts is bind-mounted over /app/data/podcasts (open-notebook.container:88). The first render confirmed the layout: episodes/<uuid>/clips/0001.mp3 … 00NN.mp3 (one file per dialogue line, written as the worker goes) and episodes/<uuid>/audio/<uuid>.mp3 (the ffmpeg concatenation). A half-finished render is therefore visible and greppable from the host without podman unshare. That is the interim answer to where episodes live: the destination is an open decision tracked as Gitea issue #7, labelled human-only — agents must not work it. Until Frank settles it, episode MP3s are ordinary files in his home directory.
Reversibility is one line: delete the Volume=/home/dank/media/podcasts:/app/data/podcasts line and the episodes go back to living solely inside the named volume. Nothing else in the config assumes the bind. See Storage Policy for the repo's storage conventions this interim state deliberately bends.
Deploying, and the digest-pull step
# on Dankclaw, as dank — the pins are Pull=never, so fetch them first
podman pull docker.io/surrealdb/surrealdb:v2@sha256:e5d7387e3727bbe2f7cd6d869e48cd34777272258572ead37c9656b25f745723
podman pull docker.io/lfnovo/open_notebook:v1-latest@sha256:54b2025a4a4853c188f74b9b8246eca8c5480e5dd1babfa92db1038ff2f30212
deploy_open_notebook runs the same two pulls when the image is absent from local storage, so the manual step is only needed to pre-seed an offline host or to bump a pin. Then scripts/deploy.sh --target dankclaw --service open-notebook. Both Pull=never and the pin comment live in the unit files; upgrading means editing the digest, not repulling a tag — see Deployment Flow.
Rollback
- Take it off the air, in the reverse of the deploy order: delete the guarded site block and the
@notebookhandler fromdankclaw/Caddyfileand deploycaddy; then in Authentik delete thenotebook-guardApplication and thenotebook-proxyprovider and drop it from the embedded outpost's provider set. A route with no provider 502s while a provider with no route is inert — that asymmetry is why the chain unwinds Caddy-first. - Stop the app:
systemctl --user stop open-notebook.service open-notebook-surrealdb.service, then move the three files (open-notebook.container,open-notebook-surrealdb.container,open-notebook.network) out of~/.config/containers/systemd/into~/.AGENTTRASH/— neverrm— andsystemctl --user daemon-reload. The generated units disappear with their sources. - Kept on purpose: the
open-notebook-dataandopen-notebook-dbnamed volumes and/home/dank/media/podcasts. Episode audio and the notebook database are user data; removing them is a separate, deliberate act, and episode files are host files precisely so they can outlive the container. - Provider credentials are database rows, encrypted with
OPEN_NOTEBOOK_ENCRYPTION_KEY; no repo file mirrors them. Regenerating that key while the database volume survives makes every stored credential undecryptable and forces re-entry — so a rollback that keeps the volume keeps the key file with it. - Homepage: the card test in
tests/open_notebook.batspins the live state (showLink: true, link = the vhost), so retiring the service edits that test in the same commit as the card flip back towip: "down".
Citations
- Repo:
dankclaw/open-notebook/quadlet/{open-notebook.container,open-notebook-surrealdb.container,open-notebook.network},scripts/open-notebook.env,dankclaw/.env.example,scripts/deploy-plan.py,scripts/deploy-remote.sh(seed_open_notebook_env,ensure_pinned_image,deploy_open_notebook),scripts/deploy.sh,scripts/test-changed.sh,tests/open_notebook.bats,shared/homepage/services.json,dankclaw/seerr/quadlet/seerr.container(the 5055 collision),dankclaw/voiceservice/{quadlet/frank-tts.container,app.py},scripts/frank-tts.env,shared/prometheus/prometheus.yml - Upstream
lfnovo/open-notebook@ main, read 2026-10-18:docker-compose.yml:3,10,11,18,27,29-30,39-43,Dockerfile:69-76,84,126,140,158,supervisord.conf:12,23-25,39,api/main.py:73,227-230,239-241,414,api/credentials_service.py:418-420,552,api/routers/credentials.py:426-429,433-437,open_notebook/config.py:5,19,open_notebook/podcasts/audio_paths.py,open_notebook/ai/connection_tester.py:208-238,326-336,open_notebook/ai/model_discovery.py:26-28,docs/3-USER-GUIDE/creating-podcasts.md:13,27,29,33,89,docs/5-CONFIGURATION/environment-reference.md:44,46,106,110,129,130,docs/5-CONFIGURATION/local-tts.md:5,45,72-82,89 - Registry (2026-10-18):
lfnovo/open_notebooktags (v1-latest,latest, the-singleset) and manifest-list digests;surrealdb/surrealdbv2→ 2.7.0 - Local measurements (2026-10-18, workstation, pinned digests):
surreal start --help(credential and bind options carry[env: SURREAL_*]); running the pinned SurrealDB digest with env-only credentials (credential init in the log, correct login authenticates, wrong password refused,/surreal is-ready→OKexit 0, named volume owned by the mapped uid); the v1-compatible Quadlet generator dry-run of all three unit files (two--env-filein order, two--networkin order, named volume + host bind, both health probes,--pull never) - Host evidence (Dankclaw, 2026-10-18, read-only):
ss -ltn(127.0.0.1:5055held by seerr,0.0.0.0:7771a host listener, nothing on 7772/8502/5056/8000),podman ps -a(no open-notebook container,dankclaw_defaultpresent), subnet registry fromdankclaw/open-webui/quadlet/open-webui.network - Deploy + provisioning (Dankclaw, 2026-10-19): first-boot log — migrations 1→25,
Credentials were provided, and no root users were found. The root user 'open_notebook' will be created,api/worker/frontendall RUNNING under supervisord;GET :8502/config→ theAPI_URLvalue;GET /api/providers(theopenai_compatiblemodality list);GET /openapi.jsonschemas forCreateCredentialRequest/ModelCreate/SpeakerProfileCreate/PodcastGenerateRequest; the POSTs listed above; the note-save worker errorNo embedding model configured. - First render (2026-10-19): job
command:9rdojq5ne7dj9caicq20,execution_time: 301.21 s,episode:7ft03thj98sn0ek9xf29;episodes/d5fed29b-33e9-40ac-b46a-e0537c56c256/clips/0001.mp3 … 0023.mp3;…/audio/d5fed29b-….mp3= 11,957,420 bytes, mp3 24 kHz mono,ffprobeduration 747.31 s;GET /api/podcasts/episodes/{id}/audio→ 200audio/mpegwith the bearer, 401 without. - Upstream code read inside the pinned image (2026-10-19):
frontend/next.config.ts:26-43(the/api/*rewrite and the one-port claim),frontend/src/app/config/route.ts:122-173(/configpriority order; autodetect appends:5055),frontend/src/app/api/_sse-proxy.ts(SSE proxied withno-transform),open_notebook/utils/url_validation.py(link-local refusal,is_blocked_ip, no environment override anywhere in the file). - Guard chain (2026-10-19): provider
notebook-proxycreated throughpodman exec -i authentik-server ak shellwith the flows copied fromembedded-outpost(pk 1), ApplicationOpen Notebook/notebook-guard, embedded-outpost provider set 9 → 10; afterwards the outpost logged zeroFailed to fetch outpost from APIandseerr/grafanastill answered 200. Before the route existed,notebook.franksdank.cloudresolved to nothing (000).