From 4fb5742a7ddbba1186a55b15f878c5c9de048332 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 22 Sep 2026 03:22:05 +0200 Subject: [PATCH] Add D1L6 and D1L7, the separator-fold loosenings F1: two mutation entries against Mind::require_instance, folding `_` and `.` into `-` before comparing. Both die against require_instance_is_the_one_check_admission_and_the_daemon_share's new separator-fold assertions (the prior commit); neither had an entry before, since no fixture pair differed by separator alone. Co-Authored-By: Claude Sonnet 5 --- tools/eureka-cut10-mutations.psd1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tools/eureka-cut10-mutations.psd1 b/tools/eureka-cut10-mutations.psd1 index f8b4cfd..3aa8389 100644 --- a/tools/eureka-cut10-mutations.psd1 +++ b/tools/eureka-cut10-mutations.psd1 @@ -99,6 +99,24 @@ Old = ' if declared != self.instance() {' New = ' if !declared.0.eq_ignore_ascii_case(&self.instance().0) {' } + @{ + Id = 'D1L6' + Rule = 'It compares the names as written: `_` and `-` are both legal inside a label, so folding one into the other answers a different mind''s name for this one.' + Test = 'mind::tests::require_instance_is_the_one_check_admission_and_the_daemon_share' + Command = 'cargo test -p huginn-mind --lib' + File = 'crates/huginn-mind/src/mind.rs' + Old = ' if declared != self.instance() {' + New = ' if declared.0.replace(''_'', "-") != self.instance().0.replace(''_'', "-") {' + } + @{ + Id = 'D1L7' + Rule = 'It compares the names as written: `.` joins labels and `-` sits inside one, so folding the join into the separator answers a different mind''s name for this one.' + Test = 'mind::tests::require_instance_is_the_one_check_admission_and_the_daemon_share' + Command = 'cargo test -p huginn-mind --lib' + File = 'crates/huginn-mind/src/mind.rs' + Old = ' if declared != self.instance() {' + New = ' if declared.0.replace(''.'', "-") != self.instance().0.replace(''.'', "-") {' + } @{ Id = 'D1N' Rule = 'The refusal names which mind refused, so an agent can act on the field rather than guess.'