Files
core/solutions/README.md
T
terminarandClaude Opus 5.5 2481a0dd27 solutions: Solutions Guide engine (catalog, rules, wizard state, native config, knowledge index, CLI)
New nested module yetano.dev/yetano/core/solutions: loads the catalog
in assets/solutions on top of the Big Picture, evaluates questions and
conditions, resolves packages/modules/capabilities, generates native
configuration from typed fragments with per-value origins, and builds
architecture graph, plan, lock file and handbook. Knowledge index with
yetano: references, search and lint (incl. manual sections). CLI with
yet's conventions (solution, task, knowledge, open), standalone as
yetano-solutions. No execution, no network.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 08:42:58 +01:00

37 lines
1.7 KiB
Markdown

# yetano.dev/yetano/core/solutions
The engine of the **Yetano Solutions Guide** (Yetano Knowledge &
Solutions): from what a user wants to achieve, through questions, rules
and existing knowledge, to native, checked configuration. Design and
requirements: `docs/knowledge-solutions/` in the meta-repo; the catalog
it reads: `assets/solutions/`.
```text
module yetano.dev/yetano/core/solutions tags: solutions/v0.1.0, ... go 1.25
```
A nested module of the core repository (like `core/gui`, `core/tui`):
standard library, `gopkg.in/yaml.v3` and `yetano.dev/yetano/core`
(`secretref`, `paths`). No cgo; builds for js/wasm.
| Package | What |
|---|---|
| `catalog` | manifest model, strict loader, Big Picture view, validation, condition language, JSON Schemas |
| `ref` | `yetano:<kind>/<path>[#section][@version]` references, heading slugs |
| `engine` | `Evaluate` (questions, rules, packages, capabilities, providers, modules, configuration with origins, graph, steps, checks), `Generate`/`Write` (lock, plan, handbook, hand-edit protection), presets |
| `knowledge` | index over catalog, Big Picture and manuals; `Resolve`, `Read`, `Search`, backlinks, `Lint`, coverage |
| `store` | instances, sessions, presets, favorites, recent as files |
| `cli` | `solution`, `task`, `knowledge`, `open` with yet's conventions (`cli.Run`) |
| `cmd/yetano-solutions` | the same commands standalone (catalog CI, development) |
The engine is pure: it never runs a command and never opens a network
connection (tested); only the CLI's `doctor` resolves DNS and probes
local ports.
```sh
go test ./...
go run ./cmd/yetano-solutions --catalog ../../assets/solutions solution setup mail-server
```
Tags carry the `solutions/` prefix; never move a tag.