62 lines
1.8 KiB
Markdown
62 lines
1.8 KiB
Markdown
|
|
# Modul: Workbench
|
|||
|
|
|
|||
|
|
> **Pfad:** `src/workbench/`
|
|||
|
|
> **Zielgruppe:** Entwickler
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## Übersicht
|
|||
|
|
|
|||
|
|
Das Workbench-Modul implementiert die **Chain Workbench** – eine UI zur Analyse von Ketten und zur Bearbeitung von Lücken (Todos, Actions).
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## Komponenten
|
|||
|
|
|
|||
|
|
| Datei | Beschreibung |
|
|||
|
|
|-------|--------------|
|
|||
|
|
| `ChainWorkbenchModal.ts` | Haupt-Modal (in ui/) |
|
|||
|
|
| `workbenchBuilder.ts` | Baut Workbench-Daten aus Template Matches |
|
|||
|
|
| `todoGenerator.ts` | Erzeugt Todos (missing_slot, missing_link, weak_roles) |
|
|||
|
|
| `statusCalculator.ts` | Berechnet Status (complete, near_complete, partial, weak) |
|
|||
|
|
| `zoneDetector.ts` | Erkennt Zonen (note_links, candidates_only) |
|
|||
|
|
| `createSectionAction.ts` | Aktion: Sektion erstellen |
|
|||
|
|
| `linkExistingAction.ts` | Aktion: Bestehenden Knoten verlinken |
|
|||
|
|
| `insertEdgeIntoSectionContent.ts` | Edge in Section-Content einfügen |
|
|||
|
|
| `interviewOrchestration.ts` | Orchestriert Interview bei Create-Actions |
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## Vault Triage Scan
|
|||
|
|
|
|||
|
|
- **Command:** `mindnet-vault-triage-scan`
|
|||
|
|
- **Modal:** VaultTriageScanModal
|
|||
|
|
- **Sortierung:** near_complete zuerst, dann nach Score absteigend
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## Status-Werte
|
|||
|
|
|
|||
|
|
| Status | Bedingung |
|
|||
|
|
|--------|-----------|
|
|||
|
|
| `complete` | Slots + Links vollständig |
|
|||
|
|
| `near_complete` | 1–2 Links fehlen oder 1 Slot fehlt |
|
|||
|
|
| `partial` | Mehrere Lücken |
|
|||
|
|
| `weak` | Nur structural/temporal Roles, keine causal Roles |
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## Fix Actions
|
|||
|
|
|
|||
|
|
- **createMissingNote:** Skeleton, Create+Open, Create+Wizard
|
|||
|
|
- **createMissingHeading:** Neues Heading mit konfigurierbarem Level
|
|||
|
|
- **promoteCandidate:** Candidate als echten Slot übernehmen
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
## Siehe auch
|
|||
|
|
|
|||
|
|
- [09_Workbench_Analysis_Basis](../09_Workbench_Analysis_Basis.md)
|
|||
|
|
- [10_Workbench_Findings_Integration](../10_Workbench_Findings_Integration.md)
|
|||
|
|
- [Analysis-Modul](analysis.md) – Template Matching, Scoring
|