Skip to content

v3.41.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 17:02
Immutable release. Only release title and notes can be modified.
439a243

Added

  • The skill now runs the detector it ships. The canonical skill directory and the Claude plugin bundle carry scripts/detect.js, the same file as the ai-writing-detector script, which scripts/sync-plugin-skill.sh copies and which finds the engine in either layout. Rewrite, detect and edit modes run it when Node and the bundled scripts are present, with the --context from the detector mode mapping and rendered-markdown for Markdown input, and treat its hits as candidate matches. They take em dash rates, Tier 3 density and hashtag counts from its output, and count by hand when it leaves out a metric because the text is below its threshold. Without the scripts the model-only path and its "detector did not run" label stay as they were; the directory copy, the Cursor rule and the portable paste file keep that wording. scripts/detect-parity.test.js now checks every copy, including one run from a bare copy of the skill directory (#510).
  • scripts/diff-spans.js compares the source with the delivered text word by word and prints JSON hunks grouped by source sentence, each marked when it touches frontmatter, fenced or inline code, a blockquote, a table, a URL or a Markdown link destination. It takes those regions from a new protectedRegions() export in detector/validate.js, so it and the preservation validator agree on them. Whitespace is compared exactly, including indentation, blank lines and frontmatter, except a soft line break between two plain prose lines, which counts as one space: a rewrapped paragraph or a CRLF line end makes no hunk, while re-indenting a fence or joining a quote line onto prose does. Every pair in detector/validate.test.js that validate() flags with a preservation error also gets at least one hunk. Chinese and Japanese compare by character. When the texts differ too much for its work limit it exits 3 with status too-large instead of a partial list. Rewrite and edit modes run it once the final text is assembled and write Changes, or Edits made, from its hunks; a planned edit with no hunk, or a hunk with no rule, is reported as a verification failure. It targets the #322 failure class, a Changes line for an edit the final text does not contain, where the script runs; otherwise Changes or Edits made is labeled model-only (#511).
  • A judgment-only entry, Mannered prose, flags a figure of speech used where a literal phrase would say the same thing more exactly: "a dial worth turning" for "a parameter worth varying." It cites the definition in Anthropic's prompting guide for Claude Fable 5.1 (2026) and Graphite's comparison, in which Claude Opus 5 scored the articles (September and October 2026: Claude Opus 5 and Gemini 3.1 Pro at about 2.5 times the human score, GPT-6 Astra about 1.2, Claude Opus 5.5 about 1.6). Those scores are one model's judgment and are not peer reviewed, so they set no threshold. Literary essays, columns, speeches, fiction, an established figurative voice, and casual idioms pass; a new tolerance-matrix row skips the rule in casual. There is no detector type (#508).
  • The negative-parallelism type now flags the minimizer contrasts "rather than merely / simply / just" and the copular "is not simply" when one starts near another frame or when the text holds two or more of them. A single one passes: technical, legal and philosophical prose uses the form for real contrasts. Each defines a thing by dismissing a weaker reading nobody proposed ("The tool is meant to guide decisions rather than simply report numbers."). A "not simply" that starts a full frame is reported once. "Is not simply X but / nor / yet / though Y", "is not simply X, rather Y" and "is not simply X; Y" are correlatives, and "simply connected", "simply typed" and similar terms are not minimizers, so all are skipped. The gate now pairs on every match position before deduplication, so a repeated frame no longer hides a later pair, and highlights cover only the positions that passed the gate. Bare "rather than" and "X, not Y" are not matched and stay judgment calls in the catalog. A real contrast in the minimizer form ("Popper attacks verificationism rather than merely refining it.") fires only beside a second one, a disclosed false positive. The Sentence structure entry cites Graphite's "AI Tells" study (September 2026, not peer reviewed; Claude Opus 5 and GPT-6 Astra), OpenAI's GPT-6 Astra prompting guide, and Wikipedia's "Signs of AI writing" (#505).
  • A new catalog entry, Tradeoff-free promises, and detector type tradeoff-free-promise: a benefit with a denial of cost that never names the cost ("Teams can ship faster without sacrificing quality."). The detector matches "without sacrificing" or "without compromising" directly before one of eight abstract qualities, across at most one line break, (quality, performance, security, flexibility, speed, control, accuracy, reliability) that ends its phrase, so concrete objects ("without compromising the confidentiality obligations in section 4", "the security deposit") stay clean. "Without losing" and "without requiring" stay judgment calls. The finding has zero authorship weight: human marketing copy makes the same promise. Graphite measured the form in GPT-6 Astra, Claude Opus 5 and Gemini 3.1 Pro web articles (measured in 2026). A tolerance-matrix row relaxes it for technical-blog and docs and skips casual (#506).
  • A new catalog entry, "Less like X, more like Y" reframes, and detector type less-more-reframe: the joined frame "less like / about / as X, and / but more like / about / as" with the same word on both sides, outside quoted speech, with X up to 40 characters ("The release is less about features and more about trust."). An unfinished frame ("sound less like AI") stays clean. A real comparison followed by its concrete difference still fires, a disclosed false positive the skill keeps by judgment. The finding has zero authorship weight because the evidence is one study and one family: Graphite counted the frame 125 times in Claude Opus 5 articles against once in human articles (measured in 2026). A tolerance-matrix row relaxes it for casual (#507).
  • The Vale style gains TradeoffFreePromise and LessMoreReframe, and NegativeParallelism gains the minimizer forms.

Changed

  • Novelty inflation's invented-labels sub-rule now names descriptive compound labels, nouns stacked into a name the text never explains ("the editorial-row layouts," "the deadline friction"), alongside branded concepts. It cites OpenAI's guide for GPT-6 Astra (2026), Clark, Martin and Mahowald (arXiv 2610.29162, 2026, a preprint; Claude, GPT, GLM and Kimi models) and Reinhart et al. (PNAS 2025; GPT-4o and Llama 3 Instruct). Terms defined on first use, glossary entries, established domain compounds, terms the reader can work out from context, intentional coinages in fiction and essays, and shorthand the audience already shares pass. A new tolerance-matrix row relaxes the sub-rule in casual. It stays judgment-only (#509).

Fixed

  • A fenced code block that opens on a list item's own line (- ~~~md, 1. ```js) is now recognized in a simple, unambiguous shape, in both source modes. The opener used to be missed, so the fence's closing line read as a new fence that never closed and hid the rest of the document from every check that skips code: the em dash rate, hashtag count, title-case heading check, hyphenation copyedit, HTML-comment masking and ignore markers. The shape: the item line is the first line, follows a blank line, or follows another item of the same simple list; one to four spaces follow the marker; body lines are indented with spaces to the item's content column; the closer is at most three columns past it; and the next line is blank or another list item. A document with any construct that could change how that shape renders is read exactly as before. Outside accepted fence bodies, where such lines are code, that means a <, a line of only -, =, * or _, or any other line that looks like a fence line (an indented fence run, or a list item opening a fence that the scan does not accept); anywhere, a line starting with >, any tab character, a CR (CRLF line ends included) or other unusual line end, text that normalization rewrites, or a list-item fence with no closer (#481).