Packs
A pack is a ready-made set of types, link types, rules and layers, stored as ordinary nodes. Packs carry definitions only, never your content, and you choose which ones a project brings in.
Core and enrichment
Most projects start from the core: one choice that brings five packs and the links they share. It is technology-neutral.
| Pack | What it covers |
|---|---|
| About | What the project is for, and the conventions it is written to. |
| Define | Why the system exists and what it must do: goals, actors, capabilities, requirements and criteria. |
| Design | How it is built, with no technology chosen: components, datastores, interfaces and environments. |
| Plan | How it gets built: teams (people or agents), increments, work packages and risks. |
| Governance | Why the design is the way it is: decisions, the options weighed and what followed. |
Enrichment packs attach to core nodes with details, and can be added or removed without breaking the core. Add one when you reach the detail it describes. The layers figure in Concepts shows how they dock.
| Pack | Add it when |
|---|---|
| API | The system offers an API and you need its contract: resources, endpoints, schemas, errors and how each is secured. |
| Containers | The system ships as container images, run on laptops, servers, Compose or a managed container service. |
| Data model | You need to say what is inside a datastore: concepts, entities and attributes, then the databases, tables, columns and indexes. |
| DNS | The system is reached by name and you need the domains, hostnames and records behind it. |
| Hosting | You need to say who provides the infrastructure, which of their services realise a datastore, queue or component, and where. |
| Kubernetes | Containers run on a cluster and you need to say how they are scheduled, reached, configured and secured. |
| Logic | The order of events matters and getting it wrong is a bug: concurrency, permissions, retries, anything an agent would guess. |
| MCP | An agent will call into the system, or the system calls out to MCP servers, and you need to say what it can do and for whom. |
| Naming | Names follow a scheme (cloud resources, environments, tables) and people and agents should name new things the same way. |
| Resilience | You need to say how the system survives loss: recovery objectives, backups and fallbacks. |
| Runtime | You need to say how well the system must behave: its objectives, the load it is sized for and how it can fail. |
Choosing and adding packs
Start with the core, and add an enrichment pack when you reach the detail it describes. From the command line:
trumly pack list # what is available, and what this folder already has
trumly pack add core # add a pack by name
trumly pack status # packs in the project, and what you changed in them
trumly pack remove NAME
A pack brings what it requires and includes. If its names clash with definitions you already have, pack add stops and tells you. trumly init and the guided start in trumly cloud both begin with the core. In trumly cloud, use the editor's Packs tab to add more, or start a project from a pack page on the spec site.
Patterns and examples
Most packs come with patterns: small, ready-made pieces of a design that you add to a project and then make your own, such as a flow, a naming scheme or a starter layer. In the editor, open the Packs tab and switch to Patterns to see those of the packs your project has, or choose Not installed in the Installed filter to browse the rest of the library. Where a pack is used many times in one project (a flow for each scenario, say), it offers Add another.
Every pack also has at least one example: a small project that shows it in use. An example is checked against every rule of its pack and the packs it needs, so a rule its own example breaks does not ship. Open one from a pack's page on the spec site.
Derived fields
Some packs work values out for you instead of asking you to type them: the address of an endpoint, an environment's short code, the name a Kubernetes object has in each environment. These are worked out from your nodes and the links between them, never stored, and so they cannot go stale. The ones that are names are called handle, so choosing the derived handle as a node label shows every derived name at once. The Naming pack explains how the parts of a name, such as environment and region codes, are kept in one place.
Verified, community and retired packs
Each pack in the registry has a tier. A verified pack is published by trumly, or by a source we have confirmed. A community pack comes from someone we have not verified: a pack is only data (Markdown), never code, but it can add rules to your project, so read what it defines before you add one. By default, agents connected over MCP add verified packs only.
A pack's publisher can retire it. A deprecated pack points to what to use instead. It is left out of the registry list and the editor's Packs tab unless you ask for it (tick Deprecated in the Status filter), it cannot be added to a project that does not have it, and a project that does have it carries on working and is told. A withdrawn version has a fault: it is marked with the reason and is not added, and a project that has it is warned.
Where the full list is
The pack registry lists every pack with its types, rules and examples, and each pack page has an Open in trumly cloud button. To write your own, build the types, link types and rules in the editor, then export it from the Packs tab. Publishing your own pack to the registry is not open yet, and how it will work is not decided: see what is not decided yet.