Skip to content

check_paradigm_shift: catch the restated-subject antithesis - #104

Merged
rivassec merged 1 commit into
mainfrom
fix/antithesis-restated-subject
Oct 24, 2026
Merged

rivassec merged 1 commit into
mainfrom
fix/antithesis-restated-subject

Conversation

@rivassec

Copy link
Copy Markdown
Owner

Adds antithesis-restated-subject for "The X is not A. The X is B." (subject repeated instead of "It is"), including a quoted rejected part with its own period:

the transformation is not "surveillance was added." The transformation is ...

No existing pattern caught this form. It came up in a full-sentence review of the posts with the most prose-lint hits (2026-10-23).

  • Precision: a backreference requires the same noun in both sentences. Across content/ it matches 3 sentences, all genuine: iam-blast-radius-architecture-problem L109 and telemetry-turns-predatory L57 and L67. A follow-up content PR rewrites them.
  • Tests: 4 positives (quoted, unquoted, case/spacing, curly quotes), 2 negatives (different subject, no negation), plus a regression fixture for the existing antithesis-period-split hit in iam-blast-radius-github-action L16. The full suite passes (76 tests).
  • Companion change: the gentoo-side Ralph review silently dropped antithesis-period-split. That fix is in rivassec/research-feed.

Note: like the existing patterns, this script does not skip fenced code blocks.

🤖 Generated with Claude Code

"The X is not A. The X is B." repeats the subject instead of saying "It is",
so no existing pattern matched it, including the quoted form
'the transformation is not "surveillance was added." The transformation is'
(the quote carries its own period). Found in a full-sentence review on
2026-10-23. New label antithesis-restated-subject (high); the backreference
on the noun keeps ordinary follow-ups out.

Across content/ it matches 3 sentences, all genuine; they are rewritten in
the follow-up content PR. Tests: 4 positives (quoted, unquoted, case and
spacing, curly quotes), 2 negatives (different subject, no negation), and a
regression fixture for the iam-blast-radius-github-action period-split hit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rivassec
rivassec merged commit 4a4de52 into main Oct 24, 2026
19 checks passed
@rivassec
rivassec deleted the fix/antithesis-restated-subject branch October 24, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant