Skip to content

chore(sync): merge main v1.4.235 hotfix back into dev (bump dev to v1.4.236) - #1967

Closed
dofastted wants to merge 1 commit into
devfrom
chore/sync-main-v1.4.235
Closed

dofastted wants to merge 1 commit into
devfrom
chore/sync-main-v1.4.235

Conversation

@dofastted

@dofastted dofastted commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Resolves CHANGELOG/VERSION conflict between main v1.4.235 (#1962 JEV hotfix) and dev #1964 (#1947/#1950): keeps v1.4.235 for the released JEV hotfix and moves #1947/#1950 to v1.4.236 on dev. Supersedes #1963.


Note

Medium Risk
Changes live JEV blocking, ban escalation, and Claude Code classifier handling in the protocol path—security-sensitive but covered by new unit tests and narrower bans for borderline scores.

Overview
Bumps dev to v1.4.236 and reorders CHANGELOG.md so released v1.4.235 keeps the JEV hotfix (#1962) while #1947/#1950 stay under 1.4.236.

JEV false-positive hotfix (#1962): Protocol intercept now receives a classifier from classifyClaudeRequestPurpose. auto_mode_classifier side-requests still honor existing session/device bans but skip hard-regex, refusal-cache, and JEV so review templates do not permanently kill the main coding session (aligned with refusalSessionBlockDecision).

Built-in JEV prompts v2.1: USAGE_POLICY_INSTRUCTION and NSFW_INSTRUCTION add exemptions (Claude Code review templates, local test scripts, non-explicit romance/comfort); legacy v2 panel text auto-migrates via LEGACY_* sets.

Confidence-tiered bans: New JEV_BAN_CONFIDENCE_FLOOR (0.25) and shouldEscalateJevBan()—single non-nsfw hits in the borderline band return 429 + Retry-After: 60 and ban_skipped: borderline_score without session/device strikes; NSFW, multi-category hits, and low scores still use the full ban ladder.

Unit tests in jev-intercept.test.mjs cover migration, classifier bypass, and borderline behavior.

Reviewed by Cursor Bugbot for commit 7c96e1c. Configure here.

@cursor

cursor Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 78ebb663-1a75-4a55-98ed-8772f020498d)

@dofastted

Copy link
Copy Markdown
Owner Author

Closing: already synced into dev by #1966 (v1.4.236).

@dofastted dofastted closed this Nov 27, 2026
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