Skip to content

Share generated-text sanitization and strip commit attribution#479

Merged
BunsDev merged 1 commit intomainfrom
okcode/remove-coauthor-spam
Apr 20, 2026
Merged

Share generated-text sanitization and strip commit attribution#479
BunsDev merged 1 commit intomainfrom
okcode/remove-coauthor-spam

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 20, 2026

Summary

  • Moved generated-text sanitization into packages/shared so server and web use one implementation.
  • Expanded attribution stripping to catch more provider-generated variants, while preserving human-authored trailers.
  • Added a commit-msg hook and script to remove provider attribution from commit messages before they are finalized.
  • Removed duplicate PR review utility exports left behind in the web component module.

Testing

  • Added/updated unit coverage for attribution stripping variants in apps/server/src/git/generatedTextSanitization.test.ts.
  • Not run: bun fmt
  • Not run: bun lint
  • Not run: bun typecheck
  • Not run: bun run test

- Move attribution stripping into `packages/shared`
- Add commit-msg hook to remove provider attribution from commit messages
- Expand tests and cleanup duplicate PR utility exports
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 20, 2026 9:14am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 20, 2026 9:14am

@github-actions github-actions bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 20, 2026
@BunsDev BunsDev merged commit 2dfc9da into main Apr 20, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant