This project uses the Agentic Intent Model (AIM) v7.0 to specify its intent. Read this file before doing any work — it is the cold-start entry point for every AI agent that enters the project.
.aim files under /aim/. These are the only files that define what the system is supposed to do..aim file is a projection of a node-and-edge graph. Headings are nodes (## Contract: CreateTask); cross-references are typed edges written as [verb](aim:<address>) — a View exposes a Contract, a Flow emits an Event, and so on. Non-actor entry points (cron, webhooks, external systems) are ## Trigger: nodes that triggers a flow/contract. Tooling derives the graph by collecting these edges; nothing maintains a separate graph file..aim file:
/aim/specs/spec.md.md files (including this one) are explanatory, never authoritative. They describe, link, and onboard, but they do not define behavior. Any behavioral requirement found in a .md file but not in a .aim file is drift that should be moved into intent..
├── AGENTS.md # this file — agent onboarding
├── aim/
│ ├── specs/spec.md # cached AIM specification (reference)
│ └── <intent>/ # one directory per intent
│ ├── <intent>.aim
│ ├── <intent>.mapping.aim # capability-to-provider bindings (kind: mapping)
│ ├── <intent>.<Record>.entries.aim # rows of a Record written in AIM (kind: entries)
│ └── <intent>.binding.aim # deprecated binding sidecar — bindings are inline `### Bindings` since v5.1
└── ... # your application code
Reserved directory name under /aim/: specs/. Everything else is an intent namespace. Mapping and binding facets co-locate with their intent — they are not separate top-level directories.
AIM is operated through capabilities, not a menu of agents a human picks. You are one assistant: read the request and enter the right mode yourself — never ask which role to use. The modes differ only in what each may write (spec §11):
.aim files. Runs forward from requirements, or reverse to recover intent from a system that already exists (the Encoder, §15, whose output is marked provenance: inferred and awaits human confirmation). Owns the specification; revises intent when drift is caused by changed requirements.Repair is a verb, not a mode — drift is resolved explicitly by the Realizer (realization fix) or the Architect (intent revision), never silently normalized. When the task is ambiguous, ask one short clarifying question, then proceed — never make the human name a role.
Detailed per-mode prompts: PROMPT.md. Mode brains: brain/. Persona files: agents/.
Record or Persona like User), search the graph for an existing one and reference it instead of redefining. Cross-cutting entities shared across intents belong in one canonical home (e.g. <app>.core) — duplicate definitions across files are how the model breaks at scale.<app>.core). Don’t dodge duplication by cramming everything into one file; a monolith is the dual failure.## Children, and relocates bindings (locator unchanged — the realization did not move) — a traceable graph-diff, not a rewrite.### Display prose in its host view when simple, and promotes into its own child intent once it grows a contract or schema. There is no composition edge — a host connects to a promoted piece through the existing view edges.