mindnet_obsidian/docs/modules/dictionary.md
Lars 56ae6a2407
Some checks failed
Node.js build / build (20.x) (push) Failing after 8s
Node.js build / build (22.x) (push) Failing after 9s
Write stable block-id links and always start the interview wizard.
New notes and workbench edges now emit [[Note#Heading ^block]] or [[#^id]] so vaults stay ingestible without mass relinks. Create-from-profile always opens the wizard; a command can restart it on the current note.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 17:25:09 +02:00

68 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Modul: Dictionary
> **Pfad:** `src/dictionary/`
> **Zielgruppe:** Entwickler, Administratoren
---
## Übersicht
Das Dictionary-Modul lädt und parst alle Konfigurationsdateien (YAML, Markdown) und stellt sie den anderen Modulen zur Verfügung.
---
## Komponenten
| Datei | Beschreibung |
|-------|--------------|
| `DictionaryLoader.ts` | Generischer Loader mit Last-Known-Good |
| `ChainRolesLoader.ts` | Lädt chain_roles.yaml |
| `ChainTemplatesLoader.ts` | Lädt chain_templates.yaml |
| `ConfigPathManager.ts` | Pfad-Auflösung für Config-Dateien |
| `parseChainRoles.ts` | Parser für chain_roles |
| `parseChainTemplates.ts` | Parser für chain_templates |
| `types.ts` | TypeScript-Typen |
---
## Geladene Config-Dateien
| Datei | Pfad-Setting | Inhalt |
|-------|-------------|--------|
| edge_vocabulary | edgeVocabularyPath | Kanonische Edge-Typen, Aliases |
| graph_schema | graphSchemaPath | Empfehlungen für Edge-Typen |
| interview_config | interviewConfigPath | Profile, Steps, Loops |
| chain_roles | chainRolesPath | Edge-Typ → Role Mapping |
| chain_templates | chainTemplatesPath | Templates, Slots, Links, Profile |
| analysis_policies | analysisPoliciesPath | Severity-Policies pro Profil |
---
## Live-Reload
- **Debounced:** 200ms bei Dateiänderung
- **Last-Known-Good:** Bei Parse-Fehlern wird letzte gültige Config verwendet
- **Vault Modify Event:** Automatisches Neuladen bei Änderung im Vault
---
## Chain Templates Struktur
- **defaults.matching:** required_links, distinct_nodes, max_candidate_nodes, max_matches_per_template, max_assignments_collected
- **defaults.profiles:** discovery, decisioning (min_slots_filled_for_gap_findings, min_score_for_gap_findings)
- **templates:** name, slots, links, matching (optional)
---
## Chain Roles Struktur
- **roles:** Mapping Role-Name → edge_types[]
- **Standard-Rollen:** causal, influences, enables_constraints, provenance, epistemic, normative, structural, temporal
---
## Siehe auch
- [06_Konfigurationsdateien_Referenz](../06_Konfigurationsdateien_Referenz.md)
- [02_Administratorhandbuch](../02_Administratorhandbuch.md)