Habits that have worked for people who write AIM models. They are not part of the language. A model that follows none of them is exactly as valid as one that follows all, and no conforming checker reports a model for its shape. A tool may offer some of them as advice, may offer others, and may offer different ones for different kinds of model.
Until 7.0 these passages stood in the specification, some of them as conditions a tool had to report. They are kept here in their wording. Section numbers are those of the AIM 7.0 specification.
Design nodes and relations before serializing files. Parents are lean indexes of cross-cutting requirements, Children and dependencies. Shared facets belong at their consumers’ lowest common ancestor; only entities move upward, never the local roles reading them. Embed a handful there; sibling facet files earn themselves when the set grows. Cross-top-level entities have one canonical home, conventionally <app>.core, referenced by its full address. When a thing gains a user outside its subtree, its home becomes the lowest common ancestor of its users: move it there (§14). The depth of an address therefore says how widely a thing is shared; what the whole organization uses sits near the root and has a short address. A provider intent is exempt: it is never moved (§7). Before defining an entity, search the project graph and reference an existing definition rather than regenerate it.
A child owns one observable capability, its requirements/tests and specific facets. A child with only one facet and no own commitments adds no meaning; keep the facet on its parent/entity until it earns a level through purpose, requirements, entry points or multiple facets. Split distinct behaviors, preserving the shape rules. Promote noun-clusters together when the next change touches them. Promote substantive Persona, Organisation, Project, Software or Record entities with their own operations into intents; their operations arrive as facets, not one-operation child wrappers.
Organizational process boundaries follow end-to-end commitments across people, software and systems. A project’s root Summary states purpose; Requirements state existential commitments and the root canonically owns organization-wide shared entities. Children fulfill ancestor commitments through satisfies; organizational requirements use labels. Software, processes and obligations may be siblings. Derive structure from commitments, bottom-up or top-down; do not mirror reporting lines. Represent people as Personas and groups that act as one as Organisations, permission as Authz and performance by declared performer relations.
Shared background belongs at the lowest common ancestor of the intents that use it.
A facet until earned: a thing stays a facet on the level that shares it until it earns an intent — the Architect’s test is whether it has its own intent to do something, a purpose, requirements, entry points or several facets of its own. This is a judgement, not a diagnostic: either reading leaves a valid model, and a later promotion or merge adjusts it (§14).
An Output stays a facet on the level that shares it.
Decompose into focused child intents by default. The parent indexes children and owns shared facets and cross-cutting requirements. A single file with embedded facets and no children is appropriate only when all content fits comfortably on one screen, specifies one clear behavior, and no facet needs independent ownership/review.
Each level SHOULD form a short table of contents, normally 3–9 children. Single-child chains and levels outside this band merit diagnostics. Depth has no absolute cap: each level earns its place, and decomposition stops at one clear behavior. A Summary that still combines distinct behaviors calls for children; depth count alone neither requires nor forbids a split.
From the Entries chapter of the specification (§6).
Files follow meaning. Neither time nor length is a reason to split a collection. A phase of life, a job or a circle of friends is a thing that entries point at.
From the Process block of the specification (§4.3).
Phases. A large process splits into phases, each a run of consecutive steps producing one artifact; a phase with its own Record and operations becomes a process-natured child. The root keeps the shared roles, the entry Trigger, cross-cutting requirements, the Children index and an orchestrating sequence that invokes the phases; each phase keeps its steps, operations, Events and Record. A step is declared at its owning level only. References cross phases freely.
Long-running orchestration uses these constructs: a Process invokes work, mutates a progress Record, and emits or subscribes to compensation Events. Durable timers and signals are realization.
An organization with several processes gives each its own process-natured intent; a project that is one process uses its root and MUST NOT wrap it in a lone child. A Process that is named and not yet worked out is promoted like any Process once it has steps, operations, records or requirements of its own.
These were informational conditions. Each is a taste about tidy trees and says nothing about whether a model is right.
Breadth outside 3–9 or single-child chains; wrapper child with exactly one facet, no own requirements and no children.
Monolith: excessive embedded facets. Extract genuinely shared facets to sibling files/core; promote distinct behavioral clusters, or process phases. Detection is heuristic/tunable and should distinguish these remedies; facet count matters principally without children.
Over-hoisted facet: all consumers lie in one descendant subtree. Move it to its consumer, unless retaining a canonical entity awaiting further consumers; count reference subtrees where edges exist. Preserve local roles separately from canonical entities.
Noun-cluster: inside a mixed intent, a Record plus several like-named operations, often a View, form an unpromoted capability. Promote the existing cluster together. Detection is heuristic/tunable; a reasonable default is a Record named in at least three sibling operations with at least two unrelated content facets remaining. MUST NOT flag an intent containing only that focused cluster.
Targeting an intent without Steps is a modeling smell.
One sentence per facet, written for AIM 7.0.
check lines what can be compared, keeps what holds only for a while as rows with a period, and states the rows the owner fixes.Observable Tests and precision facets for stable interfaces are recommended.
PascalCase is recommended for a facet name (§3).