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
| Package | Files | Lines | Tests | What it is for |
|---|---|---|---|---|
| cmd/taisce | 21 | 3838 | 94 | taisce conformance runs the adapter conformance suite against a live deployment, with the adapter reached as a driver over the subprocess protocol (internal/conformance). |
| internal/api | 28 | 5453 | 155 | Package api is the wire boundary: the journey over HTTP rather than through Go packages. |
| internal/community | 3 | 932 | 17 | Package community groups an entity graph into the subjects it contains. |
| internal/compaction | 2 | 333 | 5 | Package 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/conformance | 5 | 1122 | 13 | Package conformance is the one suite every adapter runs against a live deployment. |
| internal/credential | 1 | 270 | 9 | Package credential resolves what a caller presented into what they may reach. |
| internal/docsite | 7 | 2184 | 20 | Package 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/domain | 3 | 1335 | 17 | Package domain holds the vocabulary the read and write paths share. |
| internal/entitycandidate | 1 | 108 | 2 | Package entitycandidate embeds a bounded question and returns possible retained identities. |
| internal/extract | 2 | 383 | 25 | Package extract turns a message into claims that can be cited. |
| internal/formation | 8 | 1335 | 61 | Package formation turns a stored turn into the facts it supports. |
| internal/infra/inference | 7 | 1471 | 72 | Package inference reaches a chat model over the OpenAI-compatible HTTP interface. |
| internal/infra/pg | 55 | 11932 | 291 | Entity embeddings are candidate indexes over retained identities and their verbatim evidence. |
| internal/ingest | 1 | 276 | 6 | Package ingest turns a document on disk into the observations the write contract already accepts, and nothing else. |
| internal/migrate | 6 | 929 | 64 | Package migrate applies the schema and provisions a project's storage. |
| internal/notify | 4 | 544 | 8 | Package notify decides where a formation notification may be sent, and signs it. |
| internal/passage | 1 | 113 | 1 | Package passage retrieves source messages without turning their similarity into asserted facts. |
| internal/recall | 3 | 708 | 48 | Package recall answers a question from entities outward. |
| internal/report | 2 | 382 | 15 | Package report turns a community of entities into prose about the subject it represents. |
| internal/reportcandidate | 1 | 108 | 2 | Package reportcandidate embeds a bounded question and returns possible retained identities. |
| internal/semantic | 1 | 164 | 8 | Package semantic builds the text an entity is found by. |