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>
2.1 KiB
2.1 KiB
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