26 lines
649 B
Markdown
26 lines
649 B
Markdown
# FINDINGS.md -- go-help
|
|
|
|
## 2026-02-19: Split from core/go (Virgil)
|
|
|
|
### Origin
|
|
|
|
Extracted from `forge.lthn.ai/core/go` `pkg/help/` on 19 Feb 2026.
|
|
|
|
### Architecture
|
|
|
|
- `Topic` struct with title, body, tags, related topics
|
|
- `Section` groups topics under a heading
|
|
- `Frontmatter` for YAML metadata in topic files
|
|
- `Catalog` loads topics from YAML files on disk
|
|
- `Search` provides keyword search across topics with scoring:
|
|
- Title match: +10
|
|
- Section match: +5
|
|
- Partial/body match: +0.5
|
|
|
|
### Dependencies
|
|
|
|
- Pure Go, only external dependency is `gopkg.in/yaml.v3`
|
|
|
|
### Tests
|
|
|
|
- 2 test files covering catalog loading and search behaviour
|