Skip to content

Align email scanner with shared hints#32

Merged
alyldas merged 4 commits into
mainfrom
feat/shared-hints-email-scanner
Jun 29, 2026
Merged

Align email scanner with shared hints#32
alyldas merged 4 commits into
mainfrom
feat/shared-hints-email-scanner

Conversation

@alyldas

@alyldas alyldas commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add boolean email scanner checks and sink-based range streaming with early stop support.
  • Accept shared-style text hints for cheap clean-text rejection while preserving legacy scan(input) output.
  • Keep email-specific parsing, exclusions, and false-positive guards inside the email package.
  • Extend email benchmarks with scanner setup, check(), no-dot @ text, hinted clean, and late-match rows.

Validation

  • npm ci
  • npm run check
  • npm run benchmark:email
  • npm pack --dry-run
  • Public runtime exports and package dry-run contents reviewed

Benchmarks

Latest email benchmark highlights:

  • check hinted short clean: 0.0002 avg ms
  • check no-dot at text: 0.0048 avg ms
  • check direct email: 0.0033 avg ms
  • check late-match email: 0.1318 avg ms
  • censor direct email: 0.0062 avg ms
  • censor obfuscated email: 0.0061 avg ms
  • censor late-match email: 0.2056 avg ms

Closes #31

No publish, no merge, no tag/release.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d9ac429ab5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/scanner.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ed200930d8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/scanner.ts Outdated
Comment thread src/scanner.ts Outdated
Comment thread src/scanner.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8aaf42cf97

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/scanner/matching/obfuscated.ts Outdated
@alyldas alyldas merged commit 7528b2e into main Jun 29, 2026
4 checks passed
@alyldas alyldas deleted the feat/shared-hints-email-scanner branch June 29, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Align email scanner with shared hints and allocation-aware contract

1 participant