Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 04:28
· 85 commits to main since this release
149ed04

Added

  • The assistant reads the statements pages instead of rebuilding them, and no longer does its own sums. The
    Statements, Receivables, Payables and Anomalies pages are computed from the general ledger, and the assistant
    had no tool for any of them and no plain calculator. Asked for a month's net profit, or for what customers had
    owed for more than 90 days, it queried the ledger lines and did the arithmetic itself, and could state a figure
    that disagreed with the page the user had open (the figure check marked those answers "check before relying
    on", which is how it was seen). Four read-only tools close that: financial_statements (profit and loss,
    balance sheet, cash flow, by month), ageing_report (receivables or payables by party, aged), ledger_anomalies
    and calc_arithmetic (add, subtract, multiply, divide, percentage, percentage change, average, in exact
    decimals). They are offered whenever the workspace has a ledger, whatever words the question used, and the
    rules now say to state those figures as given and never to do arithmetic unaided. What they return is checked
    against the pages' own routes to the cent (engine/tests/test_assistant_reads_statements.py). Whether a given
    model then uses them is the model's doing: a small or fine-tuned model that was never shown these tools may
    still reach for query_dataset, and the figure check stays in place for that.

  • One line installs Desk, and a release publishes the image. Getting the Team Server up meant cloning the
    repository, generating a key by hand with a line of Python, editing a .env and building the image on the
    machine — a quarter of an hour and a Docker build for somebody who only wanted to look at it. A vX.Y.Z tag
    now publishes the image to ofintech0/ofintech-desk on Docker Hub, for linux/amd64 and linux/arm64,
    tagged with the version, X.Y, latest and sha-<short>; latest and X.Y move only
    for a plain release. scripts/install.sh pulls it, writes a compose file and a key, starts it on
    http://localhost:8700 and waits until it answers:

    curl -fsSL https://ofintech.ai/install.sh | sh

    That install is for one person on one machine: loopback only and plain HTTP, because a ledger does not belong
    on a network connection without a certificate. Running it again upgrades and keeps the key and the data. A
    server still wants a domain and a certificate — docs/DEPLOYMENT.md, which now also says how to point
    server/docker-compose.yml at the published image instead of building on the server. The release job checks,
    with no credentials of its own, that a stranger can pull both platforms of what it just pushed.

  • Try it with a demo company. A new workspace said No general ledger yet and offered an import, so the
    thing the product is for — a figure you can click until you reach the entry behind it — could not be seen
    until somebody had exported their own books. The empty overview and the empty Data page now offer one
    button that loads the three invented files in examples/demo-company (Harbor Line Logistics: a general
    ledger, a project budget, a bank statement) through the same reader an uploaded file goes through. Each
    dataset is named Harbor Line (demo) · … and marked as demo data; Data says so in a banner and removes
    them, and nothing else, in one click. Loading and removing need the editor role. The server image and the
    desktop bundle carry the files (about 100 KB); DESK_DEMO_DIR points at another copy, and an engine with no
    copy does not offer the button. The budget and the statement arrive as datasets: a cost centre's budget and
    a month's close still take their file on their own page.

  • A probability that has a source (engine/desk_engine/decide/). A scorecard's number says why a proposal
    looks good, not how often proposals that look this good are right. fit turns a list of (score, accepted or
    rejected) verdicts into a curve: the share of proposals scoring like this one that a person accepted. It is
    isotonic regression in plain Python — no library, nothing to tune, and the same verdicts always give the same
    curve and the same version. It refuses rather than guesses: under 30 verdicts, or fewer than 5 of either
    outcome, there is no curve; outside the range of scores the verdicts cover, a figure is marked
    extrapolated. This is the computation only. The repository has no scorecard that feeds it and no record of
    verdicts yet, so no page shows a figure from it. See docs/MEASURED_PROBABILITY.md.

Fixed

  • The Team Server image build no longer fails when a mirror drops one download. The layer that installs the
    operating-system packages ran entirely with apt's retries off, the mitigation for CVE-2026-109518 while the
    apt doing the fetching is still the vulnerable one. That covered about a hundred packages, so one connection
    reset on one of them failed the build: the arm64 build on main on 22 Nov 2026, on a merge that had not
    touched the image. The layer now fetches only apt itself with retries off, stops unless apt is then at 3.0.4
    or later, and installs the rest with the fixed apt and three retries.

  • Settings → Models tested a model nobody chose, and chose one nobody asked for. Test asked the first model
    in a provider's list, whatever the workspace was using, and picking a provider in Default provider or Model
    for short jobs
    silently saved that same first model. For a provider that lists two models that was a guess;
    for one that lists a catalogue of hundreds and answers for the single model deployed on it, it was wrong every
    time, and the error said "does not know this model" without saying which. Test now asks the model the
    workspace uses with that provider (the first listed only when the provider is not in use), and says in its
    tooltip which one that is. Picking a provider keeps the model in use if the provider lists it, takes the only
    model if there is one, and otherwise saves nothing until the model is named. A "not found" answer names the
    model that was asked.

  • A correct answer in Arabic is no longer marked "check before relying on". Arabic joins "and" to the word
    after it, so an answer writes و79,605.55. The figure check refused to start a number after a letter, started
    three characters later instead, and reported an unknown figure 605.55: a right answer carried a warning about
    a number nobody wrote, and a wrong one would have been reported by its tail. A figure may now follow a letter
    that is not Latin, and never starts after "digit, comma". The Arabic percent sign ٪ is read as a percentage.

  • The assistant can see a payment that settled no invoice. The Receivables and Payables pages keep an
    "unapplied" amount per party (an advance, an overpayment); the ageing_report tool left that column out, so
    asked whether a customer had paid in advance the assistant could only say the data did not show it. The tool
    now carries the column and names each party and amount, or says there are none.


These installers are not code-signed

macOS will refuse the app outright — “OfinTech Desk” is damaged and can’t be opened. You should move it to
the Trash.
It is not damaged: Apple silicon will not run an application that carries no signature at all. Move
it to Applications, then clear the quarantine flag macOS puts on anything downloaded:

xattr -dr com.apple.quarantine "/Applications/OfinTech Desk.app"

Windows SmartScreen warns instead of refusing: More info → Run anyway.

Only Apple silicon is built for macOS; this release has no Intel build. What removes all of this is a signed and
notarised build — see docs/RELEASING.md.