Skip to content

00c โ€” Replica Sets

Scope: every rule this codebase implements in more than one place on purpose, so that changing one copy sends you to the others. A listing, not an argument โ€” the reasoning lives at the anchor site.


Why this exists rather than a helper

The obvious fix for duplicated logic is to unify it. That is often wrong here: roughly half the divergence in this repo is deliberate โ€” each copy feeds a different consumer, or derives its inputs differently, and forcing agreement would force it in cases where the copies should differ. The ladder is constant > derived > helper > inline exception, and the usual target is a helper โ€” but "usual" is not "always".

So a replica set is coordination without unification. It does not merge the copies. It records that they exist, and makes the others findable from any one of them.

The failure it exists to prevent is specific and has already happened. A fix landed in two of three copies of the translation_key rescue; 4381 tests passed, because each copy carries its own passing tests and a green suite proves only that every copy is self-consistent with itself. The third was caught by renaming a live vacuum's entities to German โ€” not by any gate.

A green suite cannot see a missing copy. That is the whole argument for this file.


How a set is recorded

An RN notation anchor (design/shipped/notation-anchors.md) is declared once at the set's natural primary โ€” the shared artifact the copies revolve around, or the copy whose comment carries the reasoning โ€” and referenced from every other member.

# anchor: RNxxxxxx  <what the rule is> โ€” the replica set     โ† exactly one
# REPLICA RNxxxxxx โ€” <the twin lives at โ€ฆ>                   โ† one per other copy

python scripts/doc_anchor.py --show RNxxxxxx lists every site. --check enforces that the declaration is unique.

โš  The declaration must live in SOURCE, not here. doc_anchor.py scans custom_components/, scripts/, src/, harness/ and tests/ for declarations; documents can only reference. This file is therefore an index over anchors that live in code โ€” the same relationship 00b has with its invariants.

tests/ counts as a declaration site, since 2026-11-07. It did not before, and that gap decided what this register could record: a set with a member in a test had an unanchorable member, so it could not be a set here at all. Not hypothetical โ€” tests/replay/reverdict.py restated _SHIFT_BLOCK_MIN_RUN by hand inside a file whose own docstring forbids restating shipped logic, and nothing could describe it. Coverage saw a line that ran; this file could not name the pair.

A test is a legitimate member of a replica set when it re-states a rule โ€” a fixture table copied from a shipped one, a harness that recomputes what it should import. A test that merely asserts the shipped value is a FENCE, not a replica: move the constant and it goes red, which is the behaviour you want, and it does not belong here.

This was a correction, not a new idea โ€” there was already a working example on the other side of the language split. RNF6XB1P has its primary at harness/shoot-locales.mjs and its replica at harness/tests/i18n-rtl.spec.mjs, and that has always resolved, because harness/ is a source root and harness/tests/ sits under it. A test was therefore already a legitimate member of a set; the only thing missing was that a Python test under tests/ could not be one.

Mint with python scripts/doc_anchor.py --mint RN.


The sets

RNT9NEY2 โ€” the HA card-frame inputs ยท 2 copies, one question each

--ha-card-background and --ha-card-border-color are the two names a Home Assistant theme uses to style a card. They may be read in exactly one place: inside the declaration of the VA token that answers the same question.

Copy The question it answers
--evcc-surface-card (foundation.js) โ€” reads --ha-card-background what colour is a card's fill?
--evcc-border-default (foundation.js) โ€” reads --ha-card-border-color what colour is a card's edge?

Why they cannot move into the card chains, which is where anyone would put them. Both VA tokens are declared unconditionally, so a var() rung behind one is unreachable โ€” dead on arrival, and silently, because the chain still has a working last resort. A rung ahead of one inverts the precedence: an HA theme would beat a VA theme, which darkens a card whose VA theme is light under a dark HA theme. Neither failure shows up in a test that only checks the name is present somewhere.

Inside the declaration it is correct, because the VA theme editor writes its tokens as inline properties on the card host, and inline beats the :host rule this sits in. The declaration therefore computes only when no VA value exists โ€” which is exactly VA, else HA, else the literal. --ha-card-border-radius has always worked this way at --evcc-radius-card; this pair follows it.

Measured in Chromium against the built bundles, four paths ร— three cards: neither set โ†’ the literal; HA only โ†’ the HA value (it was blocked before); VA only โ†’ the VA value; both โ†’ VA wins. Pinned by [CFR-11], which asserts the foundation shape and that no card names either token outside the room card's single apply site.


RN3NP79M โ€” what a migration CARRY must report ยท 2 copies

plan_migration carries a stored room's durable settings onto a discovered room's new id in two places, and each has to report the same four things. The second copy reported three of them for two and a half months.

Copy Matches the stored room by
the main for discovered in discovered_rooms loop its slug, or its id when that id is unconsumed
the REC-3 singleton pairing below it elimination โ€” exactly one leftover, exactly one unmatched
Must report Why
new_rooms[new_id] with the carried settings floor type, passes, rules, grants, order
id_remap[old_id] = new_id the access graph is rewritten through it
carried_slugs.add(old_slug) or the room is also reported dropped
slug_remap[old_slug] = new_slug learning history is keyed map_id::slug

The pairing copy omitted the last one until 2026-11-08. It is the only carry where the slug always changes โ€” a room reaches it because its stored slug matched nothing discovered and the discovered slug matched nothing stored โ€” so the alias was lost on every rename+ renumber rather than occasionally. room_crud.reconcile_room gates both history remedies on a non-empty slug_remap, so the room kept its settings and read as never cleaned: exactly the D5 failure the channel was built to stop, surviving in the one path where both halves of the identity move at once. The main loop guards its entry with if source_slug != slug; the pairing needs no guard, because equality is impossible there by construction and LearningHistoryStore.record_slug_alias already refuses a self-alias at the consumer.

Declared at rooms/reconciliation.py::plan_migration. Pinned by test_rooms_reconciliation.py::test_sole_leftover_is_paired_with_sole_unmatched_and_not_dropped (the plan) and test_room_crud.py::test_rc18_a_rename_plus_renumber_records_the_slug_alias (the store call). Both go red if the pairing stops reporting the alias; before the fix the first test passed while asserting every other field.

RN6M6W3H โ€” the splitters' active-area floor ยท 2 copies

max(int(min_area_pixels * 2.0), 3200) is written twice, as byte-identical four-line blocks down to the below_active_area_floor reason string.

Copy Feeds
_split_component_via_local_support whether a component is big enough to score per-pixel support
_split_component_via_color_distance whether a component is big enough to cluster by colour

Not unified because the two questions are genuinely separate โ€” one asks whether there is enough area to take percentiles of saturation and value, the other whether there is enough to quantise into colour bins. They agree today by accident of the constants, not by identity. That is exactly why they need an anchor: a retune of one is silent in both directions, since no caller compares them and no test reads both. The consequence is not a crash but a cascade re-ordering โ€” one splitter starts admitting a band of components the other still refuses, so a different strategy wins, and the run reports success either way.

Distinguish this from [SP-oversize-xsite], which anchors the other replicated threshold in the same file, max(int(min_area_pixels * 10), 120000). Those two sites are a gate and the floor it guards โ€” complementary predicates on one quantity, so drift there creates a dead band that a behavioural test can detect end-to-end. These two are independent peers, which is why this set gets a register entry and a marker pair rather than a behavioural test: there is no single call path that sees both.

Declared at adapters/eufy/segmentor.py::_split_component_via_local_support.

Found 2026-11-11 while ablating a different guard: a substitution anchored on the floor block matched 2 occurrences instead of 1 and silently hit both functions, so the first ablation's bite was unattributable until it was re-run disambiguated by the following line.

RNF2RCXP โ€” translation_key rescue ยท 3 copies

The rescue function is shared; the decision to call it is written out three times, and that decision is what must agree.

Copy Feeds
entity_resolve.resolve_declared_entities the adapter's declared entities map
capabilities._rescue_maintenance_source maintenance sources
capabilities.augment_candidates_from_device the roles detect_capabilities probes

Not unified because each takes its wanted-key from a different place and feeds a different consumer. Declared at adapters/entity_resolve.py::rescue_by_translation_key.

Rung 4 is in copy 1 only โ€” a decision, not an oversight (issue #61). The ladder now ends with a device_class rung, because a provider may set no translation_key at all: Roborock's sensor.<vac>_battery and binary_sensor.<vac>_charging carry none (measured), so a localized install resolved active_map โ€” which has a key โ€” and failed battery and charging, leaving get_battery_level returning None for the whole session. battery and charging are declared in the entities map, which only copy 1 reads; no adapter lists either in entity_candidates, and no maintenance component has an HA device class at all. In copies 2 and 3 the rung would have no consumer and no input that could make a test for it go red, so it was recorded rather than written. ROLE_DEVICE_CLASSES names the roles that would care if one ever reaches them. Declared at adapters/entity_resolve.py::rescue_by_device_class.

History: ef810519 fixed two; 35ce560f fixed the third, ten hours later. Issue #61 added rung 4 to one copy on purpose and said so in all three.

RNZM4AYY โ€” most-specific-declaration ownership test ยท 3 copies

One rule: a candidate belongs to the declaration that explains the most of its name. The longest declared suffix claims a sibling exclusively, so _cleaning_area cannot swallow _total_cleaning_area.

Copy Applies to "Most" means
entity_resolve.py (inside resolve_declared_entities) the declared entity map longest suffix
capabilities.py (inside augment_candidates_from_device) the probe candidate lists longest suffix
entity_resolve.py::tokens_owned_elsewhere the button token sets proper superset

The third copy is the one that shows why this is a replica set rather than a helper: it is the identical rule over a different vocabulary โ€” set containment where the others use string containment โ€” so no single function can serve all three, and the failure is not that they duplicate but that they can silently disagree.

If the first two disagree, a role resolves one way through the declared map and another through the probe, and the wrong one binds a lifetime counter where a per-run value belongs. On live hardware that is 2.9 mยฒ against 11,814 mยฒ, and nothing throws. The third was missing entirely until issue #49: dry_mop's tokens are a subset of stop_dry_mop's button id, so it matched two siblings, abstained, and a user lost a working control.

Declared at adapters/entity_resolve.py (the copy whose comment carries the reasoning).

RNWQ82XZ โ€” consult the save-refusal check before closing ยท 2 handlers

The room editor's Save is bound on two different roots, and each must ask _roomEditorSaveWasRejected before closing the modal.

Copy Root
src/bindings/room-editor.js::_bindRoomEditorSave the main shadow root
src/bindings/index.js::bindModalHostEvents the detached modal host

The check itself is already shared โ€” this set is the OBLIGATION TO CALL IT, the same shape as RNF2RCXP, where the rescue is one function and the decision to invoke it is written out three times. A handler that forgets to ask is indistinguishable from one that asked and got a yes: the modal closes, and a backend refusal (invalid_access_graph) reverts silently on the next snapshot.

Already drifted once before it was marked โ€” the modal-host copy never gained setSkipRefreshOnClose. That is what moved it from suspected to confirmed.

Declared at src/bindings/room-editor.js::_roomEditorSaveWasRejected.

RNXX8X11 โ€” the room-fill palette SIZE ยท 2 copies (of 3 sites)

How many room-fill colours exist. Three places care; only two can drift.

Site Kind
src/cards/map-room-color.js::ROOM_FILL_N derived โ€” ROOM_FILL_PALETTE.length, cannot be wrong
src/theme-tokens/map.js hand-enumerated --evcc-room-fill-N token list โ€” the copy
src/state/theme.js derived: imports the palette and seeds in a loop โ€” NOT a member

The third row is the instructive one: it faces the same obligation and is immune to it, because it imports rather than restates โ€” which is what the second row could have done. Currently 12 and 12.

The failure is silent in both directions. A 13th colour renders on the map with no picker in the theme editor, so it can never be themed; a removed one leaves a swatch for a token nothing reads. Neither errors, and nothing compares the counts.

Declared at src/cards/map-room-color.js::ROOM_FILL_N (the source of truth).


RNJ9YQF7 โ€” the run-plan display helpers ยท 2 copies ร— 7 functions

Every module-level helper the run-plan/dashboard display path uses, defined twice and byte-identical in both.

Site Kind
planning/run_plan.py primary โ€” carries the reasoning and the audit header block
core/manager.py the copy โ€” same seven functions, verified identical 2026-08-18
maintenance/manager.py third copy of _display_label, missed on first recording

This entry was wrong when written, and the method caught it. It was minted by hand after diffing two files, and said "2 copies". _relation_hunt.py shape found _display_label in a THIRD โ€” maintenance/manager.py โ€” 1.6 s of machine time against an hour of careful reading. An under-recorded set is a wrong claim, not a partial one: someone fixing both listed members would believe they were done.

Disposition: SPLIT, and the split matters. Four members (_safe_int, _safe_float, _iso_now, _display_label) are leaf utilities โ€” dissolvable safely, a shared util module adds nothing any subsystem lacks. Three (_profile_name_label, _settings_profile_display, _room_surface_labels) carry profile / water / carpet vocabulary โ€” hoisting those into a shared module puts domain logic on a seam, which is manager-gravity by another route. Those are dissolvable but shouldn't.

_display_label, _iso_now, _profile_name_label, _safe_float, _safe_int, _settings_profile_display, _room_surface_labels. Neither file imports the other.

This set has already failed, and the failure is on record as a success. A5-PP-RP-8 โ€” the water-off suppression comparing the literal "off" instead of the brand's no-water value โ€” is live in both copies today, while the ledger recorded it closed by RP-025, a packet whose commits never touched either file. So the set demonstrates the exact RNF2RCXP shape and the mis-attribution shape at once.

A green suite cannot see the second copy. Both are exercised, each is self-consistent, and no test compares them. The verification that found this was a whitespace-normalised diff of the two files' shared function names โ€” cheap, and worth repeating rather than trusting.

Unification candidate, deliberately not done here. Seven identical functions is the helper rung of constant > derived > helper > inline exception, not a deliberate divergence โ€” there is no consumer-specific reason for two copies. Recording the set is coordination now; extracting a shared module is the real fix and is a code change, not a tagging one.

Declared at planning/run_plan.py::_profile_name_label (immediately above the block).


RNGSVFKN โ€” clean_times is deliberately UNBOUNDED ยท 3 schemas

Site Kind
services/job_control.py (start_zone_clean) primary โ€” carries the reasoning
mapping/mapping_services.py ร—2 the copies โ€” same Range(min=1), no max

All three are vol.All(vol.Coerce(int), vol.Range(min=1)). The absent upper bound is the decision, not an omission: a schema cannot see which vacuum the call targets, so the real per-brand ceiling is enforced at dispatch โ€” dispatch/manager.py clamps to zone_passes_max on one branch and normalizes to 1 where the brand declares no zone-repeat support on the other.

The drift that matters is someone "fixing" one. Adding a max to a single schema would make that path refuse values the other two accept and dispatch would have clamped anyway โ€” a per-entry-point difference in what the same field means. If one gains a bound, all three must, and the dispatch clamp becomes redundant rather than authoritative.

Declared at services/job_control.py's zone-clean schema.


RNSERK29 โ€” the dock EVENT-TYPE keys ยท 3 sites, one file

last_mop_wash / last_dry_start / last_dust_empty, hand-written three times in dock/manager.py (the trigger-vocabulary block and two count-mapping dicts).

These are framework keys, not brand words โ€” core owning them is correct ([[feedback_eufy_is_not_the_default]]: core owns KEYS, never a brand's WORDS), so "derive them from the adapter" would be the wrong fix and is worth stating because the original finding (A6-DIAG-8) proposed exactly that. The state STRINGS these keys look up are correctly adapter-derived, from two declaration sites and under these same three key names: dock_events.triggers via _vocab_set for the dock_status string, and โ€” for a brand that has no such entity โ€” dock_events.extra_watches via _declared_event_running, in either its role form (Roborock's wash and empty, off task_status) or its action form (drying, off the control's own switch). Both with a documented no-brand-fallback. The second site is NOT a fourth hand-written copy of the keys: it looks one up, by the same name, from the same set.

What is actually wrong is the copying, and a module-level constant is the real fix โ€” the constant rung, the top of the ladder. This records the set until then.

Declared at dock/manager.py's trigger-vocabulary block.


RNR60SN8 โ€” the bundled animal roster ยท 4 copies

Copy Decides
src/theme-tokens/index.js which per-animal theme tokens EXIST
src/renderers/theme-preview-registry.js which animals the theme editor PREVIEWS
src/renderers/map.js (companion picker) which animals are SELECTABLE
src/renderers/theme-preview.js the parent-group representative โ€” inert, see below

All hold the same hardcoded roster, used only when window.AnimalSVG has not loaded โ€” the generated-docs build (node, no window) and the first render before the bundle lands.

โš  THE SET WAS DECLARED AT TWO AND IS FOUR. The fox fix (2e0bce1e) minted this anchor while repairing the first two, and a pre-release audit found the other two still stale โ€” so the fox was missing from the companion picker's cold-path list after the commit that said it was fixed. An anchor is a claim about completeness, and this one was wrong on the day it was minted: the RNF2RCXP shape, in a fresh replica set. Grep the literal, not the anchor.

The fourth copy is inert and listed anyway: theme-preview.js reads only "cat" from its list, which is always present, so no input can make it behave differently. It is here so the set is findable, not because it can break.

Mittens is absent from all four, for TWO different reasons. On the token paths her absence is the protection: declaredColorSuffixes() returns null without AnimalSVG and the documented default is "show the full catalog", so listing her publishes 14 tokens including FUR for a memorial animal. On the picker path the reason is different โ€” she belongs in the list, but the memorial split reads AnimalSVG.get(a).memorial, which is undefined on exactly this path, so she would render as an ordinary animal outside the ๐ŸŒˆ Rainbow Bridge group. Briefly absent beats briefly mis-grouped.

Why it drifts silently. The live roster wins whenever it exists, so a stale copy is invisible in a warm browser and wrong everywhere else. Fox shipped and neither copy was updated, so fox got no tokens at all โ€” while src/i18n/en.js:2596 had already defined its 14 token LABELS and shipped them translated into all 18 packs. Roughly 252 strings naming tokens that did not exist. npm run check:i18n cannot catch that class: it verifies used keys are defined, never defined keys are used.

โš  Mittens is deliberately NOT in either copy and must stay out. She is memorial: true; in a browser the live roster narrows her to her protected eye-only set, but on the fallback path declaredColorSuffixes() returns null and the documented default is show the full catalog โ€” so listing her publishes 14 tokens including fur for a memorial animal, in the generated docs a theme author reads. Measured 2026-10-03: adding her yielded 14, not her 6. Her absence is the protection, not an omission.


RNFT127G โ€” a persisted bucket is validated by ISINSTANCE, not truthiness ยท 3 copies

x or {} substitutes a dict for a falsy value and passes a truthy non-dict straight through to .get. These buckets come back from .storage, so their shape is whatever any past version wrote โ€” not whatever the current writer produces.

Copy Levels checked State before 2026-11-09
battery/sensors.py::_bucket_means (primary) mapping and each bucket correct
battery/sensors.py::LastJobMetricSensor.extra_state_attributes mapping and bucket both or {}
core/battery_aggregates_migration.py::plan_battery_aggregates_migration bucket only or {}

The planner needs only the inner level: _stale_buckets already declines a non-dict job_aggregates and if not stale skips the vacuum before the read. The sensor needs both, because _record() hands back the persisted record with nothing in between. That divergence is why this is a set and not a helper.

Two of the three were wrong, and one of those sat 100 lines above the correct copy in the same file. The sensor property raised AttributeError inside extra_state_attributes, taking the whole attribute set down, while _bucket_means โ€” reading the by_* buckets three lines later โ€” declined the identical shape. The planner raised on any store holding a corrupt all_jobs plus one stale sub-bucket, and _is_stale_bucket twenty lines earlier opens with the very isinstance check the read was missing: the shape was anticipated and then dereferenced anyway.

Found while writing a coverage test, not by a gate โ€” the same way RNF2RCXP's third copy was found. Pinned by [BAM-16] and [BS-13]; [BAM-13] documents why it routes around the planner read rather than through it.

RN8H4ZPP โ€” a vocabulary change must refresh the ROOM ENTITIES ยท 2 copies

Issue #71 has two hops, and this rule runs on both. The adapter reads its option lists off the provider's own entities; at setup time the provider has often published nothing, so the adapter keeps its DECLARED transcript and is re-registered later. A corrected config is not a corrected card: room entities compute their attributes from the config but only when they WRITE state, and they had already written โ€” about fifteen seconds into the boot, from the fallback lists. So each hop must ALSO tell the room entities to look again.

Copy Fires on Catches a provider that publishes
_redetect_when_providers_are_up (primary) EVENT_HOMEASSISTANT_STARTED before the started event
_on_publish inside _arm_vocabulary_catchup the watched entity's state change after it

Neither copy can be deleted in favour of the other โ€” that is what makes this a set rather than a dissolvable duplicate. The two hops are reached by different routes from the same broken state, and a provider lands on exactly one of them depending on when its coordinator first polls.

Both copies are byte-identical today and both were previously unanchored. The pair was found on 2026-11-10 while ablating a coverage test: the mutation anchor matched twice and the driver aborted rather than mutating both at once, which would have made the verdict about neither. Before that, nothing could see the pair โ€” replica_census.py harvests notices already written in comments, and no comment named the twin.

Declared at __init__.py::_redetect_when_providers_are_up, the copy whose comment carries the reasoning ("this is the whole defect the live box found"). Pinned INDEPENDENTLY, and measured: ablating the started-hop copy reddens test_init_provider_readiness.py::test_prov2_the_started_hop_refreshes_the_ROOM_ENTITIES_too and not [VCW-2]; ablating the publish-hop copy reddens [VCW-2] and not [PROV-2]. Before [PROV-2] existed the started-hop copy had no test at all, so a fix landing in one copy and not the other is precisely the failure this register was built for โ€” and it was one ablation away from happening here.

RN0P2VT0 โ€” the reserved floor-type names a drop-in id must not collide with ยท 3 copies

A drop-in floor material (config/eufy_vacuum/materials/<id>/) has its theme tokens MINTED from its id by rule โ€” --evcc-floor-<id>-<suffix>. The id is therefore a namespace, and user_materials.py::id_conflict refuses one that equals, prefixes, or is prefixed by any shipped floor-type name.

Copy Language Holds
user_materials.py::RESERVED_NAMES (primary) Python both spellings, and does the checking
floor-texture-registry.js keys JS the hyphenated names floorTypeNames() surfaces
room_profiles.py::_normalize_floor_type::allowed Python the underscored PERSISTED values

Python cannot import the registry, which is why the list is restated rather than derived. That alone would make it a duplicate; what makes it a SET worth anchoring is the shape of a miss.

A miss is silent, and it is silent twice over. Add a shipped material to the registry and forget RESERVED_NAMES, and nothing fails: the name simply stays available to a drop-in. The failure arrives later and elsewhere โ€” when somebody installs a material with that exact name, its minted --evcc-floor-<name>-* keys duplicate the shipped ones, assertUniqueTokenKeys throws, and the initial rebuild() in src/theme-tokens/index.js is unguarded, so the card never defines. No test here can see the gap, because the gap is an absence conditional on a file nobody has written yet. The prefix half is worse still: a material named carpet would not collide with any key, it would make a scoped theme import clear carpet-high's and carpet-low's tokens, since that import deletes by raw --evcc-floor-<name>- prefix.

Declared at RESERVED_NAMES, the copy that does the checking and whose comment carries the reasoning. The other two are the vocabularies it is derived from, in two languages โ€” neither can be deleted in favour of the other, because one is what the card renders and the other is what is written to storage.

Recorded 2026-11-12 when the drop-in material path landed, i.e. at the fix rather than after it โ€” the set did not exist until an id could be chosen by someone other than the maintainer.


RNA0TM68 โ€” how a user-added card draws its own frame ยท 3 copies

One rule โ€” how the outer edge of a card the user adds to their dashboard is drawn โ€” written out three times, because each card frames itself with a different mechanism.

Copy Frames with Spells the rule as
src/room-card.js :host Home Assistant's <ha-card> element --ha-card-* custom properties
src/cards/dashboard-card.js .card a plain div ordinary CSS properties
src/cards/profile-card.js .evcc-pcard a plain div ordinary CSS properties

Not extractable. Unifying them would mean making two of the three render an ha-card they deliberately do not use. This is coordination, not extraction.

The absence is load-bearing in one copy. box-shadow was declared none only in room-card.js; the other two declared nothing at all, and a div's initial box-shadow is already none. So the shipped state was 1 declaration + 2 absences that rendered identically โ€” and a fix that edited only the declaration would have given a shadow control that moved one card of three, passing every test.

What the set cost before it was recorded. Issue #83: a user set ha-card-border-width and ha-card-box-shadow in their Home Assistant theme and neither moved. Measured in Chromium against the real stylesheet โ€” all five --ha-card-* names are closed on the room card, because a value an element declares always beats one it inherits. Three of the five (background, radius, border-colour) were nonetheless reachable through their upstream --evcc-* tokens, and two were hardcoded literals, with nothing in the source distinguishing the two cases. The reporter had no way to tell which of their lines should have worked.

A cycle hid inside the same block. --evcc-radius-card โ†’ --radius โ†’ --ha-card-border-radius all landed on one element, so CSS discarded all three whole and each computed to the empty string. The card still looked right because ha-card's own fallback is also 12px, so the documented ha-card-border-radius input reached nothing, silently, on one of three cards. Deleting the cyclic declaration is not the repair: it fixes the Home Assistant path and breaks the Vacuum Agent one. Measured, four paths:

HA sets 24px VA sets 30px neither both (VA must win)
shipped 12px โœ— 30px 12px 30px
delete the declaration 24px 12px โœ— 12px 24px โœ—
style the ha-card element 24px 30px 12px 30px

Declared at src/theme-tokens/cards.js, the shared artifact the three copies revolve around โ€” it is where a new frame token is minted, and minting one is the act that has to send you to all three. Pinned by [CFR-*] in src/cards/card-frame.test.mjs, which goes red if any copy stops reading a frame token, and if the radius cycle is reintroduced.

Recorded 2026-11-16, at the fix.


RNN1M4G1 โ€” the card chip ยท 2 copies

.chip in src/room-card.js and in src/cards/dashboard-card.js. Both mirror .evcc-chip in src/styles/foundation.js, which is the canonical rule and the one the 31 --evcc-chip-* tokens were written for.

Two copies, not three. The profile card has no chips. Do not "complete" this set there โ€” adding chips to a card that has no use for them is the failure mode a register like this can cause if it is read as a checklist rather than a map.

What it cost. The Chips group holds 31 editor tokens and the cards read zero of them. Measured across the three cards: 17 of 425 registry tokens read in total, Chips 0/31, Room Cards 0/13, Map 0/34, Queue 0/41, Modals 0/36. So a user who moved "Chip Padding" in the theme editor changed the panel and nothing on their own dashboard, with no error and nothing to tell them why. The controls existed, were labelled correctly, and were wired to a different surface than their name implied.

Why no gate caught it. check-styles.mjs lints all three cards, but COLOR_PROP matches colour properties only and additionally requires a colour literal in the value. border: 1px solid var(--border) passes it; padding, gap, border-radius, font-size, font-weight and box-shadow are invisible to it. The cards' colours are 100% tokenized and their geometry was 62% hardcoded, and that is the whole explanation: one half has a ratchet and the other has none.

The fallbacks are the token defaults, not the old literals. That is the substance of the change rather than a detail โ€” it is what makes one chip token move the panel and both cards identically. It is visible: a chip is 4.6px wider and 5px shorter (padding 5px 12px โ†’ 5px 14px, font-size 0.80rem โ†’ 0.82rem, plus the min-height: 24px and line-height: 1 the canonical rule carries). Rendered side by side before the call.

A shipped bug went with it. Both copies used a bare .chip:hover, which has the same specificity as .chip.active and came later in both files โ€” so hovering a selected chip repainted it with the neutral hover background and it read as deselected under the cursor. The canonical rule has always guarded this with :not(.active).

One fallback does NOT take the panel's default, and the exception is the interesting part. For the ACTIVE label the token default is a bare var(--evcc-accent) โ€” accent text on an 18%-accent ground. Measured as swatches at the shipped accent #3b82f6 over the card surface #1c2127:

active label colour contrast
bare accent (the panel's token default) 3.49:1
accent lightened 10% toward white (what the cards shipped) 4.02:1

Neither passes WCAG AA for normal text (4.5:1) โ€” that is an older, separate problem. But taking parity would have traded away half a point of contrast on the one chip a user reads to confirm what they just selected, as a side effect of a change justified by a geometry comparison. The before/after render that justified the wiring showed RESTING chips only, so this moved unseen and unreported until the preview was rendered with a theme that pushed the same token to 1.68:1 and made the problem visible by exaggerating it. A theme setting --evcc-chip-active-text still wins outright on panel and cards, so themed behaviour is identical and only the default differs.

Declared at src/room-card.js, the copy whose comment carries the reasoning. Pinned by [CHP-1..4] in src/cards/card-frame.test.mjs: [CHP-1] asserts all fifteen token reads in both copies, [CHP-2] catches a literal left beside a var() (which [CHP-1] passes on), [CHP-3] the hover guard, and [CHP-4] the active-label exception above.

Recorded 2026-11-16, at the fix.


Finding sets: four ways to ask, and three axes to judge

Derived 2026-08-18 and tested before being written down โ€” five mixed candidates run through it, three correctly rejected, one new set found, one rule refined by the run.

The question is not "where is the duplication"

It is how is this code related โ€” and there is no single way to ask. Each mode is blind by construction, which is why no one of them is sufficient:

ask finds blind to
shape โ€” structural fingerprint copies, the day they are made cross-language; absences; derived-vs-enumerated
history โ€” git co-change cross-language and cross-artifact obligations copies never yet co-edited โ€” the dormant ones
data โ€” who writes the same durable key multi-writer state coupling anything not routed through the store
vocabulary โ€” shared literals not built โ€” recorded so the gap is visible โ€”

shape and history are complementary in risk, not just coverage: a set shape finds and history misses has never been co-edited, so nobody has learned it is coupled, and the first edit is the one that breaks it silently. _display_label ร—3 was exactly that.

It is not combinatorial โ€” fingerprint-and-group is O(N). 1,261 functions in 1.6 s, 794,430 comparisons never performed. Loosening three steps moved cross-file candidates 16 โ†’ 58, so over-finding is affordable at this repo's size. That is a fact about 218 files, not about the method.

.claude/notes/_relation_hunt.py runs the first three.

Membership: does changing one OBLIGE changing the others?

Already the register's one question. Two things discharge the obligation, and a discharged obligation means there is no set:

  1. A mechanism already guarantees it. The two built bundles co-change 192 times and are not a set โ€” a build moves both. guide-translations.js says "GENERATED โ€” do not hand-edit" and is not a set either. The palette's third site "imports rather than restates" and is explicitly not a member.
  2. The consumer genuinely absorbs the change. A tolerant reader is not obliged. But note the trap: a consumer that tolerates silently is the worst case, not the safe one โ€” A6-PP-EST-LBL-1 .get()s a key its producer stopped emitting and yields None for every room, forever, with no test failing.

Discharge relocates the risk, it does not delete it. A generator turns a replica obligation into a staleness obligation โ€” and check_generated_docs.py's own header is the record of that failing: "Nothing was wrong with the generator. Nothing ran it." Different hazard, different guard.

And obliged-together is not the same as bound-by-a-rule: remove() ร—4 across the listeners are byte-identical and all bound by [[INT79PB7]], which obliges each to satisfy it independently. That is an IN relation, not an RN one.

Severity: observational or mutation?

Unchanged โ€” see below. Mutation sets produce divergent STATE and no test sees it.

Disposition: load-bearing, or dissolvable?

New, and it is the axis that says what to DO. It also decides whether the entry is permanent or is scaffolding awaiting an extraction.

load-bearing cannot be dissolved โ€” a runtime boundary (Python โ†” card), an absence (you cannot extract "no upper bound"), or copies that must be able to differ
dissolvable safely the destination is a leaf utility with no domain knowledge; extraction adds a dependency that travels with the subsystem
dissolvable but shouldn't extraction is possible and would put domain logic on a seam that must stay cuttable โ€” duplication is the correct terminal state

That third row exists because the register's whole purpose is to make deliberate duplication affordable. Without it duplication is a silent hazard, so the only safe response is to unify โ€” and unifying welds. An extraction that makes a subsystem depend on something it did not depend on before is a coupling decision, not a cleanup; it belongs to history/core-minimality.md, not to a tidy-up pass.

A set can split across dispositions. RNJ9YQF7's seven members are four leaf utilities and three functions carrying profile/water/carpet vocabulary โ€” same set, opposite correct actions.

Classify after finding, never during

A disposition-blind census is the point. Classify while hunting and you skip candidates that look dissolvable โ€” but a dissolvable set is a live hazard until someone actually extracts it, and "we could unify that someday" is precisely how _display_label sat in three files unrecorded.


RNRVXK51 โ€” the path-block ACTION vocabulary + its normalizer ยท 2 copies

Site Kind
core/manager.py primary โ€” carries the reasoning
jobs/active_job.py the copy โ€” frozenset and _normalize_path_block_action, byte-identical

Two levels duplicated at once: the closed vocabulary and the function that validates against it. Nothing discharges it โ€” no shared import, no generator, no constant in const.py.

MUTATION class. This decides what the system does when a path is blocked. Add a policy to one site and it is honoured there while the other silently maps it to "event_only" โ€” divergent behaviour, no test failing, because each copy is self-consistent.

Disposition: dissolvable safely. The natural destination is a shared constant; both modules already sit inside core and neither gains a dependency it lacks. This is a leaf vocabulary, not domain logic on a cuttable seam.

Found by method, not by reading โ€” _relation_hunt.py shape, 2026-08-18, in the same 1.6 s pass that showed RNJ9YQF7 was recorded one member short.

Declared at core/manager.py's _PATH_BLOCK_ACTIONS.


RNY1AHMD โ€” the canonical clean-mode ALIAS TABLE ยท 2 copies, 2 languages

Site Kind
profiles/room_profiles.py::canonical_clean_mode primary
src/clean-mode.js the copy โ€” alias for alias

Load-bearing. Backend and card are separate languages and cannot share code; the block says so and names its own guard: "pinned to each other by test instead: if you add an alias to one, add it to the other." Severity mutation โ€” the fold decides which mode a room dispatches as. ISSUE #48 is what the halves disagreeing cost.


RN4T4MPV โ€” run-profile STEP normalization ยท 3 sites, 2 languages

profiles/manager.py::normalize_run_profile_steps (primary), src/state/steps-order.js ::sanitizeStepsForSave, and steps-order.test.mjs which pins the card half.

The card sanitizes before save so the service receives already-clean data. Diverge and the card ships what the backend then silently rewrites โ€” the user sees their edit change shape after saving, with nothing reporting a refusal.


RNC6DK2S โ€” the queue-steps INTERLEAVE ยท 2 copies, 2 languages

core/manager.py::get_queue_steps (primary) and src/state/steps-queue-order.js.

"A break with after_index K sits after the K-th room." Rederived card-side so the editor previews without a round trip. Observational, but the preview is what the user commits.


RN538E27 โ€” the live-pose OVERRIDE precedence ยท 2 copies, 2 languages

mapping/map_source.py::apply_live_pose_override (primary) and src/state/map.js.

The live pose OWNS current_room + path; the stale snapshot values must be cleared first, in that order. The card repeats the sequence. Diverge and the "stale in the kitchen" ghost returns โ€” a live anchor in a catch-all cell leaving the previous room lit and a lagged trail drawn. That ghost is the feature's whole reason for existing.


RN9N6NVB โ€” "is this run SEQUENCED, or a flat queue?" ยท 2 copies, 2 languages

profiles/manager.py::_enrich_saved_run_profile's has_stops gate (primary) and src/state/run-profiles.js::_deriveHasStops.

Both halves were wrong on the same day: a roomsโ†’zone profile reported itself as a flat queue in each. Two independent answers to one question, and they agreed โ€” on the wrong answer. step_types.py carries the companion warning that the two vocabularies inside it must NOT be merged; this set is the backendโ†”card pair, not those.


RN9Y5N84 โ€” the profile DISPLAY LABEL composition ยท 2 copies, 2 languages

learning/manager.py::_settings_profile_label (primary) and src/renderers/metrics.js::_localizedProfile, which recomposes it in the user's language and falls back to the English one.

Diverge and the two disagree only for non-English users โ€” the half nobody testing in English ever sees. Related: RNJ9YQF7 covers the Python duplication of display logic, so this rule is expressed in three places across two languages.


RNHW3BKZ โ€” the shipped OPTION LISTS ยท 2 copies, 2 languages

adapters/eufy/adapter.py's option lists (primary) and harness/fixtures/cards.js, which mirrors them verbatim โ€” values and order.

A fixture agrees with the caller, not the callee. Let this drift and every harness shot renders chips no real install shows, in an order it does not use โ€” and the shots are what the README and the docs site publish. Silent, and self-confirming.


RNCCB8J2 โ€” the SEMANTIC DEFAULT palette ยท 2 copies, 2 languages

src/styles/foundation.js's --evcc-sem-* declarations (primary) and harness/cvd/report.mjs, which hard-copies the four hexes as RGB triples to run the colour-vision contrast floor against them.

The failure is a green result about a palette that does not ship. Change a default here and the CVD report still PASSES โ€” it is measuring the old colours. An accessibility claim that cannot notice it is stale is worse than no claim.


RNH0W1RK โ€” the theme ENVELOPE SPLIT ยท 2 copies, 2 languages

themes/manager.py's tokens / colors / alpha split (primary) and harness/fixtures/theme-library.mjs, which rebuilds it so the editor's swatch and opacity rail render populated rather than empty. A drifted fixture shows an editor state no real theme produces.


RNF6XB1P โ€” the LOCALE LOAD PATH ยท 2 copies

harness/shoot-locales.mjs (primary) and harness/tests/i18n-rtl.spec.mjs, which repeats the sequence โ€” parse the shipped nested JSON, flatten against the English manifest โ€” because Playwright's loader treats a typeless .js as CJS and rejects the ESM modules.

Load-bearing: the spec cannot import the real path, so it must restate it. Change the load order and the spec validates a model nothing uses.


RN1SW6P4 โ€” the lifecycle_state VOCABULARY ยท 2 copies, 2 languages

jobs/job_monitor.py::evaluate_job_lifecycle (primary โ€” carries the reasoning) is the only producer of the six start-readiness values. src/i18n/en.js's vocab.lifecycle_state.* is the display copy, rendered on the Base Station "Lifecycle" stat.

Copy Holds
jobs/job_monitor.py::evaluate_job_lifecycle map_mismatch, mid_job_service, dock_drying, active_job_running, vacuum_busy, ready โ€” as six return literals
src/i18n/en.js vocab.lifecycle_state.* one key per member, plus the 17 shipped packs

What makes it silent rather than loud: tVocab's fallback-to-the-backend-label is by design โ€” an unkeyed value renders _display_label's title-cased English rather than a raw key, which is the right behaviour for a brand that emits something new. The cost is that a seventh producer value is indistinguishable from a deliberate fallback: no test fails, no key is orphaned, and the row simply reads English in all 17 locales. check:i18n cannot see it either โ€” it validates the keys that EXIST against the packs, never the producer against the catalogue.

The Task row beside it is NOT part of this set. It carries active_job_status, whose vocabulary is vocab.status.* and whose producer is jobs/active_job.py. Same stat block, different producer โ€” which is exactly why the CENSUS-6 pass fixed the dock-status row and left both of its neighbours English.

Declared at jobs/job_monitor.py::evaluate_job_lifecycle's docstring.


RNNPSKT7 โ€” the composer's 2dp CORNER ROUNDING ยท 2 copies

src/state/map.js::composeToSegments (primary) and map-compose-and-viewport.test.mjs's own r2() helper.

A test that reimplements the arithmetic it is checking cannot fail when that arithmetic changes โ€” it asserts against its own stale copy and stays green. The narrowest possible example of why a fixture agrees with the caller, not the callee.


RNTKY81M โ€” the ENGINE-BLOCK validation ยท 3 sites, one file

adapters/registry.py validates a declared engine block once per engine family โ€” mapping, job_segmenter, room_attribution โ€” each resolving the engine and calling its validate_tuning.

A change to the validation contract obliges all three, and a new engine family adds a fourth. The three are adjacent in one function, which is why this reads as safe; it is the same shape as any other triplicate, minus the distance.

Declared at the first (mapping) check.


RNARRS0S โ€” DEREGISTERED 2026-09-12 (kept as a tombstone, deliberately not an entry)

Reserved a dual_pad tier for a true ROTATING roller mop while twin-mount flat cloths stayed wash_station, stated in roborock_upkeep_guides.py's tier docstring (primary) and upkeep_catalog.py's model table. Roborock's port to REGIME โ†’ KEY routing deleted the guide library and removed the tier column, leaving ONE site.

An RN token is a replica set by definition โ€” one primary plus at least one REPLICA marker โ€” so a one-site RN is malformed, and test_replica_sets_are_well_formed says so. The fix is not to prop the token up with a second mention; a mention invented to satisfy a gate is exactly the "declaration defended by a comment" this registry exists to catch.

The rule was good, the shape was not. As a reservation it was a decision with no code and unfalsifiable by construction. The distinction it protected is now a MEASURED field โ€” twin flat cloths are the same job as one cloth and measure cloth/pad; roller means an assembly lifted from a compartment, which emits different steps. So it moved to:

  • adapters/upkeep_keys.py, the MOP branch table, where the distinction is code;
  • RUK-6, tests/adapters/roborock/test_roborock_upkeep_keys.py::test_twin_flat_cloths_are_not_a_roller, which names the five affected models and fails if one is typed roller.

The heading above is deliberately H4 and unbacktick'd so the registry parser does not read this tombstone as a live entry. Kept because a token that simply vanishes reads, on the next audit, exactly like one that was never registered.

Pattern worth reusing: when a replica's sites collapse to one, ask whether the duplicated statement has become a measurable fact. If it has, a test beats an anchor โ€” an anchor only asks two prose copies to agree, a test asks the data to agree with reality.


RNJB6JXD โ€” the job-OWNERSHIP predicate ยท 2 sites, one file

phase_runner.py's _still_ours poller predicate (primary) and the phase-advance gate, which restates it: a job is advanceable only while it is still the one we dispatched.

Mutation class. Diverge and a phase advances against a job the dispatcher no longer owns โ€” which is the _cancel_in_flight hazard the surrounding block already documents from the other direction.


RN8Q25E5 โ€” UNIT NORMALIZATION by the entity's own unit ยท 2 sites, one file

job_finalizer.py reads cleaning_time and cleaning_area from separate entities and normalizes each by that entity's own unit_of_measurement, with an adapter fallback for a bare-number sensor.

Both halves are needed because a brand can report one imperial and one metric โ€” Eufy ships area in ftยฒ, and an imperial HA install changes the time unit independently. Normalize one and not the other and the value silently lands in the wrong unit, poisoning every learning bucket built from it. Nothing raises; the numbers are just wrong.


RN7WK2CX โ€” the BRAND REGISTRY ยท 1 primary + 2 test-side replicas

adapters/brands.py's BRAND_REGISTRARS (primary) and the two tables under tests/ that restate the brand list:

what it feeds
tests/brand_catalogs.py::BRAND_BLOCKS the brand fixture, every vocabulary test, and the leak gate's corpus
tests/adapters/conftest.py::ADAPTER_BUILDERS the brand-agnostic contract suite

Mutation class: SILENCE, never failure. Neither table can fail when a brand is missing from it. A brand without a BRAND_BLOCKS row simply never appears in any parameterization; a brand without a builder never runs the contract suite โ€” which is the one thing that suite exists to guarantee it does. Both read green over a shrinking fraction of the brands their own docstrings claim to cover.

It had already mutated, for eight weeks. dreame shipped in BRAND_REGISTRARS on 2026-09-13 and BRAND_BLOCKS never got its row, although that table's comment says "adding a brand adapter should mean adding a row here and nothing else". The damage was not the untested brand so much as the gate built on the same two blocks: test_vocabulary_invariant.py's corpus iterated a hardcoded (EUFY_BLOCK, ROBOROCK_BLOCK) tuple, so the brand-vocabulary-leak invariant โ€” the enforcement of core owns KEYS, never a brand's WORDS โ€” was structurally unable to report a Dreame word however plainly core bound it. The literal read as a deliberate floor (the file's own docstring calls two brands the minimum that can catch a leak), which is what let it survive a brand release.

Two copies were REMOVED rather than registered, because one site always beats two agreeing sites:

  • the leak gate's corpus now derives from BRAND_REGISTRARS. A registered brand with no BRAND_BLOCKS row now raises KeyError there โ€” the loud failure the silent one was hiding behind.
  • tests/unit/test_profiles_room_profiles.py::_no_water was a hand copy of profiles/room_profiles.py::no_water_value, and said so in its own docstring ("Mirrors room_profiles._no_water_value"). It mirrored it until it did not: Dreame's water ladder is slightly_dry / moist / wet with no "off" rung, so it declares an empty floor_type_water_defaults. The shipped function returns "" for that on purpose (IN40W49E โ€” undeclared resolves EMPTY, core never guesses a brand's word); the copy indexed the carpet key and raised KeyError. Twelve cases failed the instant Dreame joined the table, and the copy was the bug, not the row. It calls the shipped function now.

Pinned by DC-20/DC-21 in tests/adapters/test_declaration_contract.py, which compare each table's brand set against the shipped registry in both directions, plus a floor test so an emptied registry cannot turn both equality assertions into identities.

What the ratchet does NOT cover, measured on this set. RR-3 requires one anchor: primary and at least one REPLICA, so a set with two markers that loses one stays well-formed and nothing fires โ€” verified by ablation, and it is the rule working as written, not a bug. Removing both does fire it. So in a multi-member set the markers are NAVIGATION, and the agreement is held by DC-20/DC-21 instead. Do not read a green ratchet as proof that every member still points home.

Left open, and it is a ruling rather than a cleanup. Widening the corpus surfaced two core bindings of a Dreame-only word โ€” learning/manager.py defaults clean_intensity to "standard" at two sites, and clean_intensity is a PROVIDER_FIELDS member only Dreame declares. The value is not discarded: _ROOM_SETTING_KEYS carries it into the learned room key and estimator.py scores a mismatch against it. It sits in KNOWN_VOCABULARY_LEAKS as named, shrink-only debt with the three remedies written out beside it; which one is right is a decision about what core owns, not a tidy-up.


RN0RGR1H โ€” the cleaning-area UNIT TABLE ยท 2 copies

learning/utils.py's _AREA_TO_M2 (primary) and tests/replay/harvest.py's copy of it, which converts each recorder reading by the unit that was in force for that row.

Why the copy cannot be removed โ€” the only reason that matters here. harvest.py is deliberately stdlib-only: it opens a recorder SQLite file directly, and importing the shipped converter pulls the whole Home Assistant dependency tree in. Measured with homeassistant blocked, custom_components.eufy_vacuum.learning.utils fails on voluptuous, and so do learning.job_finalizer and counter_segmentation. So this is a set rather than a defect waiting for a helper โ€” the ladder's usual target is unreachable.

Mutation class, and it had already mutated. The harvester knew 4 of the shipped 11 entries, so a cleaning_area sensor reporting sq ft โ€” a unit production converts โ€” was scaled by 1.0 here. The archived figure came out 10.76ร— too small, in the one direction nothing questions, in the corpus every timing and attribution diagnosis is derived from.

Pinned by RPL-6 (tests/replay/test_harness_replicas.py), which compares the two tables object-to-object in both directions. An entry here that production lacks is the same defect pointing the other way.


RN2ZQ5NG โ€” DURATION normalization by the entity's own unit ยท 3 copies, 3 shapes

learning/job_finalizer.py's _duration_state_to_seconds (primary, an if-chain over alias families), listeners/job_metrics.py's _duration_state_to_seconds (a second if-chain, on the live-state side) and tests/replay/harvest.py's _TIME_TO_S (the same rule as a factor table). Same stdlib-only constraint as RN0RGR1H.

This entry said TWO until 2026-11-08. listeners/job_metrics.py's copy carried no REPLICA marker, appeared nowhere here, and was pinned by nothing โ€” RPL-7 derives the vocabulary from the PRIMARY's AST, so the live-state copy could have drifted alone with every gate green. It was found while writing tests for its uncovered ms and hour branches, not by a gate, which is the failure mode this registry exists to prevent. Measured when anchored: identical alias families by AST, and identical answers across all 25 aliases and fallback cases either side knows โ€” consistent, merely unguarded. The two if-chains differ only in signature (the primary takes a default and may return None; the listener's returns int and warns once per unrecognised unit), not in the rule.

The FALLBACK is part of the rule, not an edge case. Both sides refuse to guess: an unrecognised or absent unit is treated as already canonical. If one side started guessing, or raising, the corpus and the integration would disagree on exactly the readings nobody looked at โ€” and the harvester exists to be the independent check on the integration.

Pinned by RPL-7, which reads the shipped alias vocabulary out of that function's own AST (never retyped โ€” a copy of the vocabulary inside the test would pass for as long as the transcription matched the author's belief), takes the factors by CALLING it, and requires the same answer for every alias either side knows. RPL-7d does the same for the listener copy against the primary, over the UNION of both functions' extracted aliases, so a family either one grows alone is caught in whichever direction it drifts.


RNBTKYXY โ€” the COUNTER-SAMPLE payload ยท 2 copies

jobs/active_job.py's _record_counter_sample (primary) and tests/replay/reclassify.py's build_samples, which constructs the same five-field sample so the shipped segmenter can be replayed over a recorder tape.

A payload SHAPE is not importable, which is why this is a set even though reclassify.py โ€” unlike the harvester โ€” does import shipped code.

Mutation class, and this one is subtle enough to be worth stating carefully. The harness built four of the five keys; the missing one was vacuum_state, added to the producer on 2026-08-03. counter_segmentation._left_cleaning reads it and returns None โ€” "no information" โ€” for a window carrying none, which is its documented pre-signal behaviour: absence of evidence must not silently reclassify historical runs. So the harness produced no false verdicts. It ran the classifier in its degraded mode on every tape and never exercised the arm the current build added โ€” which, for a tool whose entire purpose is "re-judge with the CURRENT code", is the defect even though nothing printed was wrong.

Pinned by RPL-8, which reads the key set out of the producer's own dict literal and requires the harness to build all of them, plus the carried-forward semantics that make the field usable (a dock that happens BETWEEN two counter ticks has to reach the later sample, or _left_cleaning can never see a dock trip).

A replica REMOVED in the same pass, recorded because the tidy-up instinct is to put it back. build_samples also wrote -1.0 by hand for a missing area โ€” _prepare_window's own default, copied into the caller. Passing None reaches the identical result, because that function applies the same default itself. One site is better than two agreeing sites, so that copy is gone rather than registered; RPL-8 pins the behaviour.


RND4MHSR โ€” map-id mismatch NORMALIZATION ยท 2 sites, one file

jobs/job_monitor.py::evaluate_job_lifecycle (primary โ€” carries the reasoning) and build_start_blocker_from_lifecycle each derive map_mismatch independently: the first for the lifecycle / card-readiness state, the second for the START protection result. Both must run selected_map_id / active_map_id through _norm, so a sentinel active-map selector (Dreame's select.<id>_selected_map reads unavailable with multi_floor_map OFF, even on a one-map device) maps to "" and the guard is SKIPPED.

Already drifted once. The fix first landed in evaluate_job_lifecycle only; the sibling kept str(active_map_id or "").strip(), so "unavailable" stayed truthy and the START blocker re-fired the phantom mismatch โ€” Start stayed disabled on a one-map Dreame while the lifecycle state had already cleared. A helper for just the normalize-and-compare is the eventual target (derived > helper); recorded as a set meanwhile because the two return different result shapes (lifecycle dict vs blocker dict) for different consumers.


RNGP3ZBE โ€” the RESPONSE-CAPABLE service-call convention ยท 2 copies

src/actions/core.js::callService (primary) and src/cards/_shared.js, restated argument for argument: target undefined, notifyOnError false, returnResponse true, unwrap response, null on any failure, never throw into the render cycle.

Panel and standalone card must refuse alike. Diverge and one surface swallows a failure the other reports โ€” or worse, one throws mid-render.

The unwrap response clause was FALSE of the primary from this entry's creation until 2026-09-13. hass.callService(..., returnResponse) resolves to {context, response}; the card twin unwrapped it, the panel primary returned the envelope. Nothing could see the divergence: callResponse had no test at all, and every fake at the hass seam returned the payload bare. The cost was not a shape mismatch but a silent refusal โ€” the panel's central check read result.success on the envelope, so it never fired once, and actions/rooms.js had already deleted its own toast in favour of it (MZ-2). A second funnel, actions/theme.js::_callThemeService, was dead the same way. The clause is now true of both members and pinned by [CES-5] in src/actions/core-envelope-shape.test.mjs, which asserts the two members return the SAME shape for the same hass.

Refusal parity is narrower than "refuse alike" reads. The card member has no refusal inspection, deliberately: its only two consumers are read-only fetches (get_dashboard_snapshot, get_saved_run_profiles), which have no refusal shape to report. The shared clause is the argument list, the unwrap, and null-on-failure โ€” not the toast. Widening the card to toast would need a refusal-shaped service on that surface first.

Lesson for the register: the unwrap response clause was added at PROMOTION from 00c-h-replica-harvest.md, where the harvested row lists only the three arguments. The promoted prose described the replica and was read forever after as describing both. When promoting, check each added clause against the primary, not the copy you were looking at.


RN60D6C4 โ€” the per-room SWITCH FILTER ยท 2 copies

src/cards/_shared.js::roomSwitchesFor (primary) and card-suggestions.js, which restates it locally and says why: "kept local so this module stays dependency-free."

Load-bearing. Dissolving it adds exactly the dependency the copy exists to avoid โ€” the clearest case in the register of duplication as the correct terminal state.


RN1HP37Y โ€” fold clean-mode spellings BEFORE the Set ยท 2 copies

src/state/steps-manifest.js (primary) and src/renderers/run-profiles.js, which names it: "ISSUE #48, twin of the same line."

Skip the fold and two rooms in one mode stored differently read as a mixed group, so the mode chip vanishes. Note this rides on RNY1AHMD โ€” canonicalCleanMode is itself the card half of a cross-language set, so the alias table and its two call sites form a three-deep chain.


RNZQ33ZP โ€” the ESCAPED/RAW translator pairing ยท 2 pairs, one file

t/tRaw (primary) and tVocab/tVocabRaw in src/renderers/shared.js. The Raw half returns unescaped output for call sites that escape again later.

Change the escaping on one pair and not the other and a translated "l'eau" either double-escapes (renders its entities literally) or reaches an innerHTML sink raw. One is ugly, the other is trust model B failing open.


RNG7V2Y3 โ€” the run-profiles CLASS NAMES ยท 3 sites

src/styles/run-profiles.js (primary), the .evcc-run-profiles-seq-* markup emitted by state/steps-manifest.js, and the standalone card, which carries the same rules again in its own shadow root so it styles on a cold dashboard.

Rename here and the manifest renders unstyled in whichever host was not updated โ€” and the two hosts are exercised by different tests, so each stays self-consistently green.


RNHME6XA โ€” the FONT ID SPACE ยท 2 copies

src/i18n/font-store.js::FONT_SUPPORT (primary) and src/styles/fonts.js's CSS-side font table. The ids must match, and TF-11 pins that.

Adding a font means both plus a font.<id> label key. One edit short and the picker offers a font that styles nothing, or a font styles that nobody can pick. The existing test is a detector, not a discharge.


RN1RX2AT โ€” the SIDECOL PANEL token set ยท 2 copies

src/styles/run-profiles.js's panel tokens (primary) and src/styles/saved-zones.js, which mirrors them "so the two sidecol panels read as a set."

Observational, and the weakest set in the register on purpose. Nothing breaks โ€” the panels just stop looking designed, which no test can see and no user reports as a bug. Worth recording precisely because it is the kind of drift that has no other detector.


RN6F7RW6 โ€” the BRAND-SCOPED vocab resolution order ยท 1 primary + 2 renderer replicas + 4 call sites

src/cards/_shared.js::vocab (primary โ€” carries the reasoning) takes a brand and, when present, tries vocab.<brand>.<field>.<value> in the catalog BEFORE the shared vocab.<field>.<value>, falling back to the adapter's declared label last.

Renderer replicas (must stay in lockstep): src/renderers/shared.js::tVocab and its RAW twin tVocabRaw re-implement the same order (they can't call the primary โ€” they escape via t/tRaw and route through the RNZQ33ZP pair). Both read the brand from the shared _vocabBrand() helper in that file.

Call sites of the primary (delegate the order, not replicas): dashboard-card.js::_tVocab, profile-card.js, and BOTH classes in room-card.js all call vocab(..., brand).

The load-bearing subtlety is the BRAND SOURCE, and getting it wrong is the whole bug this set was born from. brand is adapter_id, but where it is read differs by render context:

  • A real card element (dashboard-card) has its own this._snapshot โ†’ this._snapshot.adapter_id.
  • The renderer instance (VacuumCardRenderers, which runs the modal + queue-manifest) has only this.card, never this._snapshot โ†’ the brand must come from this.card._state.dashboardSnapshot().adapter_id (what _vocabBrand() does). A first fix read this._snapshot?.adapter_id here; it is always undefined on the renderer, so the modal showed the shared "Turbo" while the dashboard-card accordion (a real element) showed "Max" โ€” the exact "card correct, panel wrong" split. 1035 unit tests stayed green because none exercised brand resolution on the renderer instance; renderers/vocab-brand-scope.test.mjs [VB-1..5] now pins it.
  • The standalone cards (room-card, profile-card) have no service-layer snapshot at all โ†’ the brand rides in on the room-switch attrs (room_entities.py serves adapter_id + supports_edge_mopping there), read as _targetSwitch().attrs.adapter_id.

Why the order is load-bearing. A brand OWNS its value's word (doc 20's f/eufy_is_not_the_default). Dreame emits the token turbo for its highest suction, which its app labels "Max"; the shared catalog carries vocab.fan_speed.turbo = "Turbo" (Eufy's term). Without the brand-first probe the shared entry silently overrode Dreame's declared word. Eufy-safe by construction: with no vocab.<brand>.* keys the lookup is byte-identical to the old path. Rides adjacent to RNZM4AYY (most-specific-declaration ownership) and RNZQ33ZP (the escaped/raw tVocab pairing in the same file โ€” tVocabRaw being a co-replica here means a change touches BOTH sets at once).


RNQ433CB โ€” card-facing CAPABILITY copy ยท 1 primary + 3 adapter config blocks

A supports_* capability the card reads is written twice: the adapter's capabilities config block declares it, and core/manager.py's dashboard snapshot copies it out by an explicit key list (extract + emit), not a spread. Miss the snapshot half and the flag never reaches the card.

Site Kind
core/manager.py dashboard-snapshot capability block primary โ€” the explicit copy + reasoning
adapters/dreame/adapter.py capabilities block source copy
adapters/eufy/adapter.py capabilities block source copy
adapters/roborock/adapter.py capabilities block source copy

Load-bearing โ€” the snapshot is deliberately an allowlist (the card must not receive the whole capability payload), so it cannot be dissolved into a spread. Observational โ€” it decides which controls the card exposes โ€” but silent both ways: a flag added to a config block and not forwarded renders no control with every test green, and a forwarded flag no config block sets is dead. supports_goto shipped exactly this way on 2026-08-30 โ€” the button never appeared and all suites passed; supports_zone_clean is the in-tree member that proves the pattern. The config_schema.py capabilities decl is a THIRD site but is test-gated (schema conformance fails LOUD), so it is discharged, not a silent member.

Declared at core/manager.py's dashboard-snapshot capability block.

History: minted AT the fix that added supports_goto โ€” the bug that convicted the set ([[feedback_anchor_replica_at_the_fix]]).


RN0Y49XS โ€” the Dreame render PROJECTION โ†” go-to/zone correspondences ยท 2 copies

Site Kind
mapping/map_source_runtime.py::dreame_render_from_mapdata _n primary โ€” carries the offset reasoning
mapping/map_source_runtime.py::dreame_correspondences_from_mapdata the copy โ€” restates it corner for corner

Both add map_frame_offset_mm to the vacuum coord, project through the SAME _dreame_projector, and normalize by (width, height). _n produces the rendered rooms; the correspondences produce the (nx, ny, mmx, mmy) pairs the go-to / zone affine is fitted from โ€” so the affine INVERTS _n. Load-bearing (runtime data path), MUTATION-adjacent: diverge and a tap lands ~offset from where the robot drives, silently โ€” the affine still fits, just to the wrong frame. They differ in ONE deliberate way โ€” the correspondences REJECT an out-of-grid corner where _n clamps for display; that is the exception, not drift.

This shipped broken and the test could not see it. The go-to path called the Roborock-shaped correspondences_from_mapdata on a Dreame MapData, which read .rooms (absent on a Dreame MapData) and returned []; the unit test mocked the projector, so it agreed with the caller and never exercised the real Dreame shape (2026-08-30, live "no live map / projection failed" on the first real tap โ€” [[feedback_anchor_replica_at_the_fix]], [[feedback_test_discipline]]).

Declared at dreame_render_from_mapdata's _n.


RNJE1GDZ โ€” the state accessors renderRoomCard reads ยท 1 reader + 1 declared stub

src/renderers/theme-preview.js::_themePreviewState (primary โ€” it carries the reasoning, and it is the copy that goes stale) and the state reads inside src/renderers/rooms.js::renderRoomCard.

The theme preview renders real room cards โ€” the real grid class, the real renderer โ€” so a token edited in the editor moves the specimen exactly as it moves the Rooms view. The price is that the preview must supply, by hand, whatever renderRoomCard asks of state. That list is a replica, and _themePreviewState's own docstring asserted it was complete: "the card calls these six accessors on state and nothing else". That was already loose when written โ€” two of the six, orderDragItemId and orderDragOverItemId, are read off this.card._state, a different object, and never off the state parameter. The real state set is five.

Then d32aa092 added a sixth state read, isBrandDefaultSetting, and did not add it here โ€” so the entire Theme view rendered as shell.view_error for the whole of 2.4.0. Worse, the three new reads were written bare (state.x(...)) while every other read in the same function is state?.x?.(), because the grid defaults state to null and six of its seven call sites pass one argument (and _renderFloorPreviewCard passes an explicit null besides). Two independent defects, one omission.

Nothing caught it, and the reason is the interesting part โ€” it was not weak assertions:

  • smoke.spec.mjs already asserted res.ok, which the harness sets to false on a throw. Sufficient. But the crash was unreachable: under the plain stub the Theme view's body renders empty (the tab needs _ensureThemeState() / resolvedTheme(), which stub-state.js deliberately does not hand-write), so the preview pane never ran. Measured: ok:true, 4402 characters of header-and-footer chrome, and no .evcc-theme-preview-pane in the tree. viewLen > 20 waved it through.
  • renderThemeEditor had already been built to solve exactly this, after the same trap made the mobile-layout probe "report a clean shell having measured nothing". The lesson was applied there and never propagated to smoke โ€” the shoulder just after a guard's window ([[feedback_partial_guard_blind_spot]]).

Gated now in both directions. theme-preview-room-card-state.test.mjs [TPS-6] diffs the reads against the declared set and fails on drift; [TPS-1..3] pin the three shapes of absence (null, {}, the real stub). smoke.spec.mjs sweeps every registered preview group through renderThemeEditor and asserts some subject actually produced a room card โ€” without that last clause the sweep passes while never reaching the code that broke. Verified by restoring the defect: 15 of the 25 registered groups fail. Fourteen reach renderRoomCard with null and raise Cannot read properties of null (reading 'isBrandDefaultSetting') โ€” the message off the reporter's own console. The fifteenth, Learning & Metrics, is the single call site that passes a stub OBJECT rather than nothing, so the bare read raises state.isBrandDefaultSetting is not a function instead. That split is the sharper evidence that BOTH halves of the defect were real: the null fourteen need the guard, and the one that already had a state still broke because the accessor was undeclared ([[feedback_live_differential_proof]], [[feedback_anchor_replica_at_the_fix]]).

Declared at _themePreviewState.


RNS5JWBV โ€” the THEME-INVERSION pair: overlay ink + accent floor ยท 2 sites, one file

Site Kind
src/styles/foundation.js --evcc-overlay-ink primary โ€” carries the #65 reasoning
src/styles/foundation.js :host([data-evcc-scheme="light"]) the accent floor โ€” the tint rule's stated EXCEPTION

One question, answered twice because one answer cannot cover both halves: what keeps the card readable when Home Assistant's theme is light? The ink derives from --primary-text-color, so every tinted surface, border and chip inverts with the theme at no cost. The accent cannot follow it โ€” --evcc-accent is HA's own --accent-color, a hue rather than a tint of the base โ€” so it gets a light-scheme-only color-mix toward the ink.

Obliged, and the obligation runs one way. The mix is 35% toward the ink, and 35% is not a preference: it is the first step that clears WCAG AA on the measured light base (2.63 โ†’ 4.82:1). Re-derive the ink and that figure is measuring against something else, so it has to be re-measured, not re-read. The reverse does not hold โ€” the accent floor is downstream.

Observational (contrast, not persisted state), but the #65 shape is why it is worth recording: not "broken", half-themed โ€” text already followed HA while the surfaces did not, so the card read as incomplete rather than unreadable, and #62 spent weeks assuming features were missing rather than invisible.

Declared at --evcc-overlay-ink.

Previously carried the hand-written id RNLGHT4K (d3e7c38c): malformed โ€” Crockford Base32 excludes L โ€” and declared at BOTH sites rather than declared once and referenced. --check reported the malformation, but could never have reported the duplicate: an unregistered-looking token is not matched as a declaration at all, so the uniqueness guard never saw it.


RNPCW1RC โ€” the panel url path ยท 2 copies, across the language boundary

The panel is registered per vacuum at eufy-vacuum-<object_id>. Python builds that string because Python is what registers it with Home Assistant; JavaScript has to build the same string because the card editors link to it.

Copy Why it cannot be the other
panels.py panel_url_for โ€” the primary it is what async_register_panel is actually given, so it is the truth
src/cards/_shared.js themePanelPath runs in the browser, in the cards bundle, with no access to the Python

Nothing can derive one from the other at runtime, so [PNL-1] reads the f-string out of panels.py and compares, rather than restating eufy-vacuum- a third time in a test. A drift is silent and looks exactly like success: the button renders, it navigates, and it lands on Home Assistant's "panel not found".


RN91VM9P โ€” the Theme view id ยท 2 copies, one bundle boundary

The card editors' link carries #theme, and the panel routes that hash through setView, which accepts only a value from VIEWS.

Copy Why it cannot be the other
src/render-cycle.js VIEWS.THEME โ€” the primary setView validates against this object
src/cards/_shared.js THEME_VIEW_HASH the CARDS bundle cannot import render-cycle.js โ€” it drags the whole panel view machinery in behind it

This is the bundle-boundary case the register already has several of: an import would be correct and would cost the cards bundle the panel. [PNL-2] reads render-cycle.js.

The failure is quieter than the url one. A wrong url 404s visibly; a wrong view id is simply not in VIEWS, so _consumeViewHash ignores it and the panel opens on whatever tab was remembered โ€” which looks like the link working.


RNTA1EGS โ€” the mask canvas, 2048 ยท 4 copies, 2 of them gates

Site Kind
custom_components/eufy_vacuum/user_materials.py CANVAS primary โ€” and the only copy that REFUSES, for drop-ins
src/bindings/map.js MASK_CANVAS_PX the consumer: it divides a real-world measurement by this
scripts/gen_floor_masks.py SIZE the producer of the shipped set
scripts/material_pack_contract.py MASK_CANVAS_PX the pack checker's clamp warning

Pinned by tests/unit/test_material_pack_scale_contract.py [MPCS-1], which reads all four declarations out of their own files and asserts they agree โ€” so this set no longer depends on anyone noticing the note. Ablated: editing the map.js copy alone turns it red.

Four runtimes โ€” a Home Assistant integration, a browser bundle, and two dev scripts โ€” so there is nothing to import from. Nothing derives it either: it is a decision about how masks are authored, restated wherever that decision is acted on.

It changed class on 2026-11-14 without the number changing. Before sample_m, the copies only had to be CONSISTENT: _decodeMaskLum fills at the bitmap's native resolution and never reads its width, so a mask at another canvas changes tile period and feature size together and two layers from different canvases drift apart โ€” silently, but only relative to each other. Now the card computes

scale = sample_m / (MASK_CANVAS_PX ร— metres_per_canvas_pixel)

so a disagreeing copy makes that arithmetic stop describing the file it is applied to, for every material that states a physical size. The number became an input to a measurement rather than a shared convention.

Two of the four copies are gates, and they cover different halves. user_materials.py refuses a drop-in at any other size, with the reason in the warning it logs. The shipped set had nothing โ€” the top of bindings/map.js said so in as many words ("nothing enforces that canvas โ€ฆ no test, CI step or build step asserts mask dimensions") and that comment stood for months. src/textures/floor-mask-canvas.test.mjs [FMC-1] now reads all 18 shipped PNG headers and names any that disagree; ablation-proven by rewriting one IHDR width to 1024. It is a fence, not a member โ€” it asserts the value rather than re-stating a rule, so moving the canvas turns it red, which is the behaviour wanted.

Observational, but with a mutation flavour the others lack: nothing is written wrong, yet every map drawn from a mis-sized pack is wrong by a factor nobody can see, and the fallback that hides it is correct behaviour.

Declared at user_materials.CANVAS.


Observational vs MUTATION replicas

A replica set that decides what to display or bind is bad when it diverges: someone sees a wrong answer. A replica set that decides what to write is worse: the copies produce divergent STATE, permanently, and no test sees it because each copy is self-consistent with its own.

Both sets recorded above are observational โ€” they decide which entity a role binds to. The dangerous kind is under Candidates below, and it has already cost real data.

The one question the register has to answer

The families have useful names โ€” twins, semi-twins, adopted family, cousins โ€” but naming is vocabulary for talking, not a field to fill in. The tooling needs one distinction with consequences:

Does changing one member OBLIGE changing the others?

Twins, semi-twins and adopted family all answer yes; cousins answer no. "Estranged twins" is not a category โ€” it is obliged and currently violated, which is a defect with an owner, not a classification.

Census first. Helpers later, and only if they earn it

When mapping a suspected family, agents describe behaviour and relationships and are forbidden from proposing unification. Asking twenty agents to "find places that want a helper" returns twenty helpers; the search designs the answer.

โš  This was violated on 2026-08-16, in the run that produced resolve_action_entity. The mapping lane was told "propose the smallest seam, and do NOT propose a fourth copy" โ€” which pre-loaded the conclusion. It happened to be right, and that is the problem: there was no way for that agent to tell me otherwise. The two lanes framed as open questions both returned findings that contradicted the brief, and one refuted the maintainer's hypothesis and mine together.

Roughly half the divergence in this repo is deliberate ([[feedback_centralize_question_not_vocabulary]]), so a syntactic duplicate-finder gets this almost exactly backwards: two 90%-identical functions are often cousins, while two that look nothing alike are twins because both enforce "change X while preserving Y".

The harvest โ€” 71 unclassified candidates

python scripts/replica_census.py reads back the replica notices ALREADY WRITTEN in source comments โ€” "its twin", "the same predicate written twice", "these two handlers already drifted apart once". 114 notices across 73 files, 71 of them carrying no RN anchor at all, 14 with a strong notice.

That is why populating this register was never really a bootstrap problem. The noticing had already happened, dozens of times, by whoever was standing there when a fix landed in one copy and not its twin โ€” it was simply never indexed. The first census needed no new insight, only a harvest.

The pile lives in 00c-h โ€” replica harvest, deliberately a separate file: this one is the REGISTER (confirmed sets, each anchored in source), that one is the working list it gets reduced from. A suspicion filed next to a ruling starts looking like one.

โš  The tool finds RECORDED knowledge, not unrecorded structure. A family nobody ever remarked on is invisible to it and stays that way until a bug convicts it โ€” which is the argument for recording one AT THE FIX, where the evidence is strongest and the mental model is already built. The three candidates below all came from fixing bugs, not from reading code.

Candidates โ€” not yet recorded

Suspected replica sets. Each needs confirming as deliberate before it earns an anchor; an accidental duplicate wants a helper, not an entry here.

  • reserved_suffixes at the capability probe โ€” both adapters pass ALL_SUFFIXES (CN2X0DN6 Eufy, CNXD5V8Q Roborock). Two anchors already, and no link between them: the sibling problem surviving inside the scheme meant to fix it.
  • Brand vocabulary tables โ€” every adapter declares its own state sets. Almost certainly correct divergence rather than a replica set, but unverified.
  • ๐Ÿ”ด MUTATION โ€” "did this run cover these rooms?" Decided independently at job_finalizer._detect_cancel_likely_run, job_finalizer._write_incomplete_run_log and _update_trouble_rooms_log. They disagreed on 2026-08-16: a three-room run aborted from the vendor app archived as completed / used_for_learning: True, credited EVERY queued room with a fresh last_cleaned_at, and trained the learning store on a 30-second "clean". Divergent state, not a wrong display โ€” and the strongest candidate here.
  • "does this item need attention?" โ€” maintenance/manager.py counts {warning, replace_soon, replace_now} into attention_count; the card's _maintenanceItemNeedsAttention adds a remaining_percent <= 20 rule the backend does not have. Issue #51 showed both halves of the contradiction on one screen: "ATTENTION 0 / No upkeep items need attention" above a populated Needs Attention list.
  • "is the job_active signal real?" โ€” is_job_active (state is on) vs completion_secondary_satisfied (which tested only that the KEY was declared, until #51). Same question, two answers, and the weaker one gated completion.
  • ๐Ÿ”ด MUTATION โ€” the consumed-id guard. Slug-led carry with id fallback, written twice: rooms/room_manager.py::build_managed_rooms and maps/map_manager.py's rebuild path. The source already says so โ€” "mirrors build_managed_rooms' own consumed_ids guard exactly (same bug, independently written in both writers, same fix)". Both are WRITERS of the persisted room store, and the subtle half is identical in each: a slug match consumes the room's OLD numeric id so a renumbered neighbour cannot inherit its settings through the id fallback. Drop that in one copy and the settings transplant returns silently on whichever write path skipped it. Obliged-to-change looks near-certain; unverified. Rule: [[INMKEHPQ]].
  • ๐Ÿ”ด MUTATION โ€” _enabled_room_ids_validator. services/rooms.py::_enabled_room_ids_validator and services/setup.py::_SETUP_SET_PANEL_TITLE_SCHEMA, identical refusal messages today. Both gate the same destructive write โ€” null and [] are rejected as loud schema errors rather than coerced to "select nothing", which would wipe every managed room. Two service surfaces, one rule, no shared symbol. Rule: [[INC63FDF]].
  • The sentinel vocabulary โ€” what counts as "no reading". Five sites, and the memberships already disagree: adapters/eufy/lifecycle.py::_active_cleaning_target_cleared carries "null", adapters/roborock/vocabulary.py::NOT_ERROR_SENTINELS does not, core/error_tracker.py::_NOT_ERROR omits "none" (its own comment calls that a deliberate last-resort scope), listeners/path_blockers.py has its own set inline, and rooms/room_discovery.py::_ACTIVE_MAP_SENTINELS is a fifth. Probably NOT one set: the brand files are declaring brand vocabulary, which is correct divergence, while the core ones are answering "is this a reading?" and may be twins with each other. Needs splitting before it can be classified. Rule: [[INFJXSM4]].

Adding one is cheap. Leaving one here is also fine โ€” a listed candidate is honest; an anchored set nobody verified is not.