48 lines
1.1 KiB
Markdown
48 lines
1.1 KiB
Markdown
|
|
# Modul: Interview
|
||
|
|
|
||
|
|
> **Pfad:** `src/interview/`
|
||
|
|
> **Zielgruppe:** Entwickler
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Übersicht
|
||
|
|
|
||
|
|
Interview-Wizard zur strukturierten Erfassung von Inhalten, Section-basierte Ausgabe, Frontmatter-Generierung.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Komponenten
|
||
|
|
|
||
|
|
| Datei | Beschreibung |
|
||
|
|
|-------|--------------|
|
||
|
|
| `InterviewConfigLoader.ts` | Lädt interview_config.yaml |
|
||
|
|
| `parseInterviewConfig.ts` | YAML → InterviewConfig Parser |
|
||
|
|
| `wizardState.ts` | Wizard State (Steps, Loops) |
|
||
|
|
| `loopState.ts` | Nested Loops |
|
||
|
|
| `renderer.ts` | Output-Rendering (Section-basiert) |
|
||
|
|
| `writeFrontmatter.ts` | Frontmatter-Generierung |
|
||
|
|
| `sectionKeyResolver.ts` | Section-Key-Auflösung |
|
||
|
|
| `extractTargetFromAnchor.ts` | Target-Extraktion aus Anchors |
|
||
|
|
| `targetTypeResolver.ts` | Note-Type- und Section-Type-Auflösung |
|
||
|
|
| `slugify.ts` | Slug-Generierung für Dateinamen |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step-Typen
|
||
|
|
|
||
|
|
- `capture_frontmatter`, `capture_text`, `capture_text_line`
|
||
|
|
- `loop`, `review`, `instruction`
|
||
|
|
- `llm_dialog`, `entity_picker` (experimentell)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## WP-26 Features
|
||
|
|
|
||
|
|
- `section_type`, `block_id`, `generate_block_id`, `references`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Siehe auch
|
||
|
|
|
||
|
|
- [Interview_Config_Guide](../Interview_Config_Guide.md)
|