Skip to content

FlowWink v4.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 00:09
· 152 commits to main since this release
0a83202

What's Changed

Added

  • A block can be set per screen width. Every block takes responsive
    on its envelope: hide it on phones, tablets or desktops, align its text, and
    — on the eleven grid blocks (features, team, testimonials, pricing, gallery,
    products …) — choose the number of columns at each width. In the page
    editor it is the "Per screen width" button on a block; an agent sets it with
    manage_page or manage_page_blocks (describe_blocks returns the rule).
    A single-block add or update can now also set the section surface and the
    anchor, which only a whole-page write could before.

  • An employee's own pages follow the site's language. Leave, the time
    clock, expenses, payslips, skills, goals and reviews, the employment
    contract and a manager's team were English built into the code, and showed
    stored values as they are ("employee_review", "on_leave", "sent"). They are
    visitor texts with the platform's Swedish, and a stored value is a word
    (src/lib/staff-words.ts). The payslip itself, the time clock's durations
    ("8 h 30 min") and the dates of an employment contract follow too.

  • More of what a visitor meets follows the site's language. Order
    tracking, the page where a subscriber views, exports or deletes their
    newsletter data, the newsletter confirmation, signing a document from a
    link, the cart sidebar and the stock status ("In stock", "Notify me") were
    English built into the code. They are visitor texts with the platform's
    Swedish.

  • The customer's own pages follow the site's language. Signing in,
    activating an invited account, orders, addresses, the wishlist, the profile,
    support requests, services and the assistant's introduction were English
    built into the code. They are visitor texts now, with the platform's
    Swedish. A ticket's status, priority and category, a service's state and a
    price's "/ month" are words in the customer's language instead of the stored
    value (src/lib/customer-words.ts).

  • A Swedish site is Swedish from the first day. What a visitor reads on
    the platform's own pages (the shop, the checkout, the customer portal, the
    booking, quote, agreement and invoice pages, the invoice PDF, the ticket and
    booking mails) was English until someone had the instance translated — and
    whatever was added later stayed English. The platform now ships its own
    Swedish for all 611 visitor texts, used wherever the reader's language is
    Swedish and the instance has no wording of its own. An instance's own
    wording still wins.
    The customer portal's menu, title and sign-out, and three mails that were
    English for everyone — the receipt of an accepted quote, the receipt of a
    signed agreement and the invitation to the portal — are visitor texts in
    the site's language now.

  • A quote or an invoice for a customer who is not a contact yet. New Quote
    and New Invoice offered a list of existing contacts and nothing else: to
    invoice someone new, a person had to leave, create the contact and start
    over. Both dialogs take a new customer's name and e-mail in place; the
    contact is created with the draft, and an address that already has a contact
    uses that contact.

  • The core customer mails exist in Swedish. On an instance whose site
    language is Swedish, the invoice, the quote, the agreement, their reminders,
    the booking confirmation and the order confirmation existed in English only,
    so a Swedish customer was mailed "Please find your invoice attached". Swedish
    versions are seeded where an instance has none of its own.

  • The cart, the checkout and the page after a purchase speak the site's
    language.
    Their texts were English built into the code; they are visitor
    texts now (50 keys under checkout.* and cart.*), translated per instance
    like the rest of the storefront.

  • The business hears when a customer cancels a booking. A customer who
    moved their booking from the link told the admins; one who cancelled told
    nobody. The admins are now mailed who, when and what the customer wrote.

  • A purchase with Stripe off is a whole purchase. Found by buying in the
    shop in a browser as a visitor. The page after the purchase said "Awaiting
    payment…" for a paid order, for every buyer without an account (also after a
    Stripe payment): it read the orders table, which a visitor may not. It reads
    the buyer's own order by its key now. And a test-mode order (Stripe switched
    off) was born paid, which raised no "order paid": no receipt, no order
    confirmation, no stock taken. It is created pending and then paid, like a
    Stripe order, and the buyer gets both mails. The nightly customer path buys
    in the shop.

  • The customer changes their own booking. The confirmation mail said
    "contact us" and that was all: no link, no page, and no way to move a booking
    at all. The mail now carries a link to the booking's own page
    (/my-booking/<key>), where the customer picks another free time or cancels —
    no account. A move meets every rule a new booking does (opening hours, blocked
    days, capacity, the person's calendar), sends a new confirmation and tells the
    admins; a cancellation frees the time and offers the waiting list, as before.
    The nightly customer path does it in a browser.

  • The logs are thinned every night, and the database says how full it is.
    Nothing thinned the agent log: on one instance 92 % of its rows were scheduled
    sweeps answering "nothing to do", kept since August. A change an agent or a
    person made is kept whole; a lookup's answer is shortened after 30 days and
    the row removed after 90, as are refused and failed calls and scheduled
    ticks. Rows an objective counts, rows tied to an approval and rows of unknown
    kind are never touched. Observability → Database size shows the size
    against the quota, the largest tables and what the last night removed, and
    carries the dial (days, quota, on/off) per instance.

  • Invoices out to another bookkeeping system. When the books are kept in
    Fortnox, Visma or elsewhere, the issued invoices can now be handed over:
    Invoices → Export basis downloads a period as a CSV file (one row per
    invoice line, with the buyer's organisation number) and marks the invoices as
    handed over, so the next export offers only what is new. An agent or a bridge
    does the same over the gateway (list_invoice_basis,
    mark_invoice_basis_exported) and writes the other system's invoice number
    back with confirm_invoice_export — the same invoice is never imported twice.

  • Agent work on the dashboard. A panel for an owner, not a developer: how
    much the agents did today and which ones, what is waiting for a person
    (operations an agent staged, questions an agent asked on a task that nobody
    has answered), and the calls that were refused or failed in the last seven
    days with the reason in words. Scheduled jobs and a person's own clicks are
    not counted, and a module that is off stays out of it.

  • Agent work, by business area. The dashboard panel now lists the week's
    agent work per area (Sales, Invoicing, Bookings …) with a link to that
    area's page: how many calls changed something, how many only looked, which
    agents did it and the skills they used most. A connected agent is shown by
    its own name (Hermes, Claude …) when Federation is on.

  • Agent work shows what the checks flag. The dashboard panel lists the
    findings an agent starts its day from — operations (sales, receivables,
    contracts, support, field service, automations, chat) and, when Accounting
    is on, the books — highest severity first, each with a link to its area and
    the skill that fixes it. A finding with no fix is marked as yours to decide.
    Findings of the same kind (one overdue filing per month) fold into one row.

  • Agent work for every role. The panel is no longer the admin's alone: a
    salesperson sees what the agents did in the sales chain, a support lead what
    was done to the tickets. Every agent call is now stamped with the module
    that owns its skill, and staff read the calls of the modules their role is
    granted under Users → Role Permissions; flagged findings are scoped the same
    way. Calls made before this update stay visible to admins only.

  • Agent work opens the record. A new "Latest changes" list in the panel
    shows the last calls that changed something — skill, action, which agent —
    and links straight to the lead, deal, company, contract, ticket, quote,
    invoice, order, project, page, article or candidate it touched.

  • The books can be kept somewhere else. Accounting → Settings → Ledger:
    with "Kept in another system" (Fortnox, Visma …) FlowWink no longer books
    invoices, paid orders or vendor invoices by itself, and the books check stays
    quiet instead of listing every invoice as unbooked. Vouchers already booked
    are left alone; switching back lets the catch-up book what was skipped.

  • A paid order gets its receipt by itself. The receipt is the order's paid
    invoice, sent by the new automation Receipt on paid order in the language the
    customer ordered in (order_receipt template, en + sv). It can be switched off
    per instance, and it needs the Invoicing module. The public invoice page is
    translatable and calls a paid invoice a receipt. The PDF is still in English.

  • npm run qa:quiet — a fresh stack must be quiet: the heartbeat
    answers skipped, the briefing answers quiet and writes its row without
    a report version, a chat message or a mail. The nightly fresh install runs
    it before anything is seeded, the one place a virgin instance exists. Its
    first run found two things that alarmed a newborn: every daily job was
    "unhealthy" because its hour had not come (enrichCronHealth now gives
    "never ran" a day's grace by pg_cron's own history, the pulse profile), and
    the language proof of 20261026080000 left a "Proof" lead in every
    instance's CRM — the migration cleans it now, and
    20261107120001_bevisordern-lamnar-ingen-lead removes the one already there.

Reports — what an agent worked out, as a page

  • Scheduled reports: the daily briefing, the weekly digest and the month
    close are published as versioned pages (daily-briefing, weekly-digest,
    month-close-<y>-<m>); the briefing's chat message and mail link to them.
  • "Mine" on Reports — the shared ownership lens over the first requester;
    list_reports mine: true over MCP. Reports stay shared within the role
    matrix; the module is the wall, the lens a filter.
  • The Reports module: publish_report turns an agent's result into a versioned
    page under /admin/reports/<slug> — markdown with KPI tiles, bar / stacked /
    line / pie charts, notes, details, or a sandboxed HTML page. Every publish is
    a version, identical content adds none, expected_version refuses a stale
    write. The platform stamps who published (FlowPilot, Flowwork, the MCP key's
    agent) and who asked; archive, restore and rename are a person's.
  • Live blocks: figures fetched when the report is opened, as the reader, reads
    only — a report of live blocks is a dashboard. "The state of things" /
    "Läget just nu" is the standard one, published by FlowPilot in the site's
    language and kept present by a daily automation.
  • A report about a company, a deal or a project is shown on that page; the
    accounting workspace lists the reports written for the books.

Workspaces

  • Accounting, HR, Sales and Support get their own left menu; the FlowWink
    sidebar folds to a rail and the person's gesture is remembered — no setting.
    Employees reach their own pages (expenses, timesheets, leave, payslips) under
    My account.

Users and the platform

  • The agent's day: Activity per connected agent on the Agents page (calls,
    outcomes, skills, reports, steps — an admin's or the owner's read) and
    agent_day_report over MCP. The activity log carries the agent's key id as
    a column now, set on every logged call and backfilled.
  • The MCP door is judged on its body: the admin's address probe, the
    Connect-agent wizard's Test the connection and the nightly MCP regression
    (MCP_PROBE_SITES, every site's /mcp) all make a real initialize and
    read the decoded answer — a header probe had passed a /mcp that answered
    plain JSON labelled gzip for a week.
  • Last sign-in and last activity on the Users table, and in users_list.
  • Module automations follow the edge deploy: the first admin visit inserts the
    ones a module is missing, by name, once — a retuned schedule or a deleted
    automation is left alone.

Changed

  • A sweep asks whether there is work before anything wakes. Four
    automations fired every fifteen minutes on every instance (qualify new leads,
    score visitor intent, webinar reminders, the social post scheduler) and mostly
    found nothing — about 380 function invocations a day per instance. Each now
    declares a probe the database answers; with no work, neither the dispatcher
    nor the skill is woken, and the automation still reads as alive. The moment a
    lead, a scheduled post or a registration appears, the next minute's pulse runs
    it. An automation whose module is off is skipped by the dispatcher too.

  • Two more sweeps ask first. The SLA sweep (every 15 minutes) runs only when
    an SLA policy is enabled, and the hourly consultant reindex only when a
    profile is waiting to be embedded.

  • agent-execute's pipeline is importable. The 20 500-line executor moved
    from agent-execute/index.ts to _shared/execute/core.ts as
    handleAgentExecute(req), byte-identical but for the import prefixes and the
    wrapper; index.ts is the HTTP door, serve(handleAgentExecute). Nothing
    behaves differently. It is the first step toward running a skill in-process
    from the ReAct loop, the gateway and the dispatchers instead of over an HTTP
    hop inside the same project (one invocation per tool call, not two; one auth
    gate, not two). The 169 guards, scripts and docs that read the pipeline's
    source read the new path; the edge type-check baseline carries the file under
    its new name.

  • The executor runs in-process for FlowPilot and the gateway. The step
    after the move: the core answers executeSkillRequest(body, auth) →
    { status, body } instead of handleAgentExecute(req) → Response, and
    the HTTP door keeps only what the wire needs (the auth header, CORS, the
    async: true handoff). The request contract is _shared/execute/types.ts
    (no imports). The MCP
    gateway's executeSkill calls it directly, and the ReAct loop runs it
    through ReasonConfig.runSkill, which the heartbeat, workspace-chat and
    agent-operate pass, instead of fetch(.../functions/v1/agent-execute):
    one fewer edge invocation per tool call (a heartbeat with ten tool calls
    was eleven invocations on a 500K/month budget), no second auth gate, the
    JSON once. Measured on a local stack (browse_blog, n=40): through the
    gateway p50 68 ms before, 59 ms after — the hop's ~10 ms gone; direct
    unchanged at ~20 ms; what remains above direct is the gateway's own
    per-call work (key lookup, catalog). Behaviour is a move,
    not a change — the request still takes one JSON round trip at the door, so
    a handler never mutates the caller's own arguments. The dispatchers that
    rely on async: true and the other HTTP callers are unchanged. The 165
    guards that read the executor as text read the core.

  • internal: handlers are a registry, not a chain. The executor's 77
    else if (handler === 'internal:…') arms (_shared/execute/core.ts) are one typed INTERNAL_HANDLERS
    map (InternalCtx names what a handler may read of the request) and one
    dispatch line; the four long arms (read_sie_file, comment_on_task,
    set_performance_mode, set_skill_trust) are named functions. A guard
    now discovers every internal: handler in the seeds and requires a registry
    entry (or a response adapter, or the reconciliation prefix) — the 19 guards
    that each pinned one arm by name read the registry key instead.

  • Developer has three doors, Skills one page. /admin/developer is
    MCP Keys · Content API · Webhooks, each introduced by who it is for; the
    Content API explorer runs as the signed-in person (so "requires auth"
    endpoints answer) and its docs link exists. Skill control (enable, MCP
    exposure, definition) moved from Developer to /admin/skills → Manage
    beside Browse, with a sidebar entry under System beside Modules; ?tab=mcp-skills
    redirects. Removed: the mock "Dev Tools" tab, the n8n template brochure,
    the explorer's third copy of the MCP client config (the wizard has it).

Fixed

  • The cart block said "Totalt" on every site. One Swedish word was built
    into the cart block, so an English site showed Swedish there. It is a
    visitor text now, like the rest — as are the booking block's default texts
    ("Request appointment", "Thank you! We will contact you…") and the survey
    page a customer answers from a link.

  • A broken signing link no longer shows the database's error. The page
    for signing a document printed the raw error to the visitor ("invalid input
    syntax for type uuid"). It says the link is no longer valid; the error goes
    to the log.

  • The lines the code adds to a booking confirmation follow the mail's
    language.
    A Swedish confirmation for a video meeting carried "Join the
    meeting:" in English, and the note the customer wrote was put into the mail
    unescaped in an older template shape. Both are visitor texts now.

  • A reset no longer takes the mail templates with it. The nightly rebuild
    of the sandbox emptied the mail templates and nothing put them back, so every
    mail it sent was the built-in English fallback; "reset site data" on a real
    instance had the same hole. A rebuilt sandbox gets the platform's templates
    back, a site reset keeps the business's own, and an instance that already
    lost them has them restored.

  • Every invoice series runs in order. Invoices made from an agreement, a
    subscription period, a subscription change and a service order were numbered
    with five random digits (CTR-20261119-48213): no running series, and two
    the same day could draw the same number and fail the billing run. Each has
    its own series now, CTR-2026-00001, SUB-…, SUB-ADJ-…, SO-…, one
    counter per year. Invoices already numbered keep their number.

  • An invoice no longer tells the customer where it was generated from. The
    customer's invoice page and PDF read "Notes — Generated from contract
    " on invoices made from an agreement, a subscription period, a
    till receipt or timesheets. That line now goes to an internal field shown
    only in the admin; what a customer can use (a PO number, the period billed)
    stays. Drafts are cleaned; an invoice already sent is left as it was sent.
    The timesheet invoice also takes its number from the one invoice series.

  • The Daily Briefing writes when the morning has news. A small site was
    mailed every morning: "Traffic down 60% vs last week — consider new content"
    was an action item on 19 page views against 47, and cost ten health points;
    and without it the mail went anyway, because one page view in 24 hours or a
    blog post from earlier in the week counted as something to tell. Traffic now
    has a floor — no trend is stated against a week under 100 page views, in the
    mail, the chat message, the dashboard and the health score — and a figure is
    a reason to write only when it is news: an action item, a finding, a lead, a
    post published since the last briefing. Sites with real traffic are told
    their day as before. The briefing's row records why it was sent
    (metrics.reasons).

  • The customer portal starts with what the customer has. It opened on the
    order list, so a customer with a service agreement and no shop purchases saw
    "No orders yet — browse products" and a menu of Orders, Addresses and
    Wishlist. The portal now opens on an overview — what is waiting for them (an
    invoice to pay, a quote to answer, an agreement to sign) and what they have
    — and the menu puts services, invoices and agreements before the shop.

  • Customers can see their invoices and agreements in the portal. Neither
    had a page: invoices could not be read by a customer at all, and "Contracts"
    showed an employee's own employment contract. Both open the same page the
    e-mail linked to. An order placed as a guest now shows up once the same
    person registers and confirms their e-mail address.

  • One set of figures for the platform. The agent's own instructions said
    "500+ skills", the template blog posts and knowledge base "30+", one page of
    the FlowWink template "60+ Modules" beside "68 modules", and the docs "70".
    Everything now says 600+ skills and 68 modules, and the check that keeps the
    advertised figures true reads the whole codebase instead of three folders.

  • The heartbeat delivers again instead of scoring housekeeping. On liteit
    the weekly blog post stopped: every morning the heartbeat opened with
    evaluate_outcomes, scored seven old rows and ran out of its token budget
    (125–131k) before it wrote anything. The rows were instance-health and
    integrity checks written under the flowpilot name — 105 of them unscored —
    not decisions of the loop. evaluate_outcomes now hands the model only
    actions that carry a run's trace, scores reads neutral itself (a read
    changes nothing to judge), and returns five at a time instead of fifteen.

  • A customer is told about their support case. A case opened for a customer
    sent them nothing, and the staff's reply was only visible in the customer
    portal — where someone who wrote in through a form, or was entered by hand,
    has no account. The customer is now e-mailed a receipt with the case number
    when a case is opened, and each reply staff write. Internal notes are never
    mailed; a case that came in by e-mail gets no automatic receipt. Switch it
    off with the Tickets setting customerEmailEnabled: false.

  • The case reply box says who will read it. The box in the admin was
    labelled "Add a comment…" and saved everything as a reply the customer could
    see. It now has two modes, "Reply to customer" and "Internal note", and a
    line that says where the text goes.

  • A contact you create is the page you land on. The pipeline is ordered by
    score, so a contact created by hand (score 0) became the last card of its
    column and could not be found on a long list. Creating a contact now opens
    it, and "already exists" offers a link to the existing one.

  • An invoice created by hand has a due date and the customer's name. An
    invoice made with New Invoice in the admin was born with no due date — so it
    was never overdue and no reminder was ever sent — and without the customer's
    name and e-mail on the invoice itself, so the customer's invoice page and PDF
    did not name them. Every invoice now gets its due date from the payment terms
    (30 days when none are stated) and its customer from the lead, whoever
    creates it. A draft that already lacks a due date gets one when it is sent.

  • Every "no" the gateway says is answered with a code and written down. An
    agent that ran a skill by a name that does not exist got one sentence back
    and the call left no trace; so did a tool the connection does not carry, a
    call outside the key's scope or the owner's reach, and a write on a read-only
    key. Each is now one row in the agent log with a stable code, and the answer
    carries code, retryable and hint. A name that is nearly right is
    answered with the right one (did_you_mean); a skill whose module is
    switched off says so; a skill called as a tool on a dispatch connection is
    pointed at execute_skill. An unknown name no longer reads as a failing
    skill: the three a day it took put "Skill failing: read_skill" on the fleet's
    board. A connected agent's searches now show under its Activity (the row
    lacked the key), and the gateway's lookups are thinned with the other logs.
    The REST answer to an unknown tool no longer lists every tool name.

  • A generic list is sized for the agent that reads it. On a customer
    instance an agent paged every project task 31 times to find one: a page of 50
    was 58–71 KB of briefs and checklists, and a page of documents carried every
    file's extracted text. Every db: skill's list (91 skills) now cuts a long
    text to a preview and leaves a long structure out, naming both per row in
    _cut (get returns a row whole, full: true lists rows whole, fields
    picks the columns), and answers total, offset, limit and next_offset.
    updated_since / created_since list what changed. A cut preview written
    back as an update is refused, so a brief is never shortened by accident. An
    offset past the last row is an empty page.

  • The start of an id finds the row it belongs to. A list filter on a uuid
    column takes the first 8+ characters (project_id: "f3b6fce9" used to answer
    Postgres' "invalid input syntax for type uuid") and names the whole id under
    id_prefix. get by the start of an id, or by one padded with zeros, reads
    the one row that starts so; update and delete never act on a guess and
    answer with the id to re-send — the task rule, for every generic table.

  • A search is found under the name the caller reaches for. Four skill
    schemas declared search_query while the engine read search alone: the
    term was dropped as "not a column" and the whole list came back. query,
    search_query, q, search_term and keyword are now the search. A
    document is found by title, file name, description and extracted text (it was
    file name only); a task by title and brief; a table that declares nothing by
    what its rows are called. manage_project_task advertises get.

  • A person can write a whole quote in the admin. The quote editor had no
    field for the title, the introduction or the terms the customer's page
    shows — only an agent could set them — and the line description was squeezed
    to a box too narrow to read. The editor is wider, the description has its own
    row, and title, introduction and terms can be written; "Notes" is labelled
    as internal, since the customer never sees it.

  • A quote or invoice made by hand continues the same number series as one an
    agent made.
    The admin and the skills each kept their own count: a quote
    created in the admin could get a number already in use (a second QUO-0001),
    and an invoice was numbered INV-0007 from the admin but INV-2026-00007 from
    an agent. There is one counter now, and it never answers a number that is
    already taken. Invoices created in the admin follow the yearly series
    (INV-2026-00045); numbers already issued are unchanged.

  • An invoice an agent sends reaches the customer. manage_invoice send
    set the status to sent and e-mailed nobody; only the button in the admin
    mailed the invoice. The skill now mails it (PDF attached, link to the
    invoice page) and answers email_sent or email_error.

  • The invoice says who it is from and how to pay. The invoice page and the
    PDF carried no seller name, organisation number or VAT number, and one way
    to pay: a card button that failed on every instance without Stripe. They now
    print the seller from Business Identity and the bankgiro / IBAN from
    Invoices → E-invoice, with the invoice number as reference; the card button
    shows only where a card can be taken.

  • An invoice PDF no longer fails on one character. A line or a note with a
    character outside the PDF font (an arrow, an emoji) failed the whole PDF and
    the invoice mail went out without its attachment. The PDF also printed
    "Company" as the seller, an empty quantity on contract and subscription
    invoices, and the due date under the table header.

  • The customer sees what a quote is, whose it is and on what terms. The
    page behind the link in the quote mail showed a number, the lines and a
    total — not the sender, the recipient, the title, the introduction or the
    terms the seller had written. It shows them now.

  • The signing page names both parties. It read "Between you and" followed
    by the reader's own name; it now reads the seller and the counterparty.

  • A booking is confirmed to the customer whoever made it. The confirmation
    mail was sent by the page that booked; a booking an agent made over the
    gateway gave the customer nothing, and no lead. An automation now confirms
    every new booking, once (a booking the page already confirmed is not mailed
    again; a cancelled or past one is not confirmed), and
    send_booking_confirmation sends or re-sends it on request.

  • Sending a contract for signature e-mails the counterparty. The skill
    issued the signing link and returned it; only the admin's button mailed it.
    It now mails the counterparty and says whether it did (email_sent,
    email_error).

  • The log-thinning migration applies on an instance with history. Its own
    proof assumed a nearly empty log: on instances with ten to twenty thousand
    old rows the proof's rows were not reached in one bounded batch, the proof
    failed, and the migration — and every one after it — stayed unapplied for a
    sync. The proof now runs only where there is no history (the fresh install),
    and no longer does a night's deletes on a live instance to roll them back.

  • The invoice PDF is in the customer's language. Its labels were English
    ("INVOICE", "BILL TO") whatever the customer ordered in. They are now the
    invoice.* visitor texts the invoice page reads, in the order's language,
    else the party's, else the site's, and a paid invoice, the order's receipt,
    is headed RECEIPT with no due date. Ten keys are new (invoice.billTo,
    invoice.unitPrice …): a site that wants them in its language adds them under
    Visitor texts; until then they are English.

  • Self-healing no longer takes a fixed skill away again. An instance lost
    manage_blog_posts for four days: calls failed one night, the fix was
    deployed (which lifted the quarantine), and the next heartbeat quarantined
    the fixed skill on the same old failures. Only fresh evidence counts now: a
    failure from before the skill last changed (a deploy, or a person's
    re-enable) ends the streak, and a streak whose newest failure is over a day
    old is history. "… required for update" is read as the caller's missing
    argument, not a broken skill.

  • check_operations answers again. The "idle, not overdue" rule was
    declared for a text trigger type and called with the table's enum, so every
    call raised "function … does not exist". The night's proof went red on it and
    no instance was synced, so it reached nobody. The rule now answers for the
    enum too, and the skill smoke treats a function SQL cannot find as a bug —
    it had filed this one as a review item and stayed green.

  • A sweep with no work is idle, not overdue. check_operations told www,
    optic and liteit every hour that 2–5 scheduled automations were overdue
    (high). Each was a sweep with a work probe that found nothing to do: it keeps
    its due time on purpose so it runs the minute work appears, and the
    dispatcher notes it idle on every tick. manage_automations list now answers
    idle for it, the admin's automation health no longer calls it stale, and
    check_operations stops counting it — one rule in all three. When the
    dispatcher stops, the note stops and the sweep is overdue again.

  • A rule the database keeps no longer reads as a broken skill. A taken
    booking slot, a full or closed webinar and a vendor bill that is not yet
    approved were answered by the database on purpose, but classified
    HANDLER_ERROR — so three visitors in a row on a taken slot were a
    self-healing streak that would switch the public booking off, and the process
    battery's deliberate refusals were filed on the fleet's board as "Skill
    failing" (51 posts). An rpc: skill's RAISE EXCEPTION (SQLSTATE P0001) or its
    own { success: false, error } is now RULE_REFUSED where no more specific
    code fits; self-healing and the machine room skip it.

  • The fleet list forgets test stacks. The endpoint's list of instances read
    35 where 8 were real: the rest were test installs that pinged once. An
    instance that pinged once and has not been seen for a week is now forgotten,
    nightly; an instance that pings daily stays, wherever it runs.

  • The feedback board no longer fills with the same report. The public
    board on the fleet's endpoint read 62 open bugs; 60 were three titles filed
    four times a day by CI test stacks — every run is a new instance, fails
    skills on purpose and reported it. A report from an instance now joins the
    open post that already says it (the post shows "Reported N times"; a
    person's post is never merged), existing duplicates are merged where nobody
    voted or commented, an instance under a day old files no defect, and test
    stacks send nothing.

  • The Agent work panel counts the whole week. It read the week's agent calls
    as rows and counted them in the browser, and the API answers at most a
    thousand rows: on an instance where the agents made more calls than that in
    seven days, "This week, by area" and the refused and failed tiles were too
    low, silently. The week is now counted in the database
    (agent_work_counts, invoker rights — the reader's own sight decides what is
    counted) and arrives as a few hundred groups whatever the volume.

  • The Agent work panel downloads far less. It used to fetch every call's
    whole answer to show four numbers; it now reads only the fields it draws
    (less than half the data on a test site, more where agents list a lot).

  • A plan step runs only when it carries what its skill needs. A plan
    writes each step's arguments before anything has been read, so a step whose
    arguments come from a read was stored half-empty. On optic, FlowPilot's plan
    for watching Peter's projects ran comment_on_task as {kind: 'question'}
    twice a day and failed with "body is required", while the same heartbeat
    asked the right question in its own turn. advance_plan now checks the
    step's arguments against the skill's declared required list. A step that
    leaves one empty is handed to the reasoning loop (needs_reasoning, step
    handed_off). It is not run, not counted as a failure, and still finishes
    the plan. A skill it cannot read runs as before.

  • A blog post id that names nothing is "not found". manage_blog_posts
    update, publish, unpublish and delete with a post_id no post on the site
    carries answered "Update post failed: Cannot coerce the result to a single
    JSON object". Hermes got that nine times on www while setting covers on
    another site's posts. It is now NOT_FOUND, never retried, and the hint
    says to check which site the agent is connected to. Nothing is written. The
    slug case was already handled (#998).

  • Three morning reviews are reads. support_list_conversations,
    deal_stale_check and lead_pipeline_review only select, but no read rule
    knew them. Each run by a connected agent was logged as "an agent acted on its
    own", and a read-only key or FlowWork refused them. They now join the read
    list. Their writing neighbours (support_assign_conversation, add_lead,
    manage_deal) stay staged.

  • Fewer wasted agent calls. From what agents actually failed on across
    four live sites: the blog skill now accepts the id it hands back itself
    and says plainly when an address matches no post (it used to answer "post_id
    or slug required" to both); a request that is still waiting for approval is
    recorded as a refusal, not a failure, so it no longer counts toward
    switching the skill off; and an unknown approvals action names the real ones.

  • A monthly job is not "never ran" before its month has come. Every
    instance reported purge-stale-prospects (the 1st, 03:15) upstream as "never
    ran" each night: its 1 November run was purged on the 4th, before the
    history began keeping each job's last run (20261106080000), and it would have
    stayed red until 1 December. The cron health judge now gives "never ran" a
    verdict only once the complete run history covers the job's longest gap, an
    upper bound read from the schedule (a month, a week, a day). It can only
    withhold that verdict, and a failed run or a foreign host is red as before.

  • A change is proved before it reaches the fleet. The nightly fork sync
    now installs main from zero and runs every process first, and syncs only
    when that is green. Until now the sync ran hours before the proof, so a
    faulty change could be live on every site before anything had tested it.

  • A database or server change is proved before it is merged. A pull
    request that touches migrations, edge functions, skills or templates now
    runs the whole process battery against a site installed from zero. Such
    changes used to run for the first time the night after the merge.

  • You are told when the sites were not updated. The nightly sync waits
    for the proof, so a failed proof deploys nothing — and used to say nothing.
    An issue now opens when a sync did not go through or none has succeeded for
    a day and a half, says which step to look at, and closes itself when a sync
    succeeds.

  • The receiving instance counts its own ping. The feedback endpoint (www)
    records its own daily ping without crossing content-api, and did so with a
    hand-written upsert that never touched ping_count, so the fleet view read 1
    for it however many days it had pinged. It now goes through
    feedback_record_ping, the function every other instance's ping reaches.

  • An invoice dated in a closed month is refused again. Yesterday's change
    for books kept elsewhere let a sent invoice through whenever its booking
    failed, so one dated in a closed month was issued and left unbooked. Only
    the missing accounting grant is let through now; a closed month refuses the
    send and the invoice stays a draft. Found by the night's fresh install.

  • Sending an invoice no longer needs the accounting grant. A salesperson
    without it was refused ("Requires the accounting module") because the booking
    behind the send could not run. The invoice is sent, the booking is caught up.

  • An order is revenue when it is paid. Marking an order delivered wrote
    completed over its payment status — losing paid, and turning an unpaid
    delivered order into revenue — and the weekly briefing counted revenue on
    completed alone, so a paid order not yet delivered was missing. Delivery no
    longer touches the payment status, and the briefing counts what the Orders
    page counts.

  • The daily briefing's schedule is the platform's, not FlowPilot's. The cron
    health filed the briefing job under FlowPilot, so with FlowPilot off a stopped
    briefing was never flagged and never required — while the briefing itself runs
    without FlowPilot. It is judged on every instance now.

  • A receipt is not unbooked work. A paid order is booked when it is paid,
    and its receipt is an invoice born paid. The booking functions already skipped
    it, but check_books reported it as "a customer invoice without a voucher"
    (high), month_close_checklist would have failed the month on it and
    book_unbooked_invoices listed it every run, booking nothing. One rule,
    invoice_booked_with_its_order, now answers for all three.

  • Consultant profiles are re-embedded every hour again. The consultants
    module schedules its reindex at 7 * * * * (minute 7 of every hour), a shape
    the dispatcher's cron parser had no branch for, so it switched the automation
    off on its first tick — on every instance with Consultants on, since
    2026-09-04. The parser runs M * * * * now, a guard checks every cron
    expression a module seeds, and a migration switches back on what the old
    parser switched off (only where the skill it runs is still enabled).

  • Three inbound endpoints verify their caller; River's media is not
    listable by anyone; what stays open is written down.
    signal-ingest
    accepted the publishable key (it ships in the site's JavaScript), so anyone
    could create blog drafts, memories and AI work — now the service key, a
    member of staff or the instance's own signal_ingest_token. voice-recording
    played a voicemail for anyone holding the call id — staff only, the panel
    fetches it with the session. voice-ingest takes the provider's URL secret
    on call webhooks, and an opt-in VOICE_STREAM_SECRET on the AI stream.
    river-media let anon LIST every file the team posted — images still open
    by URL, listing is staff's. npm run qa:open-access (nightly) lists every
    table policy, storage policy and public bucket open to an anonymous visitor
    from the database and requires a written reason for each. Known-ungated 12 → 9.

  • Every process is proven to the screen a person looks at. The battery
    proved the data; nobody opened /admin/invoices to see the receipt was there,
    and on an instance nobody runs the processes by hand. Scenarios now name
    where their outcome shows (s.shows), and npm run qa:process-views
    (nightly, after the battery) opens each view as an admin in a real browser
    and requires the run's text — 17 views across 16 processes. Its first run
    found three real gaps, fixed here: the quote list showed "—" for every quote
    made without a lead (it read only the lead, never the quote's own
    customer_name); the returns list never named the customer; Webinars and
    Recruitment could not be linked to a tab (now useTabParam).

  • Gmail can be connected only by an admin of the site. The OAuth state
    was the constant gmail_connect: anyone could consent with their own Google
    account and the instance stored it as its inbox; status, disconnect and
    update_settings answered anyone too. The POST actions need an admin (or the
    platform), and the consent screen opens only with a one-time state an admin
    is handed (begin), accepted once within ten minutes.

  • migrate-page verifies its caller (requireServiceOrStaff): it fetches any
    public URL and spends AI tokens on it. The wizard (staff) and
    edge:migrate-page (service key) are its callers.

  • The public-functions guard knows a resolver RPC handed the caller's token
    (resolve_document_share({ _token })) as token possession; document-share
    was token-gated all along. Known-ungated ceiling 16 → 12.

  • UB becomes IB for agents too. The agent report read stored opening balances
    per year, so a later year opened at zero and an agent booked the previous closing
    balance as a voucher. Every reader now derives it, and only the bridge of the
    first fiscal year can be stored (IB_IS_DERIVED).

  • An order is invoiced at what the customer paid. Gross lines were read as net
    and VAT added again, and a paid order's invoice asked to be paid. It is now split
    per rate and born paid. A cancelled invoice is no longer reused for its order, so
    the order can be invoiced again.

  • An issued invoice cannot be deleted in the admin view. Only a draft can: the
    link in the customer's mail stopped answering when the invoice went.

  • Internal order markers no longer reach the customer in a new invoice's notes.

  • An alarm means something is wrong now. The bell was amber every day on every
    instance, because any agent run on notify trust painted it; it is amber now for
    a person being needed or something still broken, and a healed integration stops
    warning. A read is no longer "an agent acted on its own". An automation is
    stale against its own schedule, not after 48 hours (a monthly job was dead 29
    days of 30), and warns while its own newest run failed, not for a week after.

  • The feedback board and the daily ping write again. #922 took anon's write
    policies and its EXECUTE on feedback_record_ping on the belief that content-api
    writes as the service role; it wrote with the anon client under the name admin,
    so every instance's ping answered 500 from 2026-11-08. It now is the service
    client, and a guard scans every edge function for an anon client calling an RPC
    anon has lost.

  • Panels of a module that is off leave the pages they are mounted on.
    FlowBox shows no chat, ticket, form or call item and no Calls tab for a
    module that is off; Flowwork's document panel saves to the wiki only with
    Wiki on; deal and company pages carry reports only with Reports on; the
    Receiving tab in Inventory needs Purchasing; a lead's process flow shows
    only the steps (deal, quote, contract, invoice) whose module is on, and its
    open quotes need Quotes. foreign-module-panels-ask now reads the legacy
    dependency edges and ignores shared reference tables (people, currencies,
    the activity timeline): 24 findings → 8.

  • A module that is off is quiet on Observability, the bell, the dashboard
    and analytics.
    Automations, failed skill runs, MCP failures, staged writes,
    notify runs and pg_cron jobs of a module the operator switched off kept
    raising warnings and counts. They are now judged by the module that owns
    them (src/lib/module-visibility.ts, the server's skillModuleOn); cron
    jobs carry their module (CRON_JOB_MODULE) and are never red, never
    required and never "drifted" while it is off. Analytics no longer offers
    "Enable " prompts, Pipeline/Marketing tabs or goal kinds for modules
    that are off. New guards: off-modules-stay-quiet, foreign-module-panels-ask.

  • Meeting polls says when it is off, and has a place in the sidebar. The
    Meeting polls tab under Bookings rendered its full desk with the module off
    (the default) — /poll/<token> answered 404 and every poll skill was
    refused, so the feature looked present and failed, or was never found. The
    tab now says it is switched off, with a door to Modules for an admin; the
    sidebar carries Meeting polls (/admin/bookings/polls) under its own
    module, so it appears when the module is on and the route gate agrees with
    it. A role that may use Bookings may use its meeting polls
    (20261108200000, insert-if-absent).

  • One service client per isolate. getServiceClient() in
    _shared/supabase-clients.ts memoises the service-role client instead of
    running createClient on each of its 118 call sites (some inside per-row
    loops; PR #926 counted 648 constructions in one gateway owner filter). Safe
    because no edge code mutates a service client's auth state; getUserClient
    stays per-request since it carries the caller's JWT. Measured: 1000
    constructions ≈ 26 ms (bun, supabase-js 2.119) — small per call, paid on
    every hot path.

  • A recurring price says its own period — on the site and at checkout
    (#941).
    products.billing_interval (month | year) was set in admin and
    read by quotes, but every visitor surface printed "/mo" or "/month" for every
    recurring product, and Stripe checkout created every recurring price with
    interval month. A service contract at 14 900 kr per year read
    "14 900 kr/mo" on the site and, bought online, was charged 14 900 kr every
    month. Now one rule (src/lib/price-period.ts, usePricePeriodText) serves
    the shop page, the products block, the featured product, the product page and
    its related products, the pricing page and two admin previews, with /year and /yr
    visitor texts beside /month and /mo; checkout bills on the product's
    period (stripeInterval) and replaces a stored Stripe price whose interval
    does not match instead of reusing it (subscriptions already on the old price
    keep it). Guard price-period-from-the-product scans every file for the
    shape type === 'recurring' beside a hard-coded month.

  • The gateway pays for its own work once. /rest/execute measured 220 ms
    where native tools/call measured 32 ms for the same skill on a local stack,
    and the database explained ten of those milliseconds: every REST call and
    every dispatch tool (search_skills, read_skill, execute_skill) re-read
    the whole exposed register (650 rows with schemas) to find one name, and the
    owner filter built a Supabase client per skill — 648 createClient calls —
    before asking whether the owner is an admin. The exposed list is remembered a
    minute per (groups, peer ceiling) — the same minute the native handler cache
    gives, and the run is still judged by agent-execute's own gate on every call;
    one service client per isolate; the admin verdict first and once per filter;
    a non-admin owner's module verdicts remembered a minute (gateway-pays-once
    guard).

  • The executor pays for its own statements once. Measured on a local
    stack with pg_stat_statements: of a skill call's 5–8 SQL statements, 4–6 were
    agent-execute's own — the lookup of the whole skill row (instructions
    included), the modules row, FlowPilot's trust RPC, an objectives select on
    every call though 9 in 10 skills have no objective keywords, and the journal
    insert; the handler was the minority. Now the lookup names its eight
    columns, the modules row is read once per call and started beside the lookup,
    the trust RPC overlaps the module gate, and objective tracking asks the map
    before the database. One statement fewer on most calls, two serial round
    trips overlapped; locally −17 % p50 on an RPC read (executor-round-trips
    guard).

  • Open doors without visitors (security pass). With the advisor's own
    questions against a local database: the public feedback board's anon write
    policies (the board writes through content-api; the DELETE policy's true
    let anyone delete every vote), a SECURITY DEFINER view of RMAs readable by
    anon, three definer views that handed staff data to any signed-in portal
    customer, and a definer RPC content-api calls as the service role but anon
    could call too. Migration 20261107130000 drops the policies, makes the
    views read as their caller, revokes anon, and gives the ping RPC to the
    service role. Everything else the lints raised is the architecture (public
    intake inserts, token-based public reads, service-role-only tables).

  • The read surface knows nine more of its reads. The local skill sweep
    (648 exposed skills called read-only through agent-execute; every read
    passed, every write was refused as designed) found reads whose names carry
    no read prefix — read_partner, validate_address, estimate_delivery_date,
    the export_* reports, summarize_candidate_pipeline, read_sie_file,
    verify_document_integrity — so FlowWork and a read-only key refused them.
    Each handler verified (selects only, writes nothing); they are READ_EXTRAS
    now. fetch_ecb_rates (writes rates) and inspect_rendered_page (drives a
    browser) stay staged.

  • A module states a need by capability, not by product. Site migration
    required Firecrawl by name and warned on a site that read the web fine
    through Jina or the built-in reader; the newsletter required Resend on a
    site that mails through SMTP. requiredCapabilities (email, web:read,
    web:search) is satisfied by any provider of it (CAPABILITY_PROVIDERS,
    the built-in reader always counts), the module card says "Needs an email
    provider (Resend, SMTP or Composio)" instead of "Missing: resend", and a
    guard refuses a requiredIntegration that has alternatives.

  • A module that is off is off for visitors too. Only the Knowledge Base
    page and the navigation asked the modules row; /feedback took posts with
    the feedback module off, /shop listed products with e-commerce off,
    /jobs took applications with recruitment off. PublicModuleGate in the
    router's root layout answers the site's own 404 for a public route of a
    module that is off (public-route-modules.ts, with or without a language
    prefix), waits for the row on a mapped route instead of serving the page,
    and a guard reads every public route out of App.tsx so a new page is
    mapped or declared module-less.

  • The view sweep judges a denied page's late answers as warnings too.
    A response whose body could not be read because the page had already
    navigated to Access Denied landed after the denied-page downgrade and kept
    its error — one false red per sweep. Findings are now judged on a snapshot
    when the visit ends. And the report header's badges sit in a div, not a
    p (React's nesting warning on /admin/reports/:slug).

  • A module that is off is off for the browser too. The sidebar hid a
    disabled module's pages, but the route gate asked only the role matrix, so
    an admin who typed /admin/webinars with Webinars off was served the page
    — and the first write there woke the module behind the operator's back.
    moduleOffForRoute reads the modules row exactly as the sidebar does; both
    gates (AdminLayout, AdminRouteGate) answer with the module's name and,
    for an admin, a door to Modules that opens that module's sheet.

  • A read-only key is read-only over REST too. /rest/execute ran
    outside the gateway's request context, so the read_only scope was never
    seen there and such a key could write over REST; the context is now opened
    in the auth middleware for every route. The verdict is the platform's own
    read rule (_shared/skills/read-surface.ts), not the tools/list verb
    heuristic, which did not know browse_ / query_ / count_ and refused a
    read-only key browse_blog. A manage_* call with a read action passes.

  • Quiet when there is nothing to say. A fresh instance was alarmed every
    morning. The daily briefing now asks which modules are on before every
    section and action item, has no health score without a signal (no more
    yellow 50/100 on an empty week), and on a day with no action item and no
    figure writes its row and sends nothing — no report version, no chat
    message, no mail. check_operations judges an area only when its module
    is on (automations always) and answers areas; check_books accuses
    nothing before books_started_on() (the earliest of the first declared
    fiscal year and the first posted journal entry) and says so. The "Set up
    weekly digest" starter objective is gone (completed where it exists): the
    digest is an automation, and the always-active objective was what kept the
    heartbeat's idle short-circuit from ever firing on a fresh instance.

  • One module switch. Switching a module on or off is four writes that
    must agree — the row, the skills (both flags, one write), the automations
    that run them, the decision record — and there were two implementations and
    three more writers of the row alone. _shared/modules/module-switch.ts is
    now the one implementation: manage_modules, the Modules page (single and
    bulk toggles, awaited, refusals shown), manage_site_settings key=modules
    and install_template all run it. A module switched off in the admin and
    on again gets its automations back (the record carries their ids); an
    automation that runs the module's skill stops whatever group seeded it; a
    template's enable takes the parents along; the browser template installer runs
    the same switch, the last writer outside it.

  • A module that is off is off for agents. Skills were gated by
    category (open when any of a category's modules was on; commerce lists
    24), so a module that was off but whose rows had leaked stayed visible and
    ran. The gate is now the skill's owning module (_shared/skills/module-gate.ts):
    the MCP gateway and FlowPilot hide its skills, and agent-execute refuses
    one with MODULE_DISABLED — a refusal that names the module and the way
    on, where a hidden row used to answer "Skill not found". The skill sync
    heals leaked rows for every off module, not only the ones with a teardown
    record; the wake-on-write of an untouched module (Law 4) remains for a row
    that is still enabled, which the heal ends — in practice a module is
    switched on under Modules or with manage_modules.

  • The native MCP transport answers for the caller. The McpServer was
    built outside the request context and cached per ?groups= alone for five
    minutes, so every key saw the same tools/list — whatever its peer
    ceiling, its owner's reach or the modules switched off meanwhile — and a
    native tools/call skipped the key-scope and ceiling checks REST ran. The
    handler is now built and run under one store, the list is the owner's
    reach and the key's scope, the cache is keyed by the caller's reach and
    lives a minute, and every native tool handler runs the same three checks
    as REST.

  • One skill description reaches every surface, and ?groups=<module>
    works.
    search_skills ranked by the row description ("Use when: / NOT
    for:") while native tools/list, /rest/tools and FlowPilot's pre-narrow
    sent the function description, which lacked the markers in 555 of 657
    exposed skills; all three now send the rankable one, and a ratchet keeps
    every exposed skill marked and under 2000 characters (the baseline may only
    shrink). A ?groups=<module> token narrows through the owner map — it used
    to resolve through a ten-module name heuristic, so ?groups=leads, blog
    or hr returned nothing.

  • The nightly view sweep no longer goes red on a role refusal whose body the
    browser could not read: a refusal by the role matrix is a warning by its
    shape, an unreadable body is retried and named.

  • Reports published before #891 with a capitalised subject ("Company") are
    normalised, so they show on their company, deal or project page.

  • The scheduled reports and the overview dashboard are stamped "FlowWink",
    not "FlowPilot", when the platform's automation publishes them; the
    agent-day lookup escapes % and _ in an agent's name; users_list's role
    filter is capped.

  • Three pages that failed for the role they are for (newsletter and docs
    RPC grants, the web layer's state, propose_bookkeeping gating); HR can use
    Shifts, Compensation, Training and Disciplinary.

  • An admin save of the modules page writes its change, not its tab's copy.

Removed

  • The "auto-pay delay" in the shop's sandbox mode is gone. The slider
    promised that a test order would be paid after N days; nothing ever paid it,
    so a value above zero left the order pending for ever. A test-mode order is
    paid at once. No instance had it set.

  • The Global Elements module is gone. It had no skills and no tables and was
    hidden ("merged into Pages"); its one effect was to be switched on by accident
    whenever an agent edited the header. Headers and footers are unchanged — they
    are Pages' manage_global_blocks.

  • Browser Control is retired. The module was a Chrome-extension relay for
    reading pages behind a login (LinkedIn, X) through an admin's browser. Nobody
    used it, it was off by default, and agents with their own browser do that job
    better and hand the result in over MCP. Gone: the module, the extension and its
    download, the chat's relay code (never wired), and the browser-fetch edge
    function. Its skill browser_fetch only forwarded public pages to web-scrape,
    so a call to it now answers "retired, use scrape_url". FlowPilot's system
    prompt told it to read every URL with browser_fetch while the off-by-default
    module hid that skill; it names scrape_url now. A migration removes the
    module from each instance's settings and access matrix and disables the skill
    row and any automation that ran it.

Security

  • The portal trusts the confirmed address, everywhere. Five older readers
    decided "whose row is this" by the login token's e-mail claim (the address an
    account was opened with, proven or not) or by the profile's e-mail (the
    account holder's own to edit): a customer's services, agreements and quotes,
    the case form in the portal, and webinar registrations. All five now ask the
    account's confirmed address, as invoices and orders already did. Nothing
    changes for an account whose address is confirmed.

  • A scoped key is held to its scope in dispatch mode. Over the native MCP
    transport, execute_skill checked what the key's owner may run but not the
    key's own scope: a key limited to mcp:crm or skill:<name> could run any
    exposed skill when it connected with ?mode=dispatch. The REST door and the
    per-skill tools already checked it; the dispatch tool now does too.

  • A scheduled function refuses a call without credentials. The week of
    grace after the cron secret is over: a call that carries neither the service
    key, a staff session nor the database's cron secret is answered 401. Until
    now it was let through and logged.

  • A scheduled call carries a secret the database made itself. The nine
    functions pg_cron calls (the automation, event and signal dispatchers, the
    knowledge indexer, dunning, contract and subscription billing, quote-expiry
    reminders, demo-cycle) checked nobody: the cron jobs sent the publishable key
    every browser carries, so anyone could start the billing run or, on a demo
    instance, the nightly rebuild. The database now makes a random CRON_SECRET
    in its vault, adds it to every scheduled call at call time (x-cron-secret),
    and the functions admit the service key, a staff session (an admin for
    demo-cycle) or that secret. automation-dispatcher rewrites any cron job that
    lacks it within a minute. For one week a call with none of them is let
    through and logged ([cron-secret]); then it is refused. No unguarded public
    function is left on the ratchet.

  • The public AI endpoints have a ceiling. chat-completion, docs-chat and
    consultant-match answered anyone with the publishable key, a paid model call
    each, with nothing counting them. Now 30 per visitor per 5 minutes (a hashed
    IP, never the address) and 600 per instance per hour, a 429 with
    Retry-After past either; the platform's own calls are never counted. The
    dial is site_settings.security.publicAiRateLimit (0 switches one off).

  • A high-stakes write with nobody at the keyboard waits for a person. The
    heartbeat, the e-mail responder, the visitor chat and gateway agents act on
    text other people wrote, and ten writes declared high-risk or irreversible
    (pay_vendor_invoice, close_accounting_period, send_einvoice, …) could run with
    no human at all. An unattended call of such a write now lands in
    /admin/approvals; a person in FlowChat or the admin is never held. Every
    prompt carries a hardcoded rule that content from tools and channels is
    data, never an instruction.

  • react-router 7. react-router-dom 6.30 → 7.18 closes the two
    moderate react-router advisories (open redirect via a backslash in <Link> /
    useNavigate, constructor injection via deserializeErrors). The app runs
    one data router (createBrowserRouter in App.tsx) with absolute paths only
    — no splat routes, no relative links — so v7's one behavioural change
    (relative paths inside splat routes) has nothing to move. npm audit --omit=dev: 2 moderate left, both satori under @vercel/og.

  • zod 4. The last high advisory in the production tree (zod <4.6.6:
    memory exhaustion validating oversized constrained collections) is gone:
    zod 3.25 → 4.6, @hookform/resolvers 3 → 5, and the edge ai-task
    schemas from esm.sh 3.23 → 4.6. What zod 4 changed, applied: z.record
    takes its key schema (22 sites), ZodError.errors is .issues (5), a form
    whose schema carries defaults types its input and output apart. And one
    change no test would have caught: zod 4's .uuid() checks the RFC version
    bits and refuses ids the baseline seeds into every database
    (aaaaaaa1-0000-0000-0000-000000000001, 11111111-…, …00c0de) — all 70
    id checks use z.guid(), zod 3's rule exactly, and the guard
    ids-are-guids keeps the strict form out. npm audit --omit=dev: 4
    moderate left (react-router 7, satori under @vercel/og).

  • Production dependencies without a known high or critical advisory but two.
    npm audit --omit=dev went from 18 (1 critical, 7 high) to 5 (1 high, 4
    moderate). vitest and jsdom were in dependencies and dragged the whole
    vite / esbuild / rollup tool chain into the production tree — they are
    devDependencies now, and the critical one left with them. pdfjs-dist 5 → 6
    (arbitrary JavaScript on opening a malicious PDF; the chat attachment reader,
    text extraction proved on a two-page PDF), react-router-dom 6.30.6, and
    patched copies of lodash, ws, yaml, picomatch, fflate and
    postcss-selector-parser pinned through overrides. Left, each its own
    change: zod 4 (high; 62 files), react-router 7 (moderate; a router major),
    and satori under @vercel/og — 1.0.3 requires fs in its edge build, which
    the edge runtime does not have, so the OG cards stay on 0.6.8 until a release
    that runs there.

  • The method that should have caught it, repaired. The weekly security
    scan had been red since its first run (2026-10-26) on npm audit, before the
    guardrails step ever ran, and nothing watched the workflow; the five tool
    functions sat in the public-functions guard's known-debt list for 40 days
    with a green badge beside them. Now the scan is two jobs (advisories and
    guardrails — one never hides the other), the guardrails job runs EVERY
    guardrail test instead of a hand list of nine (40 security-shaped guards were
    outside it), and each job that fails opens or updates one issue (label
    security-red) and closes it when green. The known-debt list carries a
    clock: a name may stay KNOWN_UNGATED for 60 days, then the guard is red with
    the two ways out named — gate it or prove it visitor-facing by design. A
    CodeQL workflow (javascript-typescript, security-extended) runs on every PR
    and weekly; it is one more reader, not the method — Deno's request sources
    are not modelled there, which is why the repo's own guards exist.

  • Outbound URLs are judged before they are fetched (SSRF, CWE-918). An
    independent researcher (Riddhish Lichade) reported that extract-pdf-text,
    web-scrape and browser-fetch were reachable without a caller check and
    fetched a caller-supplied URL as given, returning the body — and an edge
    function runs inside the project's network, where SUPABASE_URL is the
    internal gateway on a self-hosted instance. Confirmed on a local stack: the
    runtime fetched http://kong:8000/rest/v1/ with a 200. Now one rule,
    _shared/net/outbound-url.ts: http(s) only, no credentials, no single-label
    or local hostname, every resolved address outside the private, loopback,
    link-local, CGNAT, multicast and reserved ranges (IPv4 and IPv6, mapped forms
    included), redirects followed by hand and re-judged, at most five; a name that
    cannot be resolved is refused (URL_NOT_ALLOWED). Applied at every
    content-URL sink: the web layer's reader (so Firecrawl and Jina never read a
    private target on our behalf either), web-scrape's sitemap and site detection,
    extract-pdf-text, browser-fetch, process-image, the image and résumé
    handlers, media import from URL, site-scrape and migrate-page. The five tool
    functions on paid keys (web-scrape, browser-fetch, web-search,
    extract-pdf-text, process-image) now verify their caller
    (requireServiceOrStaff: the service key or a staff session) and left the
    public-functions ratchet. An admin's own configured endpoints (webhooks, A2A
    peers, a local STT server) are not judged — they are the operator's network by
    design; OUTBOUND_FETCH_ALLOW_PRIVATE=true lifts the address check for an
    intranet deployment. Guard outbound-urls-are-public holds the rule and scans
    every fetch of a caller-URL identifier. SECURITY.md is new.


Upgrade Instructions

# Using the upgrade script (recommended)
./scripts/upgrade.sh

# Or manually
git pull origin main
npm install
supabase db push
supabase functions deploy --all
npm run build

See UPGRADING.md for detailed instructions.

What's Changed

  • chore(hooks): the pre-push type check is incremental and has a heap floor by @magnusfroste in #813
  • feat(blog): the floor under agent-written posts, the picture named, the editorial plan as structure, audit_blog by @magnusfroste in #814
  • feat(mcp): the gateway at the site's own /mcp — the address every other integration uses by @magnusfroste in #815
  • fix(mcp): the proxy exports the Web-standard { fetch } shape Vercel's Node runtime recognises by @magnusfroste in #816
  • fix(admin): Access Denied has a way out — the path, who grants it, the dashboard by @magnusfroste in #821
  • feat(auth): two-factor authentication for staff — enrolled per person, required per instance, enforced in the role gate by @magnusfroste in #822
  • chore(hooks): the pre-push heap floor is 8 GB and a smaller NODE_OPTIONS cannot bypass it by @magnusfroste in #820
  • fix(security): definer functions declare their caller — 112 revoked from the browser, 26 guarded in the body by @magnusfroste in #823
  • docs: the drift checker discovers stale claims, and the tree is clean under it by @magnusfroste in #824
  • feat(email): the SMTP card names its server and its one secret, and SMTP mail keeps the sender by @magnusfroste in #825
  • feat(blog): brand covers — every post's picture drawn from the branding (per-site dial) by @magnusfroste in #826
  • feat(email): receiving through Cloudflare Email Routing — one router, providers underneath by @magnusfroste in #827
  • fix(blog): covers fit their slot, short brand eyebrow, manage_blog_posts update writes SEO meta and names what it ignored by @magnusfroste in #828
  • fix(email): the Cloudflare inbound Worker is a paste-in file — the router parses the MIME by @magnusfroste in #829
  • fix(edge): agent-execute no longer crashes on shutdown, and a mail reply runs inline by @magnusfroste in #830
  • fix(email): a relayed mail reaches FlowPilot, and automation runs leave a trace by @magnusfroste in #831
  • fix(blog): compact covers vary — not one picture repeated by @magnusfroste in #832
  • fix(flowpilot): the heartbeat authenticates its caller, the loop refuses ungranted built-ins and blind retries, the cockpit shows what exists by @magnusfroste in #835
  • feat(flowpilot): one approval queue, and 'notify' means someone is told by @magnusfroste in #837
  • feat(flowpilot): a run's trace says why, not only what by @magnusfroste in #838
  • feat(flowpilot): the cockpit is four tabs an admin can read — Today, Goals, Behaviour, Log by @magnusfroste in #839
  • feat(flowchat): FlowChat runs on the shared reason() engine (step 4a) by @magnusfroste in #841
  • feat(flowwork): FlowWork runs on the shared reason() engine (step 4b) by @magnusfroste in #842
  • feat(email): every FlowPilot reply keeps why it said what it said by @magnusfroste in #843
  • fix(blog): RSS feed answers, and removed posts redirect with a real 301 by @magnusfroste in #834
  • feat(briefing): the daily briefing names the business it is about by @magnusfroste in #845
  • fix(email, admin): customer mails speak for the business; FlowPilot page keeps the top bar by @magnusfroste in #846
  • fix(email): approved reply sent once · feat(chat): FlowChat and Flowwork share one layout by @magnusfroste in #847
  • feat(chat): context panel on the right + Flowwork documents beside the chat by @magnusfroste in #848
  • feat(chat): sessions left, admin menu folds while you chat, the right side is the session's overview by @magnusfroste in #850
  • fix(handbook): sync clawable.org's handbook where it lives; guide for your own by @magnusfroste in #851
  • feat/fix: FlowChat blog posts as artifacts · browse_products enum · Flowwork tables, sources, citations · refusals in Why by @magnusfroste in #852
  • feat(newsletter): written by the operator, inbox-safe, an artifact in FlowChat by @magnusfroste in #853
  • fix: a sweep for silent failures — hidden AI, schema drift, dead links — with a guard per bug class by @magnusfroste in #854
  • fix: escalation notify · PO headers count their lines · lessons carry no ids · search_knowledge sources — sweep part 2 by @magnusfroste in #855
  • fix(content-api): business data runs as the caller's session; tickets and media read real tables by @magnusfroste in #856
  • fix(recruitment): the careers page can receive an application by @magnusfroste in #857
  • feat(recruitment): Teamtailor-style recruiting — careers block, one application door, candidate card, video interviews the candidate books by @magnusfroste in #858
  • recruitment: a person selects (gate + guide) · HR: Start here — a guide that leads a founder through a hire by @magnusfroste in #859
  • feat(hr): When someone leaves — end_employment checks the notice against LAS, and an offboarding guide by @magnusfroste in #861
  • feat(hr): employment rules per country — templates or the company's own terms, never code by @magnusfroste in #863
  • fix(hr): the guides as a person reads them — first walk in a browser, and the guides in the battery by @magnusfroste in #864
  • One person menu about you, employees reach their own pages, a quiet update notice — and the nightly battery green again by @magnusfroste in #866
  • fix(checkout): a net-priced shop charges the VAT on top by @magnusfroste in #867
  • docs: how the person menu, an employee's own pages and the update notice work by @magnusfroste in #868
  • One web layer for search and page reading — any provider, the admin's order, status per provider by @magnusfroste in #870
  • feat(accounting): an accounting workspace — its own left menu, the FlowWink sidebar folded by @magnusfroste in #871
  • feat(hr): HR becomes a workspace — its own menu; the guide an entry, not a gate by @magnusfroste in #874
  • fix(hr): Shifts, Compensation, Training and Disciplinary open to the HR role by @magnusfroste in #877
  • fix(public): language prefix waits for the site's languages — /en/careers no longer logs as 404 by @magnusfroste in #872
  • feat(platform): the operator runs the platform — modules it can switch, defects it reports upstream by @magnusfroste in #876
  • fix(shop): descriptions keep line breaks; shop chrome is translatable by @magnusfroste in #873
  • chore(admin): ta bort den döda CompanyProfileCard by @magnusfroste in #875
  • module_usage_report: never propose switching off feedback by @magnusfroste in #879
  • fix(stripe-webhook): verify signatures with constructEventAsync — every genuine event was answered 401 by @magnusfroste in #878
  • fix(roles): three pages that failed for the role they are for by @magnusfroste in #881
  • agent-execute: Record<string, any> → unknown — 48 fel, åtta rotorsaker, två verkliga by @magnusfroste in #880
  • fix(skills): a refused enum value answers with the values the column takes by @magnusfroste in #844
  • fix(wiki): action add_tags tags the page instead of answering "unknown action" by @magnusfroste in #849
  • ci(nightly): pull Supabase images from ghcr.io, authenticated by @magnusfroste in #836
  • fix(cadence): every route the heartbeat runs a skill by asks the quota by @magnusfroste in #860
  • agent-execute: tre any-familjer får riktiga typer — grinden hittade fem fel by @magnusfroste in #810
  • fix(templates): site export round 3 — restricted knowledge is an admin's, wiki never widens, documents keyed on the seal, the stored body counted not echoed by @magnusfroste in #817
  • fix(automations): three false erroring findings on optic — Meta Ads, newsletter flows, local LLM check by @magnusfroste in #882
  • feat(blog): change a post's slug without breaking links; /blog/ follows redirects by @magnusfroste in #840
  • feat(workspaces): Sales and Support get their own menu, like Accounting and HR by @magnusfroste in #883
  • fix(skills): an operator asked to move a CRM in finds import_from_odoo by @magnusfroste in #884
  • feat(reports): Reports — what agents worked out, as pages people open by @magnusfroste in #885
  • feat(reports): live blocks — figures fetched when a report is opened (dashboards) by @magnusfroste in #886
  • feat(reports): the overview dashboard — "Läget just nu", published by FlowPilot by @magnusfroste in #888
  • fix(automations): module automations follow the edge deploy + last sign-in on Users by @magnusfroste in #889
  • fix(modules): an admin save writes its change, not its tab's copy by @magnusfroste in #890
  • feat(reports): reports where they belong — on the subject's page and in the accounting workspace by @magnusfroste in #891
  • fix(mcp): /mcp proxy encoding (Hermes on www) · pie charts · the docs catch up by @magnusfroste in #892
  • chore(flowpilot): remove the Copilot hook nothing calls by @magnusfroste in #893
  • feat(seo): job adverts get a JobPosting for Google for Jobs by @magnusfroste in #894
  • feat(feedback): the ping carries the site's name by @magnusfroste in #895
  • feat(modules): the owner's "keep it" is remembered; a new module is not judged by @magnusfroste in #896
  • feat(seo): the recruitment module's /jobs/ carries a JobPosting too by @magnusfroste in #898
  • The agent's front door, the platform's own reports, and the agent's day (steps 1–3) by @magnusfroste in #897
  • fix(crm): a deal's first stage is "New" — "Lead" is the contact's lifecycle word by @magnusfroste in #899
  • fix(modules): a switch-off takes the module's skills out of the catalog by @magnusfroste in #900
  • fix(deals): manage_deal names its stage keys before the call — lead is shown as "New" by @magnusfroste in #901
  • fix(skills): a disable unexposes the skill, and a quarantine survives the sync by @magnusfroste in #902
  • fix(keys): a key has ONE state — Agents, Developer and Federation tell the same story by @magnusfroste in #903
  • fix(cron-health): the run history keeps every job's latest run — "never ran" means never ran by @magnusfroste in #905
  • fix(qa): the view sweep tells a role refusal from a page bug; review fixes from the last days' code by @magnusfroste in #904
  • fix(projects): a milestone's progress is its own tasks, and the project list scrolls by @magnusfroste in #907
  • refactor(admin): Developer has three doors, Skills one page by @magnusfroste in #906
  • fix(mcp): a read-only key is read-only over REST too, judged by the platform's read rule by @magnusfroste in #908
  • fix(flowpilot): quiet when there is nothing to say — the briefing, the operations and books checks, the idle heartbeat by @magnusfroste in #909
  • feat(projects): the project by area — one level of sections, derived from the task by @magnusfroste in #916
  • refactor(modules): one module switch — the row, the skills, the automations, the record by @magnusfroste in #910
  • fix(modules): a module that is off is off for agents — the gate is the owning module by @magnusfroste in #911
  • fix(mcp): the native transport answers for the caller — one store, the owner's reach, a minute's cache, REST's checks by @magnusfroste in #912
  • fix(mcp): one skill description reaches every surface, and ?groups= narrows through the owner map by @magnusfroste in #913
  • feat(documents): document rooms — a named set of documents and who may see it, without a copy by @magnusfroste in #919
  • test(nightly): quiet by default — a fresh instance tells nobody anything, proved before anything is seeded by @magnusfroste in #914
  • fix(templates): the browser template installer switches modules on through the one switch by @magnusfroste in #915
  • fix(admin): a module that is off is off for the browser too — the route gate reads the modules row as the sidebar does by @magnusfroste in #917
  • fix(qa): the view sweep judges a denied page's late answers on a snapshot; report badges sit in a div by @magnusfroste in #918
  • fix(public): a module that is off is off for visitors too — the router's root layout answers 404 for a public route of a disabled module by @magnusfroste in #920
  • fix(security): open doors without visitors — anon write policies on the feedback tables, definer views, and a service-only RPC by @magnusfroste in #922
  • fix(modules): a module states a need by capability, not by product — any provider of it satisfies the module by @magnusfroste in #923
  • fix(skills): the read surface knows nine more of its reads — read_partner, validate_address, the export reports and their kin by @magnusfroste in #924
  • feat(documents): the investor room knows who has read what — scope per member, history per person, new since last visit by @magnusfroste in #921
  • perf(agent-execute): the executor pays for its own statements once — skill columns, one modules read, overlapped trust RPC, objectives map first by @magnusfroste in #925
  • perf(mcp-server): the gateway pays for its own work once — /rest/execute 220 ms → 33 ms by @magnusfroste in #926
  • fix(security): outbound URLs are judged before they are fetched (SSRF) — one guard at every sink, caller check on the five tool functions by @magnusfroste in #933
  • fix(email-send): send SMTP with nodemailer — a rejected command spun the worker to a silent 546 by @magnusfroste in #932
  • refactor(agent-execute): the pipeline is importable — _shared/execute/core.ts, index.ts the HTTP door by @magnusfroste in #931
  • ci(security): the method that should have caught it — scan in two jobs with an issue, every guard, a clock on known debt, CodeQL by @magnusfroste in #934
  • fix(email): system mails follow the configured sender — order confirmations went out as onboarding@resend.dev by @magnusfroste in #937
  • ci(security): the guardrails job builds the artifacts the way CI does — bun is not on the runner by @magnusfroste in #938
  • chore(deps): production advisories 18 → 5 — test tools out of dependencies, pdfjs 6, patched transitives by @magnusfroste in #942
  • chore(deps): zod 4 — the last high production advisory, ids judged as GUIDs by @magnusfroste in #944
  • fix(orders): an order's invoice is what the customer paid, and the order view's invoice link lands by @magnusfroste in #943
  • fix(orders): a cancelled invoice is not the order's invoice — the order can be invoiced again by @magnusfroste in #946
  • chore(deps): react-router 7 — the two moderate router advisories by @magnusfroste in #945
  • fix(accounting): UB blir IB for agents too — the report derives the opening balance, and only the bridge is stored by @magnusfroste in #947
  • refactor(agent-execute): the core answers { status, body } — FlowPilot and the gateway run a skill in-process by @magnusfroste in #929
  • fix(shop): a recurring price says its own period — on the site and at checkout (#941) by @magnusfroste in #948
  • fix(qa): quiet-by-default retries a worker that failed to boot by @magnusfroste in #951
  • fix(inventory): order.paid carries order_id — picking automation resolves by @magnusfroste in #950
  • feat(orders): a paid order gets its receipt by itself, and an issued invoice cannot be deleted by @magnusfroste in #949
  • Block text is the page's own words, in the page's language by @magnusfroste in #755
  • fix(briefing): the Daily Briefing says how the business is doing — the machine room stays in Observability by @magnusfroste in #952
  • Memoise getServiceClient() in the shared edge helper by @magnusfroste in #927
  • fix(projects): comment_on_task cadence, round 3 — ported onto the shared core (supersedes #818) by @magnusfroste in #953
  • fix(battery): the whole-ledger trial balance asks for the whole ledger by its window by @magnusfroste in #955
  • execute core: internal: handlers are a registry, not a chain (supersedes #928) by @magnusfroste in #954
  • fix(meeting-polls): the tab says when its module is off, and the desk has a place in the sidebar by @magnusfroste in #956
  • fix(modules): a module that is off is quiet on Observability, the bell, the dashboard and analytics by @magnusfroste in #960
  • fix(modules): panels of a module that is off leave the pages they are mounted on by @magnusfroste in #961
  • fix(automations): a background run's failure lands on the automation's last_error by @magnusfroste in #957
  • fix(feedback): the board and the daily ping write as the service role by @magnusfroste in #958
  • fix(admin): an alarm means something is wrong now by @magnusfroste in #959
  • docs: the order-to-receipt chain, derived opening balances and the edge function list match the code by @magnusfroste in #965
  • fix(security): Gmail connects only for an admin; migrate-page verifies its caller; CPU budget measured by @magnusfroste in #962
  • docs(processes): the process map, rebuildable — npm run docs:process-map by @magnusfroste in #963
  • test(processes): every process proven to the screen a person looks at — qa:process-views by @magnusfroste in #964
  • fix(security): inbound endpoints verify their caller, River's media is not listable, open access is written down by @magnusfroste in #966
  • fix(security): a high-stakes write with nobody at the keyboard waits for a person — the prompt-injection net by @magnusfroste in #967
  • fix(security): the public AI endpoints have a ceiling by @magnusfroste in #968
  • Schemalagda anrop bär en hemlighet databasen själv har skapat by @magnusfroste in #969
  • AI-receptionistens websocket-nummer kopplas in med sin hemlighet när inställningarna sparas by @magnusfroste in #971
  • Timvis cron på fast minut förstås, och det den stängde av vaknar by @magnusfroste in #972
  • Browser Control pensioneras by @magnusfroste in #973
  • De genererade dokumenten säger vad koden säger by @magnusfroste in #974
  • Svepen frågar om det finns arbete innan något väcks by @magnusfroste in #975
  • Modulen Global Elements är borta by @magnusfroste in #976
  • Meeting Polls är dokumenterad: hur den slås på, vem som når den, var den bor by @magnusfroste in #977
  • Två svep till frågar om arbete, och modulräkningen stämmer by @magnusfroste in #979
  • fix(accounting): a receipt whose order is booked is not unbooked work by @magnusfroste in #978
  • Dagsbriefingens schema är plattformens, inte FlowPilots by @magnusfroste in #980
  • En order är intäkt när den är betald by @magnusfroste in #981
  • Böckerna kan föras någon annanstans (#862 del 1.4) by @magnusfroste in #982
  • Agentarbetet i klartext: en panel på startsidan (#869, första steget) by @magnusfroste in #983
  • En stängd månad nekar utskicket igen (nattens röda körning) by @magnusfroste in #985
  • Agentarbetet per affärsområde och med agentens namn (#869, andra steget) by @magnusfroste in #984
  • fix(battery): provet läser företagets dag, som produkten gör by @magnusfroste in #989
  • fix(feedback): the receiving instance counts its own ping by @magnusfroste in #991
  • Agentarbetet visar vad kontrollerna flaggar (#869, tredje steget) by @magnusfroste in #990
  • Agentarbetet läses per modul: panelen för varje roll (#869) by @magnusfroste in #992
  • Agentarbetet öppnar objektet: senaste ändringar med länk (#869) by @magnusfroste in #993
  • Bevisa först, släpp sedan: nattsynken väntar på provet från noll by @magnusfroste in #994
  • A monthly job is not "never ran" before its month has come by @magnusfroste in #996
  • fix(migration): main går inte att installera från noll — beviset i #992 faller på en tom instans by @magnusfroste in #997
  • Det agenterna faktiskt misslyckades med, lagat by @magnusfroste in #998
  • Processbatteriet på den PR som behöver det by @magnusfroste in #995
  • Agentarbetet öppnar även fakturan, ordern och projektet by @magnusfroste in #999
  • Three morning reviews are reads by @magnusfroste in #1000
  • Larm när flottan inte synkades by @magnusfroste in #1001
  • A blog post id that names nothing is NOT_FOUND by @magnusfroste in #1002
  • Report dropped blocks in migrate-page response instead of console-only by @magnusfroste in #1003
  • A plan step runs only when it carries what its skill needs by @magnusfroste in #1005
  • Agent work-panelen läser fält, inte hela svar by @magnusfroste in #1004
  • Fakturaunderlag ut, det externa numret tillbaka (#862 del 1.1–1.3) by @magnusfroste in #1006
  • Agentpanelen räknar hela veckan (räkningen sker i databasen) by @magnusfroste in #1007
  • Loggarna gallras varje natt, och databasen säger hur full den är by @magnusfroste in #1008
  • Feedbacktavlan: lika rapporter är ett inlägg, och teststackar skickar inget by @magnusfroste in #1009
  • Fleetlistan glömmer instanser som pingat en enda gång by @magnusfroste in #1010
  • A rule the database keeps is not a broken skill (RULE_REFUSED) by @magnusfroste in #1011
  • A sweep with no work is idle, not overdue by @magnusfroste in #1014
  • check_operations svarar igen (nattens beviskörning var röd) by @magnusfroste in #1016
  • Självläkningen stänger inte av en redan lagad skill igen by @magnusfroste in #1013
  • fix(invoicing): the invoice PDF is in the customer's language by @magnusfroste in #1012
  • Cron-hemligheten blir obligatorisk (övergångsveckan är slut) by @magnusfroste in #1017
  • Loggstädningens migration fastnade på instanser med historik by @magnusfroste in #1018
  • Kundens väg, del 1: bokningen bekräftas och avtalet mejlas oavsett vem som gör steget by @magnusfroste in #1019
  • Kundens väg, del 2: offertsidan visar avsändare och villkor, signeringssidan namnger båda parter by @magnusfroste in #1020
  • Kundens väg, del 3: fakturan når kunden och säger vem som fakturerar och hur man betalar by @magnusfroste in #1021
  • En nummerserie per dokument, oavsett vem som skapar det by @magnusfroste in #1022
  • En person kan skriva en hel offert i admin — och natten provar det i en webbläsare by @magnusfroste in #1023
  • A generic list is sized for the agent that reads it by @magnusfroste in #1024
  • Every "no" the gateway says is answered with a code and written down by @magnusfroste in #1026
  • En faktura föds rätt oavsett vem som skapar den — och natten gör den för hand by @magnusfroste in #1025
  • En kontakt du skapar är sidan du hamnar på by @magnusfroste in #1027
  • Kunden får veta om sitt ärende by @magnusfroste in #1028
  • Heartbeat scores only its own decisions, reads without the model by @magnusfroste in #1029
  • En uppsättning siffror för plattformen: 600+ skills, 68 moduler by @magnusfroste in #1030
  • Kundportalen visar vad kunden har by @magnusfroste in #1031
  • The briefing writes when the morning has news by @magnusfroste in #1034
  • Kunden ändrar sin egen bokning by @magnusfroste in #1033
  • Portalen litar på bekräftad e-postadress, överallt by @magnusfroste in #1035
  • Ett köp med Stripe avslaget är ett helt köp by @magnusfroste in #1036
  • Företaget får veta när kunden avbokar by @magnusfroste in #1038
  • Varukorgen, kassan och sidan efter köpet talar sajtens språk by @magnusfroste in #1039
  • Bygget får mer minne by @magnusfroste in #1040
  • Var fakturan kom ifrån är företagets anteckning, inte kundens by @magnusfroste in #1037
  • Kärnmejlen finns på svenska by @magnusfroste in #1041
  • Varje fakturaserie löper by @magnusfroste in #1042
  • En återställning tar inte mejlmallarna med sig by @magnusfroste in #1043
  • Det koden lägger till i bokningsbekräftelsen följer mejlets språk by @magnusfroste in #1044
  • Offert eller faktura till en kund som inte är kontakt än by @magnusfroste in #1046
  • Testlägets "betala om N dagar" tas bort by @magnusfroste in #1047
  • A new module reaches an instance no admin opens by @magnusfroste in #1045
  • En svensk sajt är svensk från första dagen by @magnusfroste in #1048
  • Kundens egna sidor följer sajtens språk by @magnusfroste in #1049
  • Mer av det besökaren möter följer sajtens språk by @magnusfroste in #1050
  • Varukorgsblocket, bokningsblocket och enkätsidan följer sajtens språk by @magnusfroste in #1051
  • De anställdas egna sidor följer sajtens språk by @magnusfroste in #1052
  • Lönebeskedet, stämpelklockans tider och avtalsdatum följer sajtens språk by @magnusfroste in #1054
  • sync-forks.sh reads FORK_ names out of .env.local by @magnusfroste in #1053
  • Ett block kan ställas in per skärmbredd (#939) by @magnusfroste in #1056
  • chore(release): v4.1.0 by @magnusfroste in #1057

Full Changelog: v4.0.0...v4.1.0