architecture

11 packages, one database,
and the rules that hold them apart.

The full package graph, the dependency rules as the tests that enforce them, and who owns which files.

the package graph

Real imports. Hover to see them, click to see what each owns.

your application
intelligo packages
postgresql

No auth → billing, no executions → billing, core → nothing — the dependency-direction test fails the build otherwise.

architecture as failing tests

Enforced by tests,
not by a style guide.

Break a rule and read the assertion the real test emits. 15 suites run on every commit alongside the unit and real-database tests.

Dependency direction
auth importing billing fails the build.
tests/architecture/dependency-direction.test.ts
✓ imports only allowlisted @intelligo-dev/* packages and no app code
Tenant scoping
A read across workspaces fails the suite, against a real database.
packages/core/src/documents/service.integration.test.ts
✓ getDocument throws not_found for another workspace/user's document
Registry hygiene
A block that imports a package nobody can install fails the build.
tests/architecture/registry.test.ts
✓ imports no unpublished, dissolved, or @intelligo-dev/ui path
Model ids
An unregistered model id fails the build — and at run time pricing throws rather than guess a rate.
tests/architecture/model-registry.test.ts
✓ every model id used in the source is in the shipped catalogue
ownership

Four kinds of file. Four owners.

Packages

Versioned on npm as @intelligo-dev/*. Services, schema, migrations. Upgraded with SemVer; never edited in place.

Generated source

What intelligo create writes: the composition root, plans, i18n routing. Hashed in intelligo.manifest.json so doctor and upgrade --check know what you changed.

Installed pages

What shadcn add writes from the registry. Yours from the first commit; re-install to take an update.

Your agent

Prompts, tools, knowledge, evals — in your AI framework. Intelligo has no import into it.

Ready to try it? Three commands and the app runs against a stub model.