# What works today

> The capability table, copied from the engineering status file with its evidence. Marketing may not exceed it.

URL: https://chatwork.io/en/docs/channels
Section: Platform

## What each state means

States: **Live** = code, tests and exercised with real credentials. **Code-ready** = code and tests, waiting on a provider credential or approval. **Test-only** = proven against mocked providers, not yet against the real one.

## Capabilities

| Capability | State | Notes |
|---|---|---|
| X DMs and mentions → Chatwork inbox → AI reply → X | **Live** | One X app today; per-tenant X credentials are not built. |
| Self-hosted inbox (chatwork engine) | **Live** | Pinned `v4.19.1`; upgrading is a separate, deliberate change. |
| Authentication: admin key, hashed tenant keys, MCP bearer, webhook secret, widget sessions, rate limits | **Live** | |
| Tenant routing on exact `(account, inbox)`; ambiguous or unknown → quarantine | **Live** | |
| Webhook dedup, bot-echo guard, event inbox with admin retry | **Live** | Retry re-runs the whole handler; side effects before the failure point can repeat. |
| X outbox (at-least-once, backoff, dead letters) | **Live (tests)** | Not yet exercised against live X. |
| Web widget with signed visitor sessions, `/inbound` into the real Chatwork inbox | **Live** | |
| AI/human control with generations; explicit release | **Live** | |
| Per-tenant MCP tools (discovery, auth header, cache, SSRF guard) and the MCP server | **Live** | |
| Chatwork Router, lexical layer | **Live (tests)** | Conformance fixtures shared with the site. |
| Chatwork Router: built-in knowledge base, routing log, optional semantic layer | **Live (tests) / Code-ready** | Built-in knowledge runs on `DOT_DATABASE_URL` with zero outside calls (`CLOUDRAG_EMBEDDINGS=off`); the optional semantic layer (`provider`) needs an embeddings endpoint. |
| Usage quotas, subscriptions, invoices in halalas | **Live** | Invoices stay draft until a verified payment. |
| Public pricing API and plan calculator | **Live (tests)** | Same arithmetic as the invoices; one catalogue file for the bridge and the site. |
| Moyasar payments | **Test-only** | Mocked provider; live keys not configured. |
| ZATCA e-invoicing | **Phase-1 QR data only** | Not a compliance claim. |
| WhatsApp Cloud API, Telegram, Email (native inboxes) | **Code-ready** | Provisioned by API with the agent bot attached; needs tenant credentials. |
| Instagram, Facebook | **Code-ready (register only)** | Connected in the inbox console (`chat.<domain>`), registered by the bridge; needs Meta app review. |
| Salla and Zid commerce, `lookup_order` tool | **Test-only** | OAuth, webhooks, PII-free order cache built against mocks. |
| Human logins, sessions, MFA, RBAC, password reset | **Live (tests)** | Invites and reset codes are hand-delivered (no email provider yet). |
| Self-service signup (workspace + owner + trial) and the sign-in page | **Live (tests)** | No email verification yet; modes `open`, `code`, `closed`; rate-limited and capped per day. |
| Operator dashboard in Arabic and English, phone layout, overview, agents and knowledge view | **Live (browser-checked locally)** | English coverage is enforced by a test; text the bridge itself returns in Arabic is translated from a fixed list. |
| Readiness endpoint, request IDs | **Live (tests)** | `GET /ready`, `X-Request-ID`. |
| Tickets with SLA, one open ticket per conversation, handoff → ticket | **Live (tests)** | Breach computed on read; no scheduler or notifications. |
| Contacts (read-only CRM view) | **Test-only** | |
| Service catalogue, automations | **Not built** | |

## Where this table comes from

Source: `docs/STATUS.md` in the repository, updated in the same change as the code.
