Changelog
One line per change, grouped by the release that shipped it. Newest
first. A release is a Cargo.toml bump plus a v<version> tag; the
content repos pin the tag they run (see the end of this file).
Unreleased
1.2.1 (2026-11-29)
- A draft its owner has confirmed is a plan the builder takes. The interview’s own checker is not the builder, and an owner could say yes to a draft that
bratac buildthen refused over things no owner is read: of 46 drafts confirmed in four passes over twenty test businesses, 15 were. The interviewer now puts these right as it merges a draft: what went well is one of the endings (a stage on the way to one is dropped from them, and which ending is good is never guessed), the stage a case starts in is no ending, a need that differs from the first in its bucket (or whose bucket is called after a stage) gets a bucket of its own, a role is in the plan once under an id (words where an id goes become one and stay as the label), and a kind of field the builder has not is one the person types. All 46 build with it. The kit’s job does the same to the draft in a brief before it builds from one, so a brief confirmed earlier builds too. From a confirmed draft with no plan model, the job ran from brief to mail in 92 and 138 seconds for two test businesses, nearly all of it the words model. Training, “A confirmed draft is a plan”. - When the interviewer has no question of its own, it asks about the next open gap in the owner’s words and language: “Housing boards: a survey of the building. Who with you takes care of that?”. It used to put its checker’s line to the owner as written (“Tell me more: need
housing-board-requests:handled_byis missing”, in English whatever the owner’s language), and to come back to that one line and to the question about a normal week: a test owner asked abouthandled_byanswered that they knew of no such field, each time. Each gap is now asked about once before any is asked again. Six of 495 questions in three passes over twenty test businesses were such lines, and one interview was put the same line twice. - The interviewer (
bratac interview, and the interview on a site) settles four of its own checker’s complaints as it merges a draft, where it used to put them to the owner turn after turn. A field budget below what the form asks is raised to it, up to five. An ending that is no stage is dropped when another ending is one, and when none is the case ends at its last stage. A role whose words are in the owner’s own answers joins the roles under those words; one they never spoke of is still asked about. And a question the owner has answered is not asked a third time: the interviewer keeps its draft and asks about the biggest gap. Over twenty test businesses, three passes each, the turns went from about 100 to about 85, and “the role has not been described” all but went. Training, “What the interviewer puts right by itself”. - An owner’s yes is a yes when they read a line of the question back after it. “Yes. We will keep your site under the name
x.” was put to the model to judge, which answered no each of the three times the summary was read back, and the owner left with nothing: five of 140 test interviews ended that way. What an answer only repeats of the question is now left out before the yes is read. - The test owner (
bratac interview --person) no longer turns down a name it used first. Its yes to a read-back is checked against its intake, and a desk the intake never names became “it is not X who handles that”; but the model owner drifts from its intake as it talks (“the physiotherapists” for “the therapists”), the interviewer keeps the owner’s word, and the owner then refused its own word three times over. Eight of fifteen names turned down at the end of unconfirmed English test interviews were the owner’s own. A person’s answers are never judged this way. - The lint says how much of a site only passes a visitor along: the cards that only lead to another page, how many of those lead to a page with one thing to do (the card could have been that thing), and the pages whose every card leads on. A count in its summary, never a failure.
- The trainer builds a door as a page only where a plan’s offers outgrow one front door (more than seven public needs). Where they fit, the needs sit on the front door and
buildsays so among its readings: a door there only passed the visitor along. The sector plans with a few needs behind two doors (physio, hire, fotballklubb, contractor-full) are built flat; the building authority, with nine, keeps its doors.iris check --leadslists the cards that only lead on, andbratac scorecarries the count insummary.json. - The score names the card to mend: where one card takes the visitors of two needs or more that it does not meet (a visitor’s worth of picks or more),
iris check --needs-scoresays so in aDRAWline, andbratac scoreprints it and carries it per mode insummary.jsonasdraws. Several misroutes to one wide card were read as several wordings to mend; it is one, and in a plan it is thewantsof that card’s need. bratac scorenames the headings that lean on their descriptions: each visitor who went right with the descriptions and wrong on the headings alone, with the card they should have taken (LEANS, andleansinsummary.json).bratac score --routingstops after the two routing numbers, for a round of mending a wording: rating the cards asks many times more of the visitor.- The full contractor plan (
plans/contractor-full.yaml) says what each card is for on its heading: fourwantsreworded as the two lines above pointed (“a survey of a building, and a report on what is wrong and what it takes” for “someone qualified to come and look at it and say what it takes”; a fault in work we did, approval as a subcontractor and a job with us named where “it” and “to be considered” stood). The local visitor went from 9 of 12 to 12 of 12 with descriptions and from 8 to 10 on headings alone, three seeds.plans/contractor.yamland its Bokmål twin keep their wording: the learning programme builds its sites from those two.
1.2.0 (2026-11-28)
- A card says who it is for:
for:on an alternative, one name or a list. A sign-in group (for: artists) makes the card that group’s: everyone who opens the page sees the card and what it takes, its members get the form, the lists and the button, and everyone else reads “For artists” in the button’s place. The server holds the same line for the card’s form, files, conversation and lists, and the search box offers the card to its members alone.!turns a group round, as in a systemd condition (for: !newcomers: everyone signed in outside that group, who reads “Opens after newcomers” while in it). Any other word (for: Listeners) is a word for people and guards nothing. The lint refuses a word that is a group’s name but for its spelling,!on a word or on a group inmfa_groups, and a card both for a group and kept from it. See “Who a card is for” in the content reference. - A way round the site by who its cards are for:
nav: barinsite.yamlputs on the wordmark’s line, after the mark, a tab for each name in the cards’for:, each tab opening onto its cards wherever they are, each page’s under the question it asks: who the site is for, and what each of them does here. Any tab is anyone’s to open and the pages stay as they are for everyone; a card kept from the person looking is listed with the line it carries on its page. What is everyone’s has no tab: the foot goes on listing the pages anyone opens, and a group’s own pages move from the foot into the group’s tab.nav: footkeeps both of the foot’s lists and draws no bar. Left out, a site whose cards say who they are for has the bar and any other site the foot, as it always had. See “The way round the site” in the content reference. - The header’s own look: the wordmark’s line runs from edge to edge of the header’s column, the mark at the left and who is here at the right, on every page alike. It was centred, with who is here hung at the edge of the question’s own width, so it moved from page to page. The question keeps the centre, with more room over its head. A site whose
stylesheet:leaves the header as portal draws it (.hero-top,.hero-copy) gets the new look with this release. - A card’s conversation (
interview:) is held with those a form of the card would be taken from: on a page withqualifies, its group. It used to answer anyone who named the page and the card.
1.1.0 (2026-11-27)
- A player on every page:
player: { streams: [{ name, url, now }] }insite.yamlputs one bar along the bottom of the site that plays its stream and keeps playing from page to page. An audio file in a list or on a record gets a Play button beside its name; playing one pauses the stream, which comes back when the file ends or is stopped.nowis where the stream says what it is playing and whether it is on the air. The addresses are paths on the site itself. Content reference, “A player”. - A page is never wider than its screen. A long word, an address or a mailbox in a heading, a description, a label or the list of other pages breaks rather than widening the page (a long compound word did, on a phone). A phone’s date, time and date-and-time controls are as wide as their form and no wider. The header with the site-wide search box fits a narrow phone: who is here takes the width of its words there. And the page itself no longer moves sideways, whatever a site’s own stylesheet lays over it; what is wide on purpose (a table, a calendar) scrolls in a box of its own as before.
- The content reference showed
stylesheet: /site/theme.cssandfavicon: /site/icon.svg; both take the file’s path in the repo (theme.css), as the lint has always said.
1.0.12 (2026-11-27)
bratac buildandplan: a need that someone signed in files (enters_as), that mails its sender and collects no address, is no longer refused. The form is given anemailfield, which portal fills from the account and does not show, and the need’smax_fieldsis raised by the one, so the plan’s own count of what it asks still holds. The plan check says so among its readings. A public form that mails its sender must still ask for the address.
1.0.11 (2026-11-26)
- A file field can be a roll:
roll: trueon atype: filefield gives a strip of thumbnails that what is picked lands in, each one taken out or moved before the form is sent, up toat_most(12 unless said).camera: trueadds a live view from the device’s camera, off until its button is pressed, and a button that puts a still in the strip. Pictures are scaled to 2400 points on the long side before they go, every file in the roll is kept (the field holds a list of keys), a list shows them side by side, and each is fetched at/attachment/<bucket>/<record>/<field>/<n>. Until now a file field withmultiple: truelet a person choose several files and kept only the first; it still does, and the reference says so (Content reference, “A roll of files”). - A plan’s need may carry
ledger:, the bucket’s own ledger as aggregates.yaml has it ({ amount: 650 },{ amount: { field: price } }), written through bybratac build;moneyandnumberare field types a plan may use. bratac interview --experts(a trial): once the interviewer has the structure, experts take one topic each where it is needed. The first is money (crates/bratac/experts/money.yaml): it fires on a word the owner used, a stage’s name, or a yes when asked, asks at most three questions, and writes a need’sledger:. An amount the owner never said is not written, a question about fields or forms is not put to the owner, and what it could not learn goes into the plan’sopen:and is said at the end.bratac gapswrites the rows a gap model is trained on out of finished interviews: per turn, what the gap read is asked and the gaps the turn closed.bratac interviewwrites each turn’s gap request intotranscript.jsonl(gap); older transcripts are played again and a turn that does not come out the same is left out (docs/learning.md).- A page can be locked:
locked: trueon a page, or in a directory’s_section.yamlfor every page under it, and nobody is offered the suggest-a-change form there, the people who answer for the page included; the server refuses a suggestion aimed at one.locked: falseon a page opens it in a locked section. A locked page is changed in the content repo. engines/llama.sh: a model engine for a llama.cpp server, or anything else that speaks OpenAI’s chat completions (LLAMA_HOST,MODEL,EFFORTfor a model whose thinking can only be turned down). The kit’s plan can run on it withKIT_PLAN_LLM(docs/training.md, “LLM backends”).bratac score --seeds Nhas the blind visitor answer every task N times and scores how the answers split: a Brier score per mode (0 is every seed right), and each task the seeds did not agree on with where the others went.iris check --needs-scorereads several answers per task (one line per seed) and printsSPLIT:andbrier:lines for them. One seed scores as before (docs/training.md, “Scoring a built site”).bratac score --seeds Nasks every task under the first three seeds (--first) and under the rest only where those did not agree, so more seeds cost little on a site whose wording mostly works.bratac rate --seeds Nasks the understanding questions under several seeds in the same way, andrate.jsongainsunderstanding_shareandcontrol_shareper page.score --seedspasses its seeds on to it.bratac score --seeds Nwrites its answers a file per seed (answers-<mode>-seed<n>.jsonl), the nameslearn extractreads a run’s seeds from, so a scored run is training rows with the seeds as votes.bratac teachhas a larger model go over finished interviews and, for each question that closed nothing the checker wanted, write the one it would have asked (lessons.jsonl).bratac interview --lessonsshows the interviewer the lessons about what is missing now, at most three. The web interview does not read them yet (docs/training.md).
1.0.10 (2026-11-25)
- A list of records that are their sender’s own (
owned_by) is read faster on a site of many pages: who sees a record is asked of the rules that name its bucket, not of every rule the site has. A list of 2000 on a site of 248 rules took 740 ms and takes 65 ms; what anyone is shown is the same (bench/README.md, “owned”). - A release is built for aarch64 Linux as well as x86_64:
portal-v<version>-aarch64.tar.gz, andportal-aarch64-linux,-iris,-bratac,-learnbare. The x86_64 files keep their names. A deploy that took the first asset of a release must ask for its file by name: with two machines’ files the first is no longer the x86_64 tarball. - The front page’s map (
hero: { kind: map }) no longer writes pins’ names over one another. Where two would overlap, one is shown, a record’s (hero.resource) before a page’s; the others show under the pointer or the keyboard’s focus, and on a touch screen at the first touch of their pin, the second opening its page. Names return as zooming makes room.
1.0.9 (2026-11-25)
owned_by: senderon a bucket: a record is the signed-in person’s who filed it, written on it by the site (owner), and only they see it, whatever page lists it.shared_with: { group, while }shares it with a group while the record is in those states: the group sees it, moves it from its desk and files what belongs to it, and stops when a move (the owner’s, the desk’s or a clock’safter:) takes it out of them. A bucket thatbelongs_toan owned one goes by its parent. A list over such a bucket needs neitherpublicnorrequires_group. The handbook and the map say it in words.- A case’s conversation has an access question of its own:
Maytakes{ kind: thread, room, bucket, id }. Of a record that is its sender’s own it is the owner’s and the group’s it is shared with while it is; of any other it is answered as its room, as before. A chat that asks it (kino 0.1.3) lets a person in no group talk with the group their record is shared with. - A browser’s submission no longer decides the
emailof a record in an owned bucket: the session’s address is written, where the form carries one.
1.0.8 (2026-11-25)
source: { kind: url }reads more than JSON:as: feedreads an RSS or Atom feed, a row an item (title,url,description,date, an event’sstartandend), andas: htmlreads a web page by CSS selector, a row for each elementrows:selects with thefields:named in it (.the row’s own words,@hrefan attribute). Only words and addresses are taken, never markup. An answer is kept forkeep:(15 minutes for a page or a feed where nothing is said, not at all for JSON, as before), and stands while the other server does not answer. The lint refuses a selector that is none, androws:orfields:on anything but a page.
1.0.7 (2026-11-25)
- The front page’s map (
hero: { kind: map }) pins every point of a page whoseplace:is several pins (points:), each under its ownname; before, such a page had one pin in the middle of them. An area or a path still has one.
1.0.6 (2026-11-25)
download:on a group’s list: a link under it to the list as a CSV file, one row per record as the visitor has narrowed it, with thetitle:andshow:fields under the form’s labels, the state and when it came in. The same person is let in as the list lets in; the lint refuses it on a public list. Semicolons on a site whose language writes numbers with a comma, and a cell that would run as a formula is kept as words.
1.0.5 (2026-11-25)
- The map hero fits its pins inside the padding of its box (
.hero-map { padding: ... }), so a site whose header lies over the map says in its stylesheet how much room the pins keep, per screen width if it likes; the pins are fitted again when the box changes size, until the visitor moves the map. It was a fixed 72 pixels all round, and a pin could sit under the header on a phone.
1.0.4 (2026-11-25)
hero: { kind: map }: the front page’s header is a map with a pin for every first-level page that has aplace:, each pin a link to its page and named by it;pages: [/a, /b/c]names the pages instead. A visitor gets pins only for pages they may open, and the same places stand as links under the map, which is all there is on an instance without map tiles.resource:on it puts a bucket’s records there too, as a list reads them (public/requires_group,states:,where:,limit:), each at the place it holds and named bytitle:, opening the pageto:says.- Markers on a map follow the site’s
--accent: a list drawn as a map, the front page’s map and the pin of atype: locationfield. They were MapLibre’s blue and the ink’s grey.MAPBOX_STYLEis in the operations table.
1.0.3 (2026-11-24)
- A list’s filter narrows its own list only. Where two lists on a page have a requirement of the same name beside their resources, each now keeps its own in the page’s address under its list’s name and the field’s (
/archive?documents.group=Traffic, the list’s name being its feature’s as an id), where both used to read the one?group=and so narrowed together, every list on the page changing when one was narrowed. A field only one list on the page narrows by lives under its own name as before, and so does what an alternative that records asks beside its lists. A link written as?group=…to a page where several lists narrow bygroupnarrows none of them now: name the list it means.
1.0.2 (2026-11-23)
type: address: a street address that suggests itself as it is typed, in the browser’s own list. The site says whom to ask (addresses: kartverketoroffin site.yaml; Kartverket by default for a site in Bokmål or Nynorsk, nobody otherwise), and asks on the visitor’s behalf, so no third party sees them. One picked is kept with its postcode, town, place and the register’s id;ADDRESS_LOOKUP=offon a host turns it off for every site there.
1.0.1 (2026-11-22)
- A list the browser keeps:
collect: { into: cart }on a list puts Add to the list on every row, and atype: collectionfield (of:,from: cart) on a form anywhere on the site shows what was gathered and sends it as one answer, so one booking names several machines.count: truegives each line a count (max:the most of one). Kept in local storage, emptied when sent; aholds:holds every record in it; desks and mails say the lines by name.
1.0.0 (2026-11-22)
type: duration: a form asks for a length of time as a count and a unit (units: [days, weeks]), kept as ISO 8601 and said in the site’s language;holds: { what, from, for: <that field>, while }holds from the first day for that long, in place ofuntil; and a first day with how long narrows a list to what is free across those days, as two dates do.- Each list on a page, and a select’s options read from records, is read once and sent once. leptos builds a page more than once on the server to render it, and each build read every list on it again and put another copy in the page (three of each on the machine-hire counter desk); the lists are kept for the request (
ListsOnce), and the browser builds and follows its page as before (#152). - A date rule is said as a phrase:
on: first saturday of june,last sunday of every month,fourth sunday before 25 december,17 may. The keys spelled out ({ nth, weekday, month }) still work. - One way to write a length of time, wherever content takes one:
every: 6 months,lead: 14 days,shows: 3 weeks,expires: 30 days, a reading’ssince: 3 months, an event’sduration: 3h 30m, as people say it or as ISO 8601 (P14D). The old{ days: 14 }shapes are refused with the new spelling named. Counting is calendar-aware (jiff): a month is a month, a day across a summer-time change is a day. - The site’s time zones come from the time-zone database built in, not a table of the EU’s rule: a wall clock, a deadline and a calendar feed read the zone’s real history, and the feed’s VTIMEZONE lists the real changes.
1.0.0-rc.11 (2026-11-21)
iris manual --slides slides.mdwrites the handbook as a deck to talk through: the opening, the showcase spread in that edition, the front door, the map, the needs in brief and a slide for each, the roles, how people join, what runs by itself and what comes next, in markdown split by---, the map’s SVG beside it. Begun on 0.11 and never committed; ported to 1.0.iris manual --for <group>writes one group’s handbook: its needs, its role, how its members join and what runs on its desks, with the group named on the cover. Once per group hands each crew its own;--slidesmakes the same as a deck.- A site serves each group’s handbook at
/handbook/<group>, made the first time someone asks and kept until the content changes. The group reads its own, and so do the groups that invite into it. An invite into a group links it ({handbook}in an invite’s words, a closing line in portal’s own), and so does the line of the group’s pages, on its desk too. The host needs Typst; without it the invite goes out as before./handbook/joins/asks/as a path content pages stay out of. - Portal speaks Nynorsk, Swedish, Danish and German besides English and Bokmål:
lang: nn,sv,daordein site.yaml. Every word portal says itself (the page, dates, its own mails, the handbook, the map, the kit’s interview and the sites it writes) is in Fluent files,locales/<code>/<area>.ftl, so a language is files a translator writes. A missing phrase comes from the fallback (Nynorsk from Bokmål, the rest from English), and each part’s test names what a language lacks. The new four are a first draft: have someone who writes the language read them before a site goes live in it. The docs’ Languages page says how to add one. - Plurals follow the number: “shown 1 day before”, “good for 1 day”, “om 1 time” read as they should. English and Bokmål are otherwise word for word as before.
- On a phone, text reads at 14px and a form field never under 16px, so iOS leaves a field at its size when it takes focus; larger screens scale as before, with no ceiling, up to TVs and wall displays.
1.0.0-rc.10 (2026-11-21)
- The old credential ask is gone from the site: a program asking for a login in its
Serve(waiting,ask,public_key), thesource: { kind: asks }list that showed it as a form, the built-inportal_credentialsand thecredentialsgrant inDHD_KEYS. Programs ask with a question (dhd::ask), as gdo and kron now do, and it waits in the header without a page placing it. Content withkind: asksis refused by the lint; replacing a working login from the site went with it.dhd::asksis gone too: gdo and kron releases from here on speak only to 1.0 sites, and a 0.x site keeps the gdo and kron it has.
1.0.0-rc.9 (2026-11-21)
- rc.8 was tagged but never released: the release build of the browser code went deeper than the compiler allows on the new ask page. The page erases its view types at each card, feature and field, and rc.9 carries rc.8 with that.
1.0.0-rc.8 (2026-11-21)
- A program beside the site asks its people a question (
dhd::ask): theAskcall, orPOST /dhd/1/askwith a token, carries a question in a page’s own shape, with alternatives and their fields, for a group (ask:<group>inDHD_KEYS) or one person (ask:person). It waits in their header and is answered at/asks/<id>, a page drawn from the question; fields markedsecretare sealed to the asker before anything is written and need a strong sign-in. The answer goes to the asker alone (its ownasks.<key>outbox, or theaskswebhook over HTTPS), and the asker saysdoneorrefusedwith its words. Each ask is a record in the built-inportal_asks. A content page under/asks/is refused.
1.0.0-rc.7 (2026-11-21)
-
source: { bucket: machines }is a list of the site’s own records:kind:is left out.kind: kv, the 0.x name, reads the same, and every other source still says its kind. A stray key insidesourceis refused by name. The docs, the examples and bratac write the short form; a reading inpost:takes it too. -
A series’
for_eachtakeswhere:as a list does, so each kind of thing can have its own series:where: { field: type, none_of: [Trailer, Scaffold] }. The lint holds the field to the bucket’s forms and the values to its choices. The handbook says it in words (“Only those whose kind is not «Trailer» or «Scaffold»”) and the map in short (type ≠ Trailer, Scaffold). -
where:takesnone_ofbesideequalsandany_of, on lists, notices and series alike: a record holding none of the values, which one with nothing in the field is. -
A refused send keeps its button at the card’s edge, with the reason under it; a long reason pushed the button aside.
-
The machine-hire example’s thanks page has no button of its own: portal already adds the way back.
1.0.0-rc.6 (2026-11-21)
- A release unpacked as it ships runs with no
LEPTOS_*set: ahash.txtbeside the binary turns on hashed scripts and styles, and asite/pkgbeside it is the site root (portal::release). Before, the quickstart’s command served a page whose styles and scripts were missing. What the environment sets still wins. - The lint’s first line says how many buckets are the site’s own and how many are built in, instead of one count of both.
1.0.0-rc.5 (2026-11-21)
- A program beside the site may let its owners replace a login that works (
replaceable: <kind>beside its ask): the ask stays on the owners’ page with a line saying it works, a new login can be given there, and the program keeps the old one until the new one is proven. An ask may carrylang, and the site shows the one in its own language (#151). gdo and kron say neither yet: they follow once a release carries it. - The list of what waits for you closes on a click anywhere else, or Escape, as a dropdown does. Seen in a browser on a scratch site with sign-in on: the name marked with a count, the list opening under it.
- A
post:step’s answer may write on the record:takes: [price, delivery_date]names the fields, and an answer’sfieldsare taken only by those names, only withok, only as text, a number or true/false, written with the movethen.okmakes. A field a form asks a person for cannot be taken, so an answer never writes over what someone typed; a list mayshow:a taken field. submit:<bucket>inDHD_KEYSandDHD_TOKENSlets a caller submit only through forms that record into that bucket, wheresubmitlets it submit anywhere a visitor could.- Whoever is signed in sees what waits for them: their name in the header is marked with a count and opens onto the list, each a line and a link to where it is answered. Two things count: a program beside the site asking for a login, on a page whose asks they may see, and a change they suggested that waits for their yes (
app::waiting,POST /api/waiting_for_me). With nothing waiting, the header is as it was. - A call on
dhd/1keeps its place on the wire: a test holds each one’s, and the list only grows at the end.LoadandReadhad been put first (before the first candidate), which renumbered every other call, so a program built against an olderdhdsaidServeand was heard as something else, with no error on either side. gdo and kron were such programs; both are pinned to a release tag now. - A site goes by one name to every program beside it (
instance::site): what a program is told it serves and thesiteon a request for money, a login given and a step handed on were two forms ofSITE_NAME(folded to a token, and as written), which differed for a name with capitals or spaces, so a program that said back the one it was told could be taken for another site’s. A name a program says back is compared as a token. - A
post:step may wait for others (after: [<step>]): it is handed on once each has answeredok, with their answers in its reading assteps.<name>; one whose wait was refused is never handed on. The lint refuses a step that waits for itself, for a step the state does not have, or in a ring. - The workflow the kit writes for a new site prints what the site answers its
Load(what was loaded, or why the content did not pass), and tries for two minutes while a deploy restarts the site;curl -fhid the answer. Operations says to copy a seed in withtarwhere the deploy may not set setgid.
1.0.0-rc.4 (2026-11-20)
Loadat a commit works for a private content repo:aggregates.yaml,site.yamland the templates are fetched through the API’s raw endpoint, as the pages are. They were fetched by thedownload_urlGitea hands back, which for a commit is its web address and answers a private repo with the sign-in page, so everyLoadthe content’s CI asked for was refused (422) while the load at start, by branch, passed. ALoadthat fails is said in the site’s log with why. Found moving the first preview to 1.0.
1.0.0-rc.3 (2026-11-20)
- A
post:step reads more than its record:read:entries name other records (source: { kind: kv, bucket }, withstates,where,since,limit) and what happened in a bucket (events: <bucket>, withwhere,since,limit), each under a name the template uses;{field},{id}and{bucket}in awhereare the record’s own. The newest first, 500 unless said. The lint holds each entry to one source and to a bucket the site has. post:on a state, the first slice of #119: a record entering the state is read through each named step’s template (a text file undertemplates/,{{ }}over the record) and handed to the program the step names (to: { service }or{ credential }), as a row in the outboxposts.<name>written with a case for the step in the built-in bucketportal_posts. The program answers with aMoveon the step (ok,refused,failed); its words are kept as a note on the record, and the state’sthen:moves the record once every step isok, or one wasrefused. Templates load and swap in with the state graphs, and the lint fails on one that is missing or unreadable, on an address or a key where a name belongs, and on athenthat is no declared move. Not yet: steps that wait for each other, gates, readings beyond the record,.typandto: { mail }(docs: state machines, “post”).
1.0.0-rc.2 (2026-11-20)
- On a site with
mfa_groups, a suggested change is applied only after a strong sign-in (a passkey or a second step), whatever groups its asker holds; after a weak one the yes is refused in words and the change waits (#148). - “Suggest a change” applies only words on its asker’s own page (headings, texts, labels, button words); a change to how the work goes (a field’s kind, where a card leads, who may see what, a state graph, another page, a new link out) is handed over instead: the same draft and read-back as a PR for whoever maintains the site, which portal does not merge, with the inbox mailed and the case resting in
handeduntil the PR is merged or closed. Which of the two a change is, is read from the change itself (edit::kind), never asked of a model. Members ofportal_maintainer(orEDIT_MAINTAINER_GROUP) apply either on their own yes. (#148). - At sign-in, an address the provider says it has not verified (
email_verified: false) is not carried into the session: it no longer makes a person the one a page names as responsible, nor claims an invitation waiting for that address. A provider that says nothing about verification is taken at its word (#148). iris lint --path …runs the lint asportal lint --path …does, soEDIT_LINT_BINmay name either binary.- A suggested change that alters who a state puts into a group or takes out of one (
grants:,revokes:) says so in its read-back, among what people gain and lose, and is refused after the yes when the person was not shown it, as an access gain is (#148). - “Suggest a change” runs the repo’s own CI lint on a proposed change where the workflow says
iris check --path questions, as the workflows the kit writes do; it only knew the olderlint --pathforms, so on such a site that check was skipped without a word. - Operations says how a deployed site is imported into: its unit runs the import itself (
PORTAL_COMMAND), since only the unit may open its store.
1.0.0-rc.1 (2026-11-20)
Portal 1.0, in brief. A site is one process and one redb file: its
records and their logs, sessions, outboxes and holds, every move
written whole in one batch. The programs beside it (gdo, kron, learn,
kino, the kit’s worker) dial it over dhd/1 with keys of their own;
n8n and scripts make the same calls over HTTPS, or take an outbox as
signed webhooks. A site can come from a folder (CONTENT_DIR), so
trying portal is a folder of YAML and one command. For content:
bookings that hold a thing over days, lists drawn as rows, cards, a
table, a board, a calendar, a map or a count, live as records change,
the browser’s own input types, programs: that move records, and a
lint that refuses keys nothing reads. Nothing moves over from a 0.x
site: a 1.0 site starts with an empty store (docs: operations, “Moving
a site to 1.0”). The lines below are in the order the work landed;
where one says NATS still kept something, a later one took it out.
portal session --as <name> --groups <group>: a signed-in session on a site being tried out, written into its store (with the site stopped) and printed as the cookie for a browser, so the machine-hire example’s counter desk can be opened with no sign-in provider running (docs: Try it). Refused whereOIDC_ISSUERorKANIDM_URLis set.- A board says its noun as one where it has room for one:
words: { place: maskin, places: maskiner }reads “0 av 1 maskin” and “2 av 3 maskiner”, on the row and on the map. With no words, a board of one says “1 place taken” (“plass”), not “places”. iriswith no command printediris replay --path <dir> --nats <url>, a flag replay no longer takes: it says--store <file>, and listsmapandmanualbesidecheckandreplay. An owner giving a service its login after the service went away is told it “is not connected to the site any more”.- A site the kit writes lints with
iris(portal-x86_64-linux-iris, 24 MB) rather than the wholeportalbinary (107 MB): the same code, a fifth of the download. The lint chapter and operations sayiris checkthroughout and no longer tell 0.6’s story of iris leaving and coming back; getting-started counts its four kinds of content right, drops a 0.5.4 failure and a client’s infrastructure link, and says gdo needs its key inDHD_KEYS. - Feature icons come from the site (
/icons/<set>/<icon>.svg,icons.rs): it fetches each from Iconify once and keeps it, as it proxies map tiles. Before, every visitor’s browser askedapi.iconify.designfor each icon on a page, telling it who looked at what. An icon is served asimage/svg+xmlunder a policy that runs no script. Content reference’s hero, search box and iOS profile sections say the same in fewer words, and operations lists what a page may load. - The manual and a room’s duties say “Has 1 question only they see”, not “1 questions”. The chapters’ examples are in English throughout (content reference, operations’ import and onboarding, mail, rooms), and rooms shows the machine-hire example’s counter rather than a preview site’s; it says a room’s message is a row of the
roomsoutbox, where it still named a NATS subject. - A series on
on: { nth: last, … }(“the last Sunday in January”) loads; the check that holdson:to its shape refusedlast, which the docs and the dates themselves always took. State machines’ examples are in English, and its payment section says the same in half the words. - A desk’s button, which confirms the moves picked on its rows, says “Confirm” (“Bekreft”) where the content names none, rather than “Send”.
- A card that collects nothing only goes on, and its button says where in the card’s own name (“Hire a machine →”) rather than “Send”.
docs/examples/machine-hire, shipped in the release asexamples/: a whole site to run withCONTENT_DIR(a front door, machines narrowed to a visitor’s days, a booking held over them, a confirmation mail with a calendar entry, a counter desk), and the docs’ first pictures, on the front page.- The chapters say how mail, payments, deadlines and announcements travel in 1.0 (the move’s own write, an outbox a program serves), where they still named NATS subjects and streams.
- The lint fails on a key no page or
site.yamlreads (serde_ignored), named as “card 1 › feature 3 › field 4:bind”; such a key used to be dropped without a word, so a site quietly did less than its content said. Five such keys were in the content repos on this host. - A site with a
titleand nowordmarkis named by its title in the header, not by the house mark the release carries. - When a record came in, or a note or a move was made, is said in the site’s words and on its own wall clock (
timezone, summer time as the EU keeps it): “Thursday 19 November at 23:37”, not “2026-11-19 22:37 UTC” (tz::wall_clock). - A catalogue (a bucket nothing moves, such as machines for hire) has nothing finished: its records were all dimmed as ended. And a list without moves shows every record it is sent; it used to hide the oldest finished one behind “Show finished”, a desk’s way of asking for more.
- A file field speaks the site’s language: portal draws its button (“Velg et bilde”, “Choose a file”) and the name of what was chosen, over the browser’s own picker, which still opens from the label, takes the keyboard and says when a required file is missing. Before, a Norwegian site showed the browser’s “Choose File / no file selected”.
- A date with a time keeps the time to its “kl.” or “at” (a no-break space), so a narrow column never leaves “kl.” at the end of one line and “07:00” on the next.
portal import’ssubmit:presses on a page with a key (/ledig/uke48-sl10for/ledig/[key]) carry what the address gives the form’s fields (value: "{key}"), as a browser’s form does. Before, such a press was refused as missing the record it is about: a rental’s bookings could not be brought in.- The kit’s queue is the site’s own, and portal opens no NATS at all:
async-natsis out of core, portal and bratac. A confirmed brief (a web interview’s yes,bratac job enqueue,bratac interview --enqueue) is a record in the built-in bucketportal_kit,queued, with a row in the newkitoutbox in the same batch.bratac job worker --site <key>@<address>serves that outbox over dhd/1 with a key the site names<key>=kit(dhd::kitis the contract), runs one job at a time, and says each job’s end with a move tobuiltorfailedthat carries the record’s fields, the job’s mails (the site lets akitkey mail only the brief’s contact and its own address) and, withKIT_PROVISION=approve, where it waits for the owner’s yes. The owner’s move toapprovedhands the job back down the same outbox; the worker sets it up and settles it in one move with the caller’s way in and the owner’s line, which works beside a running site (before, the desk opened the site’s store and so needed the site stopped).kit.status,KIT_JOBS,--nats,--mail-nats/KIT_MAIL_NATS,KIT_APPROVAL_EVERYandNATS_URLon the site are gone;bratac job key <file>prints a key file’s public half; the standalone kit (kit/compose.yml) is one container, its site and its worker. CI starts no NATS, andbackfill.yml(a 0.x one-time migration whose binary is gone) is removed. - The repos the kit writes for a new site are 1.0’s: no NATS in its
compose.ymlor its deploy; the site’s store in the unit’sStateDirectory=(the deploy refuses to run without one) or on astorevolume; andlint-and-reload.ymlposts/dhd/1/loadwithLOAD_TOKEN, whose hash the deploy gives the site asDHD_TOKENS=…=load. Before, such a site would never have taken new content: a 1.0 site does not listen on NATS. Thecurlin operations.md’s New content now sendsContent-Type: application/json, without whichLoadanswers 415.Loadon a site read fromCONTENT_DIRsays it read the folder. CONTENT_DIR: a site from a directory on this host instead of a Gitea repo (questions/,aggregates.yaml,site.yaml, every storyline, and the files/site/and/.well-known/serve), read at start and on everyLoad. With it, trying portal is a folder of YAML and one command; the new Try it page walks through one.- The site has no NATS: nothing it serves, keeps or hands on goes through it, and it does not connect at start. The kit’s queue of briefs is the one thing left there (
NATS_URL, for the kit alone).portal importandcomes-roundgo into the site’s store (PORTAL_STORE, with the site stopped). The operations guide is rewritten for 1.0: moving a site onto it, presence, the programs beside a site, rooms and learn overdhd/1. - Toward 1.0 without NATS: the site no longer listens on the bus or relays to it. Mail replies, the money service’s words and a program’s word on a login come as dhd/1 calls (
Note,Move); the outbox’s rows wait for the program serving them over dhd/1, or a webhook (DHD_HOOKS), and nothing relays them to NATS; presence is the programs holding aServeopen; the access question isMay; content comes withLoad. Access decisions worth keeping are written to the site’s log (targetportal::access) instead ofportal.access.decided. An invite’s, a responsible person’s and an applied change’s mail go through the outbox like every other. The integration tests run on a store in memory and read what the site says off its outbox, so the 46 that skipped withoutPORTAL_TEST_NATS_URLnow always run. LoadandReadondhd/1: the deploy loads a content commit (POST /dhd/1/load {at}with a token namedload, or over iroh), fetched, checked and swapped in with the last good content serving until then; the operator reads a running site’s store withportal db [--site <key>@<address>] <bucket> [<key>] [--log], with a key of its own namedread. The reload is one step now (content::Content::load), shared by both.programs:insite.yaml: a program beside the site (a scanner at the counter, a script, n8n) moves records as a desk button does. Each program is named with the moves it may make ({ bucket, from, to }), the instance gives its key or token that name (DHD_KEYS=<key>=scanner), and itsMovegoes through the policy (aServiceprincipal), the same states, the state’s mail and the announcement, with the log naming it. Only the moves listed, from where the record is now; a move decided on a record that has moved since is refused, and a move carries no fields. The lint, the start and every reload refuse a moveaggregates.yamldoes not declare.- A program on
dhd/1that needs a login asks for it on itsServe(credentials): what the owners give comes down that program’s call alone, sealed to it, written with the record in one batch, and only the key it was sealed to may say whether it worked (aMoveon itsportal_credentialsrecord). kron uses it: withPORTAL_DHDset it needs no NATS, its ledger and its keys in a file of its own (KRON_STATE). - Backups of the site’s store: every six hours (
PORTAL_BACKUP_EVERY) a copy of the whole store at one moment (Store::snapshot), sealed on the site to the operator’s age key (PORTAL_BACKUP_TO), goes to garage (GARAGE_BACKUPS_BUCKET), to varde (VARDE_SOCKET), or both, and the newest fourteen are kept (PORTAL_BACKUPS_KEPT). varde pins each closed, for its trusted peers alone, and pushes it to the peersVARDE_PUSH_TOnames, which keep it until their own operator lets it go; varde without a key to seal to is refused at start. Restoring isage -dand the file in place ofsite.redb. learn serve --dhd <site key>@<address>(built with--features serve, as the release is): learn serves a portal 1.0 site’s ranking overdhd/1with a key of its own (LEARN_KEY), each question to a free lane and its answer back up the call, a failure as its code (400, 503, 500) with the visitor’s words kept out of it. Stopping, it answers what it has taken and turns the rest away with 421. Its NATS mode is gone, and with itasync-natsfrom learn.- Questions down an open
Serve: a program serving a kind of question (learn,rank) is asked it down its call (Work::Ask) and answers up it (Done::Answer);network::askasks the newest one serving, and none where nobody does. A search’s ranking asks a learn serving the site overdhd/1first, then the resident service on NATS, then spawnslearn rankas before (Via::Dhd). - The outbox as signed webhooks (
hooks): an outbox named inDHD_HOOKS(answers=https://n8n.example/…) is posted to its address a row at a time, oldest first, as the JSON it is, withDhd-Outbox,Dhd-RowandDhd-Signature(HMAC-SHA256 of<outbox>.<row>.<body>underDHD_HOOK_SECRET); a 2xx lets the row go, anything else is tried again from 5 seconds up to 5 minutes, in order. While hooked, the relay leaves the outbox alone. n8n can take every announcement this way, off the bus. dhd/1over HTTPS for what is not Rust (dhd_http):POST /dhd/1/submit,/moveand/noteas plain JSON, each with a bearer token the instance names by its SHA-256 inDHD_TOKENS(network::Tokens; the site keeps no token). The same checks as over iroh (network::Site), and a status for each refusal (401, 403, 422, 503, 501).network::from_envreturns the site with its listener, so the routes work with no program on iroh.Submitoverdhd/1: a program named forsubmitsends an answer as a visitor would, through the form’s own path (portal’ssubmit_as, handed to the network by the binary as aSubmitter), and gets its chain hash. The network’s calls are methods on a publicSitetaking aCaller(what a key or token may do), so the HTTPS binding takes the same path.- A program serving the site over
dhd/1is beside it (presence):Servesays its name, version and what it can do in the services API’s words (calendar,providers,site), and the site counts it as present for as long as the call is open, alongside whoever answers a ping on the bus (presence::joined). A mail’s calendar line and a payment’s provider read it as they read a ping.Serve::newmakes one. - What the site says in a group’s room leaves through the outbox (
outbox::ROOMS):rooms::saywrites the messages as rows in one batch, and the relay puts them on their room’s subject in the rooms’ stream as before (one message per id), or a chat that servesroomsoverdhd/1takes them. A NATS that was away used to lose what was said; now it waits.Watchoverdhd/1hands a key named forwatchthe site’s groups (dhd::one::GROUPS): every group’s room document (rooms::group_docs, lifted out ofwrite_groups), then each that changes or goes, looked for every 30 seconds;dhd::one::Changecarries what a record now is. A clippy pass leaves the workspace without a warning. Moveoverdhd/1for the money service: a key that servespaymentsmoves a payment record (portal_payments) as its word says, the word (dhd::payments::Changed) as the move’s payload, through the same path the word on NATS takes (payments::take_word, split fromtake); the record waiting for the money moves on from there. A move and word that disagree, another contract, another bucket or another key are refused, and said.Noteoverdhd/1: a program named fornotehands the site a reply it read (its id, the record, the sender’s address, the words), and the site keeps it as it keeps a reply from NATS (mail::note): onto a record of this site’s, from the address the record holds, once.- The site’s own network,
dhd/1(docs: operations, “Programs that dial the site”). The protocol is indhdbehind itsonefeature, as irpc over iroh:Serve,Submit,Move,Note,MayandWatch, with open values carried as JSON text (postcard carries no tagged enum). The site’s end (network) listens onDHD_BIND(127.0.0.1:4300) with a key of its own beside the store (site.key), only whenDHD_KEYSnames a program, and turns away a key it does not name. A program that serves an outbox (mail,payments,answers) is handed its rows down the open call and acknowledges them back up; while it serves, the NATS relay leaves that outbox to it (Store::serving).Mayis answered as the NATS question is (access::filled, lifted out of it); the other calls say they are not taken yet. No relay server is used: nothing about a site reaches anyone else’s machine. The browser’s build carries no iroh. - A plan need can list
samples:, example records of what it lands in (- { what: Excavator 3 }, the fields its form fills).bratac buildcarries them intoneeds.yaml, and the simulation model offers them by name wherever a field picks a record of that bucket, so a simulated visitor booking a machine picks one. Nothing on the site is made of them. A sample naming a field the form never collects is refused. - A list can be drawn several ways (
shows:, docs: content reference, “How a list is drawn”):rows(the default),cards, atable(a column per field ofshow:), aboard(a column per state in the order ofstates:, the desk’s moves on each card), acalendar(a month, each record on the days itsholds:holds it or on its form’s first date, a press to the months before and after), amap(a marker per record’s place, from the vendored MapLibre and this origin’s tiles; rows without maps) or acount. The lint holds each to what it needs of its records. In every list, atype: recordfield shows the record it names by its name (“Excavator 3”), not its id (content::record_heading,resource::with_record_names). - Input types make use of what HTML has (docs: content reference, “A requirement”).
min/maxtake a day on adateordatetime-local(2026-12-01,today,today+365) and a time on atime, as well as a number; new arestep,unit(beside the field, and with its name in a list),minlength/maxlength,patternwithpattern_says(the words a person is told),inputmode,autocomplete(anemail, ateland a field namednamefill themselves when it is left out) androws.type: checkboxis one tick, stored as true or false, which must be ticked unless it isoptional, and reads as yes or no in a list;time,month,week,color,urlandsearchare checked as a browser checks them. The server holds every attribute as the browser does. The lint refuses atypeportal does not draw (it passed any before) and an attribute on a type it means nothing for; every content repo passes. - The trainer books things over days: a need says
holds:(as a bucket does) and a collected fieldof: <bucket>(a record another need lands in).bratac buildwrites the bucket’sholds:, and puts the picked field, the list of that bucket (its public fields, in its public stages, readable by whoever fills in the form) and the hold’s two days in one feature before the rest of the form. The plan is checked for a held field withof:, requiredtype: datedays, stages the need has, and a bucket some need lands in; needs sharing a bucket share their holds. The planner is told when to use them. - A list’s rows show what was filled in: a field left empty (nothing, blank text, an empty list) takes no line. A
0or afalsestill shows. Cards already left blank text out. - A record can keep something busy over days (
holds:on its bucket,holds): a hire its machine from its first day to its last while it is confirmed or out, a service its machine and its mechanic while it is planned.holds:names thetype: recordfield that says what (of:the bucket of the things, on every form into the bucket;multiple: trueholds each), the twotype: datefields of the first and last day, and the states it holds in; one map, or a list of them. The hold is taken, moved and let go in the same batch as the move that changes it, one thing has one holder on any day whichever bucket holds it, and a submission or move that would hold a thing someone else holds on any of its days is refused with nothing written and the person told in words; so is a last day before the first. The store’s holds take several things per holder, andreleaselets go of all of them (store format 2). - Booking from a list (docs: content reference, “Booking from a list”). Two
type: daterequirements beside a list, named as aholds:on its records names its days, narrow it to the records free on all of them, from the page’s address. On an alternative that records, the requirements beside a list are sent with the answer as well, and atype: recordrequirementof:the list’s own bucket is answered by a Pick button on each row (several withmultiple: true), kept in the address too. A picked row must be one the list shows (in itsstates:), and free on the days as the record is written. On an alternative that records nothing, a list’s requirements still only narrow. No content repo had requirements beside a list on a recording alternative, so no existing form changes. A date filter on a list now draws as a date; a lone date there is refused by the lint, which explains the pair. - Lists are live (
live). A page with a list opens one server-sent stream (GET /live?page=<page>), and the site tells it which of the page’s lists a commit changed; the page reads those lists again as it read them first, throughget_resourceand every check it makes. Only the lists the person may read are watched, decided as the page’s own read is, and the stream says which lists changed and nothing more. A booking someone else makes leaves your list as you look at it, and a desk sees another desk’s moves as they happen. A lone change is told at once; one right behind the last event waits 200 ms and takes along what lands meanwhile, so a burst of moves is two redraws; a stream that falls behind says every list changed; a stream opened again after a break (the site restarted) reads every list again. Streams end as the site stops, and the browser opens them again. A list read again keeps its rows on screen until the new ones are in (it was aSuspense, which blanked it). - What a move tells the programs beside the site leaves through an outbox (
outbox): a state’s mail, the announcement onportal.answers.submittedand a request for money are rows written in the move’s own batch, so each exists exactly when its move does, and a relay beside the site hands them on to NATS as each move is committed, letting a row go once NATS has it. Before, they were published after the move, and a stop or a NATS that was away between the two lost them; now they wait, and go in order when NATS is back. A submission’s record, mail and announcement are one batch, and a submission whose write fails is refused (try again) instead of announced with no record. A notice’s mail and the log’s word that it went are one batch; so are a come-round ask and its mails, a payment and its request, and a request’s going out and the mail that waited for its link.Store::oncekeeps one relay per store (docs: operations, “What NATS keeps”). - Every record and the event log are kept in the site’s store, not in NATS. A submission is its first event and its record in one batch; a desk’s decision, a deadline, a payment’s word, a membership or invite move, a schedule, an announced page and a save from a desk are each their event and the record that follows it, in one batch (
answers::write_logged,decide,restate), so a record never says other than its log. The mend that wrote a record back to its log,SETTLE’s quarter-second wait and the warnings about either are gone: there is nothing left for them to do. A decision whose case moved since it was seen is refused with nothing written, as before; a note that lands between a decision’s read and its write makes the decision read again. The ledger takes an event’s postings, statement lines and balances in one batch. - Lists in memory follow the store’s commits instead of a NATS watch per bucket: each record a commit wrote in a listed bucket is read again, and a list that falls behind reads its buckets afresh (
listing). Fixed on the way: the first read of a bucket could wait forever when its reader was the one that read it. - Gone, with no migration: adoption (
portal adopt,NATS_ADOPT_LEGACY,<site>_portal_adopted, the gate kit workers waited behind) and theEVENTSstream. A 1.0 site starts with an empty store.portal import,portal ledger rebuildandiris replay --report-only --store <file>open the site’s store, and so run while the site is stopped;iris replayruns its cases in a store in memory, with no NATS. The kit’s approval desk reads and moves its records in the site’s store too, which untildhd/1means with the site stopped (docs: training, “The owner says yes”). - NATS keeps what a site says to the programs beside it: announcements, mail, payments, credentials, the chat’s rooms, the kit’s queue (docs: operations, “What NATS keeps”).
- Sessions are kept in the site’s store, not in NATS: the
sessionsbucket of its redb file, which isPORTAL_STORE, orsite.redbin the unit’sSTATE_DIRECTORY. A site with neither does not start. A sign-in returns before the disk has it, and the store is flushed every minute and as the site stops, so a deploy signs nobody out and a crash loses the last minute’s sign-ins at most. A sign-out waits for the disk. Sessions past their date are deleted once an hour, as the bucket’smax_agedid. The sessions NATS kept are not taken over: everyone signs in once, and adoption no longer takesportal_sessionsover (docs: operations, “The site’s store”). - On SIGTERM the site stops taking connections, gives the requests under way 10 seconds and writes its store before it exits. Before, it was killed where it stood.
portal_core::store: what a site keeps, in a redb file of its own. ABatchis one transaction, so a move’s event, the record that follows it, the work it hands a program beside the site (an outbox, read withpendingand cleared withack) and what it holds over time (hold, refused where another holds the thing on any of those days) land together or not at all. A watcher hears what each commit wrote; a lazy batch, for a session or a cursor, returns before the disk has it, andflushtakes the lazy ones down. The file says its format and a file of another is refused. It is the store portal 1.0 runs on (docs: design, “Portal 1.0”), and sessions are the first thing in it.bench/measures what the move buys: a decision takes 7.5 ms on JetStream today, and 1.5 ms on redb with every commit waiting for the disk.
0.20.1 (2026-11-17)
- Fixed: 0.20.0 never published. The publish workflow ran
tools/precompress.shdirectly, and the runner’s checkout is a noexec mount; it runs throughshnow. 0.20.1 is 0.20.0 published.
0.20.0 (2026-11-17)
- A narrowing requirement (a feature’s
requirements:over itsresource:) may carry avalue:: what the list is read with until the address says otherwise, so a year’s accounts open on this year with the earlier ones to pick. Its name is a placeholder for akind: ledgerread on the same feature. - Fixed: the browser build broke on
FINISHED_PARAMnaming a server-only constant (0.19.2’s unreleased show-finished fix); the word is spelled on both sides and a test holds them equal. - A ledger beside the log (#110).
ledger:on a state posts as a record enters it: value from one account to another (from,to;creditanddebiton the wire), an amount from the record (a number, amoneyornumberfield, a product of two, orpayment), inNOKor any unit (stk,timer), with{id},{year},{bucket},{state}and{field}filling account names.ledger: { amount }on a bucket posts every move between the states’ own accounts, so each state is an account. Postings are written on the move’s event and kept as balances and statement lines inportal_ledger;source: { kind: ledger }reads a balance, balances under a prefix (lonn:*), or a statement (an account’s, or a record’s, bounded bysince/until). The lint holds accounts and units to shape,{year}off first arrivals, and every form filing into the bucket to the fields a posting reads.portal ledger rebuildrebuilds the projection from the log. Portal never refuses a move for a balance (docs: state machines “ledger”, with dues, invoices, stock, payroll, hours, seats, deposits and a year’s close as examples; content reference; operations). - Fixed: a desk’s “show finished” and “show older” showed nothing. The page sends the count as
__finished, and the server threw every__parameter away (the 0.11 fix against a caller naming__user_email) before the list read it. The count is let through, as a number and nothing else; every other__is still the server’s. - The rate limit counts the caller as the proxy saw it. The extractor took the first
X-Forwarded-Foraddress, which is the one the caller sends, since Caddy appends its own reading to a header that arrives; a script naming a fresh address per request was never limited. Now the header counts only from a loopback or private peer, and its last entry is the caller; from anywhere else the connection is.PORTAL_TRUST_FORWARDED:private(default),always,never(docs: operations, “Rate limiting”). submit_as, four hundred and seventy lines in one function, isapp/submit.rs:Asked(the page, the alternative and the principal once the policy has said yes) with a step each for the answers, one card per person, the check, an invite, the next page, a notice’s audience, the record’s key, a place on a board, and what arriving sets off;Madefor the time and the chain hash, and the announcement. The same order, since most of it is the order things must happen in; nothing a site sees changes.AlternativeCard, eleven hundred lines, gives up its fields:app/fields.rsholdsFormFields(every field of a form by kind, andresponses(), what the form sends, with a test) andRequirementField(one requirement as the form draws it). The four browser widgets (gesture, location, voice, the editor) mount through onemount_widgetinstead of four copies of the same effect and cleanup. Nothing a site sees changes.- The rich-text editor is served by the site: prosekit 0.23.3, its Loro extension, loro-crdt 1.18.0 and loro-prosemirror 0.4.4 bundled at those versions under
/vendor/prosekit/bytools/vendor-prosekit/build.shinto oneprosekit.js, with Loro’s wasm fetched only when a collaborative field asks for it and the two stylesheets beside it. Before,prosekit-editor.jsimported them from esm.sh at whatever version it resolved that day, and the page’s policy had to allow that host for scripts and styles; now every script is'self'. - Compressed on the way: the publish workflow writes a
.brand a.gzbeside every wasm, script, stylesheet, SVG and JSON file of the site (tools/precompress.sh), and portal serves the one the browser accepts; everything else (pages, server functions, files with no sibling) is compressed as it goes, brotli, zstd or gzip at level 4. The page’s wasm went over the wire as 2.6 MB with no encoding; as brotli it is 0.7 MB (docs: operations, “Compressed on the way”). - A
jq:filter runs within a budget: two seconds, twenty thousand values, sixteen megabytes (PORTAL_JQ_BUDGET_MS,PORTAL_JQ_MAX_OUTPUTS,PORTAL_JQ_MAX_BYTES). More values or bytes than that are left out with awarnnaming the filter; a filter past its time is stopped between values, or given up on over one value, the page told the budget, and the filter set aside until the next content reload so it costs one thread once. Before, a content author’srepeat(.)pinned a worker thread for every visit to its page (docs: operations, “What a jq filter may cost”). - Lists in memory: a list on a page reads its bucket from a listing portal keeps and keeps current by watching the bucket (
listing), built on the first visit by replaying the bucket’s history in one stream, instead of one round trip per record on every visit by every visitor. Puts, deletes and purges from any instance arrive on the same watch; a watch that fails drops its bucket and the next visit rebuilds it. One record (key:) and a person’s own records still read the bucket directly (docs: operations, “Lists in memory”). app.rs, which had grown past seven thousand lines, is eleven files undercrates/portal/src/app/, one per concern (the frame, a question, suggestions, the widgets, the hero, search, an alternative’s card, a feature’s list, the asks, a desk’s rows, the server functions). Each readsapp’s imports throughuse super::*, andapp.rskeeps the shell,Appand what the rest of the crate reaches in for. Nothing a site sees changes.- Every page carries a
Content-Security-Policy: the site’s own scripts, the inline ones Leptos and the hero write, each with the response’s nonce (leptos/nonce), WebAssembly allowed and nothing else that evaluates, inline styles allowed, pictures over https from anywhere, relays over https and wss, no objects, no framing by another site. Every response also saysX-Content-Type-Options,Referrer-Policy,Permissions-PolicyandX-Frame-Options.PORTAL_CSPreplaces the policy whole,{nonce}filled per response (docs: operations, “What a browser may load”). dhd::post: the wire for a state’spost:(#119), ahead of portal’s side of it. ARequest(portal.posts.requeston thepostsstream: who it is for asto: {mail|service|credential}, the template and the rendering, the reading, the deadline) and anAnswer(portal.posts.answer:ok,refusedorfailed, the destination’s words and reference, the rules version). Service metadata gainskinds(courier,typeset,rule) and a courier’scredentials. Nothing in portal publishes or reads it yet; the courierbuddoes.- A list narrowed by its own requirements: on a feature with a
resource:, therequirements:are the resource’s, shown above the list as words to search for (type: text, found anywhere in the field, whatever the case) or the chips of aselect’s ownoptions:(any of several formultiple). They live in the page’s address under their names (?kind=party,meeting&title=summer), so a link opens the list narrowed. Akvlist keeps the records whose field holds what was asked; aurlor Gitea source is asked them as query parameters;limit:counts what is left. They only narrow:where:andstates:are untouched, and nothing is sent as an answer. The lint takestext, orselectwithoptions:, and refuseschain,email,editandbackas names (docs: content-reference, “Narrowing a list”). - Removed:
bind:on a requirement (a field loading its value from a resource when a sibling changed). One page used it, uhhm’sdevelop/proposal, which is not open yet; the key is now ignored. - Fixed:
limit:on akvlist keeps the newest records. A listing leaves the server newest first (the record’s own date, else when it was sent) instead of in the bucket’s key order, which madelimit:keep any few. - Fixed: a
urlor Gitea resource no longer gets the signed-in person’s address appended to its query (__user_email, which akvlist’swherereads). - A text written together:
collaborative: trueon atype: prosekitfield lets everyone who may change a record (edit:on a list) write in the same text at once, with each other’s cursors and names. The browser runs prosekit’s Loro extension, loaded only where such a field is; the server keeps one Loro document per record and field (/collaborate/{bucket}/{record}/{field}, a WebSocket open to whoever may save the record, same-origin only), applies every update before passing it on, and keeps it inportal_collaborateacross restarts until nobody has had it open for ten minutes. Saving is unchanged, one edit event of the text as HTML; another save of the same shared text is no longer “changed meanwhile”. The lint refusescollaborativeon any other type and on a form noedit:opens (docs: content-reference, “collaborative”; #127).
0.19.2 (2026-11-15)
- A desk may change a place on a board:
edit:on a list over a bucket withplaces:is no longer refused. The save changes the board’s ledger first (boards::amend): the place keeps its seat or its turn on the waiting list, counts for more only where there is room (else refused, There isn’t room for 1 more, and nothing is written), and what it gives back goes to the next in line, who gets the seated state’s mail. It stays on the thing it was taken on: the form opens with theslotfield hidden, and a save naming another thing is refused. New words:board_no_room_for,board_stays_on(docs: content-reference, “Changing a record from a desk”; state machines, “board and places”).
0.19.1 (2026-11-15)
- A page’s own words above its suggest-a-change form:
responsible.suggestreplaces the interface’s line (You are listed as responsible for this question…) on that page, and stands above the conversation where that is on. For a page a change to which means something else, such as bylaws only an annual meeting may change. A list is one per storyline (docs: content-reference, “A question”; #125). - Fixed: a list of a bucket portal fills itself (
portal_payments,portal_credentials) could not saytitle:orshow:, since the lint knew a record’s fields only from the forms filing into its bucket. A built-in bucket now declares the fields portal writes (fields:on the schema), and the lint holds a list to those where no form says otherwise (docs: state machines, “fields”; content reference, “A resource”).
0.19.0 (2026-11-12)
- A service asks for its own credentials:
source: { kind: asks }lists what the programs beside portal wait to be given (their$SRVmetadatawaiting,public_key,ask), renders each ask as a form, seals its secret fields to the asking service’s age key in the handler, publishes the given on the newcredentialsstream and keeps aportal_credentialsrecord with fingerprints only; the service’s word (running,refused) moves the record. The lint requires the listing feature to be behind a group inmfa_groups.dhd::askscarries the shapes.
0.18.12 (2026-11-11)
- The calendar link under an event list (
calendar:) is fetched by the browser again: the client router had taken the click and shown its 404 instead of the.icsfeed.
0.18.11 (2026-11-10)
- Focusing the site search no longer moves the top bar on a skin that pins it to the hero (the copy is lifted by z-index alone, not positioned).
0.18.10 (2026-11-10)
- A submit whose next page is the record’s own (an alternative there has a
self_transitionon the bucket) opens that page as the person’s at once, with?chain=and&email=as the mail’s link has them, so a payment’s standing and link are there the moment they arrive. The page asks again for the link every two seconds while the money service has not given one, and once more after “ask again”. - The payment request names the person’s own page as
return_url(kept on the payment record), so the money service can send them back there after paying. New words: “Pay now”, “Ready to pay”, “Getting your payment link”.
0.18.9 (2026-11-10)
-
minandmaxon atype: numberfield: the box stops at them, and the server refuses an answer outside them as it refuses one of the wrong kind. A place’s count saysmin: 1andmax:itsat_most, so a sign-up cannot say minus one guest (docs: content-reference, “A requirement”). -
Fixed: a read-only list dimmed every record not in a state named
open, so an event (kommer) or a committee (aktiv) read as settled. The server now marks what is in a final state on every list, and only that is dimmed.
0.18.8 (2026-11-10)
portal import’s presses may change a record:record:on asubmit:entry names it, andfields:only what changes, through the desk’s own save (editing::edit_as), as «Endre» does; the rest of the record stays, and the change is an event in its log (docs: operations, “Onboarding: the desk’s own presses”).
0.18.7 (2026-11-10)
- Fixed: the site search’s suggestions went under the cards below the header.
.hero-copy’sview-transition-namemakes it a stacking context level with the page, so no z-index inside it could rise above the cards; while the box has focus or shows something, the header’s copy is lifted above them.
0.18.6 (2026-11-10)
- Fixed:
portal import’ssubmit:presses skipped an invite made already only by portal’s own membership records, so on a site that keeps its groups in Rauthy (PEOPLE_BACKEND=rauthy) a run again invited everyone again, mail and all. It now also asks Rauthy whether the person is in the group.
0.18.5 (2026-11-10)
- Fixed: a form on a record’s own page whose
actionnames the page’s key (/komiteen/{key},/komiteen/{key}/styret) was refused with “this answer is missing what the next page needs”: the next page was filled from the answer alone, and the key is the address’s. It is now filled from the answer, then from the address (content::next_page). An invite sent there was made, and its mail sent, before the refusal; a form keeping an answer kept nothing.
0.18.4 (2026-11-10)
- Fixed:
portal import’s presses ran on a site with sign-in off, so an invite’s mail went to the site’s inbox instead of the person; the site it runs on now reads sign-in,CONTENT_REPOandCONTENT_BRANCHfrom the environment asservedoes, and makes sure the mail stream is there.portal comes-roundthe same. portal importandportal comes-roundlog to stderr (warnings and up;RUST_LOGfor more), so a press that fails says why: “the account could not be made just now” no longer hides the reason.
0.18.3 (2026-11-10)
portal importreplays a desk’s presses: asubmit:list (a page, an alternative and its fields, in order) is sent throughsubmit_asas someone in one group (--as, elseSEED_GROUP, else the board), so a site onboards everyone it already knows by the invites its desks make, from the first person on. Every press is held to what the desk holds it to before anything is sent, and--dry-runsays what each would do and which are made already; an invite to someone already in the group, or invited, is skipped (docs: operations, “Onboarding: the desk’s own presses”).- Fixed: a desk invite on a page of a record’s own (
/komiteen/<key>/styret, «Gi komiteen en leder») was refused with “this page’s address names no scope to invite into” since 0.18.0: the role’s group was read against the address, not the page it fills in (content::pattern_of).
0.18.2 (2026-11-10)
- A list’s link may wait for a field:
link: { to, label, when: plasser }puts it only on records whereplasseris filled in, so a list of events where some take sign-ups is one list with “Meld deg på” on those that do. The lint refuses awhenthat no form filing into the bucket has (docs: content-reference, “A resource”). calendar: <words>on a list of a board is a link under it to/ics/<bucket>.ics, shown only while the list has rows, so nobody is offered an empty calendar. The lint refuses it on a bucket without a board or a board without aplan(docs: content-reference, “A resource”).
0.18.1 (2026-11-09)
- One search box for the whole site:
search: { scope: site }puts it in the header of every page, between the wordmark and who is here, and ranks every option on the site that the visitor may act on (no page behind a case, after a form or under[key]; aqualifiesgroup’s pages only for its members). Enter goes to the nearest card, on this page or another, and lists the nearest three under the box with their pages’ questions; Enter again goes to the next. The header row is then three slots spread edge to edge, the session’s of a fixed width, so a sign-in or a long name never moves the wordmark.pages:is refused beside it;scope: page, the default, is the box as before (docs: content-reference, “One box for the whole site”; #35).
0.18.0 (2026-11-09)
- A record’s groups:
groups:on a bucket gives each of its records groups of its own while it is open, named<bucket>_<key>_<name>(committees_traffic_lead). That one name is the group in Kanidm or Rauthy, in the token’sgroupsclaim and the group’s room in the chat. A new record is kept under its short name (groups.key, refused when taken), and is its groups’ key. A[key]page names one with a gap,committees_{key}_member, inqualifies,requires_groupandinvite.group; a desk for it moves only the records of that record (or that belong to it); a group thatmanagesothers invites into them, for its own record only. Opening makes the groups, and in Rauthy the admin roles of a group that manages others (rauthy_admin:committees_traffic_*), which go with being put in it and leave with being taken out; closing empties the groups. Every open record’s groups are made at start and on reload. The policy decides it with a CedarRecordentity whose tags are its groups; a member of one committee meets nothing of another’s, and a held name with a gap is no group (docs: state-machines, “groups”; access, “A record’s groups”; rooms). grants:takes a list, a name with a gap filled from the record (committees_{key}_member: this record’s or its parent’s;committees_{committee}_member: that field), and{ group, email, name }to grant to someone the record names other than its own person. A record’s group is granted only while its record is open.revokes:takes a gap too (docs: state-machines, “grants”).- Several fixed pages may sit under a dynamic directory (
[key]/lead.yaml,[key]/board.yaml); only[name].yamlfiles compete for an address. - A Rauthy key for a site whose records have groups needs read, create and update on roles.
0.17.3 (2026-11-09)
- A slide’s caption sits on a lighter scrim (0.38 black at the foot, gone by the middle, was 0.72), with a wider shadow under the text, so it is no longer the darkest, highest-contrast spot on the page.
0.17.2 (2026-11-09)
- A page with a
placeand no pictures has its maps in the header’s strip, the full width as pictures are, instead of a strip of its own in the text column under the question, where one pin read as a lone, cropped card.
0.17.1 (2026-11-08)
- A page’s
placemay be several points:type: pins(a map per point, each a slide in a strip, even one),area(one map, the points as a shaded outline) orpath(one map, a line through them), withfollow: walking,cyclingordrivingdrawing a path along the ways from Mapbox’s directions, fetched once per route. The map of an area or a path comes from this origin (/map/shape/...). The singleplace: { lat, lon, zoom, name }reads as one pin, so no content changes (docs: content-reference, “A question”). - A list may choose what its rows show:
show: [kort, leder]makes a row its title and those fields (the record and its own page keep the rest), andmeta: falseleaves the state and the time out. For a public list where a long text, “active” and an import time drown what the reader came for. The lint refuses ashowfield no form has (docs: content-reference, “A resource”).
0.17.0 (2026-11-08)
- Groups that need a strong sign-in:
site.yamlmfa_groupscount only when the token’samrholdsmfa,hwkorswk(Rauthy: a passkey). A weaker session has them held back, and their pages say why, with a link to add a passkey (account_url, or Rauthy’s account page) and one to sign in again (/auth/login?fresh=1asks the provider anew). The chat’s question carriesstrong, and portal holds the groups back from an asker that does not say so. A name no page uses is refused (docs: operations, “Groups that need a strong sign-in”). - The rich-text editor’s “Repo” button, and a pasted repository link turned into a card, are off unless
site.yamlsayseditor: { repo_cards: true }, and then point at the Gitea the content comes from rather than project.uhhm.no. Elsewhere/gitea-repoanswers 404. A card already in a text still shows. A site that used the button setsrepo_cards: trueto keep it (docs: content-reference, site.yaml).
0.16.0 (2026-11-08)
profile_save: trueon aprofile:field saves what the signed-in person gives on their account, where what makes the accounts keeps it (Rauthy), after the answer is filed; the field says so.emailandnameare not changed from a form, and the lint says which claims may be saved (docs: content-reference, “A requirement”).profile:on a form field starts it from what the signed-in person’s provider says of them (phone_number, the address’s parts,birthdate, the names), and leaves it asked. Sign-in asks for the scopes the content’s fields need (phone,address) only where the provider’s discovery lists them, so Kanidm is never asked for one it would refuse. A misspelled claim is caught by the lint (docs: content-reference, “A requirement”).PEOPLE_BACKEND=rauthy: Rauthy holds the groups, as Kanidm does withkanidm, and portal still decides what each may do. Invites,grants,revokes, the first person and the people named as responsible put a person in a group there, made if missing; a desk’s removal takes them out. Sign-in asks for thegroupsscope; the chat’s question and a desk’s member list read Rauthy when they are asked. The content does not change, and Kanidm and memberships are as they were (docs: memberships, “Groups in Rauthy”).
0.15.0 (2026-11-08)
- Sign-in through any OpenID provider, and accounts made in Rauthy.
OIDC_ISSUERnames the provider by its issuer and wins overKANIDM_URL, which stays the default and may stay for making accounts. WithPEOPLE_BACKEND=memberships,RAUTHY_URLandRAUTHY_API_KEYmake Rauthy stand where a Kanidm beside memberships did: an invite,grants, the first person and the people named as responsible get an account by their address if they have none, and Rauthy mails them how to set a password inRAUTHY_LANGUAGE(nbfor Norwegian). Groups stay portal’s (docs: memberships, “Rauthy”; operations).
0.14.2 (2026-11-07)
- A page with both a
placeand aslideshowshows the map as the strip’s first slide, as wide as the strip, with the pictures after it. Before, the strip ran across the top and a small map stood on its own under the question (docs: content-reference, “A question”). - A crowd taking places on one shift at once all gets an answer: a write that lost the race tried again after a fixed wait that was the same for everyone who lost with it, so they met again in lockstep, one seated per round, and past 32 rounds the rest were told the board was busy. They now wait a random moment that grows (up to 64 ms) and keep trying for five seconds, not a count of tries. It showed as the 40-at-once test failing now and then.
0.14.1 (2026-11-05)
- A desk hides what is finished: of the records in a final state (one the bucket’s state graph has no move out of), a desk list shows none until “Show finished” asks for the newest ten, each “Show older” ten more, and “Hide finished” folds them away again. It showed the newest three, which on a desk with a few busy lists was most of the scrolling, for records nothing more can be done with. A state with a move out (a lead that
failed, onesentand waiting forwonorlost) is not finished and stays, and a list without buttons is shown whole as before.
0.14.0 (2026-11-05)
- Three binaries, one version.
bratacis the trainer and the kit worker: every commandportal plan,portal build,portal interviewandportal jobhad, with the same flags, the sameKIT_*environment and the same files, andPORTAL_COMMANDread the same way, so a kit worker’s unit only changes which binary it starts.irisis the lint on its own (check,replay,map,manual).portalis the site, and still answerslint,iris,mapandmanual, so a content repo’s pinned lint keeps working;portal planandportal jobsay where they went. All three ship in the release tarball and as bare binaries (portal-x86_64-linux-bratac,-iris), and the release checks each says the tag’s version. Under them,portal-coreis the instance - content as the server keeps it, records and their state machines, mail, people, access, boards, rooms, memberships, notices, payments, learn and the search ranking, the lint - andportal-contentwhat content means, which the browser compiles too; the site depends onbratacfor the interview engine behind the card and the chooser behind the search box, and nothing inbratacoririsknows the server exists. Every module keeps its path (portal::mailisportal_core::mail), so nothing built onportalchanges (docs: architecture, operations, training; proposals/2026-11-three-binaries). - Who is beside this portal is asked of the bus, not told by the deploy: every few seconds portal broadcasts
$SRV.PINGand keeps what answered with the metadata each service says about itself (dhd::srv: the service names, itssite, a money service’sproviders, the mail gate’scalendar), said in the log as services come and go. Portal registers itself the same way, asportalwith its site and the wire’s version, so the programs beside it see it too (docs: architecture). - A payment request names its provider: from what the money services on the bus say they have keys for, Vipps for a Norwegian mobile number it can push to, else a card through Stripe, else what is there; fixed on the payment record as
provider, andNonewhile no service has answered, for whichever comes. A kron for another provider leaves the request alone, so a site may run one kron per provider (docs: state machines). - A state’s mail may be about a time:
event:undermail:names the record’s field holding when it starts (type: datefor a day,type: datetime-localfor a time in the site’s zone), optionally when it ends, a title and a location over the mail’s variables; portal puts the event on the message in ISO 8601 as the person meant it (a civil time with the site’s zone, or a day), under oneuidper record and state, and gdo carries it as an invite and onto a calendar when it has one. The lint wants the fields collected by every form filling the bucket. A gdo from before events sends the mail as before (docs: state machines, mail). /sitemap.xmland/robots.txt, from the content: every page a stranger may read (noqualifies, norequires_chain, not a follow-up, not dynamic), as absolute URLs underPUBLIC_URLor, unset, the host the request came to; robots allows everything but/auth/and/api/and names the sitemap. Both used to answer with the app shell, which told a search engine nothing (docs: operations).- The lint takes
{payment_url}in a paying state’s mail as the built-in it is; it refused it as a field no form collects, while the validator already refuses it on a state that asks for no payment.
0.13.0 (2026-11-05)
- The repo is a cargo workspace. Making the content, presenting it and verifying its integrity are three jobs, and only the middle one needs Leptos, axum and the AWS SDK; this is the room for the other two.
crates/portalis the site, lib and bin as before;crates/contentis what content means (no NATS, no HTTP, no Leptos, so it compiles for the browser too);crates/coreis content as the server keeps it;crates/dhdis the wire. One version across them, one tag, one tarball, andcargo test --features ssrat the root runs every member.learnstays outside on purpose (its own manifest says why). The lint and the trainer still ship inside theportalbinary; their own binaries,irisandbratac, are the next steps, not this one. Nothing changes for a deploy: the sameportalbinary, the same tarball, the sameportal lint. - A session lasts 90 days from its last use,
PORTAL_SESSION_DAYSto say otherwise. No expiry was set before, which left the cookie’s default - gone when the browser closes - so a phone that closed its browser signed its person out; the session bucket keeps a record 120 days now, and an existing bucket is brought to that on start (docs: operations). - A link dressed as a button (
.alt-submiton an<a>) ends in an arrow, since it goes somewhere rather than doing something, and keeps its button look when hovered on every site: a content stylesheet’s barea:hoverused to outrank the class and wash it in the link colour with the button’s own text still on it. - The names and shapes portal shares with the programs beside it on NATS are their own crate,
crates/dhd/(the dial-home device): the streams, buckets, subjects and durable consumers, and the records and messages on them -Answer, the event log’sEventand theportal.answers.submittedannouncement, the mail gate’sOutgoingandIncoming, the money service’sRequestandChangedand how a payment record is read, the rooms’GroupDoc,SaidandThread, the accessQueryandDecision, a board’sLedger, the chain’s node and hash,hash16, and how a site’s names are prefixed on a shared account. No NATS client and no web framework in it, so gdo, kron, cnats and whatever reads the event log next depend on it from this repo (package = "dhd") and bring their own. Portal depends on it and every module re-exports what it owned, so nothing built on portal changes, with three exceptions:access::Principal::from_userisaccess::principal_of, a board’s fill speaks through theanswers::FillWordstrait, and a ledger is seated through theboards::Seatingtrait (docs: architecture, README). revokes:on a state, the mirror ofgrants:: the person the record is about is taken out of the group as the record arrives. A household that leaves, or a year’s dues nobody paid, ends the membership by the same decision that says so; nobody has to remember to remove them. Through memberships the record moves toremovedand stays; through Kanidm the person is taken out by address. A state grants a group or revokes it, not both, and the lint wants a form filling a revoking bucket to collect a requiredphoneoremail.- The lint’s rules for
grants:andinvite:accept the names forms actually use for a name and an address:navnbesidename,epostbesideemail, the phone names likewise - the same lists the grant itself reads a record by. Before, a Norwegian form was told to collect anameit had collected asnavn. - A payment’s request goes out, and what comes back moves the record. With
PAY_URLin the deploy (the money service, kron, is there),payment:may leaveby_hand: trueout, and as the record is made its request is published on thepaymentsstream (portal.payments.request:v,id,site,amount,currency,text,phone,email,expires_at, the reference as the message id). The service’s words come back onportal.payments.changed, read through a durable consumer per site (portal-<site>-payments-changed):requestedkeepspspandurlon the record,paid,failed,expiredandrefundedmove it; a word for another site, under an unknownv, for no payment, or naming another amount or currency is left alone and logged, and one delivered twice is one event. A paying state’smail:may say{payment_url}, the service’s link or the person’s own link, and with a service waits until the request is out. The person’s own link shows the latest payment where it stands, and afterexpiredorfailedoffers a new request under the next reference. The lint refuses{payment_url}on a state withoutpayment:, andpayment:withoutby_handwherePAY_URLis unset (docs: state machines, operations, mail; step 2 of the payments proposal).
0.12.1 (2026-11-03)
- A list names its title field:
title: navnon aresource:shows that field first and larger on every row, with no field name over it and not again among the fields, and makes it the heading of a card instead of the first text. The lint holds it to a field some form filing into the bucket has, and not aprosekit,fileorlocationone (docs: content reference). - A payment is a record.
payment: { amount: 250 | { field: belop }, text, then, expires: { days }, by_hand: true }on a state makes a request in the built-inportal_paymentsbucket as a record enters it, by a form, a desk, a clock or a move portal makes (socomes_roundasks again each round), with the amount fixed then:reference,owner,amountandcurrencyin minor units,text,phoneandemailfrom the record,psp,by. Statesrequested,paid,registered,failed,expired,refunded, each change an event in its log. When a payment ispaidorregistered, portal moves the owner tothenitself, stampedpayment:<reference>, withthen’smailandgrants;expireswithdraws an unanswered request and nothing else. A desk lists the ledger like any built-in bucket, withregisteredas its one button;paid,failed,expiredandrefundedare the money service’s, which is not built yet, so the lint requiresby_hand: trueand refuses a desk naming them, athenthat is not a declared move from the paying state, a{ field }that is not a requiredtype: moneyfield, a form into the bucket with no requiredphoneoremail, and a desk button, own link or clock intothenfrom the paying state. New form typemoney: whole kroner, none below zero (docs: state machines, content reference; step 1 of the payments proposal). - 0.12.0 was tagged with an empty changelog section, so nothing was published under it; this is that release.
0.11.2 (2026-11-03)
- A rich text field on a list takes the whole row, under the short fields, at a reading width. It used to take one column of the field grid, 320px wide and as tall as the text made it.
- A place on a board may count for more than one seat:
count: antall, at_most: 4onplaces:names atype: numberfield on the sign-up form (empty counts 1; 0 or more thanat_mostis refused at submit, with words saying why). The ledger sums counts againstcapacity, a place is seated only whole (one that does not fit waits, or is refused without a waiting list, and a smaller one later in line may pass it), the row’s fill and waiting list count seats, and the lint requiresat_mostwithcount, atype: numberfield of that name on the form, and noneedson the board (docs: state machines, content reference).
0.11.1 (2026-11-02)
- A security fix, for every site: a list’s
edit:holds a save, a record’s history and the form opened to change a record to what the list shows that person, as a desk’s move is held to its desk. The policy’seditis on a whole bucket, so a group allowed to change its own cases through a list with awherecould change any record in the bucket, or read its history, by naming it in a request;edit_record,record_logand?edit=now refuse a record the list does not show (where,states,key), on a[key]page too. - A security fix, for every site: a
hiddenfield filled from the page’s address (value: "{key}") holds what the address gave, whatever the browser sent. A form on committee A’s page could file a record under committee B by sending B’s key in thebelongs_tofield; the server now writes the key from where the form was sent. - The sign-in line at the foot arrives with the page it ends. It was the only thing showing on the empty page between two.
0.11.0 (2026-11-02)
- A form’s inputs now belong to its form: the browser holds them to
requiredand their type before sending, and Enter sends. They sit in the feature cards and the form held only Send, so none of this worked. A file already on one’s own card is not asked for again, and moves pressed on a desk don’t wait for empty fields. - A form is held to what it asks on the server too. A POST with no required
emailused to be kept as it came:submit_answernow refuses a field that is notoptionaland has no value, and a value that is not what itstypesays (an address, a number, a date, a time, a URL, a choice fromoptions, a place on earth, a file key), before anything is made or kept, naming the field by its label in the site’s language. A file already on one’s own card counts, ahiddenfield is held only to what the content gave it to carry, and a required location or select, which no browser input stopped, is refused now too (docs: content reference). - A missed link no longer strands a person. Inviting someone whose account, found by their address, has nothing to sign in with now makes a new one-time link and mails it, whether the invite is through Kanidm or a Kanidm beside memberships, rather than “log in, your place is there”. The invite waits on that link like any other, and the link is in the mail only, never on the record a desk reads, since the account may already hold places. “Ta ut” and then “Inviter igjen” (
removedtoinvited) on a desk listingportal_membershipsused to send nothing, and now sends what an invite sends. Someone who can sign in gets no link: Kanidm’s credential status does not list passkeys, so it is asked again of what signing in offers them, and anything but a plain “nothing” means no link. “Send again” on an expired invite holds to the same. An invite no longer sends mail to nowhere for someone known by phone alone. - A shared phone no longer locks out a paying member. A number typed on a form proves nothing, so a grant with a number another record in the group holds and an address of its own is another person: they get a place by their address, the number stays with the record that had it (theirs keeps it as
phone_given), and they are let in at sign-in. A person is known by phone alone only where nothing says otherwise, and on a sign-in that proves it. A record found by number that had no address gets the one given. Taking someone out finds their record the same way. - A phone number is read right on a Norwegian site:
4748571123is+4748571123, not+474748571123. Only ten digits starting 47: eight digits starting 47 are an ordinary number. A record stored as+474748571123still finds its person. - An invite mail names the group as a person reads it, in Norwegian and English: “invitert inn i Medlemmer”, “plass i Kasserer”, not the raw name, in
{group}of the mail the content writes too. The same word as the chat’s rooms and the question nav (rooms::group_label). - What someone signed in meets where they have no place no longer speaks of owners, which was wrong for an ordinary member whose place is on another address: “Dette er for dem som har fått plass her, og det har ikke kontoen du er logget inn med. Er du invitert, logg inn med adressen invitasjonen kom til.” / “This is for those who have a place here, and the account you are signed in with does not. If you were invited, sign in with the address the invitation came to.”
portal lintwarns when aninvite:form asks for no address (invite-no-address): no invitation can be sent, and only a sign-in that proves the number lets the person in. A warning, since a site with a provider that proves phone numbers is legitimate (docs: lint).- A bare address in a mail is a link in its HTML part: a notice’s stop link, an invite’s one-time link, a state mail’s
{link}. The plain text is as it was. - Docs say what the code does: a grant goes through the same call as an invite, a Kanidm beside memberships included (state machines, memberships); a desk’s invite on memberships is a place in
portal_memberships, not a case inportal_invites(getting started); agrantsform must ask foremail, an invite’s foremailorphone(state machines); themayexample has itsgroups(memberships). - A desk’s
whereholds for what it moves as well as what it shows, and a person must be someone the desk is for. A rule of the policy is a move on a whole bucket, so anyone in a group with a button onportal_membershipscould, by naming a record or another desk in a request, take anyone out of any group: a committee member, the board’s chair.transition_answersnow refuses a desk the person may not read and a record it does not list (docs: content reference). - A
type: locationfield does what it promises. WithoutMAPBOX_TOKENit is two number inputs, “Breddegrad” and “Lengdegrad”, where it was an empty box andnullon the desk, and a stored place on a desk or list is its coordinates, with no broken image. With a token, a direct visit loads MapLibre:map.jsnow loads it itself, where the page’s tag only reached the browser on a client-side move. A map that will not load says so in the site’s language rather than in English, and asks for the two numbers (docs: content reference). - A
type: prosekitfield is safe to show and reads as written: what it holds is cleaned against one allow-list when it is written and again when it is shown (paragraphs, headings, lists, emphasis, and https, mailto and tel links markednofollow ugc;ammonia, on the server only), and lists, desks, cards and record pages show it as text with its shape instead of as a plain answer. In a mail the HTML part carries the message and the plain part reads as text: it used to lose the one and show<p>in the other. A plain answer keeps today’s rules, and a picture stays atype: filefield beside the text (docs: content reference, mail). wherefinds a choice among several:equalson amultipleselect holds when it is one of the choices, andany_of: [a, b]in place ofequalsholds when any is, on a list and on a notice’s audience. A notice’sequals: "{tema}"naming its own field with several choices asks for any of them. It never matched a multi-select before (docs: content reference, state machines).- A list may let its group change a record’s fields:
edit:on the resource says who (the list’s group by default) and which form (page,alternative, when more than one files into the bucket). “Endre” / “Change” opens the same form filled in, a file stays unless a new one is chosen, and each save is an event in the record’s log saying who changed what, before and after, by field, read under “Historikk” / “History” on the row. It goes through what a submission goes through. The state does not move and no mail goes. The policy has aneditaction onBucket(edit:<bucket>:<group>), whichportal lint --accesslists, and the lint refuses a list naming no form, no group, a bucket with no log, a place on a board, or a form the group may not open (docs: content reference, access). on:on arecurs:series names the dates it falls on as people say them:{ nth: 1..4|last, weekday, month? }(first Saturday in June, last Sunday in January, first Monday of every month),{ nth, weekday, before: "MM-DD" }(the fourth Sunday before 25 December is the first in Advent) and{ month, day }, withat: "HH:MM"as{due_at}, on the site’s calendar in itstimezone:, through the changes of the clock.every: { years: 1 }is new, andeverymay be left out withon. The lint refuses a fifth weekday, 30 February and 29 February. The map and the manual say it in words, in bokmål and English (docs: state machines).comes_round:keeps one record that returns, whererecurs:opens a new one:date,on,at,shows,out,back. Portal moves it outshowsdays before, writing the computed date into the field, and back when the date has passed, through restarts and second instances without doing anything twice. With noon,asks: { month, day }andhandled_bysay when and whom to ask: the group is mailed once a year, the row says “Mangler dato” / “Needs a date”, and it goes out only when someone sets one. It can be changed at any time, in either state, withedit:. The lint checks the states, that both moves are declared, and that the date field and the desk exist; the map and the manual say it in words (docs: state machines).belongs_to:on a bucket says its records belong to a record of another, andowner:whose a record with no parent is: a named group, in the same field, so a board’s past documents are found as a committee’s are. A[key]page lists a parent’s own withwhere. Submissions and saves are held to it, closing a parent hides nothing, and the lint refusesleaves_afteron a parent, a form that cannot say whose, an owner no content names, and a circle (docs: state machines).portal import --path questions <file> [--dry-run]starts a site filled in. The file is nested as the content is, a committee with what is its under it, or a named group with its own, withat,sourceandfilebesidestateandfields. It goes through what a form is held to, all of it before anything is written, and one thing wrong writes nothing; a dry run writes nothing either. A record’satis a field of its own that a list sorts by and shows, so a 2019 record says 2019 and sorts there, and the log’s order is not touched; its event says it was imported and from where. No mail, no grants, nothing announced, no clock: it lands where it says, and stays until a person moves it. Ids make a second run change nothing, and a field that differs is reported, not overwritten. People are refused, as are places on a board and a notice about to be sent. It names buckets bySITE_NAMEas the site does, refuses a named site that has not started and adopted, and takes its address fromNATS_URL, with no default (docs: operations, content reference).portal comes-round --path questions [--at <time>]makes one pass of what comes round, by hand, or on a test clock withPORTAL_TEST_CLOCK=1(docs: operations).- A file opens from a list on a
[key]page (where: { equals: "{key}" }), where it used to answer 404 to everyone, and no longer from a public list whosestates:do not show its record (docs: operations, attachments).
0.10.4 (2026-11-02)
- What a person reads no longer names what the site is built from: failed invites, invites not being set up, a mail that could not go out, session errors and an approval’s outcome say what happened in plain words, and the manual says “chatten”, not cnats. Logs keep the details.
0.10.3 (2026-11-01)
- A site with sign-in ends every page, the gates and the nothing-here included, with a quiet line of its own (
<footer class="session-foot">). Signed out it is a link to sign in that returns to the same place: “Log in for questions your role can answer” / “Logg inn for spørsmål rollen din kan svare på”. Signed in it is the last thing on the page: “Signed in as Kari · Log out” / “Logget inn som Kari · Logg ut”. A site without sign-in shows nothing. The header’s.sessionnav stays, and a site’s stylesheet that hides.sessiondoes not hide this line; hiding.session-footdoes (docs: content reference). - The question nav is split in two. “Also worth asking” / “Også verdt å spørre” holds the pages open to anyone; a new line under it, “For your group” / “For gruppen din”, holds the ones the visitor sees because of a group they hold (
qualifies), named by the group’s label when one group applies (“For Board” / “For Styret”).list_qualifying_questionsnow returns{ "entries": [{ "id", "name", "group" }] }instead of a list of pairs. A signed-out visitor’s list is as before, and a line with nothing on it is not drawn (docs: content reference). - Someone signed in who meets a gate (a
qualifiesthey do not hold, arequires_chain) no longer finds “Sign in” in the header there: the gate’s header was not told who is here. It now names them and offers the way out, as on every other page.
0.10.2 (2026-11-01)
- An announced event’s date and how soon it starts follow the site’s
lang. A Norwegian site’s banner said “Wed 18 Nov, 18:00 · in 18 days”; it now says “ons. 18. nov., 18:00 · om 18 dager”, and “i morgen”, “om 4 timer”, “om 20 min” and “nå” for the nearer ones, counted in the same calendar days as before. English sites, and anylangthe portal does not speak, read as they did. The numeric timestamps on a desk’s rows (2026-10-26 08:16 UTC) stay as they are, the same in either language. - A PDF under
/site/is served asapplication/pdf, so a browser shows it rather than only downloading it. It wasapplication/octet-stream. - The showcase spread no longer says a sketch was built from a public description of the work, which is untrue of one not made from a listing: “Dette er en skisse som virker, under et oppdiktet navn.” (“This is a working sketch, under an invented name”). That the name does not exist and no organisation uses the sketch still stands.
- The showcase edition says how conversations follow responsibilities: a short section, “Samtalene” (“The conversations”), after the roles, naming each role’s room as the chat names it. The new, optional
portal manual --chat-url <url>ends it with where the chat can be tried; without it, it says the sketch runs without a chat. A site with no groups leaves it out, and the owner’s edition never has it (docs: manual). A chapter’s opening words now stay on the page with what they open, in both editions (#lead): in the showcase, “Hvem gjør hva” and “Slik får dere med mannskapet” each ended a page on their heading and opening words alone. grouponinvite:is optional. An invite with no group (invite: {}) makes the account, sends the mail with the one-time link, and joins no group; someone with an account already keeps it and is told to sign in. It is a case inportal_inviteson the desk that lists it, andportal.people.invitedcarriesgroup: "", as for someone responsible with no group. The compiled policy gives it to the page’s own group with a rule of its own (inviteonaccounts,invite-account:<group>), which opens no group;groups_namednames none for it, so it makes no room. The map draws it as “a new account”, the manual has a row “No group” and a sentence on the role, and the mail words speak of the account alone: its ownmailmust name{link}and cannot name{group}, and site.yaml’smail.invitestands only if it does the same. An account comes by address, so the form must ask foremail. A site on memberships with no Kanidm beside it has no account to make, andportal lintrefuses it there (fromPEOPLE_BACKENDwhere the lint runs, else a desk listingportal_memberships), with an error at start and a refusal at the desk for what gets through (docs: content reference, memberships, access, mail).
0.10.1 (2026-10-31)
- With
CHAT_URLset, anyone signed in gets a link to the chat after the “Asked by” line: “Åpne chatten” (“Open the chat”). Signed out, or with noCHAT_URL, the line reads as before (docs: rooms).
0.10.0 (2026-10-30)
- A group is a room in the site’s chat (cnats, one beside each site), and portal speaks in it (docs: rooms; proposal 2026-10, “a group is a room”). At start and on every content reload, every group the content names (
qualifies,requires_group, aninvite:’s group,grants:, a schedule’shandled_byandfor_each.group, a notice’s senders and group audiences, a board’splan:group, aresponsible:’s group) is written to the KV bucket<site>_portal_groups, one key per group: its label in the content’s words, the site, its title, address and language, the room’s subject<site>.chat.room.<group>, its duties and its desks with absolute URLs. A group the content no longer names is deleted; a name that cannot be a key and a subject token is left out with a warning. WithoutSITE_NAME, the bucket isportal_groups. - A group’s duties are the sentences
portal manualwrites for its role under “Who does what”, as plain text in the site’s language: the sentences are one function (lint::manual::role_sentences) that the manual’s Typst and a room’s plain text both read, and the roles one (lint::manual::role_parts). The manual is the same as before, byte for byte. - The compiled policy has a
Roomresource and apostaction: each group the content names mayreadandpostits own room (room:<group>), and nothing else grants a room.iris check --accesslists the rules (group kildetjenesten | read, post | room kildetjenesten); the map and the manual leave them out.portal.access.<site>.mayanswers{ "kind": "room", "name": "<group>" }like any other resource, with the granting rule or a refusal, and a post is published onportal.access.decidedlike any other mutation (docs: access, “Rooms”). - The site says what a group needs to act on, on
<site>.portal.rooms.<group>:landedwhen a record is sent in, or moved by anyone but the group itself, into a state the group’s desk holds (lists, with a button from it);movedwhen a member of another group or the sender moves a case the group’s desk listed somewhere it has nothing to do;clock_soonwhen a state’safter:clock runs out within a day;clock_ranwhen it did and moved the case;openedwhen a schedule opened records for itshandled_by(several in one pass are one message). Each carries a stable id (<site>:<bucket>:<record>:<kind>:<n>,nthe record’s place in its event log), the case with a link to the desk that shows it, and a sentence in bokmål or English after the site’slang, with the content’s words in it: the choice the case was sent by, its first two short answers by the form’s labels’ order (never an address, phone number, long text or file), dates as the site says them, states by theirtext:, and the day a clock runs out in the site’s time zone. Said where the move is made (a submission, a desk’s button, the sender’s link, the clock sweeper, portal’s own moves, the schedule sweeper), never by reading the event stream from outside. - The case’s conversation on the desk: the chat says on
<site>.portal.rooms.threadwhen a case has a thread, and portal keeps the latest per case in<site>_portal_threads(key<bucket>.<id>). The case’s row then links to it, “Samtale i Kildetjenesten (3)” / “Conversation in Kildetjenesten (3)”. With the new, optionalCHAT_URL, a case with no thread yet links to${CHAT_URL}/room/<group>/case/<bucket>/<id>, “Start en samtale” / “Start a conversation”; with neither, nothing. A desk’s row carries the record’s id as itsid, so a room’s link to…#<id>lands on it (docs: operations, “Rooms”). - What the site says in its rooms waits while the chat is down: portal owns a stream
<site>_ROOMSon<site>.portal.rooms.>(plainROOMSwithoutSITE_NAME; file storage, kept 7 days, duplicate window a day), made at every start, and publishes into it through JetStream with the message’s id asNats-Msg-Id, so a message counts once the stream has acked it and a restart’s repeatedclock_soonis stored once. The chat reads it with its own durable consumer (<site>-cnats-relay). The chat’s thread notices are in the same stream, and portal reads them with a durable consumer of its own (<site>-portal-threads) instead of a plain subscription, so a notice sent while portal restarts is not lost (docs: rooms, “What the site says”).
0.9.1 (2026-10-29)
- A request dropped mid-page no longer leaves panics in the log. When a reader (or a crawler) left before a page’s data came, one worker tore the request’s reactive owners down while another, woken by the data, was still building the page into them; the builder found no
NavRes,AnnounceResorLangcontext and no router, and panicked on its own task, three lines each (“expected context of type …”, “You cannot calluse_navigateoutside a<Router>”, “Tried to access a reactive value that has already been disposed”). Nothing reached anyone, since the response was gone, and no check in the page can close the window. Those panics are now one debug line onportal::render(“a render outlived its request”); every other panic is reported as before. It showed on uhhm.no, redoal.com and the previews as a panic “at the first request”. - The map draws its recurrence mark rather than writing “↻”, and its “Recurring” lines say “kept in
<bucket>” (“lagres i”) rather than “→<bucket>”: a font without those glyphs, as in the manual’s PDF, showed a box. A state a schedule opens records in reads “every 8 weeks · to arrange” (“hver 8 uker · avtales”) beside the mark. - The manual keeps a section’s heading and opening words on the page with its first item: “Plasser og ventelister” no longer ends a page with its places on the next. The schedules, notices and places sections’ leads stick to what follows (
#intro).
0.9.0 (2026-10-29)
portal manual --path questions [--out manual.pdf] [--typst-only manual.typ] [--map map.svg]writes a site’s own handbook for the people who lead and run it, as Typst and PDF: a cover with the wordmark (an SVG the repo holds), the front door’s line on what the site is for, the date and the content’s commit; how it works, with the front door’s choices andportal map‘s drawing on a sheet of its own (A4, A3 or A2, whichever keeps its words legible); each need fromneeds.yamlfrom the door to how it ends (the fields by label, the list it lands in, who takes care of it on which desk, every state in the business’s words with the mails it sends and the buttons, own links and clocks that move it); the roles from the compiled access policy in sentences; bringing in the crew (the first person, how an invitation goes with the invite mail as the content words it or portal’s own, the link’s 24 hours, the passkey, who invites whom from which desk, thegrants:that make members); schedules, notices and places where the content has them; suggesting a change; and the responsible contact. Every name, field, state and mail is quoted from the content; the sentences around them are written by hand in bokmål or English aftersite.yamllang, with no model. The accent is taken from the stylesheet’s--accent/--primary(the light scheme’s, deepened to print), else a neutral slate; the fonts are free ones, cut to what the machine has. A site withoutneeds.yamlgets no empty chapter, a site without invites is told how people get in, and a missing Typst is said plainly (--typst-onlywrites the source without it).--edition showcase [--author] [--preview-url] [--repo-url]adds a short spread for a sketch under an invented name (what it is, where it runs, what it covers and whether the lint holds it, who made it) and keeps to about twelve pages. The.typis the same for the same content; the fixtures’ are held intests/fixtures/manual/(docs: “A manual for the people who run the site”, with a README link and an optional CI job that keepsmap.svgandmanual.pdfcurrent).portal map’s loading is one function (lint::map::load) that the manual shares, and the invite mail’s words are one function (mail::invite_text) that the site’s mail and the manual both read.- Sites on one NATS account keep apart. A site with
SITE_NAMEkeeps every KV bucket, stream and subject it owns under that name:membersis<site>_members,EVENTSonevents.<bucket>.<id>is<site>_EVENTSon<site>.events.<bucket>.<id>,KIT_JOBSis<site>_KIT_JOBSon<site>.kit.jobs(status<site>.kit.status.<id>), sessions are<site>_portal_sessions, andportal.content.reloadedis<site>.portal.content.reloaded. The namespace isSITE_NAMElower-cased with_and anything but letters, digits and-made-;portal,eventsandkitare refused. Every bucket and stream goes through one place (namespace::Js), so none is reached by a plain name by accident. What programs that are not a site read stays account-wide: themailstream and gdo’sportal.mail.send/portal.mail.received(each site’s consumer was alreadyportal-<site>-mail-received; a reply names a bucket by its plain name and each site looks it up in its own namespace, so gdo changes nothing),ANSWERSandportal.answers.submitted,portal.access.<site>.may,portal.content.reload, the notifications, andlearn serve’s subject. UnsetSITE_NAME, nothing changes. Before, uhhm.no and redoal.com sharedEVENTS,portal_sessions,portal_events,portal_memberships, and the previews each other’s notice opt-outs (docs: operations, “Sites sharing a NATS account”). - A site with
SITE_NAMEtakes what was its own out of the plain names once, at start, before it serves or writes (NATS_ADOPT_LEGACY):alltakes its content’s buckets that have records, whole, each claimed first in the account-wideportal_legacy_claimsso a bucket two sites’ content named alike is refused to the second until its operator says-<bucket>(a refused start gives its claims back); portal’s own buckets record by record (by the page and alternative a record was made on; memberships, seeds and invites by the decision that granted them or the people the site itself names, never another site’s first person; notices, opt-outs, cursors and places by the bucket in their key; a change’s talk, page lock and last-applied by its page; a record both sites can claim goes to both); sessions one at a time, when the browser that holds one presents it, moved out of the plain bucket; its events fromEVENTSat the same sequence numbers, so a record’s place in its log and a desk’s “seen” stay right; and the kit’s waiting jobs to the site with an interview.soletakes everything (a site alone on its account),nonenothing (a site new on one). A site that finds plain objects and has no decision refuses to start, saying which. Everything else with the site’sSITE_NAMEwaits until it is done: the kit worker waits,portal job enqueue|fileandportal lint --replayrefuse; a writer that does not wait stops the event copy rather than take a plain event’s number, and the decision then saysstoppedso every restart refuses with what to do; a copy taken up again first checks that the site’s log ends with the message it left there. A copy cut short is taken up only as it was begun; an own log that has counted already, even emptied, is refused; a decision whose copy is gone is not believed; bucket errors stop the start. Nothing else is deleted; the decision and what came of it are kept in<site>_portal_adopted, so a restart copies nothing again.portal adopt plan|status|waitsays beforehand what a start would take, what it took, and waits for it in a deploy. The kit’s deploy template and its preview saynone(docs: operations, “Upgrading to 0.9”, “Undoing an upgrade”). - An invite on a site with sign-in off (
grants:with noKANIDM_URLand no Kanidm to make an account) no longer mails the person an empty link and portal’s internal name for them: the site’s inbox gets a line saying who now has a place in which group. A mail the content wrote for the invite that needs no link (it names no{link},{username}or{expires}) still goes to the person; one that needs a link is named in the inbox’s line (docs: memberships). - A board says what its places are:
board: { words: { places: tilbud, full: Har nok tilbud } }makes a row “2 av 3 tilbud” and, full, “Har nok tilbud”, and the map “3 tilbud”. Additive; without it the rows read as before. - A place decided on keeps its seat:
places: { …, keeps: [valgt, ikke_valgt] }lists states a place moves on to fromtakenand still holds its seat in, so choosing one quote and turning down the others does not open a full tender to a fourth. Each must be declared, and neither the first state nortaken. Additive. - Dates read as the site speaks: a date or a date and time in a record shows in a list’s and a desk’s row, and in a state mail’s
{field}, as “tirsdag 6. oktober kl. 15:00” or “Tuesday 6 October 2026”, in the site’slang; one with an offset, or anything else, as written. A calendar (.ics) gives a time typed in a form in the site’s zone,DTSTART;TZID=Europe/Oslo:…with the zone’s rules, fromsite.yaml’s newtimezone:(defaultEurope/Oslo; one of the Central, Western or Eastern European zones or UTC, whose rules the calendar carries, and refused at load otherwise); one with an offset stays in UTC. Additive. action: /#join(a page and a card on it),styret#sakand"#sak"(this page’s card, said in full as<page>#sakat load) load and lint, as the content reference promised; before, start andportal lintrefused them as no such page. The page must exist; a card that is not there stays the anchors lint’s warning.- A notice’s
audienceselect shows each audience’s label (to: [{ id: alle, label: alle beboere }]) and stores its id; it showed the ids.
0.8.2 (2026-10-29)
- A private content repo loads: with
GITEA_API_TOKENset, portal sendsAuthorization: token …on every content fetch (the recursive tree, each page’s raw file, the contents entry and itsdownload_urlforsite.yamlandaggregates.yaml, and the/site/and/.well-known/asset proxy), so a private<org>/questions, which the kit makes by default, no longer fails the start ataggregates.yaml. The token goes only to the content repo’s own scheme, host and port: adownload_urlon another host is fetched without it, and it never stands in a URL, a log line or an error. A token with read access to the repo is enough (docs: operations, “Environment”). - A site whose
site.yamlsayslang: nb,nnor a regional form (nb-NO) gets Norwegian chrome everywhere (“Ingenting her ennå.”, “Også verdt å spørre”, “Logg inn”…); the table matched onlyno, so thenba kit job writes gave English. One normaliser (i18n::is_norwegian) now decides for the chrome, the mails, the map, the interview and the builder. The served page carries onelangattribute, the site’s; the shell’s ownlang="en"came second beside it. portal buildsays its fallback words in the plan’s language: a Norwegian plan’s cards read “Hva skjer videre”, “Hvem som leser det”, “Opplysninger”, “Navn”, “E-post”, “Telefon”, the road “Den er først mottatt, så …, og ender som … eller …”, and the desks, followups, doors and public lists likewise, where the words model leaves a slot unfilled. English plans render byte for byte as before. An escalated stage reads as the stage it went up from and where it went (mottatt → styret), in no language in particular.- A plan’s form may call the person’s address what its language does: a form with no field named
emailand exactly one field oftype: email(epost) has that one read as the address mails go to, so Lindtun’s plan is no longer refused four rounds running; it must still be required where a mail, a submitter’s move,grantsorfollowed_byneeds it. A mail the plan addresses to a group (mails: { lukket: driftsleder }) goes to the group’s address when the plan gives one (the contact is that group), and is left out when the group already sees the case on its desk; any other group is refused with what to do instead.portal planandportal buildsay each such reading, the plan prompt says both rules, and the refusals name a required field of type email rather thanemail(docs: the plan reference inportal plan). - The words model’s reply keeps what it got right. A need’s card put under the wrong key (qwen3:8b nested a front door’s four needs under
doors, and every card fell back) is taken by its need id from wherever it is, the object most like a card; the opener’s own feature for a need stays the opener’s. What is the plan’s stays the plan’s: a card’s requirement is the plan’srequiresword for word, a need with norequiresgets no requirement title or icon, a need that is not paused says nothing about pausing, and none of those slots is asked of the model any more. Placeholder junk (“John Doe”, lorem ipsum,example.comaddresses, “Må ha tittel”) in any slot but a field’s example answer gives way to the fallback, and the prompt asks for examples from the site’s own language and country.portal planrefuses a plan for a Norwegian site (the intake’slanguage:, else the plan’s) that leaves a stage without Norwegian words instages_text, and the plan prompt says so, so the desk, the map and the mails no longer showopen,gjennomfortoravslatt. - A
showscard whose source points nowhere is refused before it reaches a front door, where it printed “error running server function: resolving resource host”:portal buildrefuses akvbucket no need lands in and aurlthat is nothttps://or is on a made-up host (.example,.test,.invalid,localhost,example.com), andportal planrefuses a URL or Gitea owner the intake never gives; the plan prompt says to show only what the intake gives. - A desk’s rows say what they hold in the site’s words: each field under the label the form that files into the bucket gives it (“E-post”, “Telefon”) rather than its stored key uppercased, and the record’s state in the content’s words rather than
OPENorKONTAKTET. A state in aggregates.yaml may carrytext:(attest_levert: { event: attest_levert, text: Attest levert }), whichportal buildwrites from the plan’sstages_text; without it the row shows the id made readable, and the first state “Open”, or “Mottatt” on a Norwegian site. The listing sends the labels and the state’s words beside each record and stores nothing (docs: state machines, “text”). - Portal’s Norwegian reads as Norwegian. In the chrome: “For denne enheten”, “Akkurat nå kan det ikke sendes filer herfra … Gi beskjed til dem som står bak.”, “Velg en ny hvis du vil bytte, eller la den stå.”, “Dette henger sammen med et svar du ikke har gitt ennå.”, “Dette er for dem som eier organisasjonen. Logg inn med eierkontoen, så ser du det.”, “Foreslå en endring her”, “… så går det til dem som har ansvar for innholdet.”, “Takk! Forslaget er sendt.”, “Noen få ord er nok”, “Dette ser ut til å passe for deg: …”, “Det som ligner mest: …”, “Søket virker ikke akkurat nå. Velg heller et av valgene under.”, “Vis meg”, “Noen har flyttet saken i mellomtiden, så ingenting ble endret. Se på den på nytt.”, none of them about a “side” any more. In the builder’s fallbacks: the road “Slik går saken: …, så …, og til slutt …”, “Lurer du på noe, kan du spørre … på …”, “Det er andre som flytter disse videre” (was “En annen pult flytter disse”), “Med knappene krysser du av for det du har gjort med den”, “Forslag til endringer”, “Sendte invitasjoner”, and the invite and member lists’ notes.
- The kit’s models by default: the plan on
qwen3.6:27b(wasmistral-medium-3.5:128b, which passed no round on the CPU), with no fallback unless one is named (KIT_PLAN_FALLBACK_MODELorKIT_PLAN_FALLBACK_LLM); the words of the site onqwen3:8bwithNUM_CTX=12288when Ollama is the engine (was no words model unlessKIT_WORDS_LLMnamed one). Each stays settable:KIT_PLAN_MODEL,KIT_WORDS_MODEL,KIT_WORDS_CTX,KIT_WORDS_LLMfor the whole command,--words-llm nonefor the builder’s own words.kit/compose.ymlfollows, and the worker’s first line says the words model too (docs: training, “From a conversation to a site”). - The interview no longer stops at the first two or three kinds of person. Before the first readback (
--brief-only, and on the web) the owner is asked who else gets in touch and what they keep track of that nobody sends them, again after every answer that brings a new need, until one brings none, within the turn cap. The readback lists every need with the role that handles it under the model’s sentences. The opening question and the interviewer no longer call every organisation “the business” or “bedriften”: the place is called what the owner calls it (a borettslag, a café, a club). With--person, a model owner’s yes to a readback its intake contradicts (a handling role itswho_is_involvednever names, fewer needs than itswho_comes_to_uslists) counts as a no, with the intake’s correction as the answer (docs: training, “From a conversation to a site”). - The same for the person’s name: a form with no field named
nameand one text fieldnavn(orfullt_navn,full_name) has that one read asname, whichgrantsmakes an account or a membership from; the proof run’s first plan round was refused over exactly this. The refusals now say “a required field namedname”. - Recurring records: a bucket in
aggregates.yamlmay carryrecurs:, series of records a schedule opens when they fall due (every: { days | weeks | months },starting,lead,next: on_calendar | after_done,for_each: { group }or{ bucket, states }withlink_as,handled_by,fieldsas templates,done). Once a minute, and at start, portal opens the due record in the bucket’s first state with its fields anddue, sends that state’s mail and announces it stampedschedule; overdue is the existingafter:clock. A record is never opened twice: its id comes from the series and its due day (or the record before it) and the event log refuses an id twice, where a series has got to is kept inportal_recurring, a record whose bucket write was lost is written again, and a series that missed passes opens the latest one due, not each. The lint refuses a series no desk underhandled_byworks (docs: state machines, “recurs”; proposal 2026-10). - Notices to a group:
notice:on a bucket (sends_in,sent,towith audiences that are a group’s members or a bucket’s records in some states, narrowed bywherefrom the notice’s own fields,mandatory,archive,per_minute,mail). A notice in its sending state is mailed through gdo’sportal.mail.send, one message per person and to that person alone, with the window in words; the worker sends as many asper_minute(60, at most 600) andPORTAL_NOTICES_PER_MINUTE(600) allow every ten seconds, logs who has it by a hash of the address (portal_notice_log) so a restart sends nobody a second, and moves the notice tosentwithrecipients, the count. Withoutmandatoryevery message carries the person’s own link to stop that bucket’s notices (/notices/unsubscribe, asks first; a token per address inportal_notice_optouts); a mandatory one says it goes to everyone it concerns. The lint puts every form that writes a notice behindqualifies, refuses buttons and own links that would send or mark sent past portal, wants a requiredaudienceselect with several audiences, and allows a public list of the bucket only witharchive: true(docs: state machines, “notice”; mail; operations). - A board of places:
board:on a bucket whose records have room (capacityas a field or a number,open,full,starts,endsorduration,summary,location,needs,plan) andplaces:on the bucket of places taken on it (on,slot,taken,waitlist). A take puts the place in the board’s ledger (portal_places, written only over the revision it read) before anything is written: never more than capacity, never two places for one person on one thing, whatever arrives at once; places are seated in the order they came, and the last are kept for a need still missing. Portal moves a seated place totaken, the thing tofulland back, and the next in line up when a place is given up by an own link or a desk; a minute’s sweep puts right a stop between the ledger and the records. A refused take says why in the site’s language (full, already yours, kept for a need, closed). A board’s list says how full each thing is and reads in the order ofstarts; one record shown bykey:now renders as a row rather than raw data. Calendars:/ics/<board>.icsfor whoeverplannames and/ics/<places>/<id>.ics?email=for one person, linked as{ics_link}in that bucket’s mail. The lint refuses a board nobody can take a place on and any button, own link or clock intotakenorfull(docs: state machines, “board and places”; content reference). - The access policy gains the actions
take,notify,unsubscribe(a newRecipientprincipal, whose token is never published) andfeed, compiled from the keys above;iris check --accessprints them.portal mapdraws schedules, notices and boards in sections of their own, portal’s own moves in the lanes as clocks are drawn, a schedule on the state it opens in, and takes places on and notifies in the roles. The needs check counts portal’s moves as it counts a clock’s. - On a dynamic context,
where: { equals: "{key}" }is filled from the segment, as the content reference has said; before, it was filled only when the browser passed the value along. - “Suggest a change to this page” is a conversation whose change is applied. On an instance with
EDIT_GITEA_TOKEN(a token that may push branches and open and merge PRs on the content repo) the person a page names as responsible gets a chat in place of the textarea: the site’s interview model (EDIT_TALK_MODEL, elseINTERVIEW_MODEL, qwen3:8b) reads the page as it is onmain,aggregates.yamlandneeds.yaml, and asks one question at a time until the change is clear (EDIT_MAX_ANSWERS10,EDIT_MAX_CHARS2000). A larger model (EDIT_MODEL, qwen3.6:27b;EDIT_LLM) then drafts it in the background as edits toquestions/,aggregates.yamlorneeds.yaml(neversite.yamlor the workflows), resolved to whole files and linted, with the misses told back to it (EDIT_DRAFT_ROUNDS3). The read-back says in plain words what changes (questions, cards, fields, desk buttons, states and moves), who gains or loses access (the compiled access policy before and after, rule by rule), which links would stop landing, what the lint would newly warn about, and showsportal mapbefore and after; then “Apply this change”, “Not quite” or “Withdraw”. On the yes it is checked onmainas it is then: unchanged since the draft, within size, nothing new the schema,portal lintorneeds.yamlrefuses (and the repo’s own CI command when a workflow runs it), no access gained that the read-back did not show, no card id lost that it did not show, no in-site link broken, and no state or graph removed that live cases in the site’s KV are still in. A refusal goes back into the conversation in plain words. A pass is committed onsuggest/<id>, branched from the checked commit, with the person as author and the token’s account as committer, and opened as a PR with the read-back; portal merges it itself once the repo’s checks on the PR have all passed (and every checkmain’s protection requires), checks again first whenmainhas moved, merges only the checked commit, and closes it with the reason on a failed check, a foreign push or a PR that no longer merges (EDIT_CHECK_MINUTES30), rather than Gitea’s “merge when checks succeed”, which merges at once when no check has reported yet. The card says “Waiting for the site’s own check…”, then “Applied”, and the person gets a mail with the summary and the PR; the inbox gets a line. Each change is a case inportal_edit_suggestions, whose built-in graph gainsdrafting,awaiting_yes,checking,applied,failed,withdrawnandundone(only added to, so every suggestion filed before fits). “Undo my last change” turns the person’s last applied change round through the same read-back, check and merge. One change at a time per page; the model, a refused check or Gitea not answering leave the content as it was; a restart takes up a turn, a draft, a check or a waiting PR where it was. The conversation waits inportal_edit_talks, the maps inportal_edit_maps, served only to the person. Without the token the card is the plain form and says changes are not applied from there (docs: training, “Changing a site from a conversation”; content-reference, “A question”; operations, “Environment”).
0.8.1 (2026-10-27)
- The kit asks the site’s owner before it sets anything up for a caller. With
KIT_PROVISION=approve(the default whereKIT_GITEA_*orKANIDM_*are set;autosets up at once as before,offnever) a finished job mails the caller their map as now, files itself as a record inawaitingin a bucket the site’s content declares (kit_jobs,KIT_APPROVAL_BUCKET; business, name, email, the organisation name, the map, the job, its needs in a line) through portal’s own event log, and tells the owner it waits on their desk (KIT_OWNER_MAIL,KIT_APPROVAL_DESK). The owner approves or declines on the desk; everyKIT_APPROVAL_EVERYseconds the worker sets up each approved job exactly asautowould (organisation,<org>/questions,<org>/infra, Kanidm invite, Owners grant after the first sign-in), mails the caller where their site lives and their way in with its expiry, moves the record toprovisioned(orfailedwith the reason; the desk can try again) and tells the owner in one line. Only the worker makes those moves; an approval seen twice is set up once (approval.json). A job the desk cannot take still mails the caller their map, and the owner hears it is not on the desk.kit/compose.yml, a private kit, setsKIT_PROVISION=auto.portal job file <id> --dir <data>puts a job that finished before the approval step on the desk asawaitingwithout planning it again. The worker reads the bucket’s graph fromCONTENT_REPO(docs: training, “The owner says yes”). - The kit no longer takes an organisation as its own because its bot is a member: one it makes says in its description which job it was made for (
kit job <id>), and only that job finds it again. Before, a second caller who asked for a name the kit had already made (or the name of an organisation the bot was in for another reason) had their content written into it and were made one of its owners; now they get the first free variant (docs: training, “From a conversation to a site”).
0.8.0 (2026-10-27)
- The interview on a site: an alternative with
interview:({ model: qwen3:8b, lang: en }, both optional) holds the conversation in its card in place of a form. A line says that a model asks, that the conversation is kept to build the visitor’s site and is not used for training without asking; then the question, a box and Send. Each answer is one step of the same engineportal interview --brief-onlyruns at the terminal (the loop is nowtrainer::interview::stepover aStateboth use), run in the background while the card says it is thinking and the browser asks again every three seconds, so no request is held open for the 20-60 seconds a turn takes. The conversation waits in the NATS KV bucketportal_interviews(kept 14 days) under a random id that?interview=<id>brings back after a closed tab. The readback and the yes happen in the chat; on the yes the brief is kept in the conversation, put onKIT_JOBSover the site’s own NATS, the visitor is told “We’ll email you when your map is ready” at the address they gave, and the page’s responsible contact (elsemail.reply_to, elsemail.from) gets a note with the readback, the settled facts, the conversation and the job id throughportal.mail.send. Guard rails beside the per-caller rate limit: at mostINTERVIEW_MAX_LIVE(6) conversations at once andINTERVIEW_PER_CALLER(2) from one address,INTERVIEW_MAX_ANSWERS(16) answers andINTERVIEW_MAX_CHARS(2000) characters an answer,INTERVIEW_PARALLEL(1) model turns at once with the rest waiting up to four minutes; when the model is out of reach or busy past that, or the conversation runs out of turns, the visitor may leave their address instead and the contact gets that request with what was said. The model is a name the content check holds to letters, digits and._:/-; how it is run is the instance’s (INTERVIEW_LLM,INTERVIEW_ENGINE,INTERVIEW_MODEL,INTERVIEW_NUM_CTX,INTERVIEW_TIMEOUT). The release now shipsengines/. A kit beside a site:KIT_PREVIEW_URL=nonemails the map with “we’ll be in touch about setting up the site” instead of a preview link, and the worker no longer switches a preview or asks for a content reload then;KIT_MAPS_DIRlets portal serve a job’s map at/kit/map/<job id>.pngfor the mail to show (KIT_MAP_URL);PORTAL_COMMAND="job worker --dir ..."makes a bare start of the binary (systemd’sapp@) run the worker (docs: training, “The interview on a site”; content-reference, “An alternative”). - A
CONTENT_REPOwith a port (http://gitea.local:3000/owner/repo) is fetched on that port; portal asked the scheme’s default port instead. - The kit provisions the client: with
--gitea(KIT_GITEA_URL) the interview proposes an organisation name from the business (Gitea’s rules, lowercase ASCII, at most 40), checks it against both organisations and users, offers free variants when it is taken, and has the owner confirm it in the readback (orginbrief.json, unchecked when Gitea cannot be asked). A job withKIT_GITEA_TOKENthen makes the organisation (private by default, a free variant if the name turns out taken),<org>/questionswith the built content, a README in the owner’s language and lint-and-reload and deploy workflows pinned to this release, and<org>/infrawith the site’s compose stack; nothing secret is committed, and a run again commits only what changed. WithKANIDM_URLandKANIDM_API_TOKENthe owner is found or made in Kanidm, put inKIT_DEVELOPER_GROUPand<org>_owners, and sent a link to set their own password or passkey (KIT_INVITE_TTL; Kanidm gives at most a day); once their first sign-in has made their Gitea account, the worker puts them in the organisation’s Owners team (grant.json,portal job grants). The mail shows the map inside the message and gives the way in, and the source only withKIT_MAIL_SHOW_SOURCE=true.PORTAL_EXTRA_CAtrusts a private CA beside the public ones (docs: training, “From a conversation to a site”; operations). - The kit, a first version: from a conversation with a business owner to a built, linted and mapped site and a mail to the owner, with nobody waiting on the large model.
portal interview --brief-onlyreads the plan back for the owner to confirm (a correction is one more turn) and ends inbrief.jsoninstead of a plan: the settled facts, the owner’s contact, the language, the readback, the conversation, the last draft; the owner is told they will hear by mail, in Norwegian forno/nb/nn, and--enqueue <nats url>puts the brief on the job queue.portal job run <dir>has the large model write the plan from the brief (withplan‘s rounds and checks, and a fallback model), builds, lints (a failing finding fails the job), drawsmap.svgandmap.png, and writes the mail to the owner (map shown, preview link) intomail.eml, withresult.jsonsaying the stage, the timings and the lint’s counts at every step.portal job workertakes jobs one at a time from the JetStream work queueKIT_JOBS(kit.jobs), says each stage onkit.status.<id>, hands the mail to gdo overportal.mail.sendwhen--mail-natsnames a NATS gdo reads, and switches the preview to the newest site;portal job contentserves finished jobs’ sites as portal reads a content repo, so a plainportal servepreviews them.kit/Dockerfileandkit/compose.ymlrun it all (NATS, worker, preview on 127.0.0.1, the interview withdocker compose run --rm interview). Interview lines intranscript.jsonlnow say how long the owner waited (interviewer_s), and the opening question is in Norwegian for a Norwegian owner (docs: training, “From a conversation to a site”). portal map --path questions [--out map.svg] [--score answers.jsonl]draws a site’s work on one landscape page for its owner: one lane per need (who, the door, the form’s fields against the budget, the bucket, its states with the handling desk’s buttons, the sender’s own link and the clocks, finished and successful states, the states that mail), the lint’s four structural checks per lane with the finding code in red where one fails, every role the access policy names and what it may do, who invites whom and which states grant a group, and a footer with the content commit and the release. Fixed words followsite.yaml’slang; a repo with noneeds.yamlgets roles and onboarding only (docs: lint, “A map of the site”).- Every card has an id, so
https://uhhm.no/#appliedopens the front door at that card, from the served page with no script and after a navigation in the page too, where the card’s heading also takes focus. The id is the alternative’s newanchor:if set, else the last segment of itsaction:when no other card on the page ends in the same, else its heading as lowercase words joined by dashes (æ, ø, å as ae, o, a); a later card with the same id gets-2.portal lintrefuses a bad or repeatedanchor:and warns on an in-site link oraction:whose#names no card on its page (anchor-missing) (docs: content-reference, “An alternative”).
0.7.1 (2026-10-26)
- Portal logged
NATS_URLwhole at every start (connecting to NATS nats_url=nats://user:password@host:4222), so the NATS password stood in the journal of every 0.6.x and 0.7.0 instance. The log now saysnats://user:***@host:4222, and the same goes for every URL that may carry a user and password or a token when it reaches a log line or an error:CONTENT_REPO,KANIDM_URL,portal lint replay --nats,portal search’s NATS, learn’s--natsandOLLAMA_HOST; the map proxy’s warning no longer names the Mapbox token. Whoever ran 0.6.x or 0.7.0 should treat the NATS password as exposed and rotate it (docs: operations, “Environment”).
0.7.0 (2026-10-24)
-
The week-2 test set is fixed before anyone has seen it: 18 fictional businesses, generated and encrypted on the night of 2026-10-22 into two halves,
A.tar.gpgwith sha256213d17735c231f329a0f5d12a2e137229defff25bd85e4fc74b330deb33a8addandB.tar.gpgwith sha25656fdf0fbc37fc5b61528685f7ee18261a8af0b766107edbef0ae16da0c30adb5, under the pre-registration with sha2568ab75d77d349e512796defb7580a801dfa6a3e00a2b02701d80af24f6c34845b. A result on either half can be checked against these hashes; until a half is opened, nothing reads, embeds, scores or trains on it. -
A plan’s need may carry
facts, each{ about, title, text }withaboutone of cost, time, outcome, fit, not_for, prepare and place: what a visitor choosing between options can use, such as “Most kitchens take three to five weeks”.portal buildrenders them word for word as features after what you need and before what happens next, with an icon byabout, and--facts offbuilds the same site without them. A plan without facts builds byte for byte as before. A fact informs and never acts, and for a real business none is invented (docs: training, “Facts on a card”). -
portal lintwarns on a feature with no form and no list that gives an order, asks a question or names a button (feature-acts), naming the alternative as its page and its place there (/kitchen#2).portal buildrefuses a fact that does. A warning and not a failure, because two live sites already have such features (docs: content-reference, “A feature”; lint). -
learn factory planschecks that a plan is about its kind (--plan-kind on|record|off, default on). bge-m3 ranks what the plan offers (every need’s who and wants, its facts; the mean of their unit vectors; not its name or about, so a plan cannot pass on its name) against every kind in the catalogue (--kind-catalogue, else the kinds file’ssectors.yaml), and the plan passes when its own kind is among the nearest 3. A draft that drifted is asked once more, told its own kind and no other, then dropped;kind_rankgoes tositegen.jsonandresult.json. The 16 week-2 plans rank their kind first or second of 90; the redoal plan that passed every other check while writing about radiators and deliveries ranks redoal 23rd of 91.train-night.shruns it on, with room in--print-budgetsfor as many re-asks, at a plan call on a loaded box (168 s), as the words leave while every site’s words fit;sealed-night.shruns it off (docs: learning, “Plans for new businesses”). -
learn factory planshas a local model write the plan of a new fictional business: 6 to 8 needs, two option sets of 4 to 6 options with adjacent pairs that go tositegen.json, and 2 to 4 facts on each public need. A validator that calls no chat model builds the plan withportal build, counts the options per page and checks the pairs, rule 1 and the facts. A failure goes back to the writer at most three times for the plan and three for its facts.--validate-onlychecks a plan on disk (docs: learning, “Plans for new businesses”). -
portal build --llm-note <text>adds a word to the prompt of every page the model writes in that build, for a page asked again: what was wrong with its last reply, or two headings that read alike. A plan with one tone now tells the model just that voice; only a plan with several says the site is told in more than one (docs: training). -
portal search --repo <content dir> --page <id> --texts <texts.jsonl>runs the search box’s live path offline, before a site’s box meets a visitor: the same cards, candidates, ids and request as the server’s (a test holds it to the server’s path on the contractor site), onelearn rank --ephemeralper text, and withLEARN_NATSset the residentlearn servefirst, as the server asks it; per text the top option, its p, the gate, the margin, where the label came (label_needorlabel_framing) and which way learn answered (via), and with labels top-1, the act rate, the precision and the heading pairs between doors to different needs at cosine 0.70 and 0.75. A text is never logged, quoted in an error or written to--out(docs: learning, “How portal calls learn”). -
learn factory wordswrites a week’s sites in one tone with one writer: every page’s reply held tolearn words checkand asked once more if it fails (an icon off the list, an extra slot beside a complete reply and an emptied line only warn, since the build renders none of them and the job tidies them), rule 1 off, recorded, or asked again in batched rounds, and every rendering built with and without the plan’s facts, differing only in the cards’ features (docs: learning, “The jobs”). -
A record in the state its log has the case in, but written further back in the log than the log reaches (a case moved and moved back whose two record writes were both lost), is brought up to its log when a decision is about to be made on it, notes kept; before, every decision made from it was refused as made from a case that moved meanwhile, however often the desk looked again. An announced page whose date was corrected while announced, summarized at a desk straight from
announcedand then taken out of the list, is no longer made again and its summary asked for again: the refresh puts the corrected window in the page’s log, and a desk’s move on an announced page says which window it closed (docs: operations, “What NATS keeps”). -
Before rolling out:
SITE_NAMEset, and different, on every site that shares a NATS account. Replies to case mail are read through a consumer named after the site, and every announced answer carries the site’s name, so two sites with one name would share the one and look like one site in the other. Setting it moves the site’s access subject toportal.access.<SITE_NAME>.may(docs: operations, “Roll it out”). -
A decision is made only from where the case still is. For a bucket with a state graph, a decision carries the state it was made from, and the event log refuses it before anything is written if the case has moved since, even when the move would also be allowed from where the case went: before, a desk’s
forkastetmade fromopenwas taken after another desk’svedtatt, and both mails went out. The desk now says the case moved meanwhile and to look again; deadlines, announced events, memberships, invites and self-service links make their moves the same way. A record whose history no longer fits its content’s states (the content changed the graph, and replaying the log skips an event) is no longer mended backwards: it is left as it is, and the log says once that its history no longer fits, with the bucket, the record and the skipped move, until whoever keeps the content decides. A record read just as a decision was written is read again a quarter of a second later before it is mended or warned about. A record made again under an id that has a history starts afresh in its log too, instead of being mended back to where the old history ended. One announced page whose record cannot be read no longer stops the sweep for the others (docs: operations, “What NATS keeps”). -
A decision is weighed against the case as the page it was made on showed it. A desk’s page sends, with each decision, the state it showed and how far into its log the record then was (a record now says so, from the moment it is made), and a self-service page the same; when the case has moved since, or been decided on and come back, the decision is refused with “this case moved meanwhile; look again” before anything is appended, written or mailed. Before, the server weighed it against what it read when the click arrived, so two desk members who both saw
openand clicked seconds apart both got through on Gullberg’s graph, and both mails went out. A page loaded before the update sends neither and is weighed against the record as read, said once in the log. An announced page whose record left the list after its summary was asked for, or made, is no longer made again and its summary asked for again; the page’s log knows the window (docs: operations, “What NATS keeps”). A record behind its log is mended even when the log skips an event from before the two last agreed; only a skip after that leaves the record as it is. That such a record no longer fits is said once per record, and again only when the record is written or the content’s states change: the invite and announced sweeps no longer warn about it every ten minutes and every minute. -
A record follows its event log. For a bucket with a state graph, a decision the log has taken is always written to the record, as the log has it (the state it replays to, and when and by whom), even when another decision landed first; before, the record could stop at the earlier state while the log said the later one, and the case was stuck. A record that says other than its log is written again as the log has it, notes kept and a warning logged, when a decision is about to be made on it and in the hourly deadline sweep (docs: operations, “What NATS keeps”).
-
A reply noted on a record and a desk’s decision on it no longer write over each other. Both are written only if the record is as it was read; if someone wrote it in between, it is read again and only the note, or the state and who decided, is made again. Before, a reply that came in while a desk was deciding could be lost (docs: operations, “What NATS keeps”).
-
learn serve: learn as a resident NATS service, so a search no longer starts a process. It answerslearn.rank(--groupchanges the first part,--subjectnames the whole subject, such aslearn.rank.uhhmfor a worker in an account of its own) in the queue grouplearn, so several workers share the searches, and it answers$SRV.PING,INFOandSTATS. A request is whatlearn rank --ephemeralreads and a reply what it prints; exit 2 is a 400, exit 3 a 503 and anything else a 500, each with the{"error"}line. The model loads once, at start. On SIGTERM it stops taking requests, answers every one it has taken, then exits; a request NATS had already handed it that was still waiting for a lane gets one if a lane comes free within half a second, and is turned away with a 421 at once if not; that is up to 1.5 seconds after the SIGTERM, since the worker first stops taking searches and flushes that out. Portal reads 421 as that worker going, not learn: it spawns with what is left of the search’s deadline, keeps the search box and does not log learn as gone, where before the 503 it got made a rollout under load hide the box. Every context is embedded in memory only, never cached, logged or published, as under--ephemeral. Portal asks it whenLEARN_NATSnames the subject, for searches and the probe alike, and spawns learn as before when no worker answers in time. A search has one deadline, three seconds from its start: the service gets half of it at most and the spawn what is left, so a worker that hangs never makes a search take longer (the probe the same, out of ten). The fallback it logs as a warning once every ten minutes and otherwise at info, so aLEARN_NATSthat no worker answers gets noticed; the probe’s log line and eachportal.search.rankedcount say which way learn answered (via), never the words. learn builds it behind theservefeature; the release builds learn with it, and learn’s CI tests both ways. Warm, a request took 0.9 ms against 7.2 ms for a spawn with Ollama’s time left out; through a real bge-m3 both took about 84 ms, so what it saves is the process and the model load, not the wait (docs: operations, “learn serve”; learning). -
Answers are kept. Every submission and decision is still announced on
portal.answers.submitted, and now also says which portal sent it (site,origin). It is still a plain publish on the same subject with no reply subject, as before; new are the chain hash as aNats-Msg-Idheader and thesiteandoriginkeys. A new stream,ANSWERS, keeps it for 30 days, a retry once. Plain subscribers, n8n’s workflows among them, receive it on the same subject as before, with nothing to answer. n8n does not read the stream: its NATS trigger is a plain subscription, so an answer given while n8n is down still reaches no workflow, and can be read again inANSWERSfor 30 days. No announcement is confirmed one by one: a JetStream publish would carry a reply subject, and n8n’s trigger answers every message that has one with{"success":true}, which on a shared account could be taken for the stream’s confirmation (a rehearsal saw it). Portal instead logs at start which stream keeps answers, or warns that none does. Nothing waits on the stream, and an announcement is sent once. The comments that called the announcement the durable record are corrected: the bucket and its event log are the record. -
Replies to case mail survive portal being down. Each site reads
portal.mail.receivedthrough a durable consumer of its own on the mail stream,portal-<site>-mail-received, and acknowledges a reply once it is noted. A reply for another site’s bucket is acknowledged and left alone; one that fails for a reason that may pass is tried again. Replies are read from whichever stream owns the subject, so an older stream left over from a rename still works. With no stream at all, replies are heard plainly while portal runs, as before, and portal moves to a stream once there is one. Sites on one NATS account each need their ownSITE_NAMEfor this. Without it a site goes by the host inPUBLIC_URL, for its consumer and forsiteon its answers; with neither, it keeps no consumer and hears replies plainly while it runs. Portal warns at start wheneverSITE_NAMEis unset. The access subject staysportal.access.<SITE_NAME>.may,portalwhen unset. A reply for a bucket in none of the site’s storylines is logged at info, with the bucket and the record and never the mail (docs: operations, “What NATS keeps”). -
Portal’s NATS client is async-nats 0.50, up from 0.38. It is built with only what portal uses: JetStream, key-value buckets, and ring for TLS. The object store, services, websockets and nkeys are left out. Nothing a visitor or a desk sees changes. Two new JetStream tests hold the parts that matter most: a move made on a stale sequence is still a conflict, never a storage error, and a key-value create on a taken key still fails, which is what keeps a new session from writing over someone else’s (docs: operations).
-
A search box, where
site.yamlasks for one (search: { pages: [/] }): a visitor says what they need in their own words and is shown which option is theirs, ranked by the shipped route model throughlearn rank --ephemeral, which embeds the words in memory and never caches them; portal never logs, stores or publishes them, and counts only which option came top (portal.search.ranked). Sure, the option is ringed and brought into view; unsure, the nearest is ringed faintly and “Show it” brings it into view; nothing is reordered or hidden. The box shows only while the instance’s learn answers a probe every ten minutes, and goes from the next page on when a search finds learn gone, back within 30 seconds of learn answering again (docs: content-reference, “A search box”; operations, “The search box”). -
The route model reads the visitor’s words alone (template
route/v2).route/v1put the page’s question and its opening text in front of the visitor, the page drowned the visitor out, and the cosine gave nearly everyone on a page the same answer; with the persona alone the untrained cosine went from 0.617 to 0.796 on 16 fictional sites that informed no choice. No trained recipe beat that cosine on sites it had not seen, so the shippedlearn/models/route.{bpk,json}is the cosine itself, written bylearn train --epochs 0, with T 0.979 and a gate at 0.856 fitted on dev (it lets 29.8% of dev rows through, 0.900 of them right). A model refuses contexts of the other template, andportal choosesends the persona alone (docs: learning, “Results so far”). -
learn lintchecks a factory site’s rows for door headings that look alike (cosine 0.75 or more between doors to different needs), a door most of its own visitors pass by, and a persona closer to other doors than its own;learn factory personasregenerates the personas the last rule rejects. For factory time only: the margin it reads is the cosine floor’s own error, so filtering evaluation rows by it would inflate the floor (docs: learning, “The lints”). -
portal build --words-fromcarries a form card’s words over by the need it files, not by the bucket it records into. Three needs that record into one bucket swapped words on the contractor site (the survey door was headed “Log a phone enquiry”), which put 78 factory rows on a door naming another need;learn extractstill drops such rows from sites built before. -
portal interview: only the checker ends an interview (an empty question with gaps open is asked as the biggest gap instead of ending it),transcript.jsonlpairs each answer with the question that was asked, and with--gatea readback held into the turn cap finishes the last draft adopted when the checker still passes it, instead of stopping “did not finish”. -
portal chooseranks framings of a need’s card offline by routing gain: each candidate is checked against the live card (only its own varied slots, a section empty exactly where the live one is, the plan’s language, no address, phone number, link or amount the plan does not state), swapped into the live page as the build renders it, and read by the learned route model for every persona on that page; the score is what the card draws from its own need’s visitors less what it draws from everyone else’s. It writes every judgement, a readback of each candidate as its card, andwinners.json, a--wordspartial that appends the winners as storylines behind the live text and is refused if it would change any storyline already served. A words reply with the needs under the wrong key is a shape error, named, not a silent fallback.--validateholds the formula to the wordings visitors saw. -
The trainer keeps what
learnneeds to learn from. A card has an identity,card::framing_id(fand twelve hex of the sha256 of the card as read), the same for the server’s parsed page and the trainer’s YAML and the same aslearn’s candidate ids.portal answer --tracenotes per task the order the options were numbered in, the prompt’s sha256 and the rendering;rate --jsonlevery persona’s answers on every page and its twin;prefer --jsonlevery call with its raw reply, an unparsed one recorded as unparsed. The tables on stdout do not change.portal interviewwritesgaps_beforeandaddressedevery turn, free labels for the gap decision, and with--rankaskslearn rank(src/learn.rs:$LEARN_BIN, elselearnbeside portal, ten seconds, exit 3 is no decision) for its read in shadow, logged and never asked;--gatelets a confident read hold the readback a turn, never skip the checker, and is off by default. -
The release tarball carries
learnbesideportal, with the route model it ships atmodels/route.bpk, so nothing has to be located or configured; ranking still needs Ollama servingbge-m3(OLLAMA_HOST) for any text not already inLEARN_CACHE, and without it every call is no decision; the barelearnis a release asset of its own (portal-x86_64-linux-learn, named to sort after the tarball that every deploy takes first, which the release now checks). Only a model trained on fictional sites alone can become the shipped one:learn/scripts/ship-model.shrefuses any other, and the release checks again (docs: operations, “The ranker”). -
learn/, a second binary beside portal: it turns the trainer’s runs and the data factory’s nights into one row set labelled by the plan’s own truth, splits it so a business the model has never seen is the headline, fits and calibrates a small route model over bge-m3, benches every scorer with its controls, and answersrank,visitorandanswerover JSON. A real client’s rows are evaluation only, and rows, caches, models and reports stay in the private sessions repo; only the shipped model comes back here (docs: learning). -
The contractor, the hire yard and the physiotherapy clinic have Bokmål twins (
plans/contractor-nb.yaml,hire-nb.yaml,physio-nb.yaml): every id, stage, bucket, group and field name byte for byte as in the English plan, every word a person reads written as a Norwegian would say it, withstages_textfor the desks. They build and lint like every other plan, andlearnknows them as fictional NB sites (haugland-bygg, moen-utleie, lunde-fysio), so the trainer’s Norwegian data is no longer one football club. -
portal interview: the intake as a conversation. One question a turn, in plain words, until a plan is complete; completeness is a checklist here plus the plan parser, not the model’s opinion. The owner is a person at the terminal (--human) or a model playing one from an intake (--person); the plan is read back, written and built. Settled facts are merged forward, an incomplete draft is let through, and keys the parser refuses are dropped, which is what made an 8B model finish in seven turns where it had never produced a need. Every turn lands intranscript.jsonl(docs: training, “Interview”).
0.6.27 (2026-10-23)
- A module hero (
hero: {kind: module}) across pages: the module is started once per visit to the landing page and stopped once on leaving it, also when its import lands after the page is gone (a draw loop ran on in a detached canvas), and no longer for the render the router swaps in and out on its way elsewhere; a landing page reached by a link within the site, or a repeat visit with the bundle cached, gets its piece (the helper is a classic script, so it exists before hydration asks for it; before, the box stayed empty); the picture of the new page waits for the piece to be drawn (data-hero), so the field arrives with the page instead of popping in after the slide; the header’s copy and the piece move as layers of their own (hero-copy,hero-piece), the copy travelling from where it stood to where it stands while the page slides, and--hero-piece-heightis a site’s to set. A transition the browser skips (hidden document) no longer logs an unhandled rejection on every click (docs: content-reference, “A hero module”).
0.6.26 (2026-10-23)
- An announced event counts days on the calendar where it happens, not in 24-hour spans: on a Thursday evening a Saturday opening reads “in 2 days”, not “tomorrow”, and on Friday afternoon “tomorrow”, not “in 23 h”.
0.6.25 (2026-10-21)
- Feature icons are back: the icon API now answers
lucide:ruler.svgwith 403 and onlylucide/ruler.svgwith 200, so the URL is built with the slash. Content keeps writingicon: lucide:ruler, as before. - The real sites’ plans, words, assets and documents, and the one real intake, leave this public repo for uhhm/sessions (private), beside the trainer’s runs; that repo is uhhm/portal-trainer under its new name, and the dead copy of the trainer is gone from it. The invented sector examples stay here, and the trainer reads a plan from any path, so nothing in the binary changes. The operations guide stops describing an iris release that has not existed since 0.6 (docs: training, operations).
0.6.24 (2026-10-20)
- A
slideshowwith few enough pictures to fit now centres them instead of bunching them against the left edge with the whole gap on one side (Swiper’scenterInsufficientSlides, which measures the slides there actually are, so it holds at every width and for a strip of one as much as a strip of three). - A hero with a slideshow keeps one gutter on a phone instead of two. The strip runs the full width and the copy inside it carries the gutter, so the hero has no side padding of its own; the rule that narrows a hero under 40rem was written as a plain
.hero, sat later in the stylesheet at the same specificity, and quietly put that padding back, so the two stacked and the words began 2.75rem in on the narrowest screen there is.
0.6.23 (2026-10-07)
- A configuration profile’s per-payload
PayloadVersionis an integer, as the plist key is typed; it was a string, which iOS may refuse.
0.6.22 (2026-10-07)
/profile.mobileconfigrenders an Apple configuration profile from the mail server’s own PACC document (profile.paccinsite.yaml), so iOS can be set up in one install instead of probing for ports it cannot reach. Mail, CalDAV and CardDAV in one profile; every host, port and path from PACC, never written down twice; no address, username or password in the document, so one profile serves everyone and iOS asks at install; identifiers derived from the site, so reinstalling replaces the accounts rather than duplicating them (docs: content-reference, “A configuration profile”).
0.6.21 (2026-10-07)
- A content repo’s
.well-known/is served at the site root (/.well-known/security.txt,/.well-known/assetlinks.json,/.well-known/matrix/server), and a miss there is a 404 instead of the app shell answering 200 with an HTML page. RFC 8615 reserves the prefix and a question’s id cannot begin with a dot, so nothing a repo ships can shadow a page. An extensionless file under it is typed as JSON, by the convention those files follow;.txt,.xml,.webmanifestand.mobileconfigare typed too, the last so an Apple configuration profile offers to install rather than download.
0.6.20 (2026-10-05)
- A releases card lets a platform’s file carry an architecture: a Mac visitor is offered the
macos-arm64file, not sent to TestFlight past it.
0.6.19 (2026-10-05)
- A
kind: urlresource whose JSON is a releases manifest (latest,versionswith per-platformassets,channelssuch as a package repo or TestFlight) renders as a download card: the file for the visitor’s own platform first, decided in the browser, the rest and the channels folded. Written for redoal’s public releases at dl.redoal.com (docs: content-reference, “A releases manifest”).
0.6.18 (2026-10-03)
iris check --findings <out.jsonl>writes every finding as JSON: a stableid(scope, need, code and subject, nothing of the wording),level,code,scope,need,subject,messageandfix. Every message that knows its fix now says it after “fix:”. The codes are listed in docs/lint.md.portal generatefollows its findings through: each structure round is logged as fixed, still open, new and reopened; a fix round is shown the open findings with their fixes and only the files they name; a change that reopens a closed finding is undone; and the phase stops when a round closes nothing, writing what is left to run.log. A hesitant visitor no longer triggers a wording rewrite by itself, only a misroute does. A lint without--findingsis still driven the old way.
0.6.17 (2026-10-02)
- A desk shows every record still moving and only the three most recently finished (a final state: no move out of it), with “Show older” for three more at a time. A desk that has run for a year is still about the work in hand.
- Mail variables are one set for every kind of mail (docs: Mail). Every mail has
{site}and{site_name}; a state mail also has{link},{self_link}and{desk_link}: the reader’s own page for the record (a self-service page with?chain=&email=, when the record’s state allows a move there), the desk that moves it, and{link}choosing between them by who the mail is to.{link}in a state mail used to render as nothing. - The lint follows every state of every bucket a need lands in: a state no desk, link or clock reaches fails; a state a record can reach and never leave fails, after “done” too; a declared move nobody offers warns; a desk gated to one group on the page and another on its list warns; working stages must follow each other in the business’s order; a mail from an unreachable state warns, and one naming a field no form collects fails. Clocks (
after:) count as moves, and a visitor’s own link only from the states it names. Each finding ends in the fix: the{ from, to, label }and the desk page it goes on, or the group that already has the button. A schema error no longer hides the needs findings.
0.6.16 (2026-10-01)
- The lint refuses an alternative that has a form to send (fields to fill in, an invite, or a bucket to record into) and no
action. The button is only drawn for an alternative with anaction, so such a form could be filled in and never sent, which is what happened to uhhm.no’s first invite form. An alternative that moves its own record (self_transition) draws its own button and is left alone. portal irisis the lint’s name, after the iris that keeps bad content out of the portal.portal lintis the same command and keeps working.
0.6.15 (2026-10-01)
- An invite may carry its own mail:
invite: { group, mail: { subject, body } }. Every field of the form is a placeholder besides{name},{link},{expires}and the rest, and a date and time (type: datetime-local) is written out in words (“tirsdag 6. oktober kl. 15:00”). The words and the form are kept with the invite, so sending it again sends the same mail. This is for a desk that invites someone to a conversation at an hour, not into a group for good.
0.6.14 (2026-10-01)
- Less room above the wordmark: 1.75rem, 1.25rem on a narrow screen (it was 4rem). The space was kept for who is here, which now sits on the wordmark’s own line, and on a tall, narrow screen it read as dead space.
0.6.13 (2026-10-01)
- Who is here (the name and “sign out”, or “sign in”) sits on the wordmark’s own line instead of being pinned to the corner of the page, where it read as a row of its own. With a picture strip it is in the wordmark’s bar; without, it is level with the mark at the right edge. On a narrow screen it drops under the mark.
- Trainer: every form, public ones included, carries a signed-in person’s name and address from the login instead of asking for them; a visitor still sees the fields. Only the inside forms did before, so someone signed in filled in their own name and address again on a public form.
0.6.12 (2026-10-01)
- Trainer: the words model is told who opens each mail: the person who sent the case, the person who posted the record an answer is about, or someone at the business. Mails to the business about another person’s case used to be written as if to that person (“you will hear from us”); on Gullberg, three of nine were.
0.6.11 (2026-10-01)
wordmark_ink: trueinsite.yaml: an SVG wordmark is drawn in the page’s own ink, as a mask over the text colour, so it follows the page’s light and dark in every browser. A wordmark shown as an<img>only knows the system’s setting, and some browsers don’t pass even that on. Opacity in the file still shows, so a lighter line stays lighter. Opt-in, for one-colour marks; a mark with a colour of its own keeps its colours.
0.6.10 (2026-09-30)
- Trainer: who a business is gets a page of its own (“who are we?”,
/hvemin Norwegian), with nothing to do on it. It has one card per need thatpresents(the people, the work, each shown as picture cards) and one for the plan’svalues. The front door leads there instead of carrying it all. - Trainer: the words model is told that a form page from the inside asks a real question and says where the answer ends up (“How do you present yourself?”, not “Your card on the front page”), and that a
one_per_personform is the colleague’s own. - Trainer:
portal buildnames every need no persona tries. Klingenberg Bygg’s plan had personas only for customers, so nobody ever played the office filling in its own forms. - Klingenberg Bygg: “Hvem består Klingenberg Bygg av?” with Menneskene, Erfaringer (projects with pictures, added from the office) and Verdier (a first draft for Fredrik to replace).
0.6.9 (2026-09-30)
- What a person wrote on a card (a bio) is shown as markdown: paragraphs, line breaks as typed, lists, emphasis, and links to https, mailto or tel marked
rel="nofollow ugc". No images and no raw HTML, which is stricter than the site’s own descriptions. The desk still shows the text as written.
0.6.8 (2026-09-30)
- An upload that did not arrive says why: larger than 20 MB (checked in the browser before anything is sent), a site that takes no files (no Garage configured), not allowed from here, or anything else. It used to say “try again, or with a smaller file” whatever the reason, which sent people looking for a smaller file when the site had no storage at all.
0.6.7 (2026-09-30)
leaves_after: { minutes: 10 }on a state: a record that has been there that long leaves its bucket’s lists (days, hours and minutes add up; swept every minute; the event log keeps it). Trainer:leaves_afterper stage on a need. A Klingenberg Bygg card taken off the front page leaves the office’s list ten minutes later instead of standing there greyed out.
0.6.6 (2026-09-30)
one_per_person: trueon an alternative: each signed-in person keeps one record there, their own. The form opens filled in with it, a file left unchosen keeps the one already there (shown beside the picker), and sending again replaces the card instead of adding one. Two sends at once settle on the newest. Trainer:one_per_personon a need entered from inside; Klingenberg Bygg’s people each edit their own card on the front page.- Send is disabled from the moment it is pressed. Files upload before the form is sent, and a second press in that time used to send it twice.
- A failed upload stops the send and says so. The form used to go without the file, which made a record that looked complete and was not.
- A refused send says why, under its button. It used to say nothing.
0.6.5 (2026-09-30)
- Trainer:
paused: trueon a need. Its card stays on the front door with what the business does and a sentence saying it is not taking new ones right now, with no form and a button that does not press; nothing is recorded. The lint reports a paused need as a warning (“paused, not open now”) and counts it on its own in the summary, asplannedalready did for needs not open yet. Klingenberg Bygg’s building applications are paused for capacity.
0.6.4 (2026-09-30)
- The rate limit is a hundred at once, refilled at ten a second (it was 30, one every two seconds, which a page with a picture strip used up in one load: a few reloads and the stylesheet was refused). The files a page is made of, from portal’s own disk, are not counted at all.
PORTAL_RATE_PER_SECONDreplacesPORTAL_RATE_SECONDS; no site set it.
0.6.3 (2026-09-30)
- Pages move the way their addresses do. Deeper in the address comes in from the right, back up comes in from the left, and a page at the same depth comes from below or above, with the index on top. The cards on screen leave as layers of their own, one after another, and the next page’s cards arrive the same way. The old page stays on screen until the new one has loaded, where it used to go blank in between. Only transforms and opacity are animated, through the browser’s View Transitions (
public/page-motion.js, before the router). Browsers without them, and anyone who asks for reduced motion, navigate as before. - A record that carries a picture, in a list with no buttons, is shown as a card: the picture, the first field as the heading, the rest under it, with no field names, state or time. Cards are shown in the order they were put up. On a desk, the same picture is a thumbnail.
- Trainer:
valuesin a plan andpresents: trueon a need make a “who we are” card on the front door. The business’s own statements are carried word for word, beside every record the need presents: the people who work there, entered from inside, each with apicturefield (a file that only takes JPEG, PNG or WebP) that shows as their portrait. A public list keeps the form’s field order, so the first field heads each row.
0.6.2 (2026-09-30)
- The header knows who is here: on a site with sign-in, a link top right to sign in, or the person’s name and the way out. A page with a
slideshowgets the wordmark as a bar of its own, the strip full width under it, and the question after. - “My cases”:
where: { field: email, equals: "{user.email}" }lists the records that carry the signed-in person’s own address, filled from the session and never from the caller; nobody signed in matches nothing. An attachment is fetched only through a list that shows its record, so a list of my cases opens my files and nobody else’s. - A stored file on a listed record shows as the name it was sent with and opens from the row, for whoever the list shows the record to. It used to show as its storage key, a string nobody could open.
- Form controls scale with the text around them (em, not rem): fields, pills, buttons and labels follow a site’s body size. The date picker’s calendar icon is the size of the text beside it, and the file picker’s button takes the field’s colours instead of the browser’s.
KANIDM_GROUP_PREFIX: a site on a Kanidm it shares with others keeps plain group names in its content; the prefix is put on when portal adds or removes a member, and the client’s claim map takes it off.- Fixed:
mapsnever reached the browser (serde(skip)), so a page with a map drew it on the server and dropped it on hydration.
0.6.1 (2026-09-30)
-
Trainer:
documentsin a plan. A text the site carries word for word (bylaws, terms) becomes a page of its own where every section is one alternative: its heading the card’s, its paragraphs the card’s words, from a markdown file beside the plan. No model touches it. -
slideshowon a page: a strip of pictures the full width of the screen under the question,max_heightin svh, each picture with its caption laid over it. Swiper when the bundle has loaded, a sideways-scrolling row before./site/servesjpeg, and lets a browser keep photographs for an hour. -
The release’s bare binary is named
portal-x86_64-linux(it wasportalin 0.6.0 only). Gitea lists assets by name, and deploy scripts that take the first asset got the binary instead of the tarball.
0.6.0 (2026-09-30)
- One binary. The lint (uhhm/iris) and the trainer (uhhm/portal-trainer) are commands of
portal:portal serve(the default),portal lint, andportal plan,build,answer,rate,prefer,score,simulate,compare,report,generate. Same source, same version, so the site, the lint and the trainer never disagree about what content means; both histories are merged in. The release attaches the bareportalbinary beside the tarball, so a content repo’s CI downloads it and runsportal lint. No more iris releases; the pins that exist keep working. The trainer’splans/,intakes/,engines/,sectors/and its reference prompt live here now; itsruns/stay in uhhm/portal-trainer. Docs gained “Training a site” and “The lint”.
0.5.11 (2026-09-30, tagged, never published)
The publish job failed at its lint step: iris, built against this tag, did not compile against the storylines change (the same two fixes that went into src/lint/ when the lint moved in). Nothing was attached to the tag; 0.6.0 is the first release that ships storylines.
- Storylines (
src/content/variants.rs,docs/storylines.md): any text a person reads may be a list, one entry per storyline, every list the same length; a visitor is given one storyline for the whole site (theportal_storylinecookie, a year) and reads it on every page and in every mail about their case. What the machine reads - a field’sname,options, states, groups, paths - never varies. The lint refuses a list of another length. Records and answer events carrystoryline, andGET /reportgives counts per bucket, per storyline, per state, and nothing else.
0.5.10 (2026-09-30)
- The lint lets an invite form collect a required
phonein place of a requiredemail: memberships know a person by number first.
0.5.9 (2026-09-30)
- With memberships as the people backend and a Kanidm token still set, an invite makes the Kanidm account as well (no group, the one-time link in the mail): Kanidm makes people, portal makes members, and a site can switch to memberships before its sign-in provider is one everyone already has.
0.5.8 (2026-09-30)
- Fixed: 0.5.7 asked every provider for the
phoneNumberscope, and Kanidm denies a sign-in that asks for a scope the person does not hold, so nobody could sign in. The scope is asked for only withOIDC_EXTRA_SCOPES=phoneNumber(Vipps). 0.5.7 must not be deployed on a Kanidm site.
0.5.7 (2026-09-30)
- Memberships: groups kept by portal itself (
src/memberships.rs,docs/memberships.md). A membership is a case in the built-inportal_membershipsbucket -invitedby a desk, agrants, the seed or the responsible pass;activefrom the person’s first sign-in, when the provider’s subject, phone number or address matches;removedby a desk. A person is their phone number first (+4791234567,PHONE_COUNTRYfor bare numbers), their address second, the provider’s subject third, and one record per group and person however it was keyed. At sign-in the active memberships join thegroupsclaim, so Cedar sees the same parents as before.PEOPLE_BACKEND=membershipsswitches a site; unset, aKANIDM_API_TOKENmeans Kanidm and no token means memberships.SEED_ADMIN_PHONEseeds by number. The sign-in asks for thephoneNumberscope and readsphone_numberfrom userinfo. - The NATS access service answers for a person named by
sub,phoneoremailwith no groups listed: their memberships are looked up first. who_for(the person agrantsis about) takesnavnas well asname, and a phone number in place of an address.- The invite mail for someone who needs no link says where to sign in.
0.5.6 (2026-09-30)
- A group may hold a page’s responsibility:
responsible: { name, contact, group: styret }. No account or mail for the inbox, and any signed-in member of the group gets the suggest-a-change card. Before this, a board’s shared address was onboarded as a person.
0.5.5 (2026-09-30)
- One record answers another, from a list.
linkon a resource puts a link on every listed record to a page about it ({id},{field}), a state mail’stomay be a field of the record this one belongs to ({notice.email}, and{notice.field}in the text), andvalue: "{user.email}"fills a field from the session and hides it, so a signed-in person is not asked who they are. Together they make a board: a notice is listed with “answer this”, the answer page’s form carries the notice’s id, and the mail goes to whoever posted it. The lint requires the record field the mail reaches through. - The way down the tree is the line at the foot of the page and nothing else. The arrow fixed at the left edge, which 0.5.3 added beside it, is gone: it followed the reader down every page to offer something the foot already does.
0.5.4 (2026-09-29)
- Accounts the content mandates, made at start (
src/seed.rs). Every person a page names asresponsiblegets a Kanidm account if they have none, and a mail in the site’s language saying they are listed as responsible for asking that question, with the link to sign in;RESPONSIBLE_GROUPputs them all in one group (people who already had an account are added without a mail).SEED_ADMIN_EMAIL(andSEED_ADMIN_NAME,SEED_GROUP) invites the first person into the site’s most privileged group - the group whose desk may invite into the most groups - so a site with its own Kanidm has someone to invite everyone else. Both happen once per address and group (portal_seed), side by side, and each tries again a minute apart, twenty times, while Kanidm comes up. The responsible are gone over again whenever the content changes (portal.content.reloaded, published once new content is in place), so a new page’s person is set up without a restart - and someone the content has stopped naming leavesRESPONSIBLE_GROUPin the same pass, if portal is who put them there. - An invite is a case that keeps itself current (
portal_invites:open,expired,done). Signing in closes a person’s invites; a sweep every ten minutes moves one whose link ran out unused toexpired, and takes the link off the record. Fromexpireda desk may send it again: the move back toopenmakes a fresh link and mails it. Content offers that with{ from: expired, to: open }on the list of invites. The invites portal makes itself at start are on file with the rest. - Fixed: an invite mail said the link worked “until” and then nothing. Kanidm 1.11 gives a link’s end as seconds since the epoch, and portal read only the older RFC 3339 string.
- Fixed: a search by mail that Kanidm failed to answer (a 5xx) was read as “not permitted”, and the invite went on to match by username - which could give someone with an account under another name a second one. Only a refusal is read that way now.
- A page’s responsible person, signed in, may suggest a change to it: a card at the foot of their own pages, checked on the server against the page’s
responsible.contact, published onportal.edits.suggested, and mailed to the site’s inbox with them as reply-to. It is a case in the built-inportal_edit_suggestionsbucket -open,discussed,doneordeclined- so a desk that lists the bucket takes it up and settles it, the person who made it is mailed at each move, and the card shows them what became of what they sent before. The session now carries the signed-in person’s email. - The mail to someone named responsible names the first three questions and counts the rest; on a site where one address answers for every page it used to list them all.
- Fixed: an invite of someone new failed on a Kanidm set up with the onboarding account alone. Portal created the person, then set their address in a second call, and
idm_people_on_boardingmay create but not modify: 403. The address now goes in with the person.
0.5.3 (2026-09-29)
- A way down the tree from every page: an arrow fixed at the left edge, half-way up, and the same link in words at the foot (“Tilbake til starten”, “Back to “What came in?””). It goes to the nearest page below the current one that the visitor may open, taking the path apart a segment at a time, and to the front door when none is; the front door has none. Content no longer needs a “back” alternative, and a visitor who went up a branch that turned out not to apply is never stranded.
0.5.2 (2026-09-28)
- The rate limiter answered 500 to any request that arrived without
X-Forwarded-For. It reads the caller from that header orX-Real-IPand falls back to the socket, and 0.5.0 served the app without connect info, so there was no socket to fall back to and no key to rate-limit by. Through Caddy every request carries the header and the site was fine; a health check on localhost got a 500, which is how the first deploy of 0.5.1 failed.
0.5.1 (2026-09-28)
- A
self_transitionthat names nofrommeans the bucket’s own initial state, not the wordopen. 0.5.0 read the literal, which is only right for a bucket whose records start there: redoal’s watchers arrive atpendingand confirm themselves intoopen, so the rule compiled asopen -> openand the confirm link in the mail could never match. Wrong the same way before 0.5.0, and now visible because the lint checks the edge exists.
0.5.0 (2026-09-28)
- Sessions live in NATS KV (
src/sessions.rs), not in memory. Every restart used to sign out every desk on the site being deployed; they now survive it, in the JetStream that is already under everything else - no new service and no new store to run. The bucket’smax_agecollects what nobody returns for, and a record’s own expiry is what answers a load. - Fixed: the JetStream integration test asserted a record’s projected state was one a desk move had never written to it, so it failed whenever it actually ran.
test.ymlhas been red since 0.3.47 whilepublish.ymlstayed green, which is how 0.4.0 shipped past it. - A file can come back out.
GET /attachment/{bucket}/{record}/{field}streams what atype: filefield stored, reading the object key out of the record rather than taking one from the caller - so a file is only reachable through a record somebody may see, and a key that leaks off a desk is a link to nothing. Before this, uploads were one-way: a desk showed the key as a string and there was no way to open it. - Rate limiting, per caller IP, outside everything else: a burst of 30 refilled one every two seconds (
PORTAL_RATE_BURST,PORTAL_RATE_SECONDS; either 0 turns it off). A form-filling visitor never reaches it; a script does. There was none at all before. /uploadasks the policy, like every other way in. It asked nothing: any caller who could reach the host could put 20 MB in the bucket, as often as they liked, and a site whose forms are public is a site whose upload route is public. It now takes thequestionandalternativethe file is being attached to, refuses a page that declares notype: filefield or an alternative that is closed, and asksSubmiton that page - the same question the submission itself will ask - before a byte is written. Latent until an instance had storage configured; the first one now does.- A submitter stays in dialogue with their case for as long as it runs.
self_transitiontakesfrom: [state, ...], and the access policy compiles one rule per state named; it defaulted to the initial state alone and was written that way in the compiler, so an applicant written to for a missing drawing could not send it, and nobody could withdraw once anything had happened. Omitted, it still means the initial state alone. - A record can belong to another record.
type: recordwithof: <bucket>stores the parent’s id, which arrives on the link rather than being typed; a submission naming a record that is not there is refused. The other half iswhere: { field, equals }on a Kv resource, so an application’s page can list the objections that name it. - A public view need not publish the whole bucket.
states: [...]on a Kv resource shows only those, for one record as well as a listing - a register that is public by law is public about what was decided, not about what was withdrawn. The desk over the same bucket is a different spec and still sees all of it. - A state can grant a group:
grants: <group>beside itsevent, so an approval that means membership does not also need somebody to remember to invite them afterwards. The lint requires the forms that fill such a bucket to collect a required name and email, because by the time a desk presses approve there is nobody left to ask. - A state can be moved by a clock:
after: { days, to }, swept hourly, measured from the record’s last move (src/deadlines.rs). A deadline may only do what a person could have done -after.tois held to the same declared edge as a desk button - and the move fires the same mail and publishes the same event, stampeddeadline. - Documentation moved out of the README into
docs/: architecture, content reference, state machines, access, operations. - A page says nothing until it has something to say. The Suspense fallback on a question was the whole served page - no header, no wordmark - so the first and only thing a visitor or a crawler read was the word “loading…”, which is true and is not about them. It now holds the space and stays quiet, with
aria-busyfor a reader that would otherwise find an empty document. - Gone: the
gitea_org_reposresource kind, which no site ever named.gitea_starredandgitea_releasesstay.
0.4.0 (2026-09-24)
- A field can be a place:
type: locationputs a pin on a map and stores{lat, lon, zoom}; a record holding one renders as a still map on its desk and in any resource card. - A question can be about a place:
place: { lat, lon, zoom, name }is the counterpart toevent:- event makes a page an occasion with a time, place makes it somewhere, draws the map under the question, and opens any location field on that page there instead of on the globe. - Maps are served from this origin. Portal fetches every tile and every still itself (
src/maps.rs, MapLibre vendored), so a page with a map on it makes no third-party request, needs no consent banner, and theMAPBOX_TOKENnever leaves the server. Unset, the feature is simply off. - A reply to a case mail becomes a note on its record: whatever reads the mailbox publishes on
portal.mail.receivedand portal appends the note, after checking the record exists and the sender is the address the record itself holds. A note never moves a case.
0.3.47 (2026-09-24)
- iris: needs.yaml takes
stage_words, each state in the site’s own words, carried into the simulation model for the trainer’s desk score. No change to portal itself.
0.3.46 (2026-09-23)
- An invite first looks the email up in Kanidm (
/v1/raw/searchonmail, when the service account may read people:idm_people_pii_read) and only adds an existing account, under whatever username, to the group; no second account, no reset link.
0.3.45 (2026-09-23)
- A mail stream that cannot be created at boot (subjects owned by an older stream) is a warning, not a failed start; 0.3.44 took the kasse sites down for two minutes on the rename.
0.3.44 (2026-09-23)
- The mail stream is named
mail(wasWORMHOLE); gdo 0.1.2 matches. Delete the old stream on each NATS after upgrading both.
0.3.43 (2026-09-23)
- Mail is content:
mail: { to, subject, body }on a state in aggregates.yaml sends when a record enters that state (to: submitteror one address;{field},{site},{chain},{email}in the templates), and an invite mails its one-time link built in;site.yamlgainsmail: { from, reply_to, invite }. Portal renders and publishes onportal.mail.sendin theWORMHOLEstream; uhhm/gdo delivers. The lint requires a requiredemailfield on every form recording into a bucket that mails the submitter.
0.3.42 (2026-09-23)
- people: the Kanidm person lookup reads the body, since Kanidm 1.11 answers a missing person with 200 and
nullrather than 404; before this every invite skipped account creation and failed on the group step
0.3.41 (2026-09-23)
- publish: the iris release step retries on a fresh clone when its push loses a race against a push to iris main (the v0.3.40 tag never published)
- iris:
check --accessprints the access matrix, and every check validates the compiled policy against the schema
0.3.40 (2026-09-23)
- One access policy, compiled from content into Cedar on every load (
src/access.rs): pages, resource reads, desk transitions, self transitions and the automation endpoint all decide through it; decisions carry rule ids, refusals and mutations publish onportal.access.decided, andportal.access.<site>.mayanswers the same question for other apps over NATS invite: {group}on an alternative onboards a person into Kanidm from a desk (src/people.rs,KANIDM_API_TOKEN), recording the one-time credential link inportal_invitesand onportal.people.invited
0.3.39 (2026-09-23)
- publish: releases the matching uhhm/iris by proxy - re-pins, builds, tests and tags it as this version (needs the
IRIS_PUSH_USERvariable andIRIS_PUSH_TOKENsecret); iris carries portal’s version number from here on
0.3.38 (2026-09-22)
- publish: the iris build step gets a writable cargo home; the v0.3.37 tag never published
0.3.37 (2026-09-22)
- The lint moves to its own repo, uhhm/iris:
question_lintbecomesiris check,needs_replaybecomesiris replay; the tarball shipsiris(pinned in publish.yml) instead ofquestion_lint; the needs module and local loaders leave portal
0.3.36 (2026-09-22)
- Question nav: a followup is offered only once earned - the verified chain answered the alternative leading there, or a link that records nothing leads on from an earned page. Standing on a page no longer unlocks the pages behind its forms; the chain index now records which alternative was answered
- One bounded HTTP client for every server-side fetch: 20 s budget, size caps per kind of fetch (
src/http.rs) - Uploads are refused past 20 MB while streaming, and the route body limit that had capped them at axum’s 2 MB default is raised to match
tests/jetstream.rs: the store, the event log and the projection tested against a real JetStream (CI starts a throwaway one)contentsplit intogitea,validate,markdown,handlers; every path stillcontent::x- This changelog, and the table of what each site runs
- Business needs as a checkable spec: needs.yaml + question_lint pass
- needs:
successstates and a resolved simulation model - needs:
stages- every stage the business named must be a state - needs_replay: make simulated cases real aggregates, report buckets by state
- needs: also_moved_by - a need carried by more than one group’s desk
0.3.35 (2026-09-12)
- Item cards: no paragraph margin under the description
0.3.34 (2026-09-11)
- Question nav: offer followups by reach, not by carrying any chain
0.3.33 (2026-09-02)
- Head preloads: latin font, wordmark, content-host preconnect
0.3.32 (2026-09-01)
- Per-site favicon via site.yaml
0.3.31 (2026-09-01)
- Markdown links allow tel:
0.3.30 (2026-09-01)
- Single alt-image shows natural height
0.3.29 (2026-09-01)
- Markdown image layout hints + AVIF assets
0.3.28 (2026-09-01)
- Hero description renders inline markdown
0.3.27 (2026-09-01)
- wordmark_invert: explicit, not inferred from .svg
0.3.26 (2026-09-01)
- Select fields: inline static options
0.3.25 (2026-09-01)
- Content-shipped stylesheet override (site.yaml stylesheet)
0.3.24 (2026-09-01)
- Gateway submit-as-link loses the underline
0.3.23 (2026-09-01)
- Chrome speaks the site’s language: site.yaml lang + i18n table
0.3.22 (2026-09-01)
- site.yaml wordmark_height; raster logos keep their colors
0.3.21 (2026-09-01)
- Hero paragraph centers its measure box
0.3.20 (2026-09-01)
- Sign-in becomes optional: KANIDM_URL unset disables auth cleanly
0.3.19 (2026-09-01)
- Markdown images in descriptions, gated and framed
0.3.18 (2026-09-01)
- Item cards render inline markdown descriptions
- Convergence: ink converges onto the decoded key (WebGL glow)
- Gesture results overlay the canvas - the page never jumps
0.3.16 (2026-08-30)
- Announce sweeper: refresh open records from content
0.3.15 (2026-08-30)
- Hidden fields: carrier value without a label row
0.3.14 (2026-08-30)
- Feature cards: icon column, one text edge
0.3.13 (2026-08-30)
- Voice field: nothing leaves the browser until Keep it here
0.3.12 (2026-08-30)
- Voice preview stays hidden until there is something to play
0.3.11 (2026-08-30)
- README: gesture and voice fields
- Validate templated actions against the page pattern
0.3.10 (2026-08-30)
- type: voice, Requirement.value, playable resource cards
0.3.9 (2026-08-30)
- Templated actions; places are pickable in the gesture input
0.3.8 (2026-08-30)
- Descriptions are inline markdown; Feature.link withdrawn
0.3.7 (2026-08-30)
- Feature.link: a card’s name may point elsewhere
0.3.6 (2026-08-30)
- Announced pages: event windows, header announcements, summary tasks
0.3.5 (2026-08-30)
- Gesture widget: stop drawing the decoded ghost path
- Gesture widget: ghost path back, for v2 keys only
0.3.4 (2026-08-25)
- Alternative.disabled: announced but not yet takeable
0.3.3 (2026-08-25)
- Empty list says so before it can parse as zero answers
0.3.2 (2026-08-25)
- README: hashed pkg assets in the release flow
- Resource empty text: content-declared, and null counts as empty
0.3.1 (2026-08-25)
- Content-hashed pkg assets (hash-files) so stale bundles can’t pair with new wasm
0.3.0 (2026-08-25)
- Hero becomes a content-owned module; site asset proxy; gesture growth fix
0.2.4 (2026-08-25)
- Gates keep the question nav
0.2.3 (2026-08-25)
- Attended-bucket lint rule; app-lifetime resources fix first-nav corruption
0.2.2 (2026-08-24)
- One app-level Title fed by a shared site resource
0.2.1 (2026-08-24)
- Docs: routing bullet + design doc marked implemented
- Revalidating cache on app assets; site title survives SPA navigation
0.2.0 (2026-08-24)
- Initial commit: content-driven onboarding portal
- Load content from Gitea directly, drop the local clone; add deploy workflow
- Share sccache between manual dev builds and CI
- Give CI its own SCCACHE_SERVER_PORT
- Erase view types at every list/component boundary, not just leaves
- Redirect cargo-leptos’s tool cache out of act-runner-bare’s StateDirectory
- Fix Ship release: site-root is project-relative, not CARGO_TARGET_DIR
- Drop sudo from the deploy workflow - NoNewPrivileges blocks it outright
- Caddy snippet: use multi-line log block
- Fix static asset 404s and build-time SITE_NAME
- Hot-reload content on a NATS trigger instead of requiring a restart
- Add prosekit rich-text field, Gitea repo embeds, automation KV read endpoint; fix apex/www session-cookie mismatch on /auth/callback
- Fix prosekit-editor.js: remove bare CSS imports that aborted the whole module
- Redirect back to the originating page after sign-in, not always /
- Fix hero-canvas navigation race; style the prosekit editor and add a toolbar
- yes.js: guard against the canvas not being in the DOM yet
- Fix get_resource/transition_answer: scope feature lookup to its own alternative
- Add self-service transitions, authorized by item possession not group membership
- Event-sourced applicant/subscriber/project aggregates, generalized resources
- deploy.yml: write GITEA_API_TOKEN for the new GiteaStarred/OrgRepos resource sources
- Cargo.toml: disambiguate bin-target for cargo-leptos
- Add manually-triggered backfill workflow, no terminal/sudo needed
- Trigger redeploy to pick up PORTAL_GITEA_API_TOKEN secret
- Render generic resource lists as cards, not raw JSON dump
- Fix recursion-limit build failure in the new item-card renderer
- Resource-backed multi/single-select requirement
- Add Organization aggregate (client-as-status), wired but inert
- Fix favicon (real icon, not an unrelated orange circle) + stack encouragements with the submit button
- Fix bucket-404 on empty resources, redesign review actions as select-then-confirm, CSS polish
- Inline encouragements with the submit button, vertically centered
- Use the real institutional logo for the header wordmark, not plain text
- Use the actual UHHM-letters wordmark, not the institutional mark
- Responsive base font size via svmin, not fixed 17px
- Add plain-unit fallbacks for svmin/svh in case of unsupported engines
- Size the YES canvas from its container, not window.innerHeight
- Debounce the YES canvas resize handler and skip no-op resizes
- Revert canvas sizing to window.innerWidth/innerHeight, gate resize on width change
- Stop blocking native scroll on the YES canvas’s touch handlers
- Quicksand: font-display optional, not swap, to stop the text-jump on scroll
- Use lvh/lvmin, not svh/svmin - svh was the wrong end of the viewport
- Update style/main.css
- Update style/main.css
- YES canvas: size off its own container rect, not window.innerHeight
- yes.js: freeze .hero-yes’s height via inline style, don’t trust svh alone
- add responsive container width
- deploy.yml: build and publish question_lint alongside the app binary
- Make aggregate state graphs content-driven, not compiled Rust
- One shared, content-labeled Confirm button per alternative instead of one per row
- get_resource/get_requirement_options: #[server(default)] on params
- Add optional Alternative.image and Feature.color/icon for richer layouts
- Drop the feature list’s left-padding
- Drop question-report entirely, obfuscate the mailto link instead
- Transition.from: state graphs deeper than one decision
- Alternative.images: array of urls, rendered as a Swiper card deck
- Reseed lost event history from the KV projection on transition
- Lighten the comment load
- Validate action targets; format timestamps client-side; clippy cleanup
- Question nav + gateway alternatives
- Responsible note under the title; followup pages out of the nav until a chain exists
- README: what the engine provides
- Feature icons: masked span painted by currentColor, not
- Responsible note: one line, same hue and size as the hero description
- Responsible note as
<small>: meta information, dimmer than the description - Responsible note back to the footer, above the question nav
- Bound inputs: a field that loads its value from a sibling-parameterized resource
- add some more width to our alternatives
- Accent to a dusty press-cyan, a muted echo of the canvas’s cyan ink
- Editor type in rem: prosekit’s px typography ignored the responsive root
- Ban px from stylesheets: every length rem/em off the responsive root
- No translucent input chrome: solid ink-dim placeholders and embed meta
- Editor type scales for real: drop prosekit typography.css, fix selectors
- Stable server fn endpoints: open tabs survive deploys
- Drop stray local tool temp file, ignore .claude/
- Noise-driven YES, sticky hero with frosted cards, full light theme
- increase translucency of laternative cards
- Showcase jq test tracks Gitea repo shape and website-first links
- Gesture input type, redoal-relay client, gitea_releases, content-driven branding
- Echo thumbnails fade in via timeout, not rAF
- Trigger deploy: redoal OAuth2 credentials now configured
- Deploy becomes publish: portal ships as a versioned release artifact
- Semver releases cut with cargo-release; publish on v* tags only
- Docs: release/rollout flow after the instance-ownership refactor
- README: frame portal as a generic multi-site question engine
- Design doc: filesystem routes, sections, dynamic segments
- Filesystem routes, sections, dynamic segments; instant YES hero
What each site runs
Read from the hosts on 2026-09-28; a rollout is a pin bump in the
site’s content repo (PORTAL_RELEASE in its deploy.yml) - on both
hosts now, since kasse’s runner deploys its own instances.
| Site | Host | Instance | Version |
|---|---|---|---|
| uhhm.no | ergo | app@uhhm-portal | v0.5.2 |
| redoal.com | ergo | app@redoal-portal | v0.5.2 |
| westra.klingenbergbygg.no | kasse | app@westra-portal | v0.5.2 |
| portal.klingenbergbygg.no | kasse | app@klingenberg-portal | v0.5.2 |
| vel.klingenbergbygg.no | kasse | tomtervel-portal-1 (podman, tomtervel/infrastructure) | v0.6.0, memberships |