Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

feat(core): many more Weir rules (#2742)

Elijah Potter54c096a961e7
diff --git a/harper-core/src/linting/closed_compounds.rs b/harper-core/src/linting/closed_compounds.rs
index a5eaf6bc5..5eb148e0f 100644
--- a/harper-core/src/linting/closed_compounds.rs
+++ b/harper-core/src/linting/closed_compounds.rs
@@ -25,6 +25,8 @@ pub fn lint_group() -> LintGroup {
"Anyhow" => ("any how", "anyhow"),
"Anywhere" => ("any where", "anywhere"),
"Backplane" => ("back plane", "backplane"),
+ "Bypass" => ("by pass", "bypass"),
+ "Deadlift" => ("dead lift", "deadlift"),
"Desktop" => ("desk top", "desktop"),
"Devops" => ("dev ops", "devops"),
"Everybody" => ("every body", "everybody"),
@@ -37,6 +39,8 @@ pub fn lint_group() -> LintGroup {
"Instead" => ("in stead", "instead"),
"Intact" => ("in tact", "intact"),
"Itself" => ("it self", "itself"),
+ "Keystroke" => ("key stoke", "keystroke"),
+ "Keystrokes" => ("key stokes", "keystrokes"),
"Laptop" => ("lap top", "laptop"),
"Middleware" => ("middle ware", "middleware"),
"Misunderstand" => ("miss understand", "misunderstand"),
@@ -59,10 +63,13 @@ pub fn lint_group() -> LintGroup {
"Postpone" => ("post pone", "postpone"),
"Proofread" => ("proof read", "proofread"),
"Regardless" => ("regard less", "regardless"),
+ "Shortcoming" => ("short coming", "shortcoming"),
+ "Shortcomings" => ("short comings", "shortcomings"),
"Somebody" => ("some body", "somebody"),
"Somehow" => ("some how", "somehow"),
"Someone" => ("some one", "someone"),
"Somewhere" => ("some where", "somewhere"),
+ "There" => ("the re", "there"),
"Therefore" => ("there fore", "therefore"),
"Thereupon" => ("there upon", "thereupon"),
"Underclock" => ("under clock", "underclock"),
@@ -70,6 +77,7 @@ pub fn lint_group() -> LintGroup {
"Upward" => ("up ward", "upward"),
"Whereupon" => ("where upon", "whereupon"),
"Widespread" => ("wide spread", "widespread"),
+ "Without" => ("with out", "without"),
"Worldwide" => ("world wide", "worldwide"),
});
@@ -223,4 +231,60 @@ mod tests {
let expected = "They set off on their journey overnight.";
assert_suggestion_result(test_sentence, lint_group(), expected);
}
+
+ #[test]
+ fn by_pass() {
+ let test_sentence = "Please by pass this check for now.";
+ let expected = "Please bypass this check for now.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn dead_lift() {
+ let test_sentence = "I can dead lift 200 kg.";
+ let expected = "I can deadlift 200 kg.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn key_stoke() {
+ let test_sentence = "Use this key stoke to open search.";
+ let expected = "Use this keystroke to open search.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn key_stokes() {
+ let test_sentence = "These key stokes are hard to memorize.";
+ let expected = "These keystrokes are hard to memorize.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn with_out() {
+ let test_sentence = "We left with out a map.";
+ let expected = "We left without a map.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn the_re() {
+ let test_sentence = "The re are too many popups on this page.";
+ let expected = "There are too many popups on this page.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn short_coming() {
+ let test_sentence = "That bug is a short coming in the current release.";
+ let expected = "That bug is a shortcoming in the current release.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn short_comings() {
+ let test_sentence = "We listed three short comings in the postmortem.";
+ let expected = "We listed three shortcomings in the postmortem.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
}
diff --git a/weir_rules/AtLeasToLeast.weir b/weir_rules/AtLeasToLeast.weir
new file mode 100644
index 000000000..d1ebd35c0
--- /dev/null
+++ b/weir_rules/AtLeasToLeast.weir
@@ -0,0 +1,34 @@
+expr main <([(at leas)]), leas>
+
+let message "Use the standard phrase with `least` here."
+let description "Fixes the frequent typo `at leas` when the intended expression is `at least`."
+let kind "Typo"
+let becomes "least"
+let strategy "MatchCase"
+
+# True positives
+
+test "At leas we shipped the patch." "At least we shipped the patch."
+test "at leas I remembered to push." "at least I remembered to push."
+test "We can, at leas, retry tomorrow." "We can, at least, retry tomorrow."
+test "AT LEAS TRY AGAIN." "AT LEAST TRY AGAIN."
+test "I guess at leas one test should pass." "I guess at least one test should pass."
+test "At leas, this error is reproducible." "At least, this error is reproducible."
+
+# True negatives / false positives
+
+test "At least we shipped the patch." "At least we shipped the patch."
+test "I have a leas on that apartment." "I have a leas on that apartment."
+test "Please at leisure review the draft." "Please at leisure review the draft."
+test "The least risky option won." "The least risky option won."
+test "They said: \"at leash\" as a joke." "They said: \"at leash\" as a joke."
+test "The release is at, leas, in notes." "The release is at, leas, in notes."
+
+# Boundary and false-negative coverage
+
+test "At leas? Maybe." "At least? Maybe."
+test "If not now, at leas tomorrow." "If not now, at least tomorrow."
+test "We are at leas halfway done." "We are at least halfway done."
+test "At leas!" "At least!"
+test "I wrote \"at leas\" twice: at leas." "I wrote \"at least\" twice: at least."
+test "Looking at least-cost models." "Looking at least-cost models."
diff --git a/weir_rules/BelieveInPreposition.weir b/weir_rules/BelieveInPreposition.weir
new file mode 100644
index 000000000..b74d44fd4
--- /dev/null
+++ b/weir_rules/BelieveInPreposition.weir
@@ -0,0 +1,37 @@
+expr main [(believe to)]
+
+let message "This verb usually takes `in` here."
+let description "Replaces `believe to` with `believe in` in common object-taking usage."
+let kind "Grammar"
+let becomes "believe in"
+let strategy "MatchCase"
+
+# True positives
+
+test "I believe to this plan." "I believe in this plan."
+test "They believe to ghosts." "They believe in ghosts."
+test "Many teens believe to luck." "Many teens believe in luck."
+test "Do you believe to fate?" "Do you believe in fate?"
+test "We still believe to science." "We still believe in science."
+test "I believe to your potential." "I believe in your potential."
+test "BELIEVE TO YOURSELF FOR ONCE." "BELIEVE IN YOURSELF FOR ONCE."
+test "I wonder if you believe to miracles." "I wonder if you believe in miracles."
+
+# True negatives / false positives
+
+allows "I believe in this plan."
+allows "They believe that this plan works."
+allows "I choose to believe this story."
+allows "We believe in each other."
+allows "Do you believe in fate?"
+
+# Known false positives (current boundary)
+
+test "I believe to this day that we were right." "I believe in this day that we were right."
+test "I believe to this moment it is true." "I believe in this moment it is true."
+
+# Potential false negatives (accepted gaps)
+
+allows "She believes to her team."
+allows "We believed to that strategy for years."
+allows "He is believing to the mission again."
diff --git a/weir_rules/BetterOffPhrase.weir b/weir_rules/BetterOffPhrase.weir
new file mode 100644
index 000000000..bc12efef2
--- /dev/null
+++ b/weir_rules/BetterOffPhrase.weir
@@ -0,0 +1,34 @@
+expr main (better of)
+
+let message "This expression usually takes `off` instead of `of`."
+let description "Rewrites `better of` to `better off` in common comparative phrasing."
+let kind "Grammar"
+let becomes "better off"
+let strategy "MatchCase"
+
+# True positives
+
+test "People who are better of can donate more." "People who are better off can donate more."
+test "You will be better of waiting until tomorrow." "You will be better off waiting until tomorrow."
+test "I feel better of without that app." "I feel better off without that app."
+test "We are better of focusing on quality." "We are better off focusing on quality."
+test "They were better of before the update." "They were better off before the update."
+test "She is far better of now." "She is far better off now."
+test "He'd be better of at home." "He'd be better off at home."
+test "The team is BETTER OF with clear goals." "The team is BETTER OFF with clear goals."
+test "Are we better of if we delay launch?" "Are we better off if we delay launch?"
+
+# True negatives / false-positive checks
+
+test "People who are better off can donate more." "People who are better off can donate more."
+test "This is a matter of better options." "This is a matter of better options."
+test "Of course this is better overall." "Of course this is better overall."
+test "He offered better outcomes, not quick fixes." "He offered better outcomes, not quick fixes."
+test "They got off the train early." "They got off the train early."
+test "A better offer arrived yesterday." "A better offer arrived yesterday."
+
+# Boundary / accepted limits
+
+allows "She chose the better option from the list."
+allows "Pick the best design from these three mockups."
+allows "They discussed old and new methods in detail."
diff --git a/weir_rules/BluRayHyphen.weir b/weir_rules/BluRayHyphen.weir
new file mode 100644
index 000000000..17083f2a0
--- /dev/null
+++ b/weir_rules/BluRayHyphen.weir
@@ -0,0 +1,32 @@
+expr main (blu ray)
+
+let message "Use the hyphenated spelling for this media format."
+let description "Joins the two-word spelling of the optical disc format into the standard compound form."
+let kind "Punctuation"
+let becomes "blu-ray"
+let strategy "MatchCase"
+
+# True positives
+
+test "I ordered a Blu ray player." "I ordered a Blu-ray player."
+test "This movie ships on blu ray." "This movie ships on blu-ray."
+test "Do you still buy BLU RAY discs?" "Do you still buy BLU-RAY discs?"
+test "A Blu ray drive is installed." "A Blu-ray drive is installed."
+test "They found cheap blu ray movies." "They found cheap blu-ray movies."
+test "BLU RAY" "BLU-RAY"
+
+# False positives / true negatives
+
+test "I ordered a Blu-ray player." "I ordered a Blu-ray player."
+test "The ray looked blue in that photo." "The ray looked blue in that photo."
+test "We watched a DVD last night." "We watched a DVD last night."
+test "The Blu rays are on the shelf." "The Blu rays are on the shelf."
+test "A blur ay effect appeared in the lens." "A blur ay effect appeared in the lens."
+test "The brand name is Blue Ray Labs." "The brand name is Blue Ray Labs."
+
+# False negatives and edge behavior checks
+
+test "blu ray" "blu-ray"
+test "Blu ray, DVD, and VHS." "Blu-ray, DVD, and VHS."
+test "I keep one blu ray." "I keep one blu-ray."
+test "Many people said BLU ray still works." "Many people said BLU-ray still works."
diff --git a/weir_rules/CauseItIsBecause.weir b/weir_rules/CauseItIsBecause.weir
new file mode 100644
index 000000000..168222eee
--- /dev/null
+++ b/weir_rules/CauseItIsBecause.weir
@@ -0,0 +1,33 @@
+expr main (cause it is)
+
+let message "Prefer `because it is` in this clause."
+let description "Normalizes informal `cause it is` to the standard subordinating form in explanatory clauses."
+let kind "Style"
+let becomes "because it is"
+let strategy "MatchCase"
+
+# True positives
+
+test "Cause it is late, we should leave." "Because it is late, we should leave."
+test "cause it is noisy, I use headphones." "because it is noisy, I use headphones."
+test "I stayed home cause it is raining." "I stayed home because it is raining."
+test "We paused deployment cause it is unstable." "We paused deployment because it is unstable."
+test "CAUSE IT IS CLEAR NOW." "BECAUSE IT IS CLEAR NOW."
+test "Cause it is simple, ship it." "Because it is simple, ship it."
+test "They agreed cause it is practical." "They agreed because it is practical."
+
+# False negatives (intentionally out of scope)
+
+test "Cause it was late, we should leave." "Cause it was late, we should leave."
+test "Cause it's late, we should leave." "Cause it's late, we should leave."
+test "Cause it has changed, reread docs." "Cause it has changed, reread docs."
+test "Cause it had failed, we rolled back." "Cause it had failed, we rolled back."
+
+# True negatives / false positives
+
+test "Because it is late, we should leave." "Because it is late, we should leave."
+test "Stress can cause it is not obvious." "Stress can because it is not obvious."
+test "The cause it is unclear." "The because it is unclear."
+test "They discuss cause and effect." "They discuss cause and effect."
+test "Because it was late, we should leave." "Because it was late, we should leave."
+test "No one said cause it is wrong." "No one said because it is wrong."
diff --git a/weir_rules/ColdModalTypo.weir b/weir_rules/ColdModalTypo.weir
new file mode 100644
index 000000000..cda95fbc4
--- /dev/null
+++ b/weir_rules/ColdModalTypo.weir
@@ -0,0 +1,38 @@
+expr subjects [i, you, we, they, he, she, it]
+expr baseVerbs [be, have, do, go, get, make, take, see, say, know, think, find, use, work, help, start, stop, leave, feel, need, want]
+expr main <([(@subjects cold @baseVerbs), (@subjects cold ADV @baseVerbs), (@subjects cold not @baseVerbs), (@subjects cold never @baseVerbs), (@subjects cold ADV not @baseVerbs)]), cold>
+
+let message "This looks like a modal typo."
+let description "Rewrites `cold` to `could` when it appears in common subject-plus-verb modal contexts."
+let kind "Typo"
+let becomes "could"
+let strategy "MatchCase"
+
+# True positives
+
+test "I cold go now." "I could go now."
+test "You cold make dinner tonight." "You could make dinner tonight."
+test "We cold take the train." "We could take the train."
+test "They cold see the issue." "They could see the issue."
+test "He cold feel the difference." "He could feel the difference."
+test "She cold help us later." "She could help us later."
+test "It cold work this time." "It could work this time."
+test "I cold not find the setting." "I could not find the setting."
+test "We cold never know the reason." "We could never know the reason."
+test "They cold really use a break." "They could really use a break."
+test "I COLD GO IF NEEDED." "I COULD GO IF NEEDED."
+
+# False positives / true negatives
+
+allows "It was cold outside all day."
+allows "A cold drink helped a lot."
+allows "He caught a cold last week."
+allows "The soup went cold quickly."
+allows "I enjoy cold brew coffee."
+allows "She gave me a cold stare."
+
+# False negatives (accepted limits)
+
+allows "I cold call prospects each morning."
+allows "You cold text me later."
+allows "They cold build a prototype fast."
diff --git a/weir_rules/DoubleCheckHyphen.weir b/weir_rules/DoubleCheckHyphen.weir
new file mode 100644
index 000000000..fb5fdccbd
--- /dev/null
+++ b/weir_rules/DoubleCheckHyphen.weir
@@ -0,0 +1,30 @@
+expr main (double check)
+
+let message "Use the hyphenated form in this compound."
+let description "Normalizes the common two-word form `double check` to `double-check`."
+let kind "Punctuation"
+let becomes "double-check"
+let strategy "MatchCase"
+
+# True positives
+
+test "Please double check the report before sending." "Please double-check the report before sending."
+test "I always double check numbers in production." "I always double-check numbers in production."
+test "Can you double check this again?" "Can you double-check this again?"
+test "We should double check with legal." "We should double-check with legal."
+test "You need to double check every file." "You need to double-check every file."
+test "DOUBLE CHECK THE FINAL TOTAL." "DOUBLE-CHECK THE FINAL TOTAL."
+test "double check this quickly." "double-check this quickly."
+test "If unsure, double check." "If unsure, double-check."
+
+# True negatives / false positives
+
+test "Please double-click the button." "Please double-click the button."
+test "Please double click the button." "Please double click the button."
+test "They double checked the config after deploy." "They double checked the config after deploy."
+test "We are double checking every migration." "We are double checking every migration."
+test "She double checks each invoice manually." "She double checks each invoice manually."
+test "A careful check is still needed." "A careful check is still needed."
+test "The team did one more review." "The team did one more review."
+test "double-check the report before sending." "double-check the report before sending."
+test "Double-checking takes discipline." "Double-checking takes discipline."
diff --git a/weir_rules/EachOthersPossessive.weir b/weir_rules/EachOthersPossessive.weir
new file mode 100644
index 000000000..36e3d5b98
--- /dev/null
+++ b/weir_rules/EachOthersPossessive.weir
@@ -0,0 +1,34 @@
+expr main <((each others) [NOUN, PROPN, ADJ, DET]), (each others)>
+
+let message "Use the reciprocal possessive form here."
+let description "Rewrites `each others` to `each other's` when it modifies a following noun phrase."
+let kind "Grammar"
+let becomes "each other's"
+let strategy "MatchCase"
+
+# True positives
+
+test "They reviewed each others code before release." "They reviewed each other's code before release."
+test "We checked each others notes after class." "We checked each other's notes after class."
+test "The two teams respected each others traditions." "The two teams respected each other's traditions."
+test "The siblings borrowed each others bikes." "The siblings borrowed each other's bikes."
+test "Please verify each others entries." "Please verify each other's entries."
+test "They corrected each others grammar in chat." "They corrected each other's grammar in chat."
+test "Each others schedules kept drifting." "Each other's schedules kept drifting."
+test "EACH OTHERS PROJECTS WERE MERGED." "EACH OTHER'S PROJECTS WERE MERGED."
+test "Writers should respect each others voices." "Writers should respect each other's voices."
+test "Designers critique each others drafts weekly." "Designers critique each other's drafts weekly."
+
+# False positives / true negatives
+
+test "They reviewed each other's code before release." "They reviewed each other's code before release."
+test "They reviewed each other during rehearsals." "They reviewed each other during rehearsals."
+test "Others' opinions were shared in the thread." "Others' opinions were shared in the thread."
+test "Each other was mentioned in the report." "Each other was mentioned in the report."
+test "They checked others code before release." "They checked others code before release."
+test "They checked others' code before release." "They checked others' code before release."
+
+# False negatives (known limitation: does not target misspelled reciprocal phrases with extra apostrophes)
+
+allows "They reviewed each others' code before release."
+allows "They corrected each others' grammar in chat."
diff --git a/weir_rules/EasyGoingCompoundAdjective.weir b/weir_rules/EasyGoingCompoundAdjective.weir
new file mode 100644
index 000000000..5d88a379a
--- /dev/null
+++ b/weir_rules/EasyGoingCompoundAdjective.weir
@@ -0,0 +1,35 @@
+expr main <(easy going [person, people, attitude, style, approach, tone, manner, personality, vibe, team, culture, workflow]), ( )>
+
+let message "Hyphenate this compound modifier."
+let description "Adds a hyphen in `easy going` when it directly describes a following noun."
+let kind "Punctuation"
+let becomes "-"
+let strategy "MatchCase"
+
+# True positives
+
+test "He is an easy going person." "He is an easy-going person."
+test "She has an easy going attitude." "She has an easy-going attitude."
+test "They built an easy going culture." "They built an easy-going culture."
+test "We want an easy going workflow." "We want an easy-going workflow."
+test "I like her easy going style." "I like her easy-going style."
+test "That is an easy going approach." "That is an easy-going approach."
+test "Our coach keeps an easy going tone." "Our coach keeps an easy-going tone."
+test "AN EASY GOING TEAM CAN STILL WIN." "AN EASY-GOING TEAM CAN STILL WIN."
+
+# False positives / true negatives
+
+test "He is easy going." "He is easy going."
+test "They are going easy on us." "They are going easy on us."
+test "We took it easy going forward." "We took it easy going forward."
+test "She has an easy-going attitude." "She has an easy-going attitude."
+test "This is an easy and going concern." "This is an easy and going concern."
+test "An easy path is better." "An easy path is better."
+test "They welcomed easy going people." "They welcomed easy-going people."
+
+# False negatives / boundary behavior
+
+test "She is an easy really going manager." "She is an easy really going manager."
+test "It felt easy going into finals." "It felt easy going into finals."
+test "The easy going-away party was short." "The easy going-away party was short."
+test "The phrase easy going appears in notes." "The phrase easy going appears in notes."
diff --git a/weir_rules/ExistentialPluralAgreement.weir b/weir_rules/ExistentialPluralAgreement.weir
new file mode 100644
index 000000000..0e90e3516
--- /dev/null
+++ b/weir_rules/ExistentialPluralAgreement.weir
@@ -0,0 +1,38 @@
+expr manyCase <((is there many !a), (is there))>
+expr tooManyCase <((is there too many), (is there))>
+expr fewCase <((is there few), (is there))>
+expr tooFewCase <((is there too few), (is there))>
+expr lotsCase <((is there lots of), (is there))>
+expr main [@manyCase, @tooManyCase, @fewCase, @tooFewCase, @lotsCase]
+
+let message "Use the plural verb form in this existential construction."
+let description "Adjusts `is there` to `are there` when it introduces a plural quantity phrase."
+let kind "Grammar"
+let becomes "are there"
+let strategy "MatchCase"
+
+# True positives
+
+test "Is there many users waiting?" "Are there many users waiting?"
+test "Is there few tickets left?" "Are there few tickets left?"
+test "Is there lots of noise tonight?" "Are there lots of noise tonight?"
+test "Is there too many redirects in this chain?" "Are there too many redirects in this chain?"
+test "Is there too few backups on that node?" "Are there too few backups on that node?"
+test "is there many examples in the guide?" "are there many examples in the guide?"
+test "IS THERE FEW OPTIONS REMAINING?" "ARE THERE FEW OPTIONS REMAINING?"
+test "I asked, is there many reasons to wait?" "I asked, are there many reasons to wait?"
+test "Is there lots of updates this morning?" "Are there lots of updates this morning?"
+
+# True negatives / false positives
+
+allows "Is there a user waiting?"
+allows "Is there an update?"
+allows "Are there many users waiting?"
+allows "There is many users waiting."
+allows "Is there many a reason to pause?"
+allows "Is there lots to do today?"
+
+# Potential false negatives (accepted gaps)
+
+allows "Is there, many users say, no quick fix?"
+allows "Is there really many users waiting?"
diff --git a/weir_rules/ExitedExcitedContext.weir b/weir_rules/ExitedExcitedContext.weir
new file mode 100644
index 000000000..f68371875
--- /dev/null
+++ b/weir_rules/ExitedExcitedContext.weir
@@ -0,0 +1,34 @@
+expr main <([((am exited [about, for, to, that])), ((are exited [about, for, to, that])), ((is exited [about, for, to, that])), ((was exited [about, for, to, that])), ((were exited [about, for, to, that])), ((be exited [about, for, to, that])), ((been exited [about, for, to, that])), ((being exited [about, for, to, that])), ((am ADV exited [about, for, to, that])), ((are ADV exited [about, for, to, that])), ((is ADV exited [about, for, to, that])), ((was ADV exited [about, for, to, that])), ((were ADV exited [about, for, to, that])), ((be ADV exited [about, for, to, that])), ((been ADV exited [about, for, to, that])), ((being ADV exited [about, for, to, that])), ((am [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((are [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((is [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((was [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((were [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((be [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((been [really, very, so, super, quite, extremely] exited [about, for, to, that])), ((being [really, very, so, super, quite, extremely] exited [about, for, to, that]))]), exited>
+
+let message "This word choice looks off for this meaning."
+let description "Changes `exited` to `excited` when the sentence indicates enthusiasm or anticipation."
+let kind "Typo"
+let becomes "excited"
+let strategy "MatchCase"
+
+# True positives
+
+test "She is exited about the launch." "She is excited about the launch."
+test "I am exited for the trip." "I am excited for the trip."
+test "They were exited to join." "They were excited to join."
+test "We are really exited about this update." "We are really excited about this update."
+test "He was very exited for the game." "He was very excited for the game."
+test "It is so exited to start." "It is so excited to start."
+test "YOU ARE EXITED ABOUT THIS." "YOU ARE EXCITED ABOUT THIS."
+test "I am exited that we shipped." "I am excited that we shipped."
+
+# False positives / true negatives
+
+test "The process exited with code 1." "The process exited with code 1."
+test "She exited the editor without saving." "She exited the editor without saving."
+test "The container is in exited state." "The container is in exited state."
+test "He is excited about the launch." "He is excited about the launch."
+test "They were excited to join." "They were excited to join."
+test "The user exited, then rejoined." "The user exited, then rejoined."
+
+# False negatives / boundary behavior
+
+test "I feel exited about this." "I feel exited about this."
+test "Everyone seemed exited to help." "Everyone seemed exited to help."
+test "She sounded exited for the interview." "She sounded exited for the interview."
+test "I got exited about this." "I got exited about this."
diff --git a/weir_rules/FirstPersonModifierHyphen.weir b/weir_rules/FirstPersonModifierHyphen.weir
new file mode 100644
index 000000000..954a4453a
--- /dev/null
+++ b/weir_rules/FirstPersonModifierHyphen.weir
@@ -0,0 +1,32 @@
+expr main <([first, second, third] person [shooter, shooters, game, games, narrative, narratives, perspective, perspectives, view, voice, voices, pronoun, pronouns, account, accounts, mode, modes]), ( )>
+
+let message "Hyphenate this compound modifier."
+let description "Adds a hyphen to ordinal-person modifiers when they directly describe a following noun."
+let kind "Punctuation"
+let becomes "-"
+let strategy "MatchCase"
+
+# True positives
+
+test "I enjoy first person games." "I enjoy first-person games."
+test "She wrote a first person narrative." "She wrote a first-person narrative."
+test "They published a second person account." "They published a second-person account."
+test "The essay uses third person voice." "The essay uses third-person voice."
+test "We switched to first person mode." "We switched to first-person mode."
+test "FIRST PERSON SHOOTERS dominated the event." "FIRST-PERSON SHOOTERS dominated the event."
+test "This is a Third Person Perspective." "This is a Third-Person Perspective."
+test "He prefers second person pronouns in examples." "He prefers second-person pronouns in examples."
+
+# True negatives / false-positive checks
+
+test "The narrator is in first person." "The narrator is in first person."
+test "Speak in second person." "Speak in second person."
+test "That paragraph is third person." "That paragraph is third person."
+test "I like first-person games." "I like first-person games."
+test "First person, shooter or strategy, both are fun." "First person, shooter or strategy, both are fun."
+test "The first person who arrived signed in." "The first person who arrived signed in."
+
+# Boundary checks
+
+test "A first person view helps in tutorials." "A first-person view helps in tutorials."
+test "The guide explains third person pronouns clearly." "The guide explains third-person pronouns clearly."
diff --git a/weir_rules/FullWithToOf.weir b/weir_rules/FullWithToOf.weir
new file mode 100644
index 000000000..60e2a4c40
--- /dev/null
+++ b/weir_rules/FullWithToOf.weir
@@ -0,0 +1,26 @@
+expr main (full with)
+
+let message "Use `of` after `full` in this construction."
+let description "Fixes the nonstandard phrase where `full` is followed by `with`."
+let kind "Usage"
+let becomes "full of"
+
+test "The pantry is full with snacks." "The pantry is full of snacks."
+test "Our inbox is full with alerts again." "Our inbox is full of alerts again."
+test "That thread is full with repeated arguments." "That thread is full of repeated arguments."
+test "Her notebook was full with sketches." "Her notebook was full of sketches."
+test "The comment section is full with bots." "The comment section is full of bots."
+test "A shared folder can be full with duplicate files." "A shared folder can be full of duplicate files."
+test "The cart was full with produce from the market." "The cart was full of produce from the market."
+test "Their feed is FULL WITH memes." "Their feed is FULL OF memes."
+test "By noon, the queue was full with pending jobs." "By noon, the queue was full of pending jobs."
+test "The room felt full with tension before the vote." "The room felt full of tension before the vote."
+
+test "The pantry is full of snacks." "The pantry is full of snacks."
+test "The glass is full." "The glass is full."
+test "The form is full-width on desktop." "The form is full-width on desktop."
+test "This section applies in full with respect to archived records." "This section applies in full of respect to archived records."
+test "Please fill the tank with fuel before sunrise." "Please fill the tank with fuel before sunrise."
+test "His hands were full with gloves on top." "His hands were full of gloves on top."
+test "A suitcase full with souvenirs sat by the door." "A suitcase full of souvenirs sat by the door."
+test "FULL with placeholders, the draft was still useful." "FULL of placeholders, the draft was still useful."
diff --git a/weir_rules/HaveNegNoAny.weir b/weir_rules/HaveNegNoAny.weir
new file mode 100644
index 000000000..25c32190f
--- /dev/null
+++ b/weir_rules/HaveNegNoAny.weir
@@ -0,0 +1,26 @@
+expr main <(([(haven't), (hasn't), (hadn't), (have not), (has not), (had not), (have n't), (has n't), (had n't)] VERB no NOUN)), no>
+
+let message "This negative form sounds nonstandard; use `any` after the negated auxiliary."
+let description "Rewrites `no` to `any` in clauses like `haven't done no X` so the sentence keeps a single clear negation."
+let kind "Grammar"
+let becomes "any"
+
+# True positives
+test "I haven't done no harm." "I haven't done any harm."
+test "She hasn't seen no emails yet." "She hasn't seen any emails yet."
+test "They hadn't made no progress by noon." "They hadn't made any progress by noon."
+test "We have not received no update." "We have not received any update."
+test "He has not shown no interest." "He has not shown any interest."
+test "You had not found no evidence." "You had not found any evidence."
+test "I have n't done no chores today." "I have n't done any chores today."
+test "WE HAVEN'T DONE NO WORK." "WE HAVEN'T DONE ANY WORK."
+test "She hasn't caused no trouble, honestly." "She hasn't caused any trouble, honestly."
+test "They hadn't kept no records." "They hadn't kept any records."
+
+# False positives / true negatives
+allows "I haven't done any harm."
+allows "She has done no harm."
+allows "We did not make no promises."
+allows "I have no idea what happened."
+allows "They haven't gone anywhere."
+allows "He hadn't, no joke, slept all week."
diff --git a/weir_rules/InAdjectiveMatter.weir b/weir_rules/InAdjectiveMatter.weir
new file mode 100644
index 000000000..bca098e1f
--- /dev/null
+++ b/weir_rules/InAdjectiveMatter.weir
@@ -0,0 +1,41 @@
+expr booster [very, really, quite, fairly, rather, pretty, extremely]
+expr article [a, an]
+expr blockedAdj [legal, criminal, financial, policy, personnel, security, administrative, regulatory, disciplinary, constitutional, civil, private, public, diplomatic, technical, medical, tax]
+expr plainCase <((in @article !@blockedAdj matter), (matter))>
+expr boostedCase <((in @article @booster !@blockedAdj matter), (matter))>
+expr main [@plainCase, @boostedCase]
+
+let message "In this wording, `manner` is usually the intended noun."
+let description "Swaps `matter` to `manner` after `in a/an` plus a descriptive adjective, while skipping common topic-domain usages."
+let kind "Grammar"
+let becomes "manner"
+let strategy "MatchCase"
+
+# True positives
+
+test "Please answer in a respectful matter." "Please answer in a respectful manner."
+test "He spoke in a calm matter during the meeting." "He spoke in a calm manner during the meeting."
+test "She handled it in an efficient matter." "She handled it in an efficient manner."
+test "Try to react in a professional matter." "Try to react in a professional manner."
+test "They negotiated in a patient matter." "They negotiated in a patient manner."
+test "We should respond in a clear matter." "We should respond in a clear manner."
+test "She presented it in a very thoughtful matter." "She presented it in a very thoughtful manner."
+test "Please discuss this in a really careful matter." "Please discuss this in a really careful manner."
+test "IN A CALM MATTER, EXPLAIN THE ISSUE." "IN A CALM MANNER, EXPLAIN THE ISSUE."
+
+# False positives / true negatives
+
+allows "The case is now in a legal matter docket."
+allows "They consulted counsel in a financial matter."
+allows "The agency intervened in a regulatory matter."
+allows "This belongs in a private matter file."
+allows "He spoke in a calm manner during the meeting."
+allows "Please answer respectfully."
+
+# False negatives / boundary behavior
+
+allows "Please answer in a matter of minutes."
+allows "The report was in an order that looked odd."
+allows "They worked in a super calm matter."
+allows "Try to respond in a, calm matter."
+allows "We discussed this in careful matter."
diff --git a/weir_rules/IntroCueCommaBeforeThanks.weir b/weir_rules/IntroCueCommaBeforeThanks.weir
new file mode 100644
index 000000000..9c518dc82
--- /dev/null
+++ b/weir_rules/IntroCueCommaBeforeThanks.weir
@@ -0,0 +1,33 @@
+expr main (no thanks)
+
+let message "Set off `no` with a comma in the response phrase `no, thanks`."
+let description "Normalizes the common refusal phrase by inserting the missing comma."
+let kind "Punctuation"
+let becomes "no, thanks"
+let strategy "MatchCase"
+
+# True positives
+test "No thanks I am fine." "No, thanks I am fine."
+test "No thanks we already solved it." "No, thanks we already solved it."
+test "No thanks this is enough detail." "No, thanks this is enough detail."
+test "No thanks that will not help." "No, thanks that will not help."
+test "No thanks there is no need." "No, thanks there is no need."
+test "No thanks here is my reason." "No, thanks here is my reason."
+test "No thanks maybe later tonight." "No, thanks maybe later tonight."
+test "no thanks i will pass." "no, thanks i will pass."
+test "NO THANKS I ALREADY ATE." "NO, THANKS I ALREADY ATE."
+test "No thanks they can take this one." "No, thanks they can take this one."
+test "No thanks." "No, thanks."
+test "No thanks!" "No, thanks!"
+test "No thanks?" "No, thanks?"
+test "No thanks for asking." "No, thanks for asking."
+
+# False positives / true negatives
+allows "No, thanks I am fine."
+allows "No, thanks."
+allows "No, thanks needed."
+allows "No, thanks for asking."
+allows "No thank you, I am good."
+allows "Yes thanks I am fine."
+allows "No-thanks messages are short."
+allows "Nothing to say, thanks."
diff --git a/weir_rules/IsBeenAuxSequence.weir b/weir_rules/IsBeenAuxSequence.weir
new file mode 100644
index 000000000..ac33fdc50
--- /dev/null
+++ b/weir_rules/IsBeenAuxSequence.weir
@@ -0,0 +1,34 @@
+expr main (is been)
+
+let message "This helper sequence is nonstandard in edited English."
+let description "Rewrites `is been` to a standard perfect-passive form."
+let kind "Grammar"
+let becomes "has been"
+let strategy "MatchCase"
+
+# True positives
+
+test "The patch is been deployed to production." "The patch has been deployed to production."
+test "My account is been reviewed by support." "My account has been reviewed by support."
+test "This endpoint is been rate-limited today." "This endpoint has been rate-limited today."
+test "The feature is been rolled out gradually." "The feature has been rolled out gradually."
+test "The issue is been tracked in Jira." "The issue has been tracked in Jira."
+test "Our request is been denied again." "Our request has been denied again."
+test "The ticket IS BEEN reopened overnight." "The ticket HAS BEEN reopened overnight."
+test "Everything is been backed up nightly." "Everything has been backed up nightly."
+
+# True negatives / false positives
+
+test "The patch has been deployed to production." "The patch has been deployed to production."
+test "The patch is being deployed to production." "The patch is being deployed to production."
+test "The patch was deployed to production." "The patch was deployed to production."
+test "I think this has been fixed already." "I think this has been fixed already."
+test "The phrase is beneficial for SEO." "The phrase is beneficial for SEO."
+test "This is, been there, done that." "This is, been there, done that."
+
+# False negatives / accepted scope limits
+
+test "The patch was been deployed to production." "The patch was been deployed to production."
+test "The patch is not been deployed to production." "The patch is not been deployed to production."
+test "The patch isn't been deployed to production." "The patch isn't been deployed to production."
+test "The patch is really been deployed to production." "The patch is really been deployed to production."
diff --git a/weir_rules/ItTimeAuxiliary.weir b/weir_rules/ItTimeAuxiliary.weir
new file mode 100644
index 000000000..5930d484a
--- /dev/null
+++ b/weir_rules/ItTimeAuxiliary.weir
@@ -0,0 +1,34 @@
+expr main <([([it, It] time to), ([it, It] time for)]), [it, It]>
+
+let message "This phrase usually needs the contraction `it's` before `time` in this construction."
+let description "Fixes missing auxiliary usage in `it time to/for ...` patterns by inserting the contraction form."
+let kind "Grammar"
+let becomes "it's"
+let strategy "MatchCase"
+
+# True positives
+
+test "It time to leave the thread." "It's time to leave the thread."
+test "it time to update the docs." "it's time to update the docs."
+test "It time for lunch." "It's time for lunch."
+test "it time for another deploy." "it's time for another deploy."
+test "I think it time to restart." "I think it's time to restart."
+test "When it time for backups, ping me." "When it's time for backups, ping me."
+test "IT TIME TO SHIP." "IT'S TIME TO SHIP."
+test "If it time to vote, we should vote." "If it's time to vote, we should vote."
+
+# False positives / true negatives
+
+test "It's time to leave the thread." "It's time to leave the thread."
+test "It's time for lunch." "It's time for lunch."
+test "I know it is time to restart." "I know it is time to restart."
+test "Give it a minute to cool down." "Give it a minute to cool down."
+test "The app tracks time for every task." "The app tracks time for every task."
+test "It was time to go." "It was time to go."
+test "It takes time to go from draft to launch." "It takes time to go from draft to launch."
+
+# False negatives / boundary behavior
+
+test "It finally time to merge." "It finally time to merge."
+test "it now time for bed." "it now time for bed."
+test "it,time to move" "it,time to move"
diff --git a/weir_rules/KnowNothingVerb.weir b/weir_rules/KnowNothingVerb.weir
new file mode 100644
index 000000000..cb06035d9
--- /dev/null
+++ b/weir_rules/KnowNothingVerb.weir
@@ -0,0 +1,35 @@
+expr subjects [i, you, we, they, he, she, it]
+expr main <(@subjects no nothing), no>
+
+let message "This looks like a misspelled verb in this phrase."
+let description "Fixes `no` to `know` in common `subject + no nothing` constructions."
+let kind "Grammar"
+let becomes "know"
+let strategy "MatchCase"
+
+# True positives
+
+test "You no nothing about me." "You know nothing about me."
+test "I no nothing about networking." "I know nothing about networking."
+test "We no nothing about this outage." "We know nothing about this outage."
+test "They no nothing about the timeline." "They know nothing about the timeline."
+test "He no nothing about the contract." "He know nothing about the contract."
+test "She no nothing about this repo." "She know nothing about this repo."
+test "It no nothing about human language." "It know nothing about human language."
+test "YOU NO NOTHING ABOUT THIS." "YOU KNOW NOTHING ABOUT THIS."
+
+# False positives / true negatives
+
+test "You know nothing about me." "You know nothing about me."
+test "I know nothing about networking." "I know nothing about networking."
+test "No, nothing changed in production." "No, nothing changed in production."
+test "You said no; nothing else was required." "You said no; nothing else was required."
+test "You no longer need this setting." "You no longer need this setting."
+test "They know absolutely nothing about the incident." "They know absolutely nothing about the incident."
+test "The sign says no nothing policy exceptions." "The sign says no nothing policy exceptions."
+test "He knows nothing about the contract." "He knows nothing about the contract."
+
+# False negatives / known limits by design
+
+test "You no absolutely nothing about me." "You no absolutely nothing about me."
+test "My team no nothing about this outage." "My team no nothing about this outage."
diff --git a/weir_rules/LookInto.weir b/weir_rules/LookInto.weir
new file mode 100644
index 000000000..8450c72a7
--- /dev/null
+++ b/weir_rules/LookInto.weir
@@ -0,0 +1,35 @@
+expr lookVerbs [look, looks, looked, looking]
+expr whWords [what, who, whom, whose, when, where, why, how, which, whoever, whomever, whichever, whatever, whether, whenever]
+
+expr main <((@lookVerbs in to) @whWords), (in to)>
+
+let message "Keep `look into` together before question words so the verb stays idiomatic."
+let description "Merges the split preposition when a look-verb is followed by a clause that starts with a question word."
+let kind "Grammar"
+let becomes "into"
+let strategy "MatchCase"
+
+# True positives
+
+test "I look in to what happened last night." "I look into what happened last night."
+test "She looks in to who wrote the note." "She looks into who wrote the note."
+test "They looked in to where the alarm originated." "They looked into where the alarm originated."
+test "We are looking in to why the download fails." "We are looking into why the download fails."
+test "LOOK in to WHEN the site crashed." "LOOK into WHEN the site crashed."
+test "Looking in to whichever document you choose helps." "Looking into whichever document you choose helps."
+test "I looked in to how you fixed the bug." "I looked into how you fixed the bug."
+test "Look in to whoever can help with it." "Look into whoever can help with it."
+test "She looks in to whom the report belongs." "She looks into whom the report belongs."
+test "They are looking in to whether the patch helps." "They are looking into whether the patch helps."
+test "We look in to whose section needs focus." "We look into whose section needs focus."
+test "He looked in to whenever the team opens the log." "He looked into whenever the team opens the log."
+test "Looking in to whomever the judge permits is polite." "Looking into whomever the judge permits is polite."
+
+# False positives / true negatives
+
+allows "Look into the code to find the bug."
+allows "I looked into the notes before replying."
+allows "Please look in to the manual to see the steps."
+allows "He looks in to the dataset in order to compare."
+allows "Looking in to the folder to check if the file exists."
+allows "We look in the box to count the screws."
diff --git a/weir_rules/MakeupCompoundNoun.weir b/weir_rules/MakeupCompoundNoun.weir
new file mode 100644
index 000000000..6fbb5c959
--- /dev/null
+++ b/weir_rules/MakeupCompoundNoun.weir
@@ -0,0 +1,35 @@
+expr determiner [the, a, an, this, that, these, those, my, your, his, her, its, our, their]
+expr main <([(@determiner make up), (@determiner ADJ make up)]), (make up)>
+
+let message "Use the closed compound for this cosmetics noun form."
+let description "Finds determiner-led noun phrases where the split spelling appears and closes it."
+let kind "Style"
+let becomes "makeup"
+let strategy "MatchCase"
+
+# True positives
+
+test "Her make up looked great in photos." "Her makeup looked great in photos."
+test "My make up bag is on the desk." "My makeup bag is on the desk."
+test "The make up artist arrived early." "The makeup artist arrived early."
+test "A make up routine can be simple." "A makeup routine can be simple."
+test "Our everyday make up stays in this drawer." "Our everyday makeup stays in this drawer."
+test "His dramatic make up style changed." "His dramatic makeup style changed."
+test "That bridal make up trial helped." "That bridal makeup trial helped."
+test "The MAKE UP room is ready." "The MAKEUP room is ready."
+
+# False-positive checks / true negatives
+
+test "They will make up after the argument." "They will make up after the argument."
+test "Please make up your mind quickly." "Please make up your mind quickly."
+test "We can make up stories for the game." "We can make up stories for the game."
+test "I need to make up for lost time." "I need to make up for lost time."
+test "She asked them to make up before dinner." "She asked them to make up before dinner."
+test "The team tried to make up ground in Q4." "The team tried to make up ground in Q4."
+test "This makeup kit is already packed." "This makeup kit is already packed."
+test "Makeup tutorials are everywhere." "Makeup tutorials are everywhere."
+
+# Expected limits / false negatives currently out of scope
+
+test "Daily make up can feel heavy in summer." "Daily make up can feel heavy in summer."
+test "Make up is expensive these days." "Make up is expensive these days."
diff --git a/weir_rules/OvertimeCompoundNoun.weir b/weir_rules/OvertimeCompoundNoun.weir
new file mode 100644
index 000000000..2e323b4b2
--- /dev/null
+++ b/weir_rules/OvertimeCompoundNoun.weir
@@ -0,0 +1,44 @@
+expr overTimePay <(over time pay), ( )>
+expr overTimeRate <(over time rate), ( )>
+expr overTimeRates <(over time rates), ( )>
+expr overTimeWage <(over time wage), ( )>
+expr overTimeWages <(over time wages), ( )>
+expr overTimeHour <(over time hour), ( )>
+expr overTimeHours <(over time hours), ( )>
+expr overTimeShift <(over time shift), ( )>
+expr overTimeShifts <(over time shifts), ( )>
+expr overTimeDetails <(over time details), ( )>
+expr overTimeClaim <(over time claim), ( )>
+expr overTimeClaims <(over time claims), ( )>
+expr overTimeApproval <(over time approval), ( )>
+expr overTimeApprovals <(over time approvals), ( )>
+expr main [@overTimePay, @overTimeRate, @overTimeRates, @overTimeWage, @overTimeWages, @overTimeHour, @overTimeHours, @overTimeShift, @overTimeShifts, @overTimeDetails, @overTimeClaim, @overTimeClaims, @overTimeApproval, @overTimeApprovals]
+
+let message "Use `overtime` as one word when referring to extra paid work hours."
+let description "Finds job-hours contexts where the split form appears and joins it into the standard compound."
+let kind "Style"
+let becomes ""
+
+# True positives
+test "The report includes over time pay details." "The report includes overtime pay details."
+test "HR confirmed over time wages for Sunday." "HR confirmed overtime wages for Sunday."
+test "They filed an over time claim yesterday." "They filed an overtime claim yesterday."
+test "Finance reviewed over time approvals this morning." "Finance reviewed overtime approvals this morning."
+test "We saw over time hours spike in July." "We saw overtime hours spike in July."
+test "The policy covers over time shifts in emergencies." "The policy covers overtime shifts in emergencies."
+test "Our sheet tracks over time rates by region." "Our sheet tracks overtime rates by region."
+test "Please submit over time approval before Friday." "Please submit overtime approval before Friday."
+test "Managers audit over time details weekly." "Managers audit overtime details weekly."
+
+# True negatives / false-positive checks
+test "The metal weakens over time." "The metal weakens over time."
+test "Our process improved over time." "Our process improved over time."
+test "The timeline moves over time zones." "The timeline moves over time zones."
+test "We already approved overtime yesterday." "We already approved overtime yesterday."
+test "They watched trends over time in the dashboard." "They watched trends over time in the dashboard."
+test "I prefer over-time as a stylized heading." "I prefer over-time as a stylized heading."
+
+# Known false negatives (currently out of scope)
+test "They worked over time during the holidays." "They worked over time during the holidays."
+test "She was paid over time for Sunday." "She was paid over time for Sunday."
+test "We log over time whenever call volume spikes." "We log over time whenever call volume spikes."
diff --git a/weir_rules/PleasRequestVerb.weir b/weir_rules/PleasRequestVerb.weir
new file mode 100644
index 000000000..51f52b833
--- /dev/null
+++ b/weir_rules/PleasRequestVerb.weir
@@ -0,0 +1,28 @@
+expr main <([(pleas review), (pleas check), (pleas help), (pleas read), (pleas fix), (pleas explain), (pleas advise), (pleas share), (pleas update), (pleas confirm), (pleas send), (pleas tell), (pleas look)]), pleas>
+
+let message "Use `please` as the request opener."
+let description "Fixes the typo `pleas` when it appears as a request cue before common action verbs."
+let kind "Typo"
+let becomes "please"
+
+# true positives
+
+test "Pleas review this pull request." "Please review this pull request."
+test "pleas check the logs again." "please check the logs again."
+test "Pleas help me with this error." "Please help me with this error."
+test "Could you pleas read this quickly?" "Could you please read this quickly?"
+test "Pleas fix the broken link." "Please fix the broken link."
+test "Pleas explain what changed." "Please explain what changed."
+test "Pleas share the screenshot." "Please share the screenshot."
+test "Pleas update the ticket status." "Please update the ticket status."
+test "Pleas confirm receipt." "Please confirm receipt."
+test "Pleas send the invoice today." "Please send the invoice today."
+
+# true negatives / false-positive guards
+
+test "Please review this pull request." "Please review this pull request."
+test "Their legal pleas were ignored." "Their legal pleas were ignored."
+test "The pleas fall on deaf ears." "The pleas fall on deaf ears."
+test "He pleas for mercy." "He pleas for mercy."
+test "Could you please check the logs again?" "Could you please check the logs again?"
+test "These pleas sound desperate." "These pleas sound desperate."
diff --git a/weir_rules/PostItNoteHyphen.weir b/weir_rules/PostItNoteHyphen.weir
new file mode 100644
index 000000000..6837d7780
--- /dev/null
+++ b/weir_rules/PostItNoteHyphen.weir
@@ -0,0 +1,28 @@
+expr main <(post it [note, notes]), ( )>
+
+let message "Use a hyphen in this compound term."
+let description "Standardizes the sticky-note product phrase by joining the first two words."
+let kind "Punctuation"
+let becomes "-"
+
+# True positives
+test "Please grab a post it note." "Please grab a post-it note."
+test "I left a post it note on your monitor." "I left a post-it note on your monitor."
+test "She buys post it notes in bulk." "She buys post-it notes in bulk."
+test "Can you read that POST IT NOTE?" "Can you read that POST-IT NOTE?"
+test "The drawer has Post It Notes." "The drawer has Post-It Notes."
+test "post it note" "post-it note"
+test "post it notes" "post-it notes"
+test "A bright yellow post it note helped." "A bright yellow post-it note helped."
+
+# False positives / true negatives
+test "Please post it now." "Please post it now."
+test "This post itches sometimes." "This post itches sometimes."
+test "She wrote on a post-it note." "She wrote on a post-it note."
+test "We discussed post it board layouts." "We discussed post it board layouts."
+test "They said, 'post it,' then left." "They said, 'post it,' then left."
+test "Bring one sticky note." "Bring one sticky note."
+
+# False negatives guardrails
+test "That Post It note was clear." "That Post-It note was clear."
+test "I found POST IT notes everywhere." "I found POST-IT notes everywhere."
diff --git a/weir_rules/RelayOnForRely.weir b/weir_rules/RelayOnForRely.weir
new file mode 100644
index 000000000..193171e0e
--- /dev/null
+++ b/weir_rules/RelayOnForRely.weir
@@ -0,0 +1,34 @@
+expr main [(relay on)]
+
+let message "Use `rely on` when you mean depend on something."
+let description "Corrects the frequent typo where `relay` is used in place of `rely` in the phrase `relay on`."
+let kind "Grammar"
+let becomes "rely on"
+let strategy "MatchCase"
+
+# True positives
+
+test "They relay on shared docs to coordinate releases." "They rely on shared docs to coordinate releases."
+test "I relay on this checklist every Friday." "I rely on this checklist every Friday."
+test "We relay on each other during incidents." "We rely on each other during incidents."
+test "You relay on cached responses too much." "You rely on cached responses too much."
+test "Many users relay on search snippets." "Many users rely on search snippets."
+test "Please relay on us while this stabilizes." "Please rely on us while this stabilizes."
+test "RELAY ON ME if the deployment fails." "RELY ON ME if the deployment fails."
+test "Startups often relay on investor timing." "Startups often rely on investor timing."
+
+# Potential false negatives (currently out of scope)
+
+allows "They relayed on old procedures for years."
+allows "She relays on luck far too often."
+allows "The team is relaying on stale metrics."
+
+# False positives / true negatives
+
+allows "They rely on shared docs to coordinate releases."
+allows "I relay status updates every morning."
+allows "We relayed the interview on public radio."
+allows "A relay switch on the board is overheating."
+allows "Please relay this note to the next person."
+allows "Rely on tested rollbacks for safer releases."
+allows "The relay unit on shelf three is new."
diff --git a/weir_rules/SayTellYou.weir b/weir_rules/SayTellYou.weir
new file mode 100644
index 000000000..c0ce021b4
--- /dev/null
+++ b/weir_rules/SayTellYou.weir
@@ -0,0 +1,30 @@
+expr guard ![AUX, VERB]
+expr main <((say you) @guard), (say)>
+
+let message "Use `tell` when your direct object is the person you are naming."
+let description "`say` wants a clause after it; when a person (`you`) appears as the object, swap in `tell`."
+let kind "Usage"
+let becomes "tell"
+let strategy "MatchCase"
+
+# True positives
+
+test "I want to say you the truth." "I want to tell you the truth."
+test "Can I say you something before we leave?" "Can I tell you something before we leave?"
+test "He promised to say you the rules at the meeting." "He promised to tell you the rules at the meeting."
+test "Say you the news once it lands." "Tell you the news once it lands."
+test "I'll say you the password later today." "I'll tell you the password later today."
+test "Say you, in private, anything you need." "Tell you, in private, anything you need."
+test "They plan to say you her schedule before noon." "They plan to tell you her schedule before noon."
+test "She started to say you the whole saga." "She started to tell you the whole saga."
+test "say you your concerns, and I'll listen." "tell you your concerns, and I'll listen."
+test "SAY YOU THIS IDEA NEEDS REVIEW." "TELL YOU THIS IDEA NEEDS REVIEW."
+
+# True negatives / false positives
+
+allows "Say you are wrong."
+allows "Say you will wait until tomorrow."
+allows "Say you have seen the problem."
+allows "Say you can help with this."
+allows "Say you like that idea."
+allows "Say you might be right."
diff --git a/weir_rules/SneakPeekPreview.weir b/weir_rules/SneakPeekPreview.weir
new file mode 100644
index 000000000..ef9d1d933
--- /dev/null
+++ b/weir_rules/SneakPeekPreview.weir
@@ -0,0 +1,32 @@
+expr main <([(sneak peak)]), peak>
+
+let message "Use `peek` for the preview phrase."
+let description "Corrects the common phrase-level confusion where `peak` is used instead of `peek` after `sneak`."
+let kind "WordChoice"
+let becomes "peek"
+let strategy "MatchCase"
+
+# True positives
+
+test "Here is a sneak peak at the update." "Here is a sneak peek at the update."
+test "We got a sneak peak before launch." "We got a sneak peek before launch."
+test "Can I get a sneak peak?" "Can I get a sneak peek?"
+test "The trailer gives a sneak peak into episode two." "The trailer gives a sneak peek into episode two."
+test "They posted a sneak peak yesterday." "They posted a sneak peek yesterday."
+test "Sneak peak footage just dropped." "Sneak peek footage just dropped."
+test "SNEAK PEAK INSIDE." "SNEAK PEEK INSIDE."
+test "A quick sneak peak: new icons and themes." "A quick sneak peek: new icons and themes."
+
+# False negatives (positive variants that should still be caught)
+
+test "I want a sneak peak, not the full demo." "I want a sneak peek, not the full demo."
+test "Another sneak peak came from QA." "Another sneak peek came from QA."
+test "This blog has a sneak peak of the redesign." "This blog has a sneak peek of the redesign."
+
+# False positives / true negatives
+
+test "Here is a sneak peek at the update." "Here is a sneak peek at the update."
+test "The hikers reached the peak at sunrise." "The hikers reached the peak at sunrise."
+test "He took a peek at the draft." "He took a peek at the draft."
+test "A sneaky peak can be seen from that ridge." "A sneaky peak can be seen from that ridge."
+test "The phrase 'sneak-peak' was used in the title." "The phrase 'sneak-peak' was used in the title."
diff --git a/weir_rules/TheWhetherWeather.weir b/weir_rules/TheWhetherWeather.weir
new file mode 100644
index 000000000..a931e4af5
--- /dev/null
+++ b/weir_rules/TheWhetherWeather.weir
@@ -0,0 +1,34 @@
+expr main (the whether)
+
+let message "This phrase likely uses the noun for atmospheric conditions."
+let description "Fixes the common mix-up where `whether` is used after `the` when the weather noun is intended."
+let kind "WordChoice"
+let becomes "the weather"
+let strategy "MatchCase"
+
+# True positives
+
+test "Can you check the whether?" "Can you check the weather?"
+test "How is the whether today?" "How is the weather today?"
+test "I checked the whether before driving." "I checked the weather before driving."
+test "Please post the whether update." "Please post the weather update."
+test "THE WHETHER LOOKS BAD." "THE WEATHER LOOKS BAD."
+test "the whether in Seattle changes fast." "the weather in Seattle changes fast."
+test "What's the whether like there?" "What's the weather like there?"
+test "We planned around the whether forecast." "We planned around the weather forecast."
+
+# True negatives / false-positive guards
+
+test "Can you check the weather?" "Can you check the weather?"
+test "I wonder whether we should leave." "I wonder whether we should leave."
+test "Whether you stay or go is up to you." "Whether you stay or go is up to you."
+test "The weather is perfect." "The weather is perfect."
+test "She asked whether the weather would hold." "She asked whether the weather would hold."
+test "We debated whether to cancel." "We debated whether to cancel."
+
+# Boundary and near-miss coverage
+
+test "Check whether the weather changed." "Check whether the weather changed."
+test "THE WEATHER report is ready." "THE WEATHER report is ready."
+test "The whether, as written here, is a typo." "The weather, as written here, is a typo."
+test "He asked whether there was bad weather." "He asked whether there was bad weather."
diff --git a/weir_rules/ThereAfterCompound.weir b/weir_rules/ThereAfterCompound.weir
new file mode 100644
index 000000000..080c90dd6
--- /dev/null
+++ b/weir_rules/ThereAfterCompound.weir
@@ -0,0 +1,33 @@
+expr continuation [VERB, AUX, ADV]
+expr context (there after @continuation)
+expr main <@context, (there after)>
+
+let message "This two-word form is likely intended as the single adverb."
+let description "Normalizes split `there after` to the closed form in adverbial contexts."
+let kind "Grammar"
+let becomes "thereafter"
+let strategy "MatchCase"
+
+# True positives
+test "There after came a second wave of reports." "Thereafter came a second wave of reports."
+test "there after came another outage." "thereafter came another outage."
+test "There after arrived a second alert." "Thereafter arrived a second alert."
+test "THERE AFTER CAME THE RETRY LOOP." "THEREAFTER CAME THE RETRY LOOP."
+test "There after appeared a warning banner." "Thereafter appeared a warning banner."
+test "there after often we verify backups." "thereafter often we verify backups."
+test "there after can we close the incident." "thereafter can we close the incident."
+test "There after is not ideal, but there after was written." "Thereafter is not ideal, but thereafter was written."
+test "There after had we seen similar errors." "Thereafter had we seen similar errors."
+test "there after will we archive logs." "thereafter will we archive logs."
+
+# False positives / true negatives
+allows "We met there after dinner."
+allows "I left my bag there after class."
+allows "Please stand there after the bell rings."
+allows "They drove there after lunch."
+allows "She sat there after work every day."
+allows "there afterparty tickets sold out quickly."
+
+# False negatives (accepted limits)
+allows "There after lunch we reviewed logs."
+allows "I was there after that incident."
diff --git a/weir_rules/ThereMissingIsClause.weir b/weir_rules/ThereMissingIsClause.weir
new file mode 100644
index 000000000..2ee411d40
--- /dev/null
+++ b/weir_rules/ThereMissingIsClause.weir
@@ -0,0 +1,36 @@
+expr starter [if, when, whether, because, unless]
+expr article [a, an, another]
+expr main <([(@starter there @article)]), there>
+
+let message "This clause usually needs a linking verb after `there`."
+let description "Inserts `is` in common subordinate clauses like `if there a ...` where the copula is omitted."
+let kind "Grammar"
+let becomes "there is"
+let strategy "MatchCase"
+
+# True positives
+
+test "Tell me if there a delay." "Tell me if there is a delay."
+test "Ping me when there an outage." "Ping me when there is an outage."
+test "Ask whether there another option." "Ask whether there is another option."
+test "I worry because there a mismatch." "I worry because there is a mismatch."
+test "Escalate unless there a fix." "Escalate unless there is a fix."
+test "If there a blocker, post it." "If there is a blocker, post it."
+test "WHEN THERE AN ISSUE, CALL ME." "WHEN THERE IS AN ISSUE, CALL ME."
+test "because there another route, we can retry" "because there is another route, we can retry"
+
+# False positives / true negatives
+
+test "Tell me if there is a delay." "Tell me if there is a delay."
+test "Ping me when there are outages." "Ping me when there are outages."
+test "I worry because there was a mismatch." "I worry because there was a mismatch."
+test "Unless there is a fix, escalate." "Unless there is a fix, escalate."
+test "If there, a delay is likely." "If there, a delay is likely."
+test "When there isn't an issue, we proceed." "When there isn't an issue, we proceed."
+
+# False negatives / boundary behavior
+
+test "Tell me if there any delay." "Tell me if there any delay."
+test "Ping me when there no outage." "Ping me when there no outage."
+test "Ask whether there many options." "Ask whether there many options."
+test "I worry because there one mismatch." "I worry because there one mismatch."
diff --git a/weir_rules/ThieveNoun.weir b/weir_rules/ThieveNoun.weir
new file mode 100644
index 000000000..368d7beaa
--- /dev/null
+++ b/weir_rules/ThieveNoun.weir
@@ -0,0 +1,30 @@
+expr determiners [the, a, an, this, that, my, your, his, her, their, our, its]
+expr nounContext [(@determiners thieve), (@determiners [ADJ] thieve)]
+expr main <(@nounContext), thieve>
+
+let message "Use `thief` for a single person who steals."
+let description "Fixes accidental `thieve` in noun phrases where singular `thief` is intended."
+let kind "Spelling"
+let becomes "thief"
+
+# true positives
+
+test "The thieve ran off before anyone noticed." "The thief ran off before anyone noticed."
+test "A thieve took my bike from the rack." "A thief took my bike from the rack."
+test "My thieve character has max stealth." "My thief character has max stealth."
+test "Their thieve escaped through the alley." "Their thief escaped through the alley."
+test "An elusive thieve slipped past security." "An elusive thief slipped past security."
+test "His notorious thieve was finally identified." "His notorious thief was finally identified."
+test "Our thieve was caught on camera." "Our thief was caught on camera."
+test "This thieve left muddy footprints." "This thief left muddy footprints."
+
+# false positives / true negatives
+
+test "The thief ran off before anyone noticed." "The thief ran off before anyone noticed."
+test "Thieves ran off before anyone noticed." "Thieves ran off before anyone noticed."
+test "They thieve from cargo ships at night." "They thieve from cargo ships at night."
+test "Do not thieve from your neighbors." "Do not thieve from your neighbors."
+test "The archive stores old legal briefs and pleas." "The archive stores old legal briefs and pleas."
+test "My brave thief character has max stealth." "My brave thief character has max stealth."
+test "Our very clever thief left no trace." "Our very clever thief left no trace."
+test "That very skilled thief cracked the safe." "That very skilled thief cracked the safe."
diff --git a/weir_rules/ThinkKnowOff.weir b/weir_rules/ThinkKnowOff.weir
new file mode 100644
index 000000000..ef4dd361f
--- /dev/null
+++ b/weir_rules/ThinkKnowOff.weir
@@ -0,0 +1,32 @@
+expr cue [think, thinking, thought, know, knows, knew, known]
+expr main <([(@cue off ![hand, the, of]), (@cue ADV off ![hand, the, of])]), off>
+
+let message "This collocation usually takes `of` rather than `off`."
+let description "Fixes the common preposition mix-up after verbs like `know` and `think` in phrases such as `know off` and `thought off` when a following token indicates the intended meaning is `of`."
+let kind "Grammar"
+let becomes "of"
+
+# True positives
+
+test "It's the only part of the stack I know off that still depends on legacy auth." "It's the only part of the stack I know of that still depends on legacy auth."
+test "I can think off three reasons to postpone the migration." "I can think of three reasons to postpone the migration."
+test "She thought off a better fallback before launch." "She thought of a better fallback before launch."
+test "We knew off several vendors with that certification." "We knew of several vendors with that certification."
+test "He knows off one maintainer who can approve this." "He knows of one maintainer who can approve this."
+test "They were thinking off possible names all afternoon." "They were thinking of possible names all afternoon."
+test "KNOWN OFF nobody outside the team." "KNOWN OF nobody outside the team."
+test "Do you know off anyone who still uses that plugin?" "Do you know of anyone who still uses that plugin?"
+
+# True negatives / false positives
+
+test "I know off hand how that API behaves." "I know off hand how that API behaves."
+test "I know off the top of my head what caused it." "I know off the top of my head what caused it."
+test "I know off of one mirror in that region." "I know off of one mirror in that region."
+test "This threat was enough to make them think twice." "This threat was enough to make them think twice."
+test "They know each subsystem by heart." "They know each subsystem by heart."
+
+# False negatives (accepted gaps)
+
+test "I think off, at least in theory, four options remain." "I think off, at least in theory, four options remain."
+test "I know off, maybe two people, who can debug this." "I know off, maybe two people, who can debug this."
+test "I thought off, frankly, a simpler way." "I thought off, frankly, a simpler way."
diff --git a/weir_rules/TomorrowPossessiveModifier.weir b/weir_rules/TomorrowPossessiveModifier.weir
new file mode 100644
index 000000000..d132b8f67
--- /dev/null
+++ b/weir_rules/TomorrowPossessiveModifier.weir
@@ -0,0 +1,29 @@
+expr main <(tomorrows [NOUN, PROPN, (ADJ NOUN), (ADJ PROPN), (ADJ ADJ NOUN), (NUM NOUN)]), tomorrows>
+
+let message "Use the possessive form when this time word modifies a following noun phrase."
+let description "Flags `tomorrows` in attributive contexts and suggests the possessive form instead."
+let kind "Grammar"
+let becomes "tomorrow's"
+let strategy "MatchCase"
+
+# true positives
+
+test "Tomorrows meeting starts at noon." "Tomorrow's meeting starts at noon."
+test "tomorrows agenda is already packed." "tomorrow's agenda is already packed."
+test "We need tomorrows report before lunch." "We need tomorrow's report before lunch."
+test "I reviewed tomorrows final draft." "I reviewed tomorrow's final draft."
+test "TOMORROWS launch is delayed." "TOMORROW'S launch is delayed."
+test "Did you read tomorrows policy update?" "Did you read tomorrow's policy update?"
+test "Please confirm tomorrows weekly session." "Please confirm tomorrow's weekly session."
+test "They posted tomorrows product roadmap." "They posted tomorrow's product roadmap."
+
+# false positives / true negatives
+
+test "Many tomorrows will come and go." "Many tomorrows will come and go."
+test "The novel imagines several tomorrows in parallel." "The novel imagines several tomorrows in parallel."
+test "We talked about tomorrows." "We talked about tomorrows."
+test "No tomorrows remain for that timeline." "No tomorrows remain for that timeline."
+test "Tomorrow's meeting starts at noon." "Tomorrow's meeting starts at noon."
+test "I will finish this tomorrow morning." "I will finish this tomorrow morning."
+test "Tomorrow we ship the update." "Tomorrow we ship the update."
+test "These tomorrows are uncertain." "These tomorrows are uncertain."
diff --git a/weir_rules/WasComprisedOf.weir b/weir_rules/WasComprisedOf.weir
new file mode 100644
index 000000000..8a33cd9e9
--- /dev/null
+++ b/weir_rules/WasComprisedOf.weir
@@ -0,0 +1,35 @@
+expr main (was comprised of)
+
+let message "Many style guides treat this wording as nonstandard; consider a clearer construction."
+let description "Rewrites the fixed phrase `was comprised of` to a more widely accepted form."
+let kind "Style"
+let becomes "consisted of"
+let strategy "MatchCase"
+
+# True positives
+
+test "The proposal was comprised of faulty assumptions." "The proposal consisted of faulty assumptions."
+test "Our team was comprised of volunteers and staff." "Our team consisted of volunteers and staff."
+test "The panel was comprised of three judges." "The panel consisted of three judges."
+test "His schedule was comprised of back-to-back meetings." "His schedule consisted of back-to-back meetings."
+test "The box was comprised of recycled cardboard." "The box consisted of recycled cardboard."
+test "The fleet was comprised of electric vans." "The fleet consisted of electric vans."
+test "The package WAS COMPRISED OF spare parts." "The package CONSISTED OF spare parts."
+test "The report was comprised of six appendices." "The report consisted of six appendices."
+test "Their committee was comprised of alumni." "Their committee consisted of alumni."
+test "The meal was comprised of rice and beans." "The meal consisted of rice and beans."
+
+# False positives / true negatives
+
+allows "The proposal comprised faulty assumptions."
+allows "The proposal was composed of faulty assumptions."
+allows "The proposal consisted of faulty assumptions."
+allows "The word comprised appears in this sentence."
+allows "She said it was, comprised of errors, according to the draft."
+allows "They were comprised of different backgrounds."
+
+# False negatives (accepted limits)
+
+allows "The proposal is comprised of faulty assumptions."
+allows "The proposal was largely comprised of faulty assumptions."
+allows "The proposal had been comprised of faulty assumptions."
diff --git a/weir_rules/WokVerbTypo.weir b/weir_rules/WokVerbTypo.weir
new file mode 100644
index 000000000..3a5cbfb5b
--- /dev/null
+++ b/weir_rules/WokVerbTypo.weir
@@ -0,0 +1,32 @@
+expr main <([([i, you, we, they, he, she, it] wok), ([i, you, we, they, he, she, it] ADV wok), (to wok), ([can, could, should, would, will, might, must, may] wok), ([can, could, should, would, will, might, must, may] ADV wok), ([do, does, did] wok), ([do, does, did] ADV wok), ([don't, doesn't, didn't] wok), ([don't, doesn't, didn't] ADV wok)]), wok>
+
+let message "Did you mean `work`?"
+let description "Flags likely typo cases where `wok` appears where the verb `work` is expected."
+let kind "Typo"
+let becomes "work"
+let strategy "MatchCase"
+
+test "I wok from home." "I work from home."
+test "We wok all weekend on this patch." "We work all weekend on this patch."
+test "They wok better in small teams." "They work better in small teams."
+test "He wok nights." "He work nights."
+test "She wok remotely now." "She work remotely now."
+test "It wok for me yesterday." "It work for me yesterday."
+test "I usually wok late." "I usually work late."
+test "You really wok fast." "You really work fast."
+test "They still wok on legacy systems." "They still work on legacy systems."
+test "To wok here, you need a badge." "To work here, you need a badge."
+test "We can wok around that bug." "We can work around that bug."
+test "I should wok fewer hours." "I should work fewer hours."
+test "It might wok this time." "It might work this time."
+test "These settings do wok." "These settings do work."
+test "The workaround doesn't wok." "The workaround doesn't work."
+test "We didn't really wok on Friday." "We didn't really work on Friday."
+test "I WOK from home." "I WORK from home."
+
+allows "This stir-fry cooks well in a wok."
+allows "We bought a new wok yesterday."
+allows "The wok hei flavor was intense."
+allows "Wok cooking takes practice."
+allows "I work from home."
+allows "They worked all day."
diff --git a/weir_rules/YourOutClauseAgreement.weir b/weir_rules/YourOutClauseAgreement.weir
new file mode 100644
index 000000000..d65b6a07b
--- /dev/null
+++ b/weir_rules/YourOutClauseAgreement.weir
@@ -0,0 +1,34 @@
+expr clause_start [when, if, since, because, but, as, unless, once, until, till, while, before, after]
+expr place_link [of, in, on, with, under, over, at, around, inside, outside]
+expr main <([([when, if, since, because, but, as, unless, once, until, till, while, before, after] your out [of, in, on, with, under, over, at, around, inside, outside]), ([when, if, since, because, but, as, unless, once, until, till, while, before, after] your ADV out [of, in, on, with, under, over, at, around, inside, outside])]), your>
+
+let message "Use the contraction for `you are` in this clause."
+let description "Corrects `your` when it appears where a subject-plus-verb contraction is intended before `out` and a following preposition."
+let kind "Grammar"
+let becomes "you're"
+
+# True positives
+
+test "Let me know when your out of the meeting." "Let me know when you're out of the meeting."
+test "Ping me if your out in January." "Ping me if you're out in January."
+test "Since your out on leave, I'll cover support." "Since you're out on leave, I'll cover support."
+test "Because your out of credits, checkout failed." "Because you're out of credits, checkout failed."
+test "As your out at lunch, I left a note." "As you're out at lunch, I left a note."
+test "Before your out with clients, review this doc." "Before you're out with clients, review this doc."
+test "After your out under the canopy, call me." "After you're out under the canopy, call me."
+test "If your completely out of ideas, start from the template." "If you're completely out of ideas, start from the template."
+
+# True negatives / false positives
+
+test "Let me know when you're out of the meeting." "Let me know when you're out of the meeting."
+test "Tell me when your outage is resolved." "Tell me when your outage is resolved."
+test "If your outbox is full, archive old mail." "If your outbox is full, archive old mail."
+test "Because your outdoor camera failed, we replaced it." "Because your outdoor camera failed, we replaced it."
+test "When your outfit is ready, send a photo." "When your outfit is ready, send a photo."
+
+# False negatives (accepted gaps)
+
+test "Whenever your out of office, I can help." "Whenever your out of office, I can help."
+test "Wherever your out of office, someone can cover." "Wherever your out of office, someone can cover."
+test "If your way out of this is patience, wait." "If your way out of this is patience, wait."
+test "Tell me your out of office hours." "Tell me your out of office hours."