Chatwork 3.0: one platform, one version, one truth table
Why we deleted a server, moved a 1,900-line HTML string out of Python, and gave the whole stack a single version number.
9 November 2026 · Chatwork team
Two weeks ago the repository had two backends. The real one, a FastAPI bridge with 760 tests, and a second one: a Node file that served the same portal from an in-memory object full of fabricated conversations, invented latency numbers and a hard-coded login token. It had been useful for a design review. It was also a lie waiting to be deployed.
3.0 is mostly subtraction.
What went
- The duplicate server. One backend, one contract, one set of tests. The portal talks to the bridge or to nothing.
- The HTML-in-Python. The operator portal was a 1,892-line string constant. It is now
templates/portal.html, which editors can open, linters can read and the 200-line rule no longer has to carve an exception for. - Duplicated design tokens. The portal inlined a copy of
tokens.css. The file is served once and referenced everywhere, including this site, which uses the same names and values. - Three version numbers. The bridge, the MCP manifest and the portal each had their own
2.0.0. A singleVERSIONfile at the root now feeds all of them and the footer of this page. - Brand leftovers. Earlier names survived in prompts, bot descriptions and the MFA issuer. User-facing copy says Chatwork now. Identifiers that customers’ pages and stored data depend on are deliberately untouched and documented as frozen.
What came
- A marketing site that cannot break the API.
chatwork.iois static files. The API, MCP, webhooks and the widget keep their paths on the same host; Caddy routes by prefix before anything reaches the site. - Chatwork Router, the routing and knowledge layer. More on that in its own post.
- Six agents as files. The agents catalogue on this site, the router in the bridge and the seed script all read
agents/registry/*.yaml. There is no second definition to drift.
The truth table stays the ceiling
The project has had a rule since its first audit: marketing copy may not claim more than docs/STATUS.md. That table is now published and the home page quotes it, including the rows that say “code-ready” and “test-only”. We would rather lose a lead than a customer.