Skip to content

feat(settings): add natural mistakes generator - #27

Merged
Neup123 merged 3 commits into
mainfrom
instinct/mistakes-generator
Sep 22, 2026
Merged

Neup123 merged 3 commits into
mainfrom
instinct/mistakes-generator

Conversation

@Neup123

@Neup123 Neup123 commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add configurable Mistakes Generator settings for instances and Settings Templates
  • protect URLs, bare domains, emails, mentions, phone-like identifiers, and message metadata
  • use adjacent-key substitutions for Latin/QWERTY, Hebrew, Cyrillic, and Arabic
  • add PostgreSQL/MySQL migrations, embedded Manager UI controls, runtime OpenAPI docs, and user docs
  • strengthen deterministic coverage for protections, multilingual behavior, case, and bounds

Closes #26.

Validation

  • npm run test:mistakes-generator
  • npm run test:settings-templates
  • npm run test:review-surfaces
  • npm run test:message-archive
  • npm run test:outbound-safety
  • npx tsx test/message-key.test.ts
  • npm run test:log-redaction
  • npm run audit:runtime-openapi (202 operations)
  • Baileys/webhook/archive/chat documentation audits
  • npm run lint:check
  • npx tsc --noEmit

Rollback

The exact pre-feature main state is tagged rollback/pre-mistakes-generator at 1cba37f6d49dd3c087e24275e848f0a12be0f5f1.

This PR must use a true merge commit so the feature remains directly revertible.

Comment thread test/mistakes-generator.test.ts Fixed
@Neup123
Neup123 merged commit feae32c into main Sep 22, 2026
4 checks passed
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.

Feature: configurable natural mistakes generator for outbound text

2 participants