solutions: load a catalog without a disk (LoadFSWith, LoadBigPictureFS); skip *.conflict.md
LoadFSWith reads the Big Picture from its own fs.FS, so a catalog can be embedded -- the web wizard runs the engine in the browser as WebAssembly. The knowledge index leaves out wiki-sync conflict copies (*.conflict.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c8a219a84b
commit
c1c0b8a116
4 files changed
+60
-6
No files matched your search
@@ -224,7 +224,9 @@ func (ix *Index) manuals() {
|
||||
if d.IsDir() && strings.HasPrefix(d.Name(), ".") {
|
||||
return fs.SkipDir
|
||||
}
|
||||
if !d.IsDir() && strings.HasSuffix(p, ".md") {
|
||||
// *.conflict.md: a wiki-sync conflict copy (meta-repo
|
||||
// AGENTS.md), never documentation of its own
|
||||
if !d.IsDir() && strings.HasSuffix(p, ".md") && !strings.HasSuffix(p, ".conflict.md") {
|
||||
files = append(files, rel)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user