Skip to main content

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

FileLinesDeclarationsWhat it is for
artifacts.go781Read current usage or replace all four operator limits atomically.
chunkrecovery.go581
cliui.go30819cleanTerminal 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.go65715wantsHelp reports whether a command's arguments ask for help.
conformance.go861Carries the package documentation.
embeddingfollow.go1441Following is explicit read-path maintenance, under the unprivileged memory identity.
embeddings.go1421Every invocation does bounded work.
entityembeddings.go1441
formation.go1014formationArgs is a formation command, validated before anything is connected to.
health.go1587The distroless image probes with its own binary; no curl or shell dependency is needed.
ingest.go37817Carries the package documentation.
main.go49610Carries the package documentation.
manage.go33813Carries the package documentation.
managerole.go942managementHandler is the manage role's handler: the surface, and the portal only when TAISCE_PORTAL is "on".
passages.go773Revision is explicit opt-in to read-path inference.
projectrebuild.go841Status and cancellation need operator database authority but no model configuration.
rebuild.go801The explicit operation key survives a broken output stream.
rebuildstaleness.go932withStaleness returns the rebuild's own result with what it left behind added beside it.
recovery.go701One page per invocation bounds transaction lifetime.
reportembeddings.go1441
reportrebuild.go1083MaxReportPage bounds one invocation.

94 tests hold this package's behaviour; the list is named for what each one proves.