PASTE PROMPT ANALYZER RUN REPORT
# Paste Prompt Analyzer — Run Report
> **Date:** 2026-07-06
> **Agent:** issue-orchestrator (OpenCode 1.15.0, deepseek-v4-pro)
> **Issue:** [#204](https://github.com/xxammaxx/promptvault-lite/issues/204)
> **Branch:** feature/paste-prompt-analyzer
---
## Feature
Prompt ohne Datei analysieren — User pasten Prompt-Text direkt und analysieren ihn mit der bestehenden lokalen Analyse-Pipeline, ohne eine Datei im Vault anzulegen.
## UI-Ort
- Toolbar-Button `📝 Direktanalyse` / `📁 Dateien` zum Umschalten
- Eigener Anzeigebereich (ersetzt das Drei-Spalten-Layout im Paste-Modus)
- Enthält Textarea, Action-Buttons und Ergebnisbereich
## Clipboard-Zugriff
- Nur nach expliziter Nutzeraktion (`📋 Aus Zwischenablage einfügen` Button)
- Kein automatisches Lesen der Zwischenablage beim Öffnen
- Fallback-Meldung bei nicht verfügbarer/fehlender Berechtigung
- Clipboard-Inhalte werden nicht geloggt
## Speicherung
- **Keine automatische Speicherung.**
- Eingefügte Texte bleiben nur im lokalen React-State.
- Kein Schreiben in SQLite, Vault oder Cache.
- `persisted: false` im Analyse-Ergebnis garantiert.
## Analyse
- Wiederverwendung bestehender lokaler Analyse-Logik:
- `classifyContent()` — Klassifikation, Blueprint-Typ, Kontamination
- `evaluatePromptContext()` — Context-Engineering-Scores
- `evaluateBlueprint()` — Blueprint-Bewertung (falls zutreffend)
- Keine cloud API, kein Remote-LLM, keine Telemetrie.
## Implementierte Dateien
| Datei | Typ | Beschreibung |
| ------------------------------------------------------------- | -------- | ---------------------------------- |
| `src/App.tsx` | geändert | Toolbar-Button, Layout-Umschaltung |
| `src/App.css` | geändert | Paste-Analyzer-Styles |
| `src/components/paste/PastePromptAnalyzer.tsx` | neu | Hauptkomponente |
| `src/lib/pastePromptAnalysis.ts` | neu | Analyse-Adapter |
| `src/lib/__tests__/pastePromptAnalysis.test.ts` | neu | Unit-Tests (Adapter) |
| `src/components/paste/__tests__/PastePromptAnalyzer.test.tsx` | neu | Component-Tests |
| `docs/CHANGELOG.md` | geändert | Feature-Eintrag |
| `docs/USER_GUIDE.md` | geändert | Bedienungsanleitung |
| `docs/EVIDENCE_PORTFOLIO.md` | geändert | Capability-Eintrag |
| `docs/audits/PASTE_PROMPT_ANALYZER_RUN_REPORT.md` | neu | Dieser Report |
## Tests
| Suite | Tests | Status |
| -------------------------- | ----- | ------ |
| Paste Analyzer (Unit) | 11 | PASS |
| Paste Analyzer (Component) | 15 | PASS |
| Gesamt (Frontend) | 736 | PASS |
| Rust Tests | 156 | PASS |
## Local Gates
| Gate | Exit Code | Result |
| ----------------------- | --------- | ------ |
| pnpm test | 0 | PASS |
| pnpm lint | 0 | PASS |
| tsc --noEmit | 0 | PASS |
| pnpm build | 0 | PASS |
| cargo fmt --check --all | 0 | PASS |
| cargo clippy | 0 | PASS |
| cargo test --workspace | 0 | PASS |
| git diff --check | 0 | PASS |
## Safety Review
| Check | Result |
| -------------------------------- | ------ |
| Clipboard nur nach Nutzeraktion | ✅ |
| Keine automatische Speicherung | ✅ |
| Keine Cloud-API | ✅ |
| Kein Remote-LLM | ✅ |
| Keine Telemetrie | ✅ |
| Keine Prompt-Inhalte in Evidence | ✅ |
| Keine privaten Pfade in Evidence | ✅ |
| Keine echten Dateinamen | ✅ |
| Keine Screenshots committed | ✅ |
| Kein Remote-CI Re-run | ✅ |
## Bekannte Einschränkungen
- Clipboard API kann im Tauri-WebView eingeschränkt sein → manuelles Einfügen als Fallback
- Keine Persistenz über Sessions → gewollt (Privacy-by-Design)
- Keine Export-Funktion aus dem Paste-Modus → nur Anzeige der Analyseergebnisse
- Paste-Modus und Datei-Modus sind exklusiv (Toggle-Logik)
## Nicht ausgeführt
- Kein Issue #199 Embeddings-Code
- Keine neuen Dependencies
- Keine DB-Migration
- Keine Real-Corpus-Inhalte genutzt
- Keine automatische Speicherung
- Kein Prompt-Rewrite
- Kein Release
- Kein Tag
- Kein Asset Upload
- Kein Remote-CI Re-run
- Keine Repo-Settings geändert
- Keine Corpus-Dateien committed
- Keine Prompt-Inhalte gepostet
- Keine privaten Pfade gepostet
- Keine echten Dateinamen gepostet
- Keine Screenshots committed
- Kein Force-Pushwhen to use it
Community prompt sourced from the open-source GitHub repo xxammaxx/promptvault-lite (MIT). A "PASTE PROMPT ANALYZER RUN REPORT" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
xxammaxx/promptvault-lite · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar