internal/domain
github.com/ensera-ai/taisce/internal/domain · 3 files · 1335 lines · 17 tests · source
Package domain holds the vocabulary the read and write paths share.
No I/O, no clock, no database. A type here is a thing the product talks about, and the rule for admitting one is that both sides of the system need to name it — anything only one side needs belongs to that side.
Where it sits
Imports: none in this repository
Imported by: cmd/taisce, internal/api, internal/entitycandidate, internal/extract, internal/formation, internal/infra/inference, internal/infra/pg, internal/ingest, internal/passage, internal/recall, internal/reportcandidate
Files
| File | Lines | Declarations | What it is for |
|---|---|---|---|
| domain.go | 1271 | 69 | Carries the package documentation. |
| observationlimits.go | 28 | 3 | These bound a single append and its downstream extraction work. |
| recalllimits.go | 36 | 3 | Recall limits protect question expansion, database parameters and traversal seeds. |
17 tests hold this package's behaviour; the list is named for what each one proves.