From 108dd67da99f9832d2e65e5e18f7d25cc2dfc9ed Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Nov 2026 21:36:18 +0400 Subject: feat(ai): start the highest-priority clan script problem Open the matching Start section after Problems0, expose its arguments, and support completion and unreserved placed-unit selection. Two Fortresses enters its laboratory job and reaches Handler(6). Timing, ties and continuation remain explicit approximations. --- crates/fparkan-script/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/fparkan-script') diff --git a/crates/fparkan-script/src/lib.rs b/crates/fparkan-script/src/lib.rs index 2c3eccf1..336828ea 100644 --- a/crates/fparkan-script/src/lib.rs +++ b/crates/fparkan-script/src/lib.rs @@ -2021,6 +2021,11 @@ impl Handler2RecordScheduler { &self.records } + /// Forgets a solved problem so a later submission can create it again. + pub fn remove(&mut self, key: Handler2RecordKey) { + self.records.retain(|record| record.key != key); + } + /// Inserts or refreshes one resolved handler input. /// /// The original compares the three identity words bit-for-bit. On an -- cgit v1.2.3