developers.cogni.build

Compendium · eight documents

COGNI.BUILD

A framework for putting a tool-using assistant inside a product that already has users, content and permissions — derived from one working implementation, generalised, then measured back against the codebase it came from.

§

Start here

The volumes describe a layered framework with strict naming conventions. Read Orientation first — ten minutes — and every signature in the volumes becomes a location rather than a free-floating function.

First

Orientation

The layer stack, the naming rules, the five data-class kinds, and five reading paths by what you are trying to decide.

Then

The volumes

Six of them, from architecture through operations and extension. Each signature block names a class, a method, and the source file it corresponds to.

Finally

The assessment

The originating codebase scored against the abstraction, with file-level evidence. Four of its findings were corrections to the specification, not to the code.

The reference is opinionated on purpose. Where a design question has a defensible answer it takes one and says why, rather than listing options. Where something genuinely varies by deployment it is marked as configuration and the trade-off is stated. Passages that would survive being wrong are the ones worth arguing with.

§

The eight documents

§

Getting around

ToDo
Switch documentThe list at the top of the left rail. Below it, the current document's sections
Find somethingSearch covers every section title across all eight documents. Press /, Enter for the first hit, Esc to clear
Follow a cross-referenceEvery “Volume N” mention in the prose is a live link. The documents reference each other constantly, which is why they are bound together
Find the codeEach signature block carries its source path. The framework source is a separate browsable file with all 142 of them written out
Link to a placeThe address bar tracks position — reload-safe and shareable with anyone who has this file
PrintAll eight documents render in full, each starting on a new page

This file is entirely self-contained. No network, no dependencies, no fonts to fetch. It works from a thumb drive or an aeroplane, and it will still work when the hosted versions have moved.

§

What is evidence and what is judgment

Checkable

The assessment. Every claim names a file, most name a line. The eighteen scores can be checked against the repository and disagreed with on the evidence.

The patterns taken from the implementation. Those existed before they were written up.

Argued

The six volumes. A design position, informed by one implementation in one domain. The reasoning is shown so it can be attacked, but it has not been validated against a second implementation.

The cost proportions in V §E. Indicative shape, not measurement.

An abstraction that only ever flatters its source has not been tested. One comparison produced four corrections to the specification — see the assessment's closing section. That is the expected result from a first pass, and the argument for running the same exercise against a second implementation before treating any of this as settled.

COGNI.BUILD compendium · eight documents bound as a single self-contained file.