feat: warn on the dock when a moving robot has no floor to draw on

User-Visible: yes
Issue: #162
This commit is contained in:
Codex
2026-09-03 19:18:13 +03:00
parent ca6ebc3035
commit 567b456890
29 changed files with 379 additions and 214 deletions
+12
View File
@@ -342,6 +342,18 @@ const MUTANT_DEFINITIONS = [
replace: ' if False:',
}],
},
{
id: 'vacuum-route-warning-stays-silent',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
+ '&& node --test test/vacuum-routes.test.mjs',
because: 'a moving robot that is drawn nowhere must say so on the dock: silence reads as '
+ '"not cleaning", and the user cannot discover an unassigned map (#162)',
patches: [{
file: 'src/vacuum-routes.ts',
find: " case 'unmapped': case 'needs_calibration': case 'ambiguous': case 'missing_space':\n return resolution.kind;",
replace: " case 'нет такого':\n return resolution.kind as any;",
}],
},
{
id: 'area-snapshot-cleanup-ignores-authority',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '