Table of contents
- Decisions
- 45. Tasks M2 (2026-11-27)
- 46. Local AI (2026-11-27)
- 47. Tasks on phones: a phone password per app (2026-11-27)
- 48. One place for tasks: the calendar's own task list is off (2026-11-27)
- 49. Task notifications inside Bulwark (2026-11-27)
- 50. Task emails: on, with an opt-out per person (2026-11-27)
- 51. Local AI, step 1: task drafts from emails (2026-11-27)
- 52. Local AI, step 2: automatic mail sorting (2026-11-27)
- 53. Local AI, step 3: calendar events from emails (2026-11-27)
- 54. Projects: the app's goal (2026-11-27)
- 55. Projects, step 2: events, contacts, existing folders (2026-11-27)
- 56. Projects, step 3: new emails join projects by fixed rules (2026-11-27)
- 57. Projects from any Drive folder; what a project email brings (2026-11-27)
- 58. Shared folders can be moved into one's own folders (2026-11-27)
- 59. Local model: Ministral 3 3B (2026-11-27)
- 60. Mail's menu header is the title and "+" (2026-11-27)
- 61. All projects as a grid with photos (2026-11-27)
- 62. Thumbnails on the project page (2026-11-27)
- 63. Shorter app addresses (2026-11-27)
- 64. Tests: quick ones on the dev server, full runs on a testing server (2026-11-27)
- 65. A summary on the project page: facts by code, emails by the local AI (2026-11-27)
- 66. Actions inside the AI summary (2026-11-27)
- 67. Task deadlines show in the calendar (2026-11-27)
- 68. Team chat: a full-feature plugin on Chatto, specified (2026-11-28)
- 69. Chat: continue with the rebuilt plugin; M0 proofs 1 to 3 run (2026-11-28)
- 70. Chat proof 5: calls from a Bulwark page work with Chatto's app (2026-11-28)
- 71. Chat proof 4: Chatto's own apps sign in with Authelia (2026-11-28)
- 72. Chat: Bulwark's design comes first; a screen to judge (2026-11-28)
- 73. Chat proof 6: size, formatting, push and memory pass (2026-11-28)
- 74. Chat: go (2026-11-28)
- 75. Chat M1: the base (2026-11-28)
- 76. Chat M2: conversations (2026-11-28)
- 77. Chat M3: while the webmail is open (2026-11-28)
- 78. Chat M3: message search (2026-11-28)
- 79. Chat: usernames are the directory's (2026-11-28)
- 80. Chat M3: personal settings (2026-11-28)
- 81. Chat M4: calls in the webmail (2026-11-28)
- 82. Calls open to the outside (2026-11-28)
- 83. Chat M5: administration in the webmail (2026-11-28)
- 84. Chat M5: roles, members and moderation (2026-11-28)
- 85. Chat M5: bots, invites, server and system pages (2026-11-28)
- 86. Chat status in the webmail's account menu (2026-11-29)
- 87. Chat's settings in the webmail's Settings (2026-11-29)
- 88. No Tasks count in the app bar (2026-11-29)
- 89. No app buttons among a mail row's hover buttons (2026-11-29)
- 90. Everyone may create a chat room (2026-11-29)
- 91. A chat room for every project (2026-11-29)
- 92. The project's chat on its page (2026-11-29)
- 93. An example project on the dev server (2026-11-29)
- 94. Archived projects folded away (2026-11-29)
- 95. Links in the project summary (2026-11-29)
- 96. File type icons on the project page (2026-11-29)
- 97. A better PDF reader in Drive (2026-11-29)
- 98. Projects last in the menu bar; no name twice (2026-11-29)
- 99. Read and unread emails in Projects (2026-11-29)
- 100. A project is a category in Contacts (2026-11-29)
- 101. Drive opens files beside the list (2026-11-29)
- 102. One icon leads from each box of a project's page (2026-11-29)
- 103. No profile or account tab in Chat's settings (2026-11-29)
- 104. An app's tooltip is its title alone (2026-11-29)
- 105. A replaced plugin build gets a new version (2026-11-29)
- 106. EdenText 0.16.0 stays as the Word editor (2026-11-29)
- 107. IronCalc 0.9.1 is not used for spreadsheets (2026-11-29)
- 108. Tasks uses more of Vikunja: every row, subtasks, links, repeats, reminders, notes editor (2026-11-29)
- 109. An example company in Chat (2026-11-29)
- 110. Proposed: one service per app, instead of everything in sftpgo-hooks (2026-11-29)
- 111. Services step 0: keys limited to their plugin, no public connect routes (2026-11-29)
- 112. Password vault: specification (2026-11-29)
- 113. Plugin pages can stay loaded (2026-11-29)
- 114. Password vault on dev, proof stage (2026-11-29)
- 115. Vault: backup, restore and lock (2026-11-29)
- 116. Vault: go, and the open questions (2026-11-29, delegated)
- 117. Vault: moving in and shared vaults, on dev (2026-11-29, delegated)
- 118. Vault 1.0.0 on dev: account, languages, review (2026-11-29, delegated)
- 119. Work branches merged into main (2026-11-30)
- 120. konbi-bulwark: our changes on main, with Bulwark 1.22.0 (2026-11-30)
- 121. Bulwark 1.22.0 on the dev stack (2026-11-30)
- 123. Ticket cleanup; no testing server (2026-11-30)
- 124. Spreadsheets in Drive with open-xlsx-editor (2026-11-30)
- 125. Vault is out of scope (2026-11-30)
- 126. Chat is optional, and off on dev (2026-11-30)
- 127. AI and Projects are optional too (2026-11-30)
- 128. Tasks is optional; without it the calendar's own tasks come back (2026-11-30)
- 129. Drive and Photos account settings live in the webmail (2026-11-30)
- 130. Drive and Photos have no settings (2026-11-30)
- 131. Newsletters are optional, and off (2026-11-30)
- 132. One sign-in: Authelia (2026-11-30)
- 133. CORE 1.0RC (2026-11-30)
- 134. Face recognition is optional, and off (2026-11-30)
- 135. Stirling-PDF and Contacts CRM are removed (2026-11-30)
- 136. A leaner core: only what is on is reachable (2026-12-01)
- 137. The leaner core merged into main (2026-12-01)
- 138. The webmail: Bulwark 1.22.1, without what the core doesn't use (2026-12-01)
- 139. The trimmed webmail merged into main (2026-12-01)
- 140. RC2: the optional parts leave the stack (2026-12-01)
- 141. Removed parts stay in CORE-1.0RC until a customer asks (2026-12-01)
- 142. No machine learning in Immich (2026-12-01)
- 143. The directory sync has its own account (2026-12-01)
- 144. The stack moves to its own server, with a configuration for it (2026-12-01)
- 145. A server is prepared and fed by two scripts (2026-12-01)
- 146. A server receives mail, has its own sites and shared addresses (2026-12-01)
- 147. The spam filter has its own resolver; the mail server keeps its DNS records (2026-12-01)
- 148. One icon for every app of the stack (2026-12-01)
- 149. Thicker tab icon; the build server no longer runs the stack (2026-12-01)
- 150. Forgejo has its own web server; the development data is deleted (2026-12-01)
- 151. One floating button on phones, in every app (2026-12-01)
- 152. A theme's component styles reach plugin frames (2026-12-01)
- 153. A black launch screen for the installed webmail (2026-12-01)
- 154. The launch screen is the logo's dark blue (2026-12-01)
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Decisions
| # | Date | Decision | Why |
|---|---|---|---|
| 1 | 2026-11-26 | Self-host on Forgejo; every repo public | One place for code, issues and CI; nothing private to protect |
| 2 | 2026-11-26 | One repo per project, no mirrors | Less clutter; the upstream remote points at GitHub |
| 3 | 2026-11-26 | Forks named konbi-<upstream> |
Forks are easy to tell apart from our own projects |
| 4 | 2026-11-26 | Plugin pages with clean URLs instead of embedding other apps | Native look; URLs can be bookmarked; no foreign logins in frames |
| 5 | 2026-11-26 | LLDAP is the single source of accounts | One place to add or remove a person |
| 6 | 2026-11-26 | Plugins use per-user API keys, never shared admin keys | A shared admin credential is usable by every user through devtools |
| 7 | 2026-11-26 | Patch LLDAP (API keys, password set) and SFTPGo (login flow) | The Bulwark proxy can't keep short-lived JWTs fresh |
| 8 | 2026-11-26 | No separate Authelia plugin | 2FA and WebAuthn must stay on Authelia's own origin |
| 9 | 2026-11-26 | This server is for development; the first project is the Stalwart stack, plugins come after | Get mail, files and sign-in working before building on them |
| 10 | 2026-11-26 | Official images, pinned to versions at least two weeks old | Reproducible; our forks are only built where we patch them |
| 11 | 2026-11-26 | SFTPGo from day one, replacing Stalwart's file storage and WebDAV | One file store; Stalwart's file permissions are disabled in its User role |
| 12 | 2026-11-26 | Stalwart reads LLDAP directly and is Bulwark's sign-in (not Authelia). The webmail's sign-in changed since: decision 132 | Stalwart 1.x takes one directory and needs LDAP for recipients and aliases |
| 13 | 2026-11-26 | Authelia only for SFTPGo and admin pages (LLDAP UI, SFTPGo admin, 2FA) | Follows from 12 |
| 14 | 2026-11-26 | Aliases in five single-value slots mailAlias1…5 |
LLDAP can't filter on list attributes; konbi-lldap #4 removes the limit |
| 15 | 2026-11-26 | Group addresses are shared mailboxes | What Stalwart does with LDAP groups; its distribution lists are internal-only |
| 16 | 2026-11-26 | Dev hostnames under dev.konbi.cc (DNS only, Cloudflare) |
Real certificates under our own domain; live konbi.cc records untouched |
| 17 | 2026-11-26 | One-click "Connect SFTPGo" as a service next to SFTPGo (konbi-connect), not a patch in our SFTPGo fork | Users connect without an admin handing out keys; SFTPGo stays on the official image. Safeguards in bulwark-sftpgo SPEC §4 v1.5 |
| 18 | 2026-11-26 | The stack works as one application: every feature inside Bulwark, never a redirect to another service's UI | lip: "all the features of sftpgo must be accessible from the plug in" |
| 19 | 2026-11-26 | SFTPGo is one app with a left menu (My files, Links), like Contacts | lip asked for shares and folders in one app; Bulwark's app-page fill makes it full height |
| 20 | 2026-11-26 | Word documents with EdenText, embedded inside the SFTPGo app (no app of its own) | Browser-only, AGPL, .docx/.odt, an embed protocol; the plugin keeps the file in SFTPGo |
| 21 | 2026-11-26 | PDF tools with Stirling-PDF (not BentoPDF), inside the SFTPGo app | Stirling has a REST API the plugin can drive; BentoPDF has no way to pass a file in or out |
| 22 | 2026-11-26 | Stateless services (Stirling-PDF) may use an admin credential | It holds no user data; the key stays in Bulwark's proxy and the service is internal only. Per-user keys (6) still apply to services with user data |
| 23 | 2026-11-26 | The whole team's group is konbi (konbi@), not team |
lip |
| 24 | 2026-11-26 | bulwark-contacts is a light CRM centred on the conversations with a contact | lip: "light CRM, a list of email shared with this contact" |
| 25 | 2026-11-26 | The files app is called Drive for users; the plugin id stays sftpgo |
lip; users shouldn't need to know the server behind it, URLs stay stable |
| 26 | 2026-11-26 | Whiteboards with plain Excalidraw embedded in Drive (like EdenText), not ExcaliDash | ExcaliDash keeps drawings in its own database and needs its own login, which can't work in the plugin sandbox; files in Drive get sharing, links and folders for free. Live co-editing later |
| 27 | 2026-11-26 | Run Bulwark from our fork's image (konbi-bulwark 1.21.2 + plugin-page patch) | Stock 1.21.2 rebuilds a plugin's frame on every in-app navigation, which made Drive slow; to upstream, then back to the official image |
| 28 | 2026-11-26 | Newsletters with listmonk, driven from a Bulwark plugin (bulwark-newsletter); listmonk's UI stays an admin tool behind Authelia | listmonk handles opt-in, unsubscribe, queue, bounces and tracking; the plugin keeps it one app (decision 18). No team distribution lists for now |
| 29 | 2026-11-26 | Group folders in Drive come from LLDAP groups (SFTPGo virtual folders mounted by the login hook), not from SFTPGo groups managed by hand | LLDAP stays the only place to manage people and groups |
| 30 | 2026-11-26 | PDFs preview with pdf.js (a page on the draw host), not Chrome's viewer nor Stirling-PDF; Markdown rendered as React elements | Chrome's viewer doesn't run in the plugin sandbox; Stirling would render server-side per page; Bulwark refuses innerHTML in plugins |
| 31 | 2026-11-26 | Markdown is edited in Toast UI Editor 3.2.2 (page on the draw host), embedded like EdenText | A real editor (WYSIWYG + Markdown, tables, task lists); in its own frame it may use innerHTML, which Bulwark forbids in plugins. Unmaintained upstream since 2022: Milkdown is the fallback if it breaks |
| 32 | 2026-11-27 | Image tools run in the browser (canvas), not Stirling-PDF | Instant, no upload, no server load; covers resize, rotate, crop, convert, compress, metadata. HEIC/TIFF/RAW are out (browsers can't decode them) |
| 33 | 2026-11-27 | Photos with Immich 3.4, driven from a Bulwark plugin (bulwark-immich) with its own UI; Immich web and app stay for phones and admins | Immich covers backup, faces, CLIP and OCR search; its web UI can't run inside the plugin sandbox (cookies, opaque origin), so the plugin has its own |
| 34 | 2026-11-27 | The plugin's Immich key is made by a connect service acting as the user (admin sets a random password, signs in, creates a scoped key, signs out) | Immich has no admin endpoint to make a key for another user (checked on 3.4.2) |
| 35 | 2026-11-27 | Big videos play from a player page on photos. with a one-hour shared link for that asset, not with the user's key in a URL | The sandbox allows media only from blob:, and the proxy buffers 25 MB at most |
| 36 | 2026-11-27 | Our Bulwark makes the plugin proxy limit configurable (PLUGIN_PROXY_RATE_LIMIT, 1500 in the stack); Traefik isn't a replacement |
The proxy holds plugin keys server-side, which no reverse proxy does; 300 requests a minute is hit by fast scrolling in Photos. Measured: 42 ms per thumbnail, a screen in 1 s. To offer upstream |
| 37 | 2026-11-27 | Plugin keys are automatic: Bulwark (our fork, PLUGIN_PROVISION) asks sftpgo-hooks/provision.py for each person's SFTPGo and Immich keys; nobody clicks Connect |
The stack ships as one application. Identity comes from the Stalwart-authenticated session, the request is HMAC-signed and internal-only, keys are per person with limited rights; a refused key is replaced once. OIDC end to end was rejected: SFTPGo and Immich APIs don't take Authelia tokens and Authelia has no token exchange |
| 38 | 2026-11-27 | Photos: Immich accounts for members of files, sign-in with Authelia (web and mobile), admin@ keeps a password |
Defaults for open questions 1 and 7 of bulwark-immich; changeable |
| 39 | 2026-11-27 | App bar order follows plugin install order (Drive before Photos) | Asked by lip; Bulwark ordered by activation time |
| 40 | 2026-11-27 | No link between Drive and Photos (Add to Drive / Add to Photos dropped, cross-plugin keys removed) | lip: keep them separate, don't mess things up |
| 41 | 2026-11-27 | Group albums: one Immich album per LLDAP team group, owned by a service account, members of files as editors; never deleted automatically |
Defaults for bulwark-immich questions 3 and 6 (big uploads through the phone app) |
| 42 | 2026-11-27 | Photos: no quota; leaving files disables the Immich account (keys, sessions revoked, quota 0; Authelia files-only), never deletes |
lip, bulwark-immich #11 and #12 |
| 43 | 2026-11-27 | Tasks plugin on Vikunja 2.8; anyone in the organisation can be assigned (the project is shared with them automatically) | lip's choice (backend and assignees) |
| 44 | 2026-11-27 | Vikunja accounts via /register from sftpgo-hooks (no public route), passwords kept in the hooks-state volume; no OIDC in v1 | Vikunja's admin API is a licensed feature; keys need a sign-in |
Open questions live as kind/decision issues; once decided, add a row here.
45. Tasks M2 (2026-11-27)
Tasks 0.3.0 adds Assigned by me, a kanban board per project, and comments and files on tasks. Vikunja clears a task's assignees and labels when a save leaves them out, so the plugin always saves from the server's copy of the task. Open: show tasks on a contact page (see the bulwark-vikunja SPEC).
46. Local AI (2026-11-27)
- When: after Tasks M3.
- Hardware: test on the dev box (6 vCPU, 11 GB, no GPU) with a small model on CPU (Ollama, 3B for sorting, 7B quantized for extraction); size the live server later.
- Mail sorting: automatic for everyone, users can turn it off (opt-out). Labels only, no folder moves at first. Everything stays on the server.
- Task and event creation from an email: the AI fills in a draft, a person confirms. The AI never acts on its own.
- Open: the categories (fixed list or per-user labels).
47. Tasks on phones: a phone password per app (2026-11-27)
Phones and desktop apps sync tasks over CalDAV at https://tasks.<domain>/dav/ (only that path is public). They sign in with a phone password per app, made in Tasks › Phone & apps, shown once and revocable one by one; not the konbi password (a lost phone doesn't expose it, and Vikunja's accounts stay as they are). The hooks service makes the passwords (Vikunja's API tokens can't); the plugin reaches it with its own provisioned credential.
48. One place for tasks: the calendar's own task list is off (2026-11-27)
Bulwark's calendar has its own task list (VTODO in Stalwart). It is turned off for everyone (admin policy: feature calendarTasksEnabled off, enableCalendarTasks and showTasksOnCalendar locked off and hidden; set by scripts/install-plugins.py), so tasks live only in the Tasks app (Vikunja). Tasks already stored in Stalwart calendars are hidden, not deleted.
49. Task notifications inside Bulwark (2026-11-27)
Tasks turns Vikunja's own notifications (given a task, comment, mention, reminder, reopened, deleted) into Bulwark notifications, a count on Tasks in the app bar and an Updates view. Only others' actions; at most 3 pop-ups at once. The app bar count needed a small fork change (konbi-bulwark: badge on api.ui.setPages). Notifications by email (Vikunja's mailer through Stalwart) are the next step, to decide how much mail people want.
50. Task emails: on, with an opt-out per person (2026-11-27)
lip chose: Tasks emails (given a task, comment, reminder, overdue) on for everyone, each person can turn them off (Tasks › Updates). Vikunja has no per-person switch for most of these mails, so its mailer goes through a relay in sftpgo-hooks that drops mail for people who opted out; the relay sends through Stalwart logged in as tasks@ (a service mailbox in LLDAP, hidden from the directory), since unauthenticated mail from a local address is filed as spam.
51. Local AI, step 1: task drafts from emails (2026-11-27)
Order chosen by lip: 1. email → task draft, 2. automatic mail sorting, 3. email → calendar event. Ollama 0.12.6 on the dev box (internal only, capped at 4 CPUs / 5 GB), model qwen2.5:3b (about 2 GB, 6–15 s per email on CPU). The model only writes the title, quotes the deadline words and judges urgency; dates are resolved by code (a 3B model got dates wrong, even in the past), and a project is suggested only if its name appears in the email. Deadline words the model returns must appear in the email (it copied prompt examples otherwise). The suggestion fills the draft; what the user typed is never overwritten; a person creates the task. A bigger model (7B) would be better but needs more memory than this box can spare.
Update (same day): lip moved the model to Qwen3.5-2B (qwen3.5:2b, 2.7 GB), which needed Ollama 0.40.16. Thinking is off (too slow on CPU). Same speed (8–10 s); on the same five test emails it was better on the newsletter (not actionable) and slightly clearer English titles, worse on one French title, a lost time and one "not actionable" for a real request. The code safeguards (dates, projects, user edits win) are unchanged.
52. Local AI, step 2: automatic mail sorting (2026-11-27)
lip approved the fixed list: Action needed, Invoices, Clients, Newsletters, Notifications, Personal. The server (sftpgo-hooks mail_sorter.py) adds one label to each new inbox email, about a minute after it arrives: labels only, nothing moved, deleted or answered, nothing about the emails logged. On for everyone, opt-out per person (decision 46) in Settings → Add-ons → AI (new plugin bulwark-ai), which also adds the six tags, named in the person's language, once.
How it reads every mailbox: one LLDAP account, mail-sorter, that Stalwart allows to act for users (permission impersonate, IMAP login <user>%sorter), instead of storing each person's password. Emails with a List-Unsubscribe header go to Newsletters without the model. qwen3.5:2b sorted the six test emails right in 5–9 s each. When sorting starts for someone, only mail from the day before onwards is sorted, never the whole mailbox.
53. Local AI, step 3: calendar events from emails (2026-11-27)
"Add to calendar" on an email (AI plugin 0.2): a draft (title, day, start, length, place, calendar) the person checks and adds. Same rules as task drafts: the model quotes the date words, code resolves them; length and place only when the email says them; what the person typed is never overwritten. It warns when the person already has an event at that time. The event is created in their own calendar with no invitation sent. Next, proposed: an Assistant page ("what happened, what to do"), mostly built by code from each person's own mail, tasks and calendar, with short AI summaries. Questions for lip are in infra#18.
54. Projects: the app's goal (2026-11-27)
Goal: everything about one project in one place: documents, photos, tasks, emails, events, contacts. Each app keeps its items; the project ties them together; one page shows them (plugin bulwark-projects, spec in its SPEC.md).
- A project is an LLDAP group with attributes
konbiproject(reference),projectstatus,tasksproject. LLDAP is the register; group members are the team, and their access in every app. The group already gives a shared Drive folder and a Photos album; the projects service (sftpgo-hooksprojects.py, LLDAP admin accountkonbi-projects) adds a Tasks project shared with the members. - Emails stay personal (default until lip decides otherwise): "Add to project" tags your own copy (
$label:p-<slug>). - konbi-bulwark gained
api.ui.openAppPage(a plugin opens another plugin's page: the project page opens Drive, Tasks, Photos) andemail.searchby keyword. - Order: P1 project page (done in 0.1.0), P2 events/contacts/import, P3 automatic linking (rules, then AI suggestions), P4 focus mode, activity, Assistant by project. Open for lip: importing the client's existing folders; a shared project mailbox; who may create projects.
55. Projects, step 2: events, contacts, existing folders (2026-11-27)
bulwark-projects 0.2.0, laid out like Tasks (a menu of projects; Overview, Emails, Events and People tabs).
- Events carry the same tag as emails, as a keyword on each person's own event (konbi-bulwark 1.21.2-konbi12:
keywordsincalendar.updateEvent). On a repeating event, one date is tagged. - Contacts of a project (client, suppliers) are a list on the project's group, seen by the whole team; address books aren't changed.
- Existing folders: a shared folder becomes a project one at a time; its files stay and its people are the team. A bulk import waits for the client's folder layout.
- Renaming keeps the slug (URLs and tags) and the folder's directory. A new group never reuses a directory another folder holds.
- Finding emails and events (by reference, name, contacts) only suggests; the person ticks what to add.
- Still open: project chips on items in the other apps; P3 automatic linking.
56. Projects, step 3: new emails join projects by fixed rules (2026-11-27)
sftpgo-hooks/mail_linker.py (bulwark-projects 0.3.0), without AI. A new email in the inbox or sent mail joins one of the person's active projects when, in this order, it answers an email already in the project, quotes its reference, or comes from (sent: goes to) one of its contacts and isn't bulk mail. The first rule that matches decides, only if one project fits; otherwise nothing. Labels only, on that person's copy, shown as "added automatically"; an email taken out stays out. It uses the mail-sorting account (decision 52).
- On for everyone, opt-out per person (Projects › All projects), like mail sorting. Confirmed by lip (2026-11-27).
- Limits: only new mail (from the day before first use); a reply that arrived before its conversation was added isn't linked later ("Find emails" covers it).
- Next: attachments and tasks/events made from a project email; then AI suggestions with ✓ / ✗.
Dev box: AI containers (Ollama, Immich machine learning) are stopped while coding and restarted afterwards (about 12 GB of RAM).
57. Projects from any Drive folder; what a project email brings (2026-11-27)
lip: the client's project folders have no fixed place and can be moved; a folder that isn't in a project offers to become one. So there is no bulk import.
- Drive shows "Create project" on such a folder, "Project: …" on a project's folder; the Projects app creates it (name from the folder, reference, team).
- The folder stays where it is. It is known by what a move keeps (inode, creation time);
sftpgo-hooksreads SFTPGo's data read-only and writes nothing in anyone's folders. Moves and renames are followed, between personal and shared space too. - Linking shares nothing. People see the folder where Drive already lets them; the project page says who can't, and moving it into a shared folder fixes that.
- Such a project gets no extra shared folder (album and task list as before). Projects made from nothing still get a shared folder, which starts at the top of Drive (decision 58).
- One project per folder, none inside another's.
- From a project email: "Save to Drive" opens on the project folder, "Make a task" uses its task list, "Add to calendar" tags the event. Nothing is copied by itself, so an attachment stays private until its owner saves it.
- Limits: a deleted folder (or one downloaded and uploaded again) shows as missing and the project can't yet be pointed at another; renaming a project doesn't rename its folder.
- Still open: a shared project mailbox; who may create projects. Next: AI suggestions with ✓ / ✗.
58. Shared folders can be moved into one's own folders (2026-11-27)
lip couldn't drag "Dupont villa" into "Projets": a shared folder (a team's, or a project's made from nothing) was fixed at the top of Drive.
- Each person keeps it where they like, among their own folders (
sftpgo-hooks/places.pysets the path on their SFTPGo user). No file moves, nobody's access changes, others see no difference; WebDAV shows the same place. - Chosen over turning shared folders into ordinary folders inside
konbi, which would have opened each project's files to everyone. - A folder of one's own that holds one can be moved and renamed (Drive asks the konbi service: SFTPGo refuses it itself).
- Refused: into another shared folder, renaming or deleting a shared folder, deleting a folder that holds one (web and WebDAV).
- Limits: share links to files inside stop working after a move; a program that empties folders file by file (SFTP) can delete shared files, as in any shared folder.
59. Local model: Ministral 3 3B (2026-11-27)
lip asked to try ministral-3:3b (Apache 2.0, 3 GB) and chose to keep it, replacing qwen3.5:2b (removed from the box). tests/bench_ai.py, 40 made-up French and English emails, one run, same code for both; emails fully right and median time:
| Job | qwen3.5:2b | ministral-3:3b |
|---|---|---|
| Task draft (12) | 10, 7.5 s | 11, 6.2 s |
| Sorting (18) | 16, 4.0 s | 17, 1.9 s |
| Calendar event (10) | 7, 9.2 s | 9, 6.9 s (10 after the time fix) |
- Weaker: task titles, which the scores don't measure. It can name the wrong action (a water leak: "check the pipes" for "call the plumber") and adds the sender's name to event titles. The person confirms every draft.
- Safeguards added: "immediately" is removed from a title when the email doesn't say it; a title "null" is dropped; "3:15 pm" is now read as 15:15 (our bug, with both models).
- Memory: about 3.5 GB while loaded (qwen 3.1 GB). The model now leaves memory after 5 idle minutes (was 30), so the first answer after a pause takes about 8 s longer.
60. Mail's menu header is the title and "+" (2026-11-27)
lip: Mail's left menu didn't look like the other apps'. Its header is now what Contacts, Drive, Tasks and Projects have: the app's name and a "+" for a new message (konbi-bulwark, image konbi13).
- Gone from that header: the account switcher (accounts switch from the avatar in the app bar; with several accounts the address shows under the title, as in Contacts), the wide "Compose" button, and the fold button on wide screens. The setting "account switcher in the sidebar" is removed with it.
- Fold button kept where the menu is folded by itself (screens under 1024 px) and on an already folded menu, to open and close it.
- Phones keep the round button over the list; the menu has the "+" too.
- Mountain View and the Pro interface are unchanged.
- In simple mode with the account list in the app bar, the avatar stays there, so accounts can always be switched.
61. All projects as a grid with photos (2026-11-27)
lip asked for the list of projects as a grid, with the project's photo behind each card when there is one (bulwark-projects 0.5.0).
- The photo is the cover of the project's album in Photos (Immich picks it). Choosing another isn't offered yet.
- Who sees it: the project's members who use Photos. The projects service serves it with the group-albums account, whose key gains
asset.view(it only reaches photos of albums it owns). The others get a card with a folder icon. - Dev box: sample photos (CC0, Wikimedia Commons) in the albums of Dupont villa, Martin office fit-out and Lumière café, uploaded by the test user alice.
62. Thumbnails on the project page (2026-11-27)
lip asked for photo and video thumbnails in a project's photo list (bulwark-projects 0.6.0).
- The 24 newest of the project's album, videos marked with their length. A click opens the album in Photos (viewing one in place: not yet).
- The projects service lists and serves them with the group-albums account, whose key also gains
asset.read. That account sees every group album, so each request checks that the person is a member who uses Photos, and that the photo is in that project's album (tests/check_project_photos.py).
63. Shorter app addresses (2026-11-27)
lip didn't want the repetition in addresses such as /apps/projects/projects.
- A plugin page's address was
/apps/<plugin>/<page>; ours name their one page after the plugin.konbi-bulwark(imagekonbi14) now leaves the page out then:/apps/projects,/apps/tasks,/apps/photos. Drive keeps/apps/drive/files. - Old addresses still open and become the short ones. A task is
/apps/tasks/task/<id>(Tasks 0.9.1).
64. Tests: quick ones on the dev server, full runs on a testing server (2026-11-27)
lip: the dev server shouldn't run the tests every time.
- Dev server: only quick checks tied to what changed. A full run only when asked.
- Testing server (to be set up,
infra#22): rebuilds the stack from Git with its own test data and runs everything, through a Forgejo Actions runner.
65. A summary on the project page: facts by code, emails by the local AI (2026-11-27)
lip asked for an AI summary at the top of a project's overview (bulwark-projects 0.7.0, infra#23).
- By code: overdue tasks, next deadline, next event, newest documents.
- By the local model (
ministral-3:3b): the person's 8 newest emails in the project, from their preview lines. Personal, kept in memory only, never logged. - Why not everything by the model: tried on the dev box, it reported overdue tasks that weren't, a wrong date for "next Tuesday", and a quote "confirmed" that it knew only by file name. A sentence with a number the emails don't have is dropped; the card says to check.
- Dev data: one made-up email from bob to alice, "2026-014 Kitchen tiles", in Dupont villa.
66. Actions inside the AI summary (2026-11-27)
lip: the summary named a visit, but the project had no event and nothing to make one (bulwark-projects 0.8.0, infra#23).
- One sentence per email (the 5 newest), so a sentence and its actions can't be mixed up.
- Icons chosen by code, never by the model: add to calendar (a proposed day still to come), make a task (a request or a limit), open the email.
- The apps' own dialogs do the work and a person confirms: new host call
api.ui.runAppAction(konbi-bulwark konbi15) runs only an action another plugin offers in the mail reader, for one message; needsemail:read. - Limits seen on the dev box: the model can still say who asks whom wrongly, and in English it names the reader instead of "you". Only the email's preview is read.
- Dev data: a second made-up email from bob to alice, "2026-014 Visite technique".
67. Task deadlines show in the calendar (2026-11-27)
lip made a task with a due date from an email and didn't find it in the calendar, whose own task list is off (decision 48).
- Tasks 0.10.0 marks the days of the person's open tasks (
api.ui.setDayLabels): read live, nothing copied, so no duplicates and nothing stale. - Not chosen: creating a calendar event per deadline (two things to keep in step; it stays after the task is done).
- Limits: a mark isn't clickable, not in the agenda view, not on phones' calendar apps.
68. Team chat: a full-feature plugin on Chatto, specified (2026-11-28)
lip wants Chatto added, and asked for the full-feature plugin route (spec: bulwark-chatto). No go yet: milestone M0 proves the risky parts, then lip decides.
- Plugin, not a frame (decision 4): Chatto's screens are rebuilt in Bulwark's design, about 63,000 lines against about 9,100 in all our plugins today.
- Reused: the Chatto server (published image, not forked) and its
@chatto/clientlibrary (Apache-2.0). - Needed besides the plugin: an account and token service, a live-update relay, and changes to
konbi-bulwark(calls, push). - Not chosen: showing Chatto's own interface inside Bulwark as a pinned app. It needs no fork change and far less work, but isn't our design.
- Main cost: keeping up. Between 0.5.0 and 0.6.0 (17 days) the interface changed by +30,962 / −8,132 lines.
- Open: access group, features left to Chatto's own clients, call ports, upgrade pace, name (tickets in
bulwark-chatto).
69. Chat: continue with the rebuilt plugin; M0 proofs 1 to 3 run (2026-11-28)
Connecting Chatto turned out much easier than rebuilding its screens, so showing Chatto's own interface inside Bulwark was compared again (recommended by Claude, untested). lip chose to continue with the rebuilt plugin (decision 68). The go / no-go still waits for proofs 4 to 6.
- Proven on dev: the client library runs in a plugin; live messages through
chat-relay, with reconnect after token expiry; accounts, sign-in, renewal and offboarding. - Open: reconnect by resume cursor not shown; blocking password sign-in from outside (M1); Authelia link, calls, Markdown, push and memory (P4 to P6).
- Fragile point: the plugin adapts the library through its internals, including a hook meant for tests (
bulwark-chattoSPEC 6.1). Supported interfaces should be asked of upstream. - Weak point: the account service sits in
sftpgo-hooks, which already holds a lot of admin access. - Stack: separate file
compose.chat.yamluntil the go / no-go.
70. Chat proof 5: calls from a Bulwark page work with Chatto's app (2026-11-28)
An end-to-end encrypted call between a Bulwark page and Chatto's web app passes on dev (sound, camera, screen; nothing decodes with a wrong key). So calls can be built into Bulwark (K2) rather than giving the plugin the whole webmail.
- Test setup: Chatto's app and LiveKit answer only inside the Docker network (port 8443, unpublished); no call port was opened (still the open question in
bulwark-chattoSPEC 18.5). - Not shown: public network paths and TURN, other browsers, phones, real devices; the call panel itself.
- Fork change, on its own branch:
konbi-bulwarkkonbi/chat-call-proof.
71. Chat proof 4: Chatto's own apps sign in with Authelia (2026-11-28)
Chatto matches an outside sign-in by Authelia's subject, never by email, so each account is linked in advance.
- A
chat-subjectscontainer reads the subjects from Authelia's database andchat_connect.pylinks them. It has no network, but holds Authelia's storage key and database. - Not chosen: letting Chatto create accounts at sign-in (a second account per person), or linking by hand.
- Passes in Chatto's web app inside the dev network; mobile and desktop apps wait for a public address.
- Before M1: decide whether that database access is acceptable, and keep usernames unique over time (accounts follow the username).
72. Chat: Bulwark's design comes first; a screen to judge (2026-11-28)
- lip: the most important part stays the web UI design, in line with Bulwark. It is the first rule of the Chat spec (bulwark-chatto SPEC 1).
- The proofs' test page says nothing about design, so the proposed screen was built before the go / no-go: the plugin's "Chat design" page, on made-up content (SPEC 7.1).
- Menu and headers as Mail's, the app's own controls and icons, theme colours only, Mail's avatar colours; checked in light, dark, medium and phone layouts.
- To do before M2: an avatar in the plugin UI kit (K6), so Chat doesn't copy Mail's.
- lip judged the screen on 2026-11-28: "it's good". It is the reference for the screens still to draw.
73. Chat proof 6: size, formatting, push and memory pass (2026-11-28)
- Size: every library the finished plugin needs is 1.3 MB zipped of Bulwark's 5 MB; no larger limit.
- Formatting: Chatto's Markdown subset as page elements. Diagrams are drawn by Pele, Chatto's library, and shown as images, which replaces the planned separate frame with Mermaid.
- Push: Chat signs with its own key, and mail's belongs to Bulwark's push relay (an outside service by default). So Chat gets a second service worker with its own subscription; shown working in Firefox, with every page closed. M6 adds the Bulwark page that subscribes.
- Memory with 50 people connected and 5,000 messages: under 100 MB each for Chatto and NATS, 34 MB for the relay; LiveKit 112 MB in a two-person call.
- Learnt: Chatto asks senders to retry when many write to one room at once, and catches up only 8 connections at a time.
- All six proofs are run. The go / no-go is lip's (bulwark-chatto#7).
74. Chat: go (2026-11-28)
- lip: go, after the six proofs (decision 73) and the screen (decision 72). M1 Base starts.
- Chat is for everyone in the
konbigroup. - Accepted: the
chat-subjectscontainer, with no network, holds Authelia's storage key and database so that Chat accounts can be linked. - Still open: features not rebuilt, calls inside Bulwark, upgrade pace, public ports for calls, app name (bulwark-chatto#25 to #29).
75. Chat M1: the base (2026-11-28)
- Chat is part of the stack (
compose.yaml,up.sh). Its account service is a container of its own,chat-service, with its own read-only LDAP user, not part ofsftpgo-hooks: it needs no other app's admin access, and one lock per person replaces one lock for everybody. - An account belongs to a directory entry, not to a username. A reused username retires the earlier account (deactivated, unlinked, renamed) and makes a new one, without an email address when the earlier one still holds it (Chatto can't take it back).
- Passwords never work from outside: Caddy refuses them on
chat.<domain>. Chat roles come only from the service. - Backups are two files encrypted with one passphrase (
scripts/backup-chat.sh); a restore into a throwaway stack passed. Backups and passphrase belong off the server; no schedule yet. - The plugin's first real version lists rooms and direct messages in the accepted design and draws nothing that doesn't work yet. Messages are M2.
chat.dev.konbi.ccstays internal until lip decides (bulwark-chatto SPEC, open question 7).
76. Chat M2: conversations (2026-11-28)
Chat 0.2.0 reads and writes rooms, direct messages, threads and files in Bulwark's design (bulwark-chatto SPEC 15.3). Its own test, a day of conversation without Chatto's client, is still to be done.
- Files are at most 25 MiB (
CHATTO_CORE_ASSETS_MAX_UPLOAD_SIZE): the most Bulwark's plugin proxy passes back in one piece. Larger files need streamed downloads first. - Video processing is on, one video at a time; the server makes a streaming version and the plugin plays it through the proxy.
- The plugin asks Chat's files of the proxy's internal address, whatever public name Chat wrote in them, and of no other host. The account service tells the plugin the public address, so links to rooms, people and messages open inside Chat.
- The plugin has one new permission, to download files. Bulwark refuses pages, drawings and programs, so opening HTML attachments (SPEC 13) isn't built.
svgblocks are shown as still images of a bounded set of shapes;ansiblocks use Chatto's terminal library. Link hover cards and code copy buttons aren't built.- Open for lip: whether to ask Chatto upstream for supported interfaces (SPEC 18, question 8).
77. Chat M3: while the webmail is open (2026-11-28)
Chat runs a small part of itself on every page of the webmail (bulwark-chatto SPEC 6.7).
- A person shows as online while their webmail is open, not only on Chat's page; "Look offline" hides it. Their choice is never changed by the app.
- The app bar counts unread notifications that ask for attention; new ones pop up through Bulwark's notifications, saying who and where, never the message's text, and not during "Do not disturb". The plugin has the new permission to show notifications.
- It reads every 15 s without a live connection, so a pop-up can be that late. Push with the webmail closed stays in M6.
- Counts are in Bulwark's blue and grey, not Chatto's orange (design rule).
78. Chat M3: message search (2026-11-28)
Chatto's own search is on in the stack (languages English, French, German).
- Its index holds message text unencrypted on the server's disk (volume
chat-search, Chatto only), unlike the message store. It is rebuilt from the messages when empty, not backed up, and emptied by a restore. Switching search off: the twoCHATTO_SEARCH_*_ENABLEDlines incompose.yaml, then empty the volume. - What is searched for stays out of addresses.
- Ctrl/⌘ K opens Chat's switcher only while Chat has the focus: a plugin can't claim that key in Bulwark.
79. Chat: usernames are the directory's (2026-11-28)
Chatto lets people change their own username; Chat's account service finds accounts by it. A rename would have orphaned the account, and a name taken in advance would have been handed to its owner while still in use. Fixed before any production use:
- Chatto refuses own changes and unlinking for accounts linked to Authelia.
- The service restores a changed username at each sync and never takes over an account another person's record holds.
- So Chat's settings show the username and don't change it.
80. Chat M3: personal settings (2026-11-28)
- Settings live in Chat (
/apps/chat/settings), laid out as the webmail's, so a change shows at once and there is a button for it in Chat. The webmail's Settings → Chat leads there. (A plugin has no way to open the webmail's Settings from its own screen.) - People's own pictures show beside names; without one, Mail's colours and initials.
- Not offered in Chat: changing the password, e-mail or username (the directory's), and deleting one's account (it would be made again at the next sync; open for lip).
- Voice settings come with calls (M4), language with the three languages (M6).
Chat 0.3.0 (M3 Daily use) is built and passes its checks on dev (SPEC 15.4). Its own test, a day of daily use without Chatto's client, is still to be done.
81. Chat M4: calls in the webmail (2026-11-28)
- The webmail owns the call, the plugin owns Chat. A plugin never gets the camera, the microphone or the connection. It asks the webmail, which asks the person (devices, preview), and only then does the plugin ask Chatto to join and hand over the token and end-to-end key. The call server's address is the webmail's own setting (
CHAT_CALLS_URL). - A bar above every app while in a call; it takes its own row, so it covers nothing. The call view lies over the app and folds away on going elsewhere.
- One call at a time; it ends with sign-out, an account switch, the app lock or a reload. The organisation's idle sign-out is left as it is.
- Off until the ports are open.
CHAT_CALLS_URLis empty in the stack: no media port is published (bulwark-chatto #28, lip's decision). Calls were checked inside the Docker network only, with the browser's fake devices. - Not built of upstream's call features: volume per person, voice boosting and noise gate, full screen and picture-in-picture, system media controls, join and leave sounds (SPEC 15.5).
Chat 0.4.0 with konbi-bulwark 1.21.2-konbi17.
82. Calls open to the outside (2026-11-28)
Agreed by lip (bulwark-chatto #28). Supersedes "off until the ports are open" in 81.
- Opt-in per server:
compose.calls.yamlplusCOMPOSE_FILEandCALLS_PUBLIC_IPin.env. As the stack comes, nothing is published. - Open: 7881/TCP, 7882/UDP, 3478/UDP (IPv4), and
calls.<domain>on 443 for/rtconly. LiveKit's server API answers 404 there; Chatto keeps using the inside address. - TURN is LiveKit's own, for participants only. It reaches the media server by a fixed address on a network of its own (through the public address, replies came back from Docker's gateway and were dropped) and no other private address.
- Checked on the server itself by the public name and address: UDP, TCP only and TURN only. Not yet from another network. No TURN over TLS, so networks that allow only 443 can't call.
chat.<domain>stays internal (#31).
83. Chat M5: administration in the webmail (2026-11-28)
- One page,
/apps/chat/admin, behind a shield beside Chat's settings, offered to who may manage the server's rooms or server, or may turn those powers on. Editing is beside the list, as a thread is (on a phone in its place). - Chatto's administrator powers stay as Chatto has them: off until turned on, after a question, for 15 minutes. They apply to the same server session the live connection uses.
- Rooms are archived, never deleted: Chatto 0.6.0 has no call to delete one. Asking upstream would need lip's OK (as #32).
- Sidebar links now show in everyone's menu; Chat's own addresses open in the app.
- The list is for managers of all rooms. A manager of a single room edits it from the room's menu; managers of a single group have no group tools yet.
- Built first: rooms and groups (bulwark-chatto #19). Next: roles, permissions, members, moderation (#20); bots, invites, server settings, dashboard (#21).
84. Chat M5: roles, members and moderation (2026-11-28)
- Tabs in Administration (Rooms, Roles, Members, Moderation), each offered by the right it needs.
- The permission matrix shows one place at a time (server, direct messages, group, room) instead of a grid: it fits the webmail's side column and a phone.
- Accounts stay the directory's: no password change (
chat-servicesets passwords), no account deletion (still lip's to decide), no username change. Deactivating and reactivating are offered. - The role Admin follows
lldap_admin; a change made in Chat stays until that membership changes. - Known: the stack's own account
konbi serviceis listed; deactivating it would stop leavers being deactivated.
85. Chat M5: bots, invites, server and system pages (2026-11-28)
- Six more tabs (Bots, Invites, Server, System, Events, Jobs), each by the right it needs; System is the owners', as in Chatto.
- Secrets are shown once (API keys, webhook addresses, signing secrets), in the panel that made them; the plugin keeps none.
- Invite codes stay available although signing up by e-mail is off here: the page says so, and an old code can be revoked.
- The dashboard is a list of checks, trouble first, then numbers; no charts.
konbi serviceis read-only in the app (replaces the warning in 84). Chatto's own admin pages can still change it.- Chat 0.5.0 (bulwark-chatto #19, #20, #21). Not offered: passwords, account deletion, usernames, other people's profiles; Chatto can't delete rooms.
86. Chat status in the webmail's account menu (2026-11-29)
- Your Chat status is set from the avatar at the foot of the app bar (on a phone, at the top), from any app; asked by lip. The avatar carries a dot with the choice.
- Chat's menu loses the face at its foot; Administration stays there as a row.
- A general way for apps (konbi-bulwark konbi18,
api.ui.setAccountMenu): a plugin declares entries, the webmail draws them as its own menu rows and passes presses back. Allowed withui:app-page, so no new permission to approve. - A status of your own is edited in a dialog of the webmail's, with the plugin's form.
- With the account list in the app bar (a non-default setting), pressing the account in use opens the entries.
- Chat 0.5.1. Combining the other account settings across apps stays open (name and picture: where they are saved is undecided).
87. Chat's settings in the webmail's Settings (2026-11-29)
- All of one's Chat settings are under Settings → Add-ons → Chat (profile, account, notification rules, writing, time, voice and video); asked by lip.
- Chat's menu has no Settings row (lip). A room's "Notification rules", the notifications page's button and the quick switcher still lead to the settings page.
- A plugin may open its own settings page, nothing else (konbi-bulwark konbi18,
api.ui.openSettings, permissionui:settings-section, already granted). - Administration (managing the server) stays in Chat.
88. No Tasks count in the app bar (2026-11-29)
- The Tasks icon carries no count or dot (lip: not relevant). Tasks' pop-ups and its Updates view stay as they are.
- Tasks 0.10.1.
89. No app buttons among a mail row's hover buttons (2026-11-29)
- Pointing at an email in the list shows the mail's own quick actions only (lip): no "Add to calendar" (AI), "Make a task" (Tasks) or "Add to project" (Projects). The three stay in the row's right-click menu (under More actions) and in the open message's toolbar.
- A general switch for apps (konbi-bulwark konbi18): an action marked
menuOnlygets a menu entry and no hover button. AI 0.3.1, Tasks 0.10.1, Projects 0.8.1.
90. Everyone may create a chat room (2026-11-29)
- Every person with Chat can create a room (lip). Chatto allows only administrators by default; konbi's account service grants "Create rooms" to everyone, once, so a later change by an administrator stays.
- In Chat: "New room" in Browse rooms, and + beside each room group. Name, description and group; other settings stay with those who manage rooms.
91. A chat room for every project (2026-11-29)
- Chat has a room group "Projects" with one room per active project (lip). Chat's account service keeps it, within a sync (1 minute on dev, 5 by default).
- Only the project's team sees, reads and joins a room; its members follow the project. Someone who leaves a room is put back; accounts that aren't people of the directory (bots) stay.
- A renamed project renames its room; an archived or removed project's room is archived, never deleted, and returns with the project. A new project under an old name gets a new, empty room.
- Only administrators make rooms in that group. Chat limits room names to 30 characters and keeps them unique: longer names are shortened (the full name and reference are in the description), a taken one is numbered.
- Existing active projects got their room on the same day.
92. The project's chat on its page (2026-11-29)
- A project's page shows the room's ten latest messages across the page (lip), whole, oldest first, with attachment names and reply counts; a message opens in Chat. Asked larger after a first version in a narrow card.
- Read only. The Projects service asks Chat's account service, which reads the room as the person: Projects holds no Chat key, and only team members get anything. Bulwark's shared signing secret protects that call.
- Projects 0.9.0.
93. An example project on the dev server (2026-11-29)
- A repeatable, removable fixture (lip):
infra/stack/example-project, documented in Example project, with emails, files, photos, tasks and events from emails, contacts and a conversation, for alice, bob and lip. - Everything is invented and dated from the day it is made; pictures are drawn by the script; nothing is sent by mail.
94. Archived projects folded away (2026-11-29)
- On "All projects", archived projects are under an "Archived (n)" drop-down below the tiles, closed at first (lip). It stays open while moving around Projects, until the page is reloaded. The side menu's own drop-down is unchanged. Projects 0.10.0.
95. Links in the project summary (2026-11-29)
- What the summary at the top of a project's page names is a link to it (lip): overdue tasks and the next deadline open the task, the next event opens the calendar's agenda (the mail app can't open one event), the latest documents open in Drive, and each of the AI's sentences opens its email. The small icons after a sentence stay. Projects 0.11.0.
96. File type icons on the project page (2026-11-29)
- A project's documents have the icon of their type, as in Drive (lip): both draw it with the plugin kit's file icon, from the file's name. Projects 0.11.1.
97. A better PDF reader in Drive (2026-11-29)
- Text can be selected and copied (lip), and the reader has search, links, page numbers and zoom. Drive 0.27.0, konbi draw 0.4.0.
- Still pdf.js in a frame on the draw host, now with its own viewer components, which bring the text layer, search and links. The file stays in the browser.
- The controls are Drive's, in its toolbar, so the reader looks like the rest of the webmail; the frame only shows pages.
- Links in a file are untrusted: only web pages (new tab, through the webmail) and mail addresses (new message) are followed.
98. Projects last in the menu bar; no name twice (2026-11-29)
- Projects is the last app in the menu bar (lip). A plugin's page may now ask for a place among the plugin pages (
order, lower first; konbi-bulwark konbi19); Projects asks for the end (0.11.2). So it holds whatever the order of installation. - The tooltip of an app names it once (lip): "Drive", not "Drive (Drive)". The plugin's name stays in brackets only when the page is called something else.
99. Read and unread emails in Projects (2026-11-29)
- An email's icon in a project says whether it is read (lip): a closed envelope in the primary colour when unread, an open muted one when read, from your own copy's state. Overview, Emails tab and "Find emails". Projects 0.11.3.
100. A project is a category in Contacts (2026-11-29)
- Each project is a category in Contacts (lip): the cards of a project's contacts carry its name, in every member's own address book. The category works both ways, like the mail tag: putting it on adds the contact to the project, taking it off (or deleting the category) removes it for the whole team. Rename follows; archive keeps it. No card is made or deleted. Projects 0.12.0,
contact_categories.py.
101. Drive opens files beside the list (2026-11-29)
- A reading pane in Drive, like Mail (lip): selecting a file with a preview or an editor opens it on the right; unsaved changes are asked about before moving on. Narrow windows keep the buttons. Drive 0.28.0.
102. One icon leads from each box of a project's page (2026-11-29)
- No text link at the top of the boxes (lip): "See all", "Open the folder", "Manage" and the others are the same arrow icon in every box, the old text as its tooltip. "Write again" on the summary stays as text: it is an action, not a way to the full list. Projects 0.12.1.
103. No profile or account tab in Chat's settings (2026-11-29)
- Add-ons → Chat has no Profile and no Account tab (lip). It opens on Notifications. The Chat picture, name and "About" can no longer be changed in the webmail; what was set stays. One place for account settings across the apps is still open (bulwark-chatto #36). Chat 0.5.2.
104. An app's tooltip is its title alone (2026-11-29)
- No plugin name in brackets in the menu bar (lip, completing decision 98): in French "Tâches (Tasks)" and "Projets (Projects)" named an app twice. konbi-bulwark konbi20.
105. A replaced plugin build gets a new version (2026-11-29)
- A broken Projects build was live for about a minute under 0.12.1 and emptied project pages in a tab loaded then; open tabs keep what they loaded. A replaced build is released under a new version number (0.12.2), the user is asked to reload, and
test/imports.test.mjsfails on a component used without its import.
106. EdenText 0.16.0 stays as the Word editor (2026-11-29)
- Keep EdenText (lip), upgraded from 0.14.0 to 0.16.0. On three of lip's documents both versions open them, and 0.16.0's saved copy of the two with content renders like the original. First-page and even-page headers that are in use are kept. Its new dictation is off (
dictation: false, Drive 0.28.1), as its AI assistant is. Live co-editing (new in 0.16.0) is not set up. The reported "doesn't take my docx" is not reproduced.
107. IronCalc 0.9.1 is not used for spreadsheets (2026-11-29)
- Tried on a real 15-sheet workbook (lip asked to try it). It computes wrong results: it drops parentheses before
%(=0.55*(C53+C66)%is read as=0.55*C53+C66%), so 3 cells and the totals above them changed (902 shown as 18 380). Saving also lost all page setup and margins (15 sheets), drawings (14 sheets) and both pictures, and one value; merged cells, column widths, row heights and conditional formats were kept. No spreadsheet editor is installed; the next candidate is the ONLYOFFICE sheet editor run in the browser.
108. Tasks uses more of Vikunja: every row, subtasks, links, repeats, reminders, notes editor (2026-11-29)
- Asked by lip after a review of what Tasks leaves unused ("yes start with 1 and 2"). Tasks 0.11.0 reads every page of Vikunja's lists (50 rows a page: one account already had 57 open tasks) and adds subtasks and linked tasks, repeats, reminders and a notes editor with checklists in the task panel.
- The editor is TipTap, as in Vikunja itself. Bulwark refuses plugins that write
innerHTML; the check stays as it is, and the two library lines are replaced at build time by a parser that runs nothing and by plain text. - Not done: quick entry, timeline, table and filters, task from a chat message, project-room updates, Tasks settings under Settings.
109. An example company in Chat (2026-11-29)
- Asked by lip: "populate a standard animated discussion server of a small company". Chat got an invented architecture studio (
infra/stack/example-company/, page Example company), written with Chat's own import calls so messages carry past dates and notify nobody. - Its six people are Chat accounts only: no directory entry, no password.
lipis added to the rooms and writes nothing. #generalholds leftover messages of the automated browser checks, so the everyday talk is in a new#studio;#generalwas left alone.- Chat can't delete rooms, only archive them: changes are tried on a throwaway Chat first (
tests/chat_load.yaml).
110. Proposed: one service per app, instead of everything in sftpgo-hooks (2026-11-29)
- Asked by lip: "why everything is inside sftpgo-hook make a better architectural decision". No decision had put it there; it grew feature by feature (decision 69 already noted the weak point, decision 75 kept Chat out).
- Proposed: a service holds only its own app's admin access:
drive-service,tasks-service,photos-service,projects-service,mail-worker, plus a shared library. Plan and findings: page Services. - Step 0 (tightening access inside the one container) is worth doing whatever is decided on the split.
- Waiting for lip's go on the split. Step 0: decision 111.
111. Services step 0: keys limited to their plugin, no public connect routes (2026-11-29)
- lip: "yes, do step 0" (decision 110).
- A plugin's key opens only that plugin's routes (
sftpgo-hooks/key_routes.py). Before, every key opened every route of the plugins' API, so one plugin could act as another for its user. A plugin that calls a new route needs it listed there, or gets 403. /konbi-connectis gone (files.andphotos.): since keys are handed out automatically (decision 37) nothing used it. Its server code, Caddy and Authelia rules and its browser check are removed; Drive's "connect by signing in" setting is off. The plugins keep their side of it.- Health check, 512 MB memory limit; the unused
chat.jsonof the Chat proof (account passwords and keys) removed from the service's state.
112. Password vault: specification (2026-11-29)
- Asked by lip: "let's integrate a password vault into our stack", then "go on on full spec and milestone".
- Written: bulwark-vault SPEC.md, milestones M0 (proofs) to M6, tickets bulwark-vault #1 to #23. Nothing is built.
- Proposed: Vaultwarden 1.37.5 stores the data; a Vault app of our own in Bulwark's design encrypts and decrypts in the browser; a
vault-serviceof its own (decision 110's rule) creates accounts and stops leavers; no public address. - Not possible without a public address: filling passwords into other websites, and phone apps (M6).
- Not protected, as in any web vault: a broken-into webmail could capture the master password.
- Waiting for lip: bulwark-vault #1 and #2, then go or no-go after M0 (#9).
113. Plugin pages can stay loaded (2026-11-29)
- Asked by lip: "wait for the numbers, then keep plugin pages loaded if they agree".
- Numbers (dev, 100 ms added delay): opening a plugin app took 0.6 to 1.0 s, also the second time. Plugins add about 80 MB of browser memory and 0.85 s of stalled time per Mail load; that part is not changed by this.
- konbi-bulwark konbi21: a page asks for it (
keepAlive). It stays while another app is used, is told so (active), may not move the tab then, and its menu entry returns to where it was left. At most 4; signing out or switching account drops them. - Switched on for Drive (0.29.0) and Vault. Others follow one at a time, each once it handles being out of sight (Chat must not mark messages read).
114. Password vault on dev, proof stage (2026-11-29)
- Asked by lip: "start implementing vault plug ins", then "continue with vaultwarden integration i want to see some pages".
- Built and running on dev: Vaultwarden 1.37.5 (internal network only),
vault-service, the Vault app. Checked: encryption against Bitwarden's command-line client, the services live, the app in a browser. - The vault stays open across a change of app (decision 113) and locks after 15 minutes without use.
- Test data only: there is no backup of the vault yet.
- Still for lip: the screens, bulwark-vault #1 and #2, then go or no-go (#9).
115. Vault: backup, restore and lock (2026-11-29)
- lip judged the first screens good and asked to carry on with backup and restore, then the lock.
scripts/backup-vault.shandrestore-vault.sh, like Chat's: two files encrypted with a passphrase of the vault's own. A restore into a throwaway stack brought back the account, its item, a stored file and the owners.- The 15-minute lock is checked in a browser, on screen and from another app.
- Still test data only: no schedule, and the copies stay on this server until a place for them is chosen.
116. Vault: go, and the open questions (2026-11-29, delegated)
- lip: "finish everything i'm going to sleep you can juge yourself, go as far as ou can without interrupting". The following were taken on that, each reversible; say so to change one.
- Go after the proofs (bulwark-vault #9); build milestones M1 to M5.
- Own app in Bulwark's design; no public address (so no M6, autofill or phone apps); stays unlocked across apps; no recovery of a forgotten master password; everyone in
konbi; lip administers shared vaults; the name "Vault"; no outside audit. - Nothing is merged into
main.
117. Vault: moving in and shared vaults, on dev (2026-11-29, delegated)
Built on decision 116; taken on lip's delegation, each reversible.
- Moving in: import (Bitwarden, Chrome, Firefox, KeePass), read in the browser; export only as a password-protected file; attached files up to 25 MB; password history and check; deleting one's vault.
- Shared vaults:
VAULT_OWNER(lip on dev) creates them. A second owner before items go in. Roles: owner, or member with read or edit per collection; no manager of a single collection. Adding is confirmed by an owner comparing a fingerprint phrase, as Bitwarden does. - The shared key is not changed when someone is removed: owners are shown what the person could open, to change those passwords.
- Not done: moving an item back to a personal vault; collections following the directory or Projects by themselves.
- Checked: against Bitwarden's command-line client both ways, and in a browser with two test people.
118. Vault 1.0.0 on dev: account, languages, review (2026-11-29, delegated)
Built on decision 116; taken on lip's delegation, each reversible.
- Account is a page of the Vault app, not under Settings (that frame has no keys): master password and rounds, two-step sign-in, moving to a changed address, one's phrase, deleting the vault.
- Two-step sign-in is an authenticator app only, with its recovery code. No e-mail codes or security keys; no picture to scan (the key or a setup link is copied).
- PBKDF2 only in 1.0: Argon2id (bulwark-vault #7) stays open, to be looked at with other clients (M6).
- French and German; every screen checked in both.
- Security review written by the author of the code, not an independent audit: six findings fixed, the remaining risks listed in bulwark-vault
docs/SECURITY-REVIEW.md. - Upgrades:
scripts/upgrade-vaultwarden.sh. Tried with 1.37.5, the newest that day: no change of version has gone through it yet. - 1.0.0 means the specified features are built and checked on dev. It does not mean ready for real passwords: backups must first go off the server, with the passphrase kept elsewhere.
119. Work branches merged into main (2026-11-30)
Asked by lip.
mainwas fast-forwarded to the newest work branch in infra, bulwark-ai, bulwark-chatto, bulwark-projects, bulwark-sftpgo, bulwark-vault and bulwark-vikunja. No history was rewritten; the branches are kept.- konbi-bulwark was left out here, because of conflicts; merged the same day (decision 120).
- Mentions of "not merged" in earlier decisions describe the state on their date.
120. konbi-bulwark: our changes on main, with Bulwark 1.22.0 (2026-11-30)
Asked by lip. konbi/page-order (konbi21) is merged into main; 17 files conflicted.
- Compose: upstream's new setting (floating, folder sidebar, navigation rail) is kept, with folder sidebar as konbi's default, drawn as our "+" beside "Mail". The default screen stays as before.
- Plugin pages stay loaded as before, now beside upstream's inline apps and side panels.
- Build: Node 26 as upstream, 6 GB heap for
next build. - Swedish, new upstream, got the texts for calls.
- Checked: type check, lint of changed files, tests of the touched areas (323 files), image build and a start of the image. Not run: the full test suite and browser checks against the dev stack.
- Not deployed by this change; deployed the same day (decision 121).
mainnow carries our changes, so Syncing forks merges upstream into them.
121. Bulwark 1.22.0 on the dev stack (2026-11-30)
Asked by lip. The stack runs konbi-bulwark:1.22.0-konbi22, built from konbi-bulwark main (b244df076).
- Before the switch, the
bulwark-datavolume was saved on the server (~/konbi-backups/, contains secrets). The imagekonbi-bulwark:1.21.2-konbi21is kept to go back. - A read-only walk through 21 pages gave the same results before and after;
/sv/mail, absent before, now works. The Compose button setting works in its three places. - Browser checks that pass: sign-in, plugin connection, Drive in mail (attach, save, share, documents, side pane), project folders, tasks from an email, contact categories, page and tooltip checks, pages kept loaded, addresses, project links, calendar.
- Attachments: 1.22.0 shows an attachment's other actions on hover or focus only. Three checks were changed to hover first.
- Not clean:
e2e_menu_barfails the same way on both versions.e2e_photos_mail: every step passes, but it expects two new copies in Photos and got one: the video it attached was already there.e2e_example: one step looks for an older email that newer test mail has pushed off the screen; search finds it.e2e_chat_calls: the microphone level step failed twice on 1.22.0 and passed once on 1.21.2. A probe saw the meter move on 1.22.0 in some openings and not in others, and the call code is the same in both versions. The browser's fake microphone only beeps briefly, so the likely cause is the check, not proven. Every other step passes.
- Not checked: creating a vault, the full test suite, a real microphone.
123. Ticket cleanup; no testing server (2026-11-30)
Asked by lip.
- Closed because built and on
main: infra #25, #26; konbi-bulwark #10, #11; bulwark-projects #4 to #10; bulwark-chatto #35, #37, #38; bulwark-sftpgo #51, #52. - Decisions lip had already answered, closed and written into the Drive spec: konbi never deletes a removed person's data (bulwark-sftpgo #18); English and French are enough (#21, French is now #55); share links get a konbi page instead of SFTPGo's (#22, now #56).
- Not planned: a testing server (infra #22): lip decided on 2026-11-29 that there is no dedicated test server or environment, for cost. This replaces that part of decision 64. SFTPGo's own login flow (konbi-sftpgo #1): keys are issued automatically.
- Left open on purpose, in Review: what waits for lip, above all Chat M2 to M5 (their tests are real use) and the screens and bugs lip hasn't confirmed.
- Milestones: finished ones closed; Tasks, Newsletter and Contacts got the milestones their specs name.
- 52 branches already merged into
mainwere then deleted, as lip asked.konbi/chat-call-proofin konbi-bulwark, not merged, is kept, as are the branches that come from upstream in our forks.
124. Spreadsheets in Drive with open-xlsx-editor (2026-11-30)
Asked by lip: search another light spreadsheet editor, try open-xlsx-editor against IronCalc, then "ok create the xlsx plugin". Replaces the next candidate named in decision 107.
Trial on the 15-sheet workbook of decision 107:
| open-xlsx-editor 0.9.1 | IronCalc 0.9.1 | |
|---|---|---|
| Formulas matching Excel's results | 145 of 145 | 142 of 145 |
| File parts unchanged after saving without edits | 85 of 85 | 0 of 85 |
| Page setup / drawings / pictures kept | all | none |
- Built into Drive (0.30.0), not a plugin of its own:
.xlsxand.xlsmopen and are saved like documents; New > Spreadsheet. The editor page issheet.htmlof konbi draw 0.5.0. - Why the care: the package is weeks old with very few contributors, and reads people's files. It runs in Drive's sandboxed frame, its page may load only its own files and send nothing, and the image builds only the reviewed files (checksums). The review looked at what it can reach (network, storage, links, markup), not at all of its code.
- Limits: the editor's menus are English only; charts not held by two cells (as some programs write them, not Excel) are kept but not shown; no
.xlsor.ods; two people saving the same file overwrite each other. Saved files weren't opened in Excel or LibreOffice yet. - On dev from branches
sheet-editor(infra, bulwark-sftpgo), not merged.
125. Vault is out of scope (2026-11-30)
Asked by lip: "remove vault plug in it's out of scope". Ends the password vault of the earlier Vault decisions.
- Removed from dev: the plugin,
vaultwardenandvault-service, Bulwark's settings for it and its directory service account. - Removed from the stack code (their scripts and checks too) on infra branch
remove-vault, not merged. - Kept: the data volumes
vaultwarden-dataandvault-service-stateon dev (one account, no saved item), theVAULT_*secrets in.env, and the repositorybulwark-vault. - Its open tickets are closed. To bring it back: revert that commit and install the plugin.
- The webmail changes made for it stay: Drive uses the kept page.
126. Chat is optional, and off on dev (2026-11-30)
Asked by lip: "disable chatto, don't delete it source code, but make plug in desactivable".
- One switch:
python3 -I scripts/chat.py on|off|status. Chat's services, volumes and what the webmail, Authelia andsftpgo-hooksare told about it moved tostack/compose.chat.yaml; the switch lists it in.envor not. The stack comes with Chat off. - Off: no Chat container, call ports closed, the app switched off in the webmail, no conversation on a project's page. Messages, accounts, settings and all code are kept.
- The plugin is no longer forced on: with Chat on, each person may switch it off.
- Calls are Chat's: none while it is off.
- On dev: off; switched on once and off again to check both. On a project's page the conversation came and went with it.
- Code: infra, not pushed yet.
127. AI and Projects are optional too (2026-11-30)
Asked by lip: "same for AI and projects, we are going to tag a strict mininum stack". Extends decision 126.
- One command for the three:
python3 -I scripts/modules.py status | on|off ai|projects|chat(it replaceschat.py). The stack comes with all three off, and their apps are never forced on. - AI off: no model server; no mail sorting; no draft of a task or event from an email; no sentence on a project's page. Tasks 0.11.2 shows no AI line then. Photos' own recognition (Immich) is not part of this switch.
- Projects off: the app, mail added to projects by itself, the sync of task lists and contact categories, and Drive's project button. Moving shared folders in Drive still works, and folders of projects made from a Drive folder stay as they are.
- Kept: model files, projects' groups, folders, task lists and tagged mail, everyone's choices, all code.
- On dev: all three off; AI and Projects were switched on and off again and checked in a browser.
- The minimum stack to tag is not decided yet.
- Code: infra, not pushed yet.
128. Tasks is optional; without it the calendar's own tasks come back (2026-11-30)
Asked by lip: "we should desactivate tasks also, whene desactivating this advanced task manager, activate back the calendar webdav task system". Extends decisions 126 and 127, and makes decision 48 depend on the Tasks part.
- A fourth optional part:
python3 -I scripts/modules.py on|off tasks. Off as the stack comes; off on dev. - Off: Vikunja and its database, the Tasks app, its phone passwords and emails. The webmail's admin policy turns calendar tasks back on: feature on, locks removed, and on by default for anyone who never chose.
- On: as before (decision 48): calendar tasks hidden and locked off. The Tasks app is forced on, unlike other optional apps, so nobody is left without tasks.
- Phones: without Tasks they sync with Stalwart over CalDAV (
https://stalwart.<domain>/dav/), not withtasks.<domain>. - Nothing is moved: Tasks' lists stay in Vikunja's database and are not shown; tasks made in the calendar stay in Stalwart.
- Projects needs Tasks (each project has a task list): the command refuses one without the other.
- konbi's service on port 8004 now runs without Tasks (Drive moves shared folders through it).
- Checked on dev in a browser: a task made in the webmail is on CalDAV, and one sent over CalDAV shows in the webmail.
- Code: infra, not pushed yet.
129. Drive and Photos account settings live in the webmail (2026-11-30)
Withdrawn the same day: see decision 130.
Asked by lip: "put all immich and sftpgo user settings here", on the two plugins' pages under Settings → Add-ons.
- Photos (1.1.2): features, downloads and email notifications, partner sharing, signed-in devices, API keys, PIN of the locked folder. The app hides memories, people and shared links when they are switched off.
- Drive (0.31.1): storage and last sign-in, addresses for other programs, SSH keys, description, extra email addresses, TLS certificates.
- Not changeable: email and password (konbi directory and sign-in); shown as such in Drive, SFTPGo's two-factor sign-in and API key access, and SFTP (off on dev).
- Profile tab removed (lip: "remove profil tab from immich settings"): name, colour, picture and storage use are no longer there, and the plugin's key lost the rights only that tab used.
- Left out: Immich's licence key, first-run steps, linking another sign-in, and what its web page keeps in the browser (theme, language).
- How: the Photos plugin calls Immich with its own key, which got the rights the page needs. SFTPGo gives a user's key no profile routes, so konbi's service changes those four Drive fields with SFTPGo's admin API, for the signed-in person only; its sign-in hooks now keep them (they replaced the whole user).
- Tabs: a plugin's page in Settings is at most 2000 px high.
- Drive's own preferences stay on the plugin's card under Add-ons: the webmail doesn't let a plugin write them.
- Checked on dev in a browser with a test account, which was put back as it was. Not tried: signing in with an SSH key or certificate, signing out a phone, the new pages in German or French.
- Code: infra, bulwark-sftpgo and bulwark-immich, not pushed yet.
130. Drive and Photos have no settings (2026-11-30)
Asked by lip: "remove every setting from drive plugins", then "remove photos settings also nothing interesting". Withdraws decision 129.
- No page under Settings → Add-ons for Drive or Photos. Both plugins are still listed and required there.
- Drive (0.32.0): its preferences go too (link password and expiry, large attachments, folders). The former defaults always apply: links get a password and end after 14 days (changeable in each share dialog), attachments from 10 MB are offered as links, files go to
Mail attachments/. - No Disconnect or "Use an API key" for Drive any more. Where it isn't connected, the app offers Connect; the admin settings are unchanged.
- Photos (1.2.0): the phone steps stay in the app, under Phone & apps.
- The account pages of decision 129 are removed, with konbi's
/drive/accountservice. The Photos plugin's key is back to its earlier rights; the two wider keys made on dev were revoked and replaced by themselves. - Checked on dev in a browser with a test account: neither plugin is in the Add-ons menu, and both apps open. Not clicked through: Drive's share dialog and large-attachment offer (unit tests only).
- Code: infra, bulwark-sftpgo and bulwark-immich, not pushed yet.
131. Newsletters are optional, and off (2026-11-30)
Asked by lip: stop listmonk, it isn't used.
- listmonk and its database are now an optional part like those of decisions 126 to 128 (
compose.news.yaml,scripts/modules.py on news), off by default and on dev. A later deployment doesn't bring them back. - Off:
news.<domain>doesn't answer, with its pages for recipients. Data is kept. No webmail app used it: bulwark-newsletter is a specification only.
132. One sign-in: Authelia (2026-11-30)
Asked by lip: "ficelle le login pour n'avoir qu'un point d'entrée", then "authelia pour tout mais tout n'est qu'une seule app". Replaces decision 12 as far as the webmail's sign-in goes; Stalwart still reads LLDAP directly.
- One form, Authelia's. The webmail's login page asks its server who holds the browser's Authelia session; without one it goes to Authelia and comes back. The server asks Authelia itself and trusts no forwarded header.
- Opening the mailbox: the server uses the
webmail@account (Stalwart permissionimpersonate) once to make an app password for that person's mailbox; the browser signs in with it. It lasts 12 hours, like the Authelia session ("Remember me": a month). Signing out deletes it and ends the Authelia session. - Accepted risk: the webmail's server holds a password that can open every mailbox.
- Why not hand Authelia's tokens to Stalwart (its OpenID Connect directory): Stalwart takes one directory, so LLDAP would go; by its documentation and forum, mail programs would then need app passwords and accounts would have to be made in advance. Not tested by us.
- One app: the web start pages of
files.andphotos.lead into the webmail. Shared links, WebDAV, CalDAV, IMAP, SMTP and the Photos mobile app are unchanged. A single large video still opens onphotos., signing in by itself. - Second factor: password only for now; admin pages keep two factors.
- Left with their own passwords: the webmail's plugin admin (
/admin),stalwart., and the admin accounts behind Authelia. - Checked on dev in a browser with a test account (
tests/e2e_login.py). Not tried: the Photos mobile app, two factors, the 12-hour expiry in a real session (renewal after losing the webmail session is tested). - Code: the fork's
lib/konbi/sign-in.tsandapp/api/auth/konbi/(image1.22.0-konbi24), infra. - Fixed the same day: about four sign-ins in ten ended on "Sign-in didn't work". Authelia's cookie may hold
%, which Next'scookies()decodes, or drops the cookie for; the webmail now reads it as the browser sent it.
133. CORE 1.0RC (2026-11-30)
Asked by lip: "tag cette version CORE 1.0RC", following the aim of a strict minimum stack (decision 126).
- Tag
CORE-1.0RCin the repositories of what runs: infra, konbi-bulwark (webmail,1.22.0-konbi24), bulwark-sftpgo (Drive 0.32.0), bulwark-immich (Photos 1.2.0), bulwark-contacts (Contacts CRM 0.1.0). - In: mail, contacts and calendar in the webmail, with its own tasks; Drive with its editors; Photos; Contacts CRM; one sign-in.
- Out, optional and off: AI, Projects, Tasks, Chat, Newsletters. Their own repositories are not tagged.
- Their code is still inside, in infra (compose files, Chat's services, parts of
sftpgo-hooks) and in the webmail. Accepted by lip for this tag; to be removed for RC2. - Tagged on branches
core-1.0rc(bulwark-contacts onmain), then merged intomainthe same day, asked by lip ("fusionne dans main"). - Checked on dev before tagging: 20 sign-ins in a row, the sign-in, Drive's connection, who may open Photos, the Photos app, and unit tests of the webmail's sign-in, Drive, Photos and the services. The full browser suite was not run.
- A release candidate: backups aren't set up yet (infra#3).
134. Face recognition is optional, and off (2026-11-30)
Asked by lip: "enlevons aussi la reconnaisse faciale de immich. on l'ajoutera en option mais ca economise et se deeploie sur de plus petit serveurs".
- Off unless asked for:
PHOTOS_FACES=onin.env, applied byscripts/setup-immich.py. Off on dev. - Off: Immich looks for no faces and loads no face model; Photos (1.3.0) has no People. Search by content and text in pictures stay, so the recognition service still runs.
- Also a licence matter: the face models (
buffalo_l, InsightFace) are offered for non-commercial research only. Switching the option on for commercial use needs their licence. - Saving: the face model (415 MB on disk) is no longer downloaded or loaded on a new server. Memory saved while photos are processed was not measured; at rest the difference is small.
- Ticket infra#36.
135. Stirling-PDF and Contacts CRM are removed (2026-11-30)
Asked by lip: "on eneleve totalement stirling. et aussi contact crm". Replaces the choice of Stirling-PDF over BentoPDF (Drive SPEC F10) and takes Contacts CRM out of what CORE 1.0RC holds (decision 133).
- Stirling-PDF is gone from the stack. It held about 0.73 GB of memory at rest, and konbi used parts of it that need a paid licence in production.
- Lost: Convert to PDF, compress, rotate, merge, split, remove pages, page numbers, watermark, OCR and passwords for PDFs. Reading PDFs (konbi's viewer, pdf.js) and EdenText's PDF download stay. Nothing replaces the tools yet; tools running in the browser were discussed, not decided.
- Contacts CRM (plugin
contacts-crm) is uninstalled. It only read contacts and mail, so nothing is lost with it; the webmail's own Contacts stay. - Drive 0.33.0. A stack that had Stirling-PDF:
docker compose up -d --remove-orphans. - Ticket infra#37.
136. A leaner core: only what is on is reachable (2026-12-01)
Asked by lip after a review of the stack: "remove immich acces to drive, text recognition in photo, face recogintion, remove unused routes and left over permisson".
- Immich no longer sees Drive's files. Its read-only mount of Drive's storage, left from a trial of external libraries, is removed; no library used it.
- Text recognition in photos is off: Photos never searched the text. Immich's own apps lose that search. Text already found stays in Immich's database.
- Face recognition stays an option, off (134); its model, and the text model, are deleted from dev.
- An optional part that is off has no address: the sites of News, Tasks, Chat and calls are in
caddy/parts/, mounted by the part's compose file; no certificate is asked for them. - The webmail may call only Drive's and Photos' services (
files.,photos., the helper's port 8004), and asks only their keys. Parts add theirs throughPART_ORIGINSandPART_PROVISIONin.env, written byscripts/modules.py. Gone with no replacement: SFTPGo's and Immich's internal addresses, LLDAP's, listmonk's. - A stack that had parts on: run
python3 -I scripts/modules.py on <those parts>once. - Ticket infra#38.
137. The leaner core merged into main (2026-12-01)
Asked by lip: "fusionne". Decisions 134 to 136 are now in main.
- infra (
feat/lean-core, which holds the two infra branches before it), bulwark-sftpgo (feat/no-pdf-tools, Drive 0.33.0), bulwark-immich (docs/no-ocr, Photos 1.3.0) and bulwark-contacts (docs/out-of-stack). All fast-forwards; no new tag,CORE-1.0RCis unchanged. - Checked before merging: Drive's CI, Photos' unit tests (17 pass), the syntax of the changed infra scripts and the Compose configuration. No browser test was run again.
- Branches are kept.
138. The webmail: Bulwark 1.22.1, without what the core doesn't use (2026-12-01)
Asked by lip: "eneleve de bulkwart tout ce qu'on utilise pas", "rappatrie la version officielle et merge avec notre version", then "pousse deploy".
- Removed from konbi-bulwark: calls (with the LiveKit library), account menu entries, plugins' settings page and menu-only actions, opening another plugin's page and running its action, mail and calendar keywords, the UI kit's Avatar, a page's badge and place in the menu, a provisioning secret per service.
- Kept: the Authelia sign-in, automatic plugin keys, the proxy rate limit, plugin pages' frame and kept pages, install order, Mail's header and short addresses.
- Merged upstream 1.22.1 and the commit after it, without conflicts; it holds the fix for GHSA-pgpj-r2xr-985r. Against upstream our change is now 52 files, about 1,000 lines of code added (before: 133 files, about 3,100).
- Consequence: Chat, Projects, Tasks and AI need what was removed, so they are not usable with this image.
CORE-1.0RCkeeps them. Where their code goes is still to decide (infra#35). - On branches
rc2/core-only(konbi-bulwark) andrc2/webmail-1.22.1(infra), not merged. On dev: image1.22.1-konbi25; the webmail's data was saved first (~/konbi-backups/),1.22.0-konbi24is kept to go back. - Checked: type check, lint, 490 unit test files (5,200 tests); in a browser on dev: the sign-in, kept pages, Drive's app, Drive in mail, Photos' app. Team calendars are still subscribed, so upstream's new hiding of unsubscribed shared calendars leaves them shown.
- Not checked: the full browser suite, a stack with an optional part on.
139. The trimmed webmail merged into main (2026-12-01)
Asked by lip: "fusionne". Decision 138 is now in main.
- konbi-bulwark (
rc2/core-only) and infra (rc2/webmail-1.22.1), both fast-forwards. No new tag,CORE-1.0RCis unchanged. Branches are kept. - No further checks were run: the merged code is what decision 138 checked and what dev runs.
140. RC2: the optional parts leave the stack (2026-12-01)
Asked by lip: item 1 of what was left for RC2 ("1"), then "oui" to commit, push, merge and deploy. infra#35.
- Removed from
infra: AI, Projects, Tasks, Chat (with calls) and Newsletters: compose files, Chat's services, Caddy sites, Authelia's rules for them, scripts (withmodules.py), example data, tests, and their code insftpgo-hooks. 153 files, about 12,900 lines less. The tagCORE-1.0RChas them. This ends decisions 126 to 128 and 131, and the part switches of 136. - Kept: shared folders and their moves, group albums, tasks in the calendar, and the answer "no projects" that Drive asks for.
caldav_tokens.pyis nowdrive_service.py. sftpgo-hooksno longer receives the passwords ofkonbi-projects(inlldap_admin), of the mail sorting account or of Tasks' mail, and the setup no longer creates those accounts. A stack that had a part keeps its accounts, volumes and.envlines: nothing was deleted.- A fresh install no longer stops in
seed-lldap.py, which asked for three passwords nothing generated. - The group albums' Immich key can no longer read photos (
asset.read,asset.viewserved Projects' covers). - A project made from a Drive folder had no shared folder of its own; its group now gets an empty one.
- On
main(fast-forward ofrc2/core-code). On dev:sftpgo-hooksrebuilt, SFTPGo restarted with it; the previous image is kept askonbi-sftpgo-hooks:before-rc2. - Checked: 23 unit tests, the Compose, Caddy and Authelia configurations on a fresh
.env; in a browser on dev: sign-in, Drive connecting, the PDF reader, Photos' app, moving files and shared folders. The move check passes with a taller window only: with the test user's 21 shared folders, its last drag (back to the top) does nothing at 900 px high. - Not done: the full browser suite, a fresh install of the whole stack. Still to decide: where the removed code lives, so a part can be added again.
141. Removed parts stay in CORE-1.0RC until a customer asks (2026-12-01)
Asked by lip, choosing among what was left after decision 140 ("1,2,3,4"). infra#35.
- Where the code lives: in the tag
CORE-1.0RC, nowhere else; no branch or repository of its own. A part is brought back only when a customer asks for it: its files from the tag, and in the webmail what konbi25 removed. The tag must be kept. - Dev: the accounts
konbi-projects(inlldap_admin),mail-sorter,tasks-mailandkonbi-chatare deleted from LLDAP, and the two mailboxes from Stalwart (they held 4 automatic or test messages). Mail stopped for a few seconds. Their lines in.envare left. - Move check:
tests/e2e_move.pyuses a 3200 px window and passes on dev. - The check and the README sentence are merged into
main(43a36e9).
142. No machine learning in Immich (2026-12-01)
Asked by lip: "enleve completement immich machine learning", then "pousse fusionne deploy comment". infra#39.
- Removed: the
immich-machine-learningservice and its models; Immich has it switched off (compose.yamlandscripts/setup-immich.py). Photos 1.4.0 has no search and no People. - Lost, also in Immich's own apps: search by content, faces, text in pictures, duplicate detection. Places, albums and dates remain.
- This ends the face recognition option of decision 134 (
PHOTOS_FACES) and settles decision 136's text recognition. - On dev: container, image and model volume deleted (about 2.2 GiB of disk; about 0.2 GB of memory at rest).
143. The directory sync has its own account (2026-12-01)
Asked by lip: "oui réécris sync-directory.py". infra#40.
scripts/sync-directory.pywrites the team address book asdirectory-sync(groupsmailandkonbi), no longer as the test user, so it works without test accounts.- Writing that book takes a member of
konbi: the account can also read what the team shares through konbi@. It has no card and is left out of the webmail's directory. - Not chosen: writing with the
webmail@account, which can open every mailbox.
144. The stack moves to its own server, with a configuration for it (2026-12-01)
Asked by lip: "on garde tout", "je ne veux vraiment que le minimum et aucune option sur ce nouveau vps". infra#41.
- The stack in use gets a server of its own; the present one keeps builds, tests and deployment. Steps one at a time: configuration, install while empty, then mail from outside and backups before real data, then automation.
- Kept: Drive, the editors, Photos, WebDAV. Minimum means nothing that only serves the dev server, and nothing unused.
stack/compose.yamlis the stack as installed;compose.dev.yamlanddev/hold what the dev server adds (.env:COMPOSE_FILE).- An install takes three names (
BASE_DOMAIN,MAIL_DOMAIN,ADMIN_USER) and makes the service accounts and one person. Test users exist only whereTEST_USER_PASSWORDis set. Nothing is built on the server. up.shinstalls from end to end, Immich and both plugins included.- Fixed: on a new mail server no account could open its mailbox; Stalwart makes its default roles only on a first start in normal mode.
- Removed:
sftpgo-apikey.sh, the old migrations, the webmail's unused OAuth client. - Run from empty data: accounts, mail server and Immich setup. Not yet: the whole install on an empty server.
145. A server is prepared and fed by two scripts (2026-12-01)
stack/scripts/prepare-server.shmakes a fresh Debian 13 server ready: Docker from Debian's packages, rotated container logs, fail2ban for SSH, 4 GB of swap, no LLMNR.stack/scripts/send.sh <host>sends the committed configuration, konbi's three images and the two plugins over SSH; no registry and no build on the server. The server keeps its own.env, secrets and data. Thenup.shthere.- The webmail's image is named in
compose.yamlonly; a server's.envsetsBULWARK_IMAGEonly to take another one, so an update changes it.
146. A server receives mail, has its own sites and shared addresses (2026-12-01)
- The mail server listens on port 25, on IPv4 only so that the sender's address is seen; the dev server doesn't.
- postmaster@, webmaster@ and info@ reach the shared mailbox of the
konbigroup. - A server's own web sites go in the stack folder's
extra/, outside the repository; updates leave them.
147. The spam filter has its own resolver; the mail server keeps its DNS records (2026-12-01)
- Blocklists refuse the queries made through a hosting company's resolver:
prepare-server.shinstalls unbound as the containers' resolver. It asks over IPv4 only (Spamhaus refused the IPv6) and is not reachable from outside. Greylisting and rejection on reception stay off. - Spam filter thresholds are Stalwart's defaults. The blocklists' free access has usage limits, to check before a commercial use.
- With
CLOUDFLARE_API_TOKENin.env, the mail server publishes its DKIM keys (renewed every 90 days), its SPF records and the TLS report address. MX, DMARC and every other record are left to the administrator. The token is for this alone and limited to the mail domain's zone. Without a token nothing is published. - The reverse name of the server's address is set by hand, to
stalwart.<BASE_DOMAIN>.
148. One icon for every app of the stack (2026-12-01)
- Every app's browser tab and home screen shows konbi's logo (
stack/icons/). - The web server serves it at each app's own icon paths; the apps are left unchanged. A new version of an app may name its icons differently:
stack/tests/test_icons.sh. - WebDAV is left alone: it has no pages, and the path would hide a person's own file.
149. Thicker tab icon; the build server no longer runs the stack (2026-12-01)
- Browser tabs use a thicker line of the logo (
stack/icons/favicon.svg, the two ends of the stroke a little shorter so that the openings show). Elsewhere the logo stays as it was. - The development stack was removed from the build server, which keeps Forgejo, the images and the stack's volumes.
scripts/up.shbrings it back. Checks that need a running stack (browser tests,tests/test_icons.sh) need it brought back first.
150. Forgejo has its own web server; the development data is deleted (2026-12-01)
- Forgejo is at https://git.dev.konbi.cc, behind a Caddy of its own in Forgejo's compose project. The former address, port 3000 in HTTP, redirects there. Git over SSH is unchanged (port 2222). The Actions runner uses the new address.
- The data of the development stack is deleted, with the volumes of the parts removed earlier (replaces what decision 149 kept).
scripts/up.shinstalls an empty stack. - Forgejo's web server holds ports 80 and 443: a development stack on the same machine needs other ports, or has to take Forgejo's route back.
151. One floating button on phones, in every app (2026-12-01)
- On phones, an app's main action is a round button of 56 px at the bottom right, as in Mail and Calendar. Contacts and Files, at 44 px, now have the same size (webmail konbi26).
- Drive (0.34.0) and Photos (1.5.0) put uploading there. Drive: in a folder, in place of the toolbar's button, hidden while a file is selected. Photos: on the timeline and one's own albums, hidden while pictures are selected or one is open.
152. A theme's component styles reach plugin frames (2026-12-01)
- A theme with a skin (component styles, as Aurora Glass) now applies it to the webmail's UI kit inside plugin frames too (webmail konbi27). A plugin's own markup keeps its look.
- The headers of Calendar, Tasks and Files have the plain background.
- Drive (0.34.1) and Photos (1.5.1) keep the phone's upload button round under themes that restyle buttons.
- Checked: lint of the changed webmail files, the webmail's plugin, boot-skeleton, Files and Calendar tests, both plugins' tests, image build and start. Not checked in a browser: the build server runs no stack.
153. A black launch screen for the installed webmail (2026-12-01)
- The installed webmail's launch screen is black (
PWA_BACKGROUND_COLORincompose.yaml). Icons and favicon are unchanged. - The title bar's colour is not set, so that it keeps following the theme.
- Checked on the server: the manifest answers the new colour. Not checked on a phone.
154. The launch screen is the logo's dark blue (2026-12-01)
infra#45. Replaces the colour of decision 153.
- The installed webmail's launch screen is
#0f172a, the ground of the dark icon, instead of black. Icons and favicon are unchanged. - Checked on the server: the manifest answers the new colour. Not checked on a phone.