cmd/taisce
github.com/ensera-ai/taisce/cmd/taisce · 21 files · 3838 lines · 94 tests · source
`taisce conformance` runs the adapter conformance suite against a live deployment, with the adapter reached as a driver over the subprocess protocol (internal/conformance). It is in this binary so that an adapter repository, which is a different repository in a different language, runs the suite with the same runner every other adapter runs, from a released binary, and never with a copy of it.
Where it sits
Imports: internal/api, internal/conformance, internal/credential, internal/domain, internal/entitycandidate, internal/extract, internal/formation, internal/infra/inference, internal/infra/pg, internal/ingest, internal/migrate, internal/notify, internal/passage, internal/recall, internal/report, internal/reportcandidate
Imported by: none in this repository
Files
| File | Lines | Declarations | What it is for |
|---|---|---|---|
| artifacts.go | 78 | 1 | Read current usage or replace all four operator limits atomically. |
| chunkrecovery.go | 58 | 1 | |
| cliui.go | 308 | 19 | cleanTerminal makes a value safe to draw: invalid UTF-8 becomes a replacement character; a line break, tab, line separator or paragraph separator becomes one space, so a value cannot start a new line inside a panel; and every control character (category Cc) and format character (category Cf) is removed. |
| commands.go | 657 | 15 | wantsHelp reports whether a command's arguments ask for help. |
| conformance.go | 86 | 1 | Carries the package documentation. |
| embeddingfollow.go | 144 | 1 | Following is explicit read-path maintenance, under the unprivileged memory identity. |
| embeddings.go | 142 | 1 | Every invocation does bounded work. |
| entityembeddings.go | 144 | 1 | |
| formation.go | 101 | 4 | formationArgs is a formation command, validated before anything is connected to. |
| health.go | 158 | 7 | The distroless image probes with its own binary; no curl or shell dependency is needed. |
| ingest.go | 378 | 17 | Carries the package documentation. |
| main.go | 496 | 10 | Carries the package documentation. |
| manage.go | 338 | 13 | Carries the package documentation. |
| managerole.go | 94 | 2 | managementHandler is the manage role's handler: the surface, and the portal only when TAISCE_PORTAL is "on". |
| passages.go | 77 | 3 | Revision is explicit opt-in to read-path inference. |
| projectrebuild.go | 84 | 1 | Status and cancellation need operator database authority but no model configuration. |
| rebuild.go | 80 | 1 | The explicit operation key survives a broken output stream. |
| rebuildstaleness.go | 93 | 2 | withStaleness returns the rebuild's own result with what it left behind added beside it. |
| recovery.go | 70 | 1 | One page per invocation bounds transaction lifetime. |
| reportembeddings.go | 144 | 1 | |
| reportrebuild.go | 108 | 3 | MaxReportPage bounds one invocation. |
94 tests hold this package's behaviour; the list is named for what each one proves.