All DIS-001 through DIS-110 set to status:done with merge dates. BOARD.md reorganized with Done sections per phase. Phase 1.5 Refinement epic added as planning placeholder. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
| id | status | phase | priority | labels | branch | assignee | started | pr | merged | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DIS-102 | done | 1 | p1 |
|
phase-1/sanitize-for-discord | claude-agent | null | null | 2026-04-10 |
DIS-102: sanitizeForDiscord — Pfade aus Agent-Output entfernen
Ziel
Absolute Pfade, Home-Dir und Token-Patterns werden vor Discord-Send aus Agent-Antworten redaktiert. Verhindert Info-Leak in öffentliche Channels.
Kontext
→ docs/development-plan.md §2.7 (Error-Handler-Strategie), Phase 1 Task 2.
Scope
- In:
src/runtime/sanitize.tsmitsanitizeForDiscord(text, { repoRoot, home })· Regex ersetzt repoRoot →<disclaw>, home →~, Token-Patterns →<redacted>· Router nutzt Sanitizer vor jedemchannel.send - Out: Content-Moderation, PII-Detection
Definition of Done
- Test
tests/unit/sanitize-for-discord.test.tsdeckt: Repo-Pfad, Home-Pfad, Discord-Token-Regex, keine False-Positives auf harmlosem Text - Router nutzt Sanitizer an allen Send-Stellen
npm run build && npm testgrün
Dateien (erwartet)
src/runtime/sanitize.tssrc/router.tstests/unit/sanitize-for-discord.test.ts
Abhängigkeiten
Blockiert durch: DIS-101 (gemeinsames Refactoring-Fenster im Router).
Spec
→ docs/backlog.md #DIS-102