---
aim: systems
kind: package
version: 1.0
tier: extension
---

# Systems Package

Official AIM extension package for connecting a model to external systems and abstract capabilities, without loading UI or software-application facets. Automatically included by `software`.

## File Kinds

- `mapping` — companion file `<intent>.mapping.aim` containing `## Map: <Alias>` entries (`### Summary`, `### Target`, `### Operation Map`) resolving `## Dependencies → ### Requires` aliases to provider operations.

## Core Extensions

- `Operation` — declares `invokes` → `Capability` (no derived `triggered-by` inverse).
- `Process` — declares `invokes` → `Capability` (no derived `triggered-by` inverse).
- `Result` — declares `invokes` → `Capability` (no derived `triggered-by` inverse).
- `Intent` (`## Dependencies`) — adds `### Requires` listing `<Capability> as <Alias>` declarations resolved by `kind: mapping` or `### Bindings`.

## Facet: Service

### Summary

A system consumed through a defined connection — an ERP, a CRM, a bank API, a weather service, a carrier's portal, or a software of the organisation's own reached only through its interface — named by the system (SAP, Volksbank, NOAAWeather, DeepSpaceNetwork). It is the consumer's naming of the system; the system's own model is a read-only provider intent outside the consuming tree (§7).

### Promotion

- `connected` — a Service earns its intent by being connected through `### Bindings` (`binds: \`aim:<provider>\` — as: provider`). The provider intent carries `nature: service`, is read-only, and stands outside the consuming tree (§7). The facet stays in the consuming intent as its naming of the system.

### Adds

- `Role` (optional, prose) — one bullet describing the external system when it acts in this model.
- `Access` (optional, refs) — operations it `invokes` when it performs a step and Results it `produces`.

### Edges

- declares: `invokes` → `Operation | Process`, `produces` → `Result`
- receives: none (answering a Capability through a mapping is not an edge)

### Rules

- **A Service that acts.** When a Service acts ("SAP posts the invoice"), the performer rules of §4.5 (`Persona`) apply to it.
- **A Service that produces.** When a Service `produces` a Result, it is that Result's accountable producer (§4.5, §4.11).
- **Several Capabilities.** One Service may answer several Capabilities on several levels.
- **Mapping target.** A mapping's `### Target` names the provider intent (§7).

## Facet: Capability

### Summary

A function the work must be able to do, operating on knowledge, resources or data: fetch exchange rates, generate a DDEX file, render a PDF, read a document, check launch weather. Named by what it does, never by a vendor, transport or credentials — what is needed, apart from what provides it. Information consulted as text to decide is `Knowledge`; information answered as a typed result (`FetchRates(currency) -> rates`) stays a `Capability`. An account is not a Capability; it is configuration beside the model.

### Promotion

- `never` — a Capability is answered by a Service's operation through a mapping, by a Software's bound Operation, by a direct Binding (library, built-in service, or custom code), or by nothing yet. It never becomes an intent of its own.

### Adds

- `Operations` (optional, list) — what the work relies on, one bullet each, as signatures such as `` `FetchRates(currency, date) -> rates` ``.

### Edges

- declares: none
- receives: `invokes` ← `Operation | Process | Result` (derives no `triggered-by` inverse)

### Rules

- **Calling it.** A consuming operation MUST `invoke` the Capability it calls (§4.3). A Result MUST `invoke` the function it depends on (§4.11).
- **Required and resolved.** Required in `## Dependencies → ### Requires` (`- ExchangeRates as Rates`), and resolved through a `kind: mapping` file or inline `### Bindings` (§7).
- **Document-shaped information.** Document-shaped information returned by a Capability is acquired by a collect Operation that invokes the Capability and mutates a Record; later work reads the Record. (This route does not apply to `Knowledge`, which is consulted directly.)
- **Coverage.** `### Operations` lists what the work relies on, not everything a provider offers. A Binding without `— as:` covers the whole Capability; a Binding naming an operation after `— as:` or an Operation Map line covers that operation alone. An uncovered declared operation leaves work that relies on it unresolved. A mapping line naming an operation the Capability or target intent does not declare is a hard error.
- **What a performed intent needs supplied.** Unresolved capabilities — alongside Records read but never mutated, Results needed but produced by nothing in the model, and schedules to arm — are what a performed intent needs supplied.
