ROSETTA v4.0.1
Kernel router. Pluggable Rosetta modules.
v4.0.1 introduces a kernel-router architecture and four domain-aware compression modules: prose, financial, construction, and code. The packet format from v3 is unchanged. v3.1 remains the productized stable release. v4.0.1 is a public research preview, qualified successor on domain-backed content.
Qualified Successor Verdict
The verdict below is the canonical AMENDMENT NOTICE language from docs/v4-research-document.md (2026-04-16), reproduced verbatim. The amendment was authored when 201 tests were passing; the current count is 217.
- On domain-backed content (v4 has a dedicated Rosetta module), v4 replaces v3.1. Both recall and precision are materially higher on both home-turf corpora. Cross-model consistency held across four independent non-Anthropic models.
- On prose fallback (v4 has no domain module), v4 is a recall-favored tradeoff, not a clean replacement. v4's keyword-signature compression gives cold LLMs more entity hooks (recall up) but also leads LLMs to hallucinate more false entity mentions when reassembling prose from keyword spines (precision down). Precision-sensitive use cases on pure narrative prose may prefer v3.1 until this gap is closed.
- The v4 runtime architecture is independently validated. Kernel router, pluggable Rosetta modules, shared canonical form layer, artifact-driven gating, and drift detection are all implemented and under test discipline at 201 tests passing at the time of this amendment.
Full text and gate evidence: research-stage status page.
Quick Stats
Source freeze: v4.0.2-r6-freeze. HEAD: 51e75de. Tests run: 217 / 217 in 2.66s (verified 2026-04-25).
Architecture
The kernel router is stateless. It reads the ^rosetta:MODULE META flag (or detects domain heuristically), then dispatches to a specialized module. The packet format from v3/v4 does not change. Adding a new domain means registering a new module name.
AXL v4 Kernel Router
====================
Source Content
|
v
+--------------------+
| KERNEL ROUTER | Tiny. Stateless. One job:
| detect domain OR | read ^rosetta flag, or infer
| read explicit flag | domain from content signals.
+--------------------+
|
+---> ^rosetta:prose ---> [ Rosetta.prose ] --+
+---> ^rosetta:financial ---> [ Rosetta.financial ] --+
+---> ^rosetta:construction ---> [ Rosetta.construction ] --+
+---> ^rosetta:code ---> [ Rosetta.code ] --+
| |
v v
Same PKT[VER|CLS|SUB|TAG|ARG1|ARG2|META] format Compressed packets
Same version negotiation with ^rosetta:XX
Same error handling in META field
| |
| DECOMPRESSION |
| | |
| v |
| ^rosetta tag tells decoder |
| which module vocabulary to |
+<----------- use for faithful reconstruction -----------------+
Source: spec/v4-kernel-router.md, Section 3.
Capabilities
- Kernel router: single new META flag
^rosetta:MODULEdispatches to the right Rosetta module. Stateless. No kernel format change. - Four implemented Rosetta modules: prose (fallback), financial, construction, code. Module sources in
src/axl_v4/rosetta/. - Drift detection: implemented and under test as part of the runtime architecture.
- Artifact-driven gating: production gate is artifact-anchored; gate evidence committed alongside results.
- Backward compatible: all v3 packets parse under v4 rules without modification. Unknown
^rosetta:XXvalues are ignored by older parsers. - Code compression: lossy structural intermediate representation. Decompressed code preserves intent, not byte-identity. See code layer spec.
Provenance
v4.0.2-r6-freeze51e75de1f81fad1471a7173c6413c1bb920c559a (ci tiktoken install fix)4.0.2-draft internal label, public release wrapper v4.0.1github.com/axlprotocol/axl-research (org mirror)
Both repos are PRIVATE. Public visitors will see HTTP 404 unless authenticated.