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>
This commit is contained in:
1 parent
c40a89096f
commit
56ae6a2407
29 files changed
+1448
-274
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Chain-Identifikation und Template Matching
|
||||
|
||||
> **Stand:** Januar 2026
|
||||
> **Siehe auch:** [modules/analysis](../modules/analysis.md), [06_Konfigurationsdateien_Referenz](../06_Konfigurationsdateien_Referenz.md)
|
||||
|
||||
---
|
||||
|
||||
## Übersicht
|
||||
|
||||
Das System identifiziert und füllt Chains durch einen mehrstufigen Prozess:
|
||||
@@ -176,13 +181,17 @@ roleEvidence.push({
|
||||
|
||||
### Scoring (`scoreAssignment`)
|
||||
|
||||
**Slot-Scoring**:
|
||||
- Jeder zugewiesene Slot: **+2 Punkte**
|
||||
**Implementierung:** `src/analysis/templateMatching.ts`
|
||||
|
||||
**Link-Scoring**:
|
||||
- Erfüllter Link (mit erlaubter Role): **+10 Punkte**
|
||||
- Fehlender Link (wenn `required_links: true`): **-5 Punkte**
|
||||
- Falsche Role (wenn `required_links: true`): **-5 Punkte**
|
||||
| Komponente | Punkte |
|
||||
|------------|--------|
|
||||
| Jeder zugewiesene Slot | +2 |
|
||||
| Intra-Note-Bonus (alle Slots in derselben Note) | +5 |
|
||||
| Erfüllter Link (mit erlaubter Edge-Role) | +10 |
|
||||
| Fehlender Link (wenn `required_links: true`) | -5 |
|
||||
| Falsche Role (wenn `required_links: true`) | -5 |
|
||||
|
||||
**Heading-Matching:** Vergleiche via `headingsMatch` (normalisiert `^BlockID`; siehe [12_Heading_Block_Link_Recommendation](../../12_Heading_Block_Link_Recommendation.md)).
|
||||
|
||||
### Confidence-Berechnung
|
||||
|
||||
@@ -221,6 +230,8 @@ min_slots_filled_for_gap_findings: 3
|
||||
min_score_for_gap_findings: 18
|
||||
```
|
||||
|
||||
**Profil-Auswahl:** Plugin-Setting `templateMatchingProfile` (`discovery` | `decisioning`). Profil-Definitionen in `chain_templates.yaml` unter `defaults.profiles`.
|
||||
|
||||
### Profile-Auflösung
|
||||
|
||||
1. **Settings**: Plugin-Einstellung `templateMatchingProfile`
|
||||
@@ -372,6 +383,23 @@ Definiert Note-Type-Kompatibilität:
|
||||
- Welche Edge-Typen sind typisch für `insight → decision`?
|
||||
- Welche Edge-Typen sind verboten?
|
||||
|
||||
### `analysis_policies.yaml`
|
||||
|
||||
Definiert Severity-Policies pro Profil (discovery, decisioning) für Findings:
|
||||
- `missing_link_constraints`, `weak_chain_roles`, `unmapped_edge_types`, `missing_slot_*`
|
||||
|
||||
---
|
||||
|
||||
## 11. Matching-Parameter (defaults.matching)
|
||||
|
||||
| Parameter | Standard | Beschreibung |
|
||||
|-----------|----------|--------------|
|
||||
| `distinct_nodes` | true | Jeder Knoten nur einmal pro Template |
|
||||
| `required_links` | true | Links erforderlich (profil-überschreibbar) |
|
||||
| `max_candidate_nodes` | 30 | Max. Candidate Nodes pro Template |
|
||||
| `max_matches_per_template` | 2 | Max. unterschiedliche Zuordnungen (z. B. intra-note + cross-note) |
|
||||
| `max_assignments_collected` | 1000 | Schleifenschutz beim Backtracking |
|
||||
|
||||
---
|
||||
|
||||
## Zusammenfassung
|
||||
|
||||
Reference in new issue
Block a user