Repository navigation
Releases
v1.5.0
Added
-
What moved a month's profit, what was posted on an account and what an entry holds are read from the ledger,
not worked out by the model. On 24 Nov 2026, after the closed questions of the day before had been moved
into code, three answers on the same invented company were still only half right. Asked what caused its one
loss-making month, each model compared the month with an average it had worked out itself, a different one on
each run, and named no account. Asked what zakat had been paid, one said the books held nothing while the
entry was there. Asked for a credit note's amount before VAT, one gave the total with the VAT in it. Three
read-only tools now return what the ledger holds.profit_driverssets a month's profit and loss against the
average of the months before it (six unless asked otherwise), the month before it or the same month a year
earlier, line by line and account by account, each with its effect on net profit, says which baseline it used
and which months it covers, and lists the months of the last twelve that made a loss; the effects add up to
the change in net profit.account_activitygives one account between two months: its balance at the start
and the end, total debits and credits, every line with the other accounts of its entry, and how much was paid
from or received into the bank in the same entry.ledger_entriesgives whole entries, by number or by words
found in an entry's type, descriptions, parties or account names, and reads an invoice, bill or credit note
with a sales-tax line as amount before tax, tax and total. An account or an entry written in one language is
found when asked for in another (VAT, zakat, credit note, sales returns, rent, loan), the more specific meaning
first, and only on whole words. An account that is not there gets the chart of accounts back and no figure;
a month the ledger does not cover, or a baseline it does not hold, is refused. The rules send the model to
them and tell it to say the books do not show something only after one of them found nothing. -
A bank statement is reconciled in code, not by the model. Asked to hold a statement against the books, the
assistant had only the dataset query to work with. On 23 and 24 Nov 2026 one model took the statement's
highest balance for its closing balance, and another ran sixteen queries and stopped without an answer. The
new read-only toolbank_reconciliationtakes a statement dataset and the general ledger's bank account for
one month and returns the statement's closing balance (its last row, in row order), the ledger's, the
difference, every movement in the ledger and not on the statement, every movement on the statement and not in
the ledger, and how much of the difference those explain, with the unexplained remainder. Movements are matched
on direction and amount to the cent: on the same date, then within three days, then on the amount alone within
the month, and those last are listed for a second look. It finds the statement's columns by the names banks
use in English, Arabic, Spanish and French, reads a signed amount column or money in and money out, and says
so when the opening balances differ instead of spreading that over the month. It posts nothing, proposes no
entry, carries no score and learns nothing from what the accountant then decides. Thebank-reconciliation
skill (now 1.1.0) sends the model to it first. -
A what-if on profit applies the direction of each change itself. Asked what October's net profit becomes
once a rent that was never booked is booked and a bill entered twice is removed, one model added both amounts
and one subtracted both; the second had just written, in words, which way each one goes.calc_what_iftakes
the profit as it stands and each change with its size and what it is (cost_added,cost_removed,
income_added,income_removed), applies the signs, and with revenue gives the margin before and after. -
Asked what it can do, the assistant reads the answer instead of recalling it. A step of a conversation is
sent only the tool groups it needs, so a model asked for its tools listed what it had been shown and filled in
the rest: "53" on 24 Nov 2026, with adding a bank transfer, a deposit and a withdrawal among them, in a product
that moves no money.list_capabilitiesreturns what the registry holds for the workspace and the person
asking: how many tools, in which groups, what each does, which run only after a person approves them, and that
none pays or transfers. It is sent with every step, and the rules tell the model to answer from it and to name
nothing that is not in it. As with every rule, that holds as far as the model follows it.
Changed
- A calculator's result is evidence only when what went into it has a source. The figure check treated every
calculator result as verified, so a model that multiplied a balance by a rate of its own choosing got a
checked figure: "Zakat due" on 24 Nov 2026, on a base and a rate nobody had given it. Forcalc_arithmetic
andcalc_what_if, each number passed in must now appear in another tool's result, in the user's messages, in
an approved memory or in an earlier sound calculation, or be a plain constant of arithmetic (whole numbers to
12, 100, 365 and the like). If one does not, the result is not evidence: a figure in the answer that rests on
it is marked "check before relying on", and the numbers that came from nowhere are stored with the answer as
unsourced_inputsand shown under it. The financial calculators (NPV, loan schedules, depreciation), whose
parameters a person chooses, are not held to this. - The same call again and again now ends the turn in an answer. A repeated read was already served from its
earlier result instead of being run again; that bounded the load and not the loop, and a model that asked the
calculator for one figure fifteen times ended at the step limit with no answer. After two such repeats the
next model call carries no tools and an instruction to answer from the results it has or to say what is
missing. A model that still calls a tool it was not offered gets a result that says nothing was run, and a
second such step stops the turn with an error that says why ("kept asking for the same result"), after six
model calls instead of sixteen. - The rules on tax. The assistant does not say whether a return or filing is correct, and does not work out
the zakat, income tax or other tax due for a period on a base or a rate of its own choosing; it can state what
the ledger shows (a tax account's balance, what was paid), and when the user gives both the base and the rate
it can do that arithmetic, said to be arithmetic on their figures. This is a rule in the prompt, so it holds
as far as the model follows it; the check on calculator inputs above is what holds when it does not.
Fixed
-
An unusual amount is held against the months the ledger has, and says how many.
ledger_anomalieswrote
"over the previous six months" under every unusual amount, also in a ledger with four or five months before
the one asked about, where the average is over those. It now names the number it averaged. -
Numbers a calculation was given without a source are shown under the answer they belong to, and no other.
The first day the check ran in the Desk (24 Nov 2026), two averages a model had worked out itself and handed to
the calculator in its second answer were shown again under the third, fourth, fifth and sixth answers of the
conversation, whose own calculations were sound. Every calculation of the conversation is still judged, so an
unsound one never becomes evidence later; only those made since the user's latest message are reported. -
A count in an answer is traced to a bare number in a tool result. The anomaly report says "4 found"; an
answer that listed the four and called them "4 items" was marked "check before relying on: 4 items", because
numbers under 100 without a unit were dropped from the evidence as well as from the answer. They are kept in
the evidence now, and support counts only: never an amount, a percentage or a ratio.
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.
v1.4.0
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
andcalc_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 forquery_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.envand building the image on the
machine — a quarter of an hour and a Docker build for somebody who only wanted to look at it. AvX.Y.Ztag
now publishes the image toofintech0/ofintech-deskon Docker Hub, forlinux/amd64andlinux/arm64,
tagged with the version,X.Y,latestandsha-<short>;latestandX.Ymove only
for a plain release.scripts/install.shpulls it, writes a compose file and a key, starts it on
http://localhost:8700and waits until it answers:curl -fsSL https://ofintech.ai/install.sh | shThat 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.ymlat 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 inexamples/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_DIRpoints 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.fitturns 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 onmainon 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 figure605.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); theageing_reporttool 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.
v1.3.0
Added
- A corpus of bank statement shapes, contributed rather than guessed.
fixtures/statements/<country>/<bank>/
holds an invented statement and a note of what the file says;fixtures/validate.pychecks one before it is
sent, andengine/tests/test_statement_corpus.pyreads every one of them on every build, so a shape that is
read today keeps being read while the reader is changed for somebody else's bank. Two worked examples are
included: money-in/money-out columns under a letterhead, and a single signed amount column with the minus
written after the figure. Contributing one needs no code — see fixtures/README.md. - Two issue forms for the two reports that matter most, each asking for what is actually needed to fix the
problem: A bank statement is not read correctly (the top of the file with invented figures, and what the
file says) and A figure is wrong (the account, the period, both figures, and where yours comes from). - A ten-minute way in at the top of Run it: install, import the Harbor Line demo company's 14 months of
invented books, and follow a figure down to one journal entry. - A corpus of charts of accounts, contributed by the accountants who use them.
fixtures/charts-of-accounts/<country>/<slug>/holds a chart with the account class in the words that
country's systems write and the role each account should get as an accountant judges it;
engine/tests/test_chart_corpus.pyholds the classification to it on every build, and
fixtures/charts-of-accounts/validate.pyshows a contributor what the product makes of their chart before
they send it. Contributing one needs no code — see
fixtures/charts-of-accounts/README.md.
A fixture can record a gap — a class word the product does not know, or a role it suggests wrongly — with
a reason, instead of bending the expectation to match the code. A recorded gap is asserted to still
reproduce, so when somebody extends a word list the build fails and says to delete it. The two charts
included carry one gap each, both found by writing them: a UK loan written (over one year) is suggested as
short-term debt, because the long-term words are «long-term», «long term» and «non-current»; and an
account class written in Arabic is not recognised at all (the ledger import then refuses the row with
"unknown account class"), becauseCLASS_ALIASESis English only while the role words beside it are in four
languages — the same is true of French and Spanish.
Changed
-
The account class column is read in four languages, not one. A ledger arrives with its class column
written in the words the customer's own system uses — Debtors, Creditors, «الإيرادات», Proveedores,
Les charges — andCLASS_ALIASESheld twenty English words, while the role words beside it
(analysis/roles.py) have always been in English, Arabic, Spanish and French. An unrecognised class word is
not a degraded suggestion: the import refuses that row with "unknown account class", so the account never
reaches the statements or the ratios. In a product whose interface and documentation are Arabic first, an
Arabic class column was refused row by row.The table is now
CLASS_WORDS, keyed by the canonical class, with each of the eleven classes written the way
all four languages write it — 181 words, normalised on the way in the same way the role words are, so
«الإيرادات» and «الايرادات» are one word and Amortización needs no second spelling. The definite article is
read as a second reading: Arabic joins it to every word it governs, so it comes off each one and
«الالتزامات المتداولة» reaches «التزامات متداولة»; Les charges and La caisse lose theirs from the front.
A word that two classes could claim goes to the narrower reading or stays out — bare dettes and deudas
are a liability while dettes fournisseurs and proveedores are the payables control account — and a word
that names an account rather than a class stays out altogether, so «مخزون» and existencias are still
inventory accounts of class Asset rather than a class of their own.engine/tests/test_cost_centres.pystates the four words for each of the eleven classes in a list written
independently of the table, fails if a class is added without them, fails if any word is claimed by two
classes, and reads an Arabic ledger end to end. A word nobody knows is still unknown: the row is named with
its number so a person can correct the file, because guessing is worse than refusing. The class-word gap
recorded infixtures/charts-of-accounts/sa/trading-companyis deleted, which is what the corpus test asked
for in so many words.The ledger template's own Guide sheet now says so, where somebody filling the file in will read it, and the
monospace block on that sheet follows the list of field lines instead of a hard-coded row count — which is
what hid the three new lines in the first draft of this change. -
The product's owner is named: OFIN INC, 8 The Green, Suite B, Dover, DE 19901, United States. The
copyright holder inNOTICEwas «The OfinTech Desk authors», which names nobody and leaves the marks
belonging to no one in particular. The entity now appears inNOTICEwith its registered address, in the
installer metadata the operating system shows before anyone runs the file, in the published package
metadata (@ofintech/embedded-agent, the engine, the desktop app and the UI), and in the website footer
beside the Riyadh operation it runs from. "OfinTech", "OfinTech Desk" and the OFINTECH logo are stated as
marks of OFIN INC, which is what section 6 of the licence leaves out of the grant.LICENSEis deliberately untouched: the copyright notice at the end of the Apache-2.0 text is the
licence's own template, not a field to fill in, and the real notice belongs inNOTICE.
Added
-
/readysays whether the engine can actually work./healthhas always answeredokwhenever the
process was running, which is the right answer to the question it asks and the wrong one to rely on: a
container on a full disk, a deploy whose migrations did not run, a bucket whose policy changed after
deployment and a background loop stuck on anawaitall answer it perfectly, and none of them fails a
request until somebody's work is already lost. The new route runs five checks — the schema version against
the build in both directions, a write transaction taken and rolled back, free space on the data volume,
the object store, and how long since the background scheduler last came round — and answers503when the
engine should be taken out of rotation,200withdegradedfor a warning./healthis unchanged and
stays what a restart policy points at: nothing/readyreports is fixed by restarting, and a schema
mismatch or a refusing bucket would turn a restart policy into a restart loop.The route is unauthenticated, because a container probe has no credentials to offer, so what it says is
public and is treated that way: a status and a reason code from a closed set, with no path, version or
free-byte count anywhere in the body. The numbers go to the log, once each time the overall state changes.
One evaluation serves two seconds, so holding down a reload cannot make the engine hammer its own object
store. It does not replace an outside monitor — a process that is down answers nothing at all, and no
internal check can report its own absence. -
Every document search records what it cost. One line per search: how many vectors were compared, whether
the matrix was already in memory, the keyword and semantic phases separately, the total, the memory the cache
holds and the resident memory of the process. A search slower than 500 ms is logged as a warning rather than as
routine information. This is what makes the next decision about retrieval a measured one: the thresholds worth
watching are chunks per workspace, process memory and the slow-search warnings, and nothing in the product
could report any of them. The query, the matched text and the document names are deliberately not recorded — a
search line is written on every lookup, including the ones an agent makes over a customer's ledger, and a log
is the easiest place to spill the contents of the thing being searched. -
The app can be installed from the browser. Chrome and Edge now offer to install Desk from the page, Safari
can add it to the Dock, and the result is an icon and a window of its own with no browser chrome. It matters for
who can actually try the product: a finance lead on a managed laptop often cannot run a downloaded installer,
and an unsigned one asks them to step past Gatekeeper or SmartScreen before they have seen anything. This is the
same page over the same HTTPS, so there is nothing to sign, notarise or warn about.e2e/installable.pychecks
the parts that each fail quietly — the manifest linked and served as a manifest, icons at 192 and 512, a
maskable icon whose corners are opaque so a cropping platform does not cut through the mark, and a
Content-Security-Policy that still permits fetching it. -
What the model calls cost (Settings → Usage). The product has recorded every token it spends since the first
release and has never been able to say what they came to. Rates are entered per workspace, per million tokens, as
the provider quotes them, and each applies from the day it takes effect — so entering next month's price does not
re-cost last month, while correcting a rate typed wrongly does, with the audit log keeping what it was. Cached
tokens are billed at their own rates rather than as input, which the token column alone would get wrong by more
than five times on a workspace that caches well. Usage with no rate behind it is reported and left out ...
v1.2.0
Tagged at 08c20fb and published with no notes and no installers; the code at that tag still read 1.1.0, so nothing was installed under this number.
Every change made since 1.1.0, before and after this tag, is listed under 1.3.0 — which is the release to download. This entry exists so that the tag is not a blank line in the list, and it carries no files for the same reason it never did.
v1.1.0
Released 1 November 2026.
Added
- Data boundaries (docs/DATA_BOUNDARIES.md): no payments, sealed workspaces, sealed servers (DESK_SEALED=1), IBAN and card masking on every message on its way to a model, and two assistant rules. Each one is enforced in code and was tested by switching it off.
- Month-end close (docs/CLOSE.md): a month prepared from the general ledger, with a reading of the bank statement beside it.
- Webhooks under Connections: incoming endpoints other systems call with a secret, and outgoing deliveries.
- Cost centres (docs/COST_CENTRES.md): a project or department followed through the ledger, with Excel templates and a ledger upload.
- Financial analysis and forecasting: a method and an assumption behind every line.
- Desktop client for macOS and Windows, Google sign-in through the system browser, sign-up from the website, and the public site itself.
- General-ledger lines from QuickBooks Online and Xero, IBM Plex Sans Arabic bundled for offline use, and a demo company with 14 months of invented books.
Fixed
Memory found saved memories only when the question used the same word forms, which missed Arabic; a dashboard refresh recalculated with no sign that anything had happened; connecting an accounting system or Google failed quietly in places. Guidance for local models came from the CFAI benchmark.
Full notes: CHANGELOG.md, section 1.1.0.
The installers attached here are the 1.1.0 builds. They were published under the v1.0.0 tag by mistake, and this release was moved to its own tag on 18 November 2026.
v1.0.0
First open-source release, under the Apache License 2.0.
Added
- Your own Excel and Word files. Attach or upload an
.xlsx/.docx; the assistant inspects it and fills it in or updates it withopen_file_for_editing,inspect_fileandedit_file. Every edit is a new version that keeps the file's layout, styles and formulas; new figures are matched to sources or highlighted; model-written formulas may not reach outside the workbook. - Memory with transparency. The assistant proposes; people approve. Workspace and personal memory, pinning, archive, use counts and origin of every entry, Memory consulted under answers, secret detection, audit trail.
- Workspace search across documents, conversations, memory, files and data, with a short cited answer.
- OCR of scanned PDFs and images with Tesseract (English, Arabic, Spanish, French).
- Collections that follow a Google Drive folder, checked hourly.
- Accounts: sign in with Google (OIDC with PKCE, verified e-mail, optional domain allow-list), password reset by e-mail, invitations by e-mail (existing accounts are added directly), SMTP settings.
- Delete a conversation.
- Workflows: webhook trigger with a per-workflow secret, file steps (refresh a workbook, edit your own file), retries with back-off and continue on error, a run timeline with durations and outputs, a schedule preview, and a gallery of six finance templates in four languages.
- Languages: Arabic (right to left), Spanish and French alongside English, chosen per person; the assistant answers in the language you write in.
npm run i18n:checkreports coverage. - Lower token use: tool groups chosen per request with a
more_toolsfallback, a stable cacheable system prefix, Anthropic prompt caching, shortened older tool results, a model for short jobs, and cache figures under Usage. - The OFINTECH logo in the app, the icons and the README.
- Open-source project files: LICENSE (Apache-2.0), NOTICE, CONTRIBUTING, SECURITY policy, code of conduct, issue and pull-request templates; CI runs OCR tests, the translation check and the browser smoke test.
Changed
- PipesHub replaces Onyx as the optional external knowledge engine (migration 7 removes Onyx connections).
- Workflow drafts can be saved incomplete; they are checked when switched on or run.
- The system prompt is split into a stable part and a changing part; the date moved to the changing part.
- A Team Server refuses to start with
DESK_DEVset or with anhttp://public address (DESK_ALLOW_HTTP=truefor a private test install).DESK_MASTER_KEY_FILEcan supply the master key as a Docker secret. - Google sign-in honours
DESK_GOOGLE_ALLOWED_DOMAINSfor every sign-in, not only new accounts.
Database migrations
- 8: Google sign-in, password resets, login states.
- 9: memories and their full-text index.
- 10: full-text index of conversations; Drive-folder source for collections.
- 11: workflow webhook secrets, the model for short jobs, each person's language, cache token counts.
No installers are attached to this release. The 1.0.0 builds were not republished when this repository's history was re-uploaded on 15 November 2026; the oldest installers still published are 1.1.0. The files that were attached here until 18 November 2026 were the 1.1.0 builds, and they now sit on the 1.1.0 release where they belong.