test(gate): clarify the 'altrove' first-token guard comment

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 14:13:02 +02:00
co-authored by Claude Opus 4.8
parent 3f852fd817
commit c3e8f14ad9
@@ -22,7 +22,7 @@ test("canonical quit/back labels stay reserved", () => {
test("normal merit options are NOT reserved", () => {
assert.equal(isReserved("procedura"), false);
assert.equal(isReserved("patologia"), false);
assert.equal(isReserved("altrove"), false); // starts with "altro"? no — "altrove" -> normalized "altrove" starts with "altro" -> guard below
assert.equal(isReserved("altrove"), false); // only the exact first token "altro" is reserved, not words that merely start with it
});
test("stripReserved drops every Altro/other variant, keeps merit order", () => {