← Back to blog

What September Changed: Typed Decisions and a One-Way Boundary

Ten releases landed on two days at the end of September, and the month's work points one way: the judgments the machine makes about your content should be typed, measured, and unable to leave the machine.

Ten releases, two days

September shipped as ten versions, all of them on the 27th and the 30th. That is the shape of the workflow rather than a month of silence: releases are cut automatically on every push to master, so finished branches land in bursts. The substance of the month is in v0.4.8 through v0.4.17, and it lines up behind one idea. The judgments the system makes about your content should be typed, measured, and unable to leave the machine.

The decision layer became typed, then measured

Typed questions instead of prose. Deciding whether a message is worth keeping, whether it is gossip, whether it carries personal data, what language it is in and how wide its scope should be used to mean fishing those answers out of a model's prose reply, which made them inconsistent from one run to the next. They are now asked as typed questions with a fixed answer space and answered with probability distributions. The backends behind that seam are all local: a sentence-level NLI encoder that computes distributions from logits and needs no GPU, a non-autoregressive decision model that measured fastest but is opt-in, and ollama for comparison. The layer stays inert until you set THREADWEAVE_DECISION_PROVIDER, and docs/decision-layer.md has the detail.

Language detection had to be deterministic. An NLI classifier is bad at naming a language, measured at 0.17 to 0.23 on picking the right one, so language now comes from function-word profiles and the writing system instead. The gate uses that for every provider.

The probabilities were wrong at the thresholds that matter. At the reject bars that decide what gets stored, the raw provider probabilities missed 71 to 100 percent of true positives, and which end of that range depended on the question. An affine fit on the logits, applied before any threshold comparison, roughly halved held-out calibration error in every backend tested. It is configured per question through THREADWEAVE_DECISION_CALIBRATION, and the measurement harness is in the repository so you can reproduce it on your own traffic.

Everything that could leave the machine is gone

Three removals in September, and they were the point rather than cleanup.

A hosted decision provider. The remote decision backend and the opt-in flag that gated it are deleted, along with the API key it read and the guard that was supposed to stop it sending content out. It was the only code path that could ship captured content to a third party, it had never been run against the live service, and the project's contract is one-way and on-premises. A switch like that should not be left in a codebase where somebody can flip it. An unknown provider name now disables the layer with a warning.

Implicit cloud credentials in the detector. The LLM detector no longer reads OPENAI_API_KEY or OPENAI_BASE_URL, and it no longer falls back to a hosted endpoint when nothing is configured. A base URL you set is the only thing that names an LLM endpoint, and an API key on its own now enables nothing. A machine carrying a cloud credential in its environment stays on the regex detector instead of quietly posting captured content to a vendor. Every documented deployment already sets the base URL, so nothing in a running configuration changed.

The Microsoft 365 Copilot connector. It pushed captured entries into the tenant's search index from a daemon sitting inside the capture path, which is precisely what the privacy page promises does not happen: content goes into your store and never comes back out. It also could not be tested without a Copilot licence, which is a poor basis for a component with that reach. The connector, its CLI verbs and its daemon are gone, and the rule that replaces it is written down in docs/ai-publication-boundary.md.

Agents can read the memory now, on the same terms as people

threadweave mcp serves the memory over the Model Context Protocol, with nine tools covering search, decisions, an entry's provenance, who knows what, open commitments, classification before capture, capture itself and topic browsing. It is a stateless shim over the REST API, and every call carries the caller's own key, so tenant scoping, the confidentiality levels, the gossip gate, the opt-out registry and the audit trail behave exactly as they do for a person. An agent read is audited like a human read. The SDK ships as an optional extra, so a plain installation is unaffected. See docs/mcp-server.md.

The single-user tier stopped borrowing the managed tier's access

Personal mode now reads the signed-in owner's own mailbox with a delegated device-code token over the /me endpoints, instead of borrowing the organization-wide mailbox access the managed tier uses. That means no client secret and no application permission, and it makes the tier's claim of no organization-wide grants true rather than aspirational. One sign-in with threadweave email login, then silent refresh.

The same release fixed the matching inconsistency on the read side. A capture can only exist because the owner's own credentials read it, so a group grant that the single-user tier cannot expand used to deny the very person who captured it. Grants now resolve to the owner at ingest, and unverifiable group grants are dropped, while denials and revocations keep their authority.

Smaller things worth naming

Where that leaves it

Ten releases, all of them keeping the machine's work inside the machine, and a decision layer that now says how confident it is and how wrong that confidence used to be. The suite runs at roughly 965 tests, and CHANGELOG.md is the full record with nothing summarized away.

The one-command demo, threadweave demo --serve, landed just after the month closed, in v0.4.20. It seeds a fictional palace and serves it, so you can search real results in about a minute without a tenant, an admin or a credential of any kind, and judge the whole loop before you decide anything.


View on GitHub