diff --git a/.crumb b/.crumb index 7c7b1022..124fc482 100644 --- a/.crumb +++ b/.crumb @@ -77,14 +77,14 @@ } ], "children_root": "sha256:20c95358a2e6cde016bc1a6b9d07b1ed5500de7131c7eb30982592664870658c", - "compiled_at": "2026-10-09T15:04:09Z", + "compiled_at": "2026-10-09T15:22:56Z", "compiler": "crumb-compile/1", - "digest": "sha256:da3472e0e9ef761eb4e2715a53a6a1fd3e3aab55a0e70eb48f84636c32c6a821", + "digest": "sha256:ce8646a619112f8c35c6d9b3e1148ec8cb62104c3e0b55e9406f1f89ed29f9a0", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", "files": 1850, - "generated_at_commit": "fe4c7fefbf5a59a9b89fab4370d596f8f513ec6f", - "source_tree": "sha256:3d5a6dafc4b8b8c1b399c50f71a2f2ce6392e6b3b6181eb54d891b2066e11e95" + "generated_at_commit": "149456df3e2ee45497847c00790541bee3ac9a12", + "source_tree": "sha256:9217db9dd539d13ac1b3d60b748dfbcfd45491f5a25bb74f0662295cd1fc7d52" } }, "history": [], diff --git a/crates/aien-runtime/src/requirements_extract.rs b/crates/aien-runtime/src/requirements_extract.rs index fc710f40..eb72156b 100644 --- a/crates/aien-runtime/src/requirements_extract.rs +++ b/crates/aien-runtime/src/requirements_extract.rs @@ -1790,10 +1790,11 @@ pub fn analyze(goal: &str) -> Extraction { // "one line that says|reads \"S\"", "one line saying \"S\"" (sc#336): // that line holds S. A final . ! ? inside quotes that close the goal // sentence is the goal's own punctuation and is not required. - // A saying clause on a counted line is never dropped: one line (exact - // or "at least one") reads S, any other count (or a lower bound) is - // uncertain (sc#349). - if let Some(said) = said_clause(goal, &toks, i + 1) { + // A saying clause on a counted line is never dropped: exactly one line + // with no bound reads S; any other count, or a bound ("one line at + // least saying S", the clause read after "at least"), is uncertain + // (sc#349). + if let Some(said) = said_clause(goal, &toks, i + 1 + if bound { 2 } else { 0 }) { match said { Ok((phrase, end)) if v == 1 && !bound => { if !phrases.contains(&phrase) { diff --git a/crates/aien-runtime/tests/requirements_said_line_test.rs b/crates/aien-runtime/tests/requirements_said_line_test.rs index 355a2ff3..9a2f5bb7 100644 --- a/crates/aien-runtime/tests/requirements_said_line_test.rs +++ b/crates/aien-runtime/tests/requirements_said_line_test.rs @@ -178,6 +178,8 @@ fn a_saying_clause_on_any_line_wording_is_read_or_uncertain() { "Write three lines saying hello", "Add 2 lines that say hi", "Add at least 3 lines saying hi to a.md", + "Add at least one line saying hi to a.md", + "Add one line at least saying hi to a.md", "Write a line saying hello and then save it", "Write a line saying something nice", "Add one line saying",