fix(text): borner les transformations et supprimer les API mortes #45

Open
hermes wants to merge 1 commit from fix/text-pipeline-budget into fix/ui-lifecycle
First-time contributor

Résumé

  • rend le transformateur Markdown linéaire et coopératif à l'annulation
  • applique max_text_bytes après chaque expansion
  • conserve le candidat précédent avec warning pour cleanup/plugin optionnels hors budget
  • sanitise une seule fois avant tout effet clipboard/injection
  • supprime les API plugin/textpipe/sysexec spéculatives non utilisées

Closes #22
Closes #23
Closes #26

Validation

  • go test -race ./internal/plugin ./internal/plugin/markdown ./internal/textpipe ./internal/inject ./internal/sink ./internal/sysexec ./internal/core

Dépendance

Cette PR est empilée sur la PR #42. Les branches ont été rebasées et validées dans cet ordre pour éviter les conflits croisés.

## Résumé - rend le transformateur Markdown linéaire et coopératif à l'annulation - applique `max_text_bytes` après chaque expansion - conserve le candidat précédent avec warning pour cleanup/plugin optionnels hors budget - sanitise une seule fois avant tout effet clipboard/injection - supprime les API plugin/textpipe/sysexec spéculatives non utilisées Closes #22 Closes #23 Closes #26 ## Validation - `go test -race ./internal/plugin ./internal/plugin/markdown ./internal/textpipe ./internal/inject ./internal/sink ./internal/sysexec ./internal/core` ## Dépendance Cette PR est empilée sur la PR #42. Les branches ont été rebasées et validées dans cet ordre pour éviter les conflits croisés.
fix(text): enforce bounded single-pass transformations
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
c0d30cf588
hermes force-pushed fix/text-pipeline-budget from c0d30cf588
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
to a72a9c6181
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
2026-08-07 18:07:18 +00:00
Compare
hermes changed target branch from main to fix/ui-lifecycle 2026-08-07 18:07:33 +00:00
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/text-pipeline-budget:fix/text-pipeline-budget
git switch fix/text-pipeline-budget

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch fix/ui-lifecycle
git merge --no-ff fix/text-pipeline-budget
git switch fix/text-pipeline-budget
git rebase fix/ui-lifecycle
git switch fix/ui-lifecycle
git merge --ff-only fix/text-pipeline-budget
git switch fix/text-pipeline-budget
git rebase fix/ui-lifecycle
git switch fix/ui-lifecycle
git merge --no-ff fix/text-pipeline-budget
git switch fix/ui-lifecycle
git merge --squash fix/text-pipeline-budget
git switch fix/ui-lifecycle
git merge --ff-only fix/text-pipeline-budget
git switch fix/ui-lifecycle
git merge fix/text-pipeline-budget
git push origin fix/ui-lifecycle
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mathieu/murmur!45
No description provided.