Skip to main content

Code reference

Every package, file and declaration in the service, generated from the source at the commit this site was built from. Each package page opens with the package's own statement of what it is allowed to decide; each file page lists every declaration with its documentation and a link to the source; each tests page lists the properties the suite holds, in the words the tests are named with.

Nothing on these pages is written by hand. A page that says too little is a doc comment that says too little, and the fix belongs next to the code.

How the packages depend on each other

An arrow points from a package to one it imports. Only this repository's packages are shown.

Packages

PackageFilesLinesTestsWhat it is for
cmd/taisce21383894taisce conformance runs the adapter conformance suite against a live deployment, with the adapter reached as a driver over the subprocess protocol (internal/conformance).
internal/api285453155Package api is the wire boundary: the journey over HTTP rather than through Go packages.
internal/community393217Package community groups an entity graph into the subjects it contains.
internal/compaction23335Package compaction decides how a subject's history rolls up on the time axis, and how a context is assembled from the roll-up under a budget.
internal/conformance5112213Package conformance is the one suite every adapter runs against a live deployment.
internal/credential12709Package credential resolves what a caller presented into what they may reach.
internal/docsite7218420Package docsite assembles the source of the documentation site: the written documents where they stand, and a reference generated from the repository and from a freshly migrated database.
internal/domain3133517Package domain holds the vocabulary the read and write paths share.
internal/entitycandidate11082Package entitycandidate embeds a bounded question and returns possible retained identities.
internal/extract238325Package extract turns a message into claims that can be cited.
internal/formation8133561Package formation turns a stored turn into the facts it supports.
internal/infra/inference7147172Package inference reaches a chat model over the OpenAI-compatible HTTP interface.
internal/infra/pg5511932291Entity embeddings are candidate indexes over retained identities and their verbatim evidence.
internal/ingest12766Package ingest turns a document on disk into the observations the write contract already accepts, and nothing else.
internal/migrate692964Package migrate applies the schema and provisions a project's storage.
internal/notify45448Package notify decides where a formation notification may be sent, and signs it.
internal/passage11131Package passage retrieves source messages without turning their similarity into asserted facts.
internal/recall370848Package recall answers a question from entities outward.
internal/report238215Package report turns a community of entities into prose about the subject it represents.
internal/reportcandidate11082Package reportcandidate embeds a bounded question and returns possible retained identities.
internal/semantic11648Package semantic builds the text an entity is found by.