[translator] Epic: the next major — one traversal engine, four reshaped ports
Maintainers usually reply within 1 day
@SearheiParkhamchuk is already working on this.
Since Oct 21, 2026.
Assessment
This issue has not been assessed yet.
Description
Goal
The plugin's next major reshapes four public ports and replaces the translation mechanism with a single traversal engine the plugin no longer owns alone. The sequence, its dependencies and its stopping points are designed in packages/payload-plugin-translator/docs/plans/2026-10-18-the-rewiring.md §9. This issue tracks it.
Children are one per design step — the same unit the branch already works in, where each step is one branch and one pull request.
Order, and what each step cannot start before
step 2 ──┐
├──► K (kernel) ──┬──► languages ──┬──► S (the swap)
F1 ──────┤ │ │
└──► step 4 ──────┴──► step 5 ─────┘
│ ├──► step 6
│ └──► step 8 ──► step 9
└──► (stopping point)
- step 4 is the keystone: steps 5, 6, 8 and the swap all wait on it, and it needs F1 landed first, because step 4 publishes at the module seam the very field F1 corrects.
- K is the traversal kernel, built fresh and additive rather than by generalising the live pipeline in place. It replaces the original steps 3 and 7, which would have written the same files twice and contradicted the rule that the kernel ships zero languages.
- S is where the behavioural risk sits — selection, write-back and fingerprint values — and it keeps today's test suite as its oracle.
Stopping points
Two places where the work can be left standing:
- after step 4 — the inside is clean, provenance is an ordinary tenant, and nothing new is promised outside the package;
- after step 6 — every breaking change a host notices has landed.
Release discipline
Four steps change the public surface: 2, 5, 6 and 8. Each publishes a prerelease under the next dist-tag and is exercised in apps/cms against a real database before the next step starts. A step whose prerelease has not been run that way is not finished.
Hazards carried across steps
The swap must not be wired before the fingerprint projector emits embed-leaf addresses. computeFieldFingerprints reads projectTranslatableContent, which emits one entry per rich-text field and never descends into it, while Provenance.service.record iterates currentFields only. An address such as body.b1:cta.heading is therefore dropped today, and staleness.sameAddresses requires the stored and current key sets to be equal — so wiring the languages into record() first makes every provenance record permanently stale, with the symptom ("everything is out of date") sitting far from the cause.
Container mode for rich text and the public option carrying the embeddable block list are deferred by decision. They land with the swap, together with behaviour a consumer can see; a published option that does nothing is a lie in the README.
Strategy parity is unproven. The two-document checks behind the new languages hold under the overwrite strategy only, because that is what the differential harness drives. The question belongs to the swap, or is dissolved by the step that deletes the strategy port.
Children
Linked as sub-issues, so the progress bar is the record rather than a checklist somebody has to tick.
Landed
- #193 — remove the deprecations no later step owns (step 2 — #184, #186)
- #194 — a traversal kernel that ships no language (step K — #189, #190)
In review
- #195 — the Payload field and Lexical languages, and the crossing into embedded blocks (#191)
Next, and independent of everything else
- #196 — finish the deprecation sweep: the legacy OpenAI provider class is still exported
- #197 — report a leaf as attempted rather than as returned (gates #198)
The keystone, and what waits on it
- #198 — module extraction: provenance becomes an ordinary tenant (after #194 and #197 · stopping point)
- #199 — the swap: the translation pipeline moves onto the traversal engine (after #194 and #198)
- #48 — strategy out, selection in (after #198 · public surface)
- #200 — the runner port: narrow the mandatory core to enqueue (after #198 · public surface · stopping point)
- #201 — the provider port: two arguments, exceptions, declared capabilities (after #198 and #194 · public surface)
#202 — open the seam to hosts: export the module type and— moved out, see belowprovenance()(after #194 and #201 — the last step)
Not in this major
Opening the module seam to hosts (#202) was the last step of this epic and is not one any more.
No caller passes a host-written module and nothing asks for one — the three places that
configure the plugin all pass its own factories, which are already exported. Publishing
TranslationModule would publish the context it carries with it: access, the schema map, the
translation provider and the right to add endpoints. Two of its five questions were answered
by work that landed after it was written, and a third belongs to the 1.0 admin research.
Recorded in packages/payload-plugin-translator/docs/plans/2026-11-14-open-the-module-seam.md.
Re-extracting the traversal engine into its own package (#203) was a child of this epic and is
not one any more. Publishing the engine turns its interface — the address token, the entry
context — into a promise, and making that promise under this major's deadline is the risk the
epic exists to avoid rather than take on. The engine is held apart inside the package instead,
by a lint zone and a scan, which costs nothing and promises nothing. The extraction lands after
the major.
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 5
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 41
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from focusreactive/payload-plugins
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
focusreactive/payload-plugins#279 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
focusreactive/payload-plugins#263 ·
Maintainers usually reply within 1 day
-
comments, seo, analytics, and presets publish ESM that fails to load in Node.js (follow-up to #149)Open
Difficulty 3/5 1-2 days Newbie friendliness 62/100
focusreactive/payload-plugins#240 ·
Maintainers usually reply within 1 day
-
released released on @next
Difficulty 5/5 Over a week Newbie friendliness 35/100
focusreactive/payload-plugins#210 · 10 comments ·
Maintainers usually reply within 1 day
-
[translator] Re-extract the traversal engine into its own packageMay be free again @SearheiParkhamchuk claimed this 41 days ago, and no pull request is open. Openchore low priority translator
focusreactive/payload-plugins#203 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in focusreactive/payload-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nicobailon/pi-subagents#3420 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
openwatersio/slackwater.xyz#309 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
navikt/nav-enonicxp-frontend#3122 ·
Maintainers usually reply within 1 day
-
complexity → simple frontend performance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opencollective/opencollective#9200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day