# Bounded contexts and integration contracts

**Address:** `miadi-foundation:bounded-contexts-and-integration-contracts`
**Date:** 2026-10-06
**Method:** `deep-research-foundations`, quick look (no parallel lanes), asked through `/miadi-review apply`
**Verification:** mixed. 12 sources: 4 DOIs resolved on Crossref, 5 ISBNs on Open Library, 3 pages fetched (HTTP 200), all on 2026-10-06. Claims about their content are written from knowledge, not re-read. See [`source-ledger.yaml`](./source-ledger.yaml).
**Grounds:** one recurring shape in the Miadi factory: a domain offered to another product through a contract and a package that carries it across.
**Tracking:** jgwill/Miadi#591 (relational software factory inquiry) · miadisabelle/asterion#1 (integration through published packages) · miadisabelle/asterion#10 (threads) · miadisabelle/asterion#11 (circle projection) · miadisabelle/asterion#22 (a ceremony is a room)

## The shape, and its name

A Miadi domain keeps its record. Another product holds a **projection**, read through the
domain's published contract, each row naming its source. The bridge is the **projector**: one
repeatable mapper that deletes nothing. Changes return through the domain's writer.

The witness seat chose this name (N1) on 2026-10-06, on Guillaume's behalf after he handed it the next steps; it stays his to change. The two alternatives considered are in
[`synthesis.md`](./synthesis.md#names).

## Where it already runs

| instance | domain and its record | contract | projector | state |
|---|---|---|---|---|
| charts into Asterion | coaia-narrative, a `.jsonl` chart memory | `coaia-narrative/contract` (`CONTRACT_VERSION` 2) | `app/lib/asterion/coaia-projection.mjs` in miadisabelle/asterion, fed by `asterion-bridge.ts` in coaia-narrative and by a registry sync | built (asterion `78cdb9b`, `23471ab`, coaia-narrative 0.18.0 to 0.20.0) |
| the wheel into Honcho | medicine wheel: beats, ceremonies | `@medicine-wheel/ontology-core` types | `@medicine-wheel/honcho` (`projectBeat`, `projectCeremony`, `memoryProjectionNode` for the way back) | built (0.17.x, consumed by Miadi) |
| circles and ceremonies into Asterion | Miadi circles and ceremonies on the wheel | `@medicine-wheel/community-identity`, `@medicine-wheel/client`, `@medicine-wheel/consent-lifecycle` | `app/lib/asterion/circle-projection.mjs` in miadisabelle/asterion, fed by `app/scripts/circle-sync.mjs` | built (asterion `524b0bd`, `db394de`, 2026-10-06), asked for in session `87910eaa`. It maps a ceremony to one thread, which is being changed to a room whose turns form a discussion and whose concerns are threads (F4). No circle is projected until its facilitator consents |

## Read in this order

1. [`synthesis.md`](./synthesis.md): findings F1 to F5, the eight invariants, the names, the circle case, cautions.
2. [`intent-understanding.md`](./intent-understanding.md): why now, for whom, the decision it supports.
3. [`context-layer.md`](./context-layer.md): the words, the three fields, placement and crosswalk.
4. [`source-ledger.yaml`](./source-ledger.yaml): every source with what it supports and how it was checked.

## Crosswalk

- miadisabelle/asterion `foundations/asterion-substrate/`: event sourcing, provenance and traceability inside Asterion. This packet covers the boundary between Asterion and the products that feed it.
- `foundations/knowledge-organization-archives-and-provenance/`: provenance for records. This packet uses one relation from it, derivation.
- `foundations/multi-agent-systems-and-software-orchestration/`: agents coordinating inside one orchestration. It does not cover one product offering a domain to another, which is why this packet is new rather than an extension.
- `foundations/universe-and-perspective-vocabulary/`: a naming ruling. Not extended: it settles "universe" against "perspective" and says nothing about product boundaries.
- `jgwill/miadi-orchestration-kit` `skills/chart-path/SKILL.md`: T4 · Chart path's practice for the first instance.
