package reconcile import ( "strings" ) // Verwaltete Blöcke in Textdateien wie CLAUDE.md (→ KONZEPT.md 7.2, 11.4): // // // @.hugin/rules/pub-hausregeln.md // func beginMarker(block string) string { return "" } func endMarker(block string) string { return "" } // findBlock liefert die Zeilennummern von Anfangs- und Endmarke, -1 wenn es // den Block nicht gibt. func findBlock(lines []string, block string) (begin, end int) { begin, end = -1, -1 for i, z := range lines { z = strings.TrimSpace(z) if begin < 0 && strings.HasPrefix(z, "