---
slug: "Compose"
name: "Compose"
type: "Strategy"
layer: "Mind"
ref: "Compose#1960"
sema_id: "sema:Compose#mh:SHA-256:196091975a98531824eec411da641b3e07a8b11d7c807e5f666d45eda717f5f7"
tags: ["Mind","Strategy"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Compose/
related: ["Check","Combine","PromptChain","SynergisticMode"]
---

# Compose

Building complex behavior from simple primitives

Layer: Mind · Category: Strategy

## Mechanism

Recursive Assembly: Given solved subproblems, [Combine](https://mindscape.pages.dev/bootstrap/Combine.md) solutions respecting interfaces. [Check](https://mindscape.pages.dev/bootstrap/Check.md): does combined solution satisfy original problem constraints? If interaction effects emerge, add coordination layer or revise decomposition. It often employs [PromptChain](https://mindscape.pages.dev/bootstrap/PromptChain.md) to sequentially feed sub-solutions into the integration step.

## Invariants

- Component outputs match downstream inputs.
- The composition graph is acyclic.
- Verified against the original problem, not only against its interfaces.

## Preconditions

- Subproblem solutions available.
- Interface contracts defined.
- Composition order known if order-dependent.

## Postconditions

- Combined solution satisfies original problem.
- No interface violations.
- Emergent interactions handled.

## Failure modes

- Interface Mismatch: component outputs do not match the expected inputs of downstream components.
- Emergent interaction: every interface matches and the whole still fails the original constraints.

## Signature

- `Combine(PromptChain)`

## Builds on

- [Check](https://mindscape.pages.dev/bootstrap/Check.md) (Infrastructure; References)
- [Combine](https://mindscape.pages.dev/bootstrap/Combine.md) (Infrastructure; References)
- [PromptChain](https://mindscape.pages.dev/bootstrap/PromptChain.md) (Society; References)

## Used by

- [SynergisticMode](https://mindscape.pages.dev/bootstrap/SynergisticMode.md) (Society; References)

## Identity

- Sema ID: `sema:Compose#mh:SHA-256:196091975a98531824eec411da641b3e07a8b11d7c807e5f666d45eda717f5f7`
- Ref: `Compose#1960`
- Supersedes:
  - `sema:Compose#mh:SHA-256:10b7e69d6548c3d79dcf5ccb356bb0196fe7535d273a885cbe6a2c20b9e73a11`
  - `sema:Compose#mh:SHA-256:4f8d280dc89d59ae0f607b30e2bec64f2fac86fddd58fda4cde4737667c00e14`
  - `sema:Compose#mh:SHA-256:4fa274d804d83c00006408b8f436aa8c3a6cd60f23c0b3c56ca0ba4a50ff3c23`
  - `sema:Compose#mh:SHA-256:57a9ff741d662d36173ef6bf5c5ecf2db16972e5ee9b7bae9559ce1fa24775fa`
  - `sema:Compose#mh:SHA-256:70edc4a274d8de877d96b273051c029d9fd706789d785914895132488d5a41fd`
  - `sema:Compose#mh:SHA-256:8c858e91a65a3e1cae80abff8fb909394d69e29dec9e2d9b0c13f6e62903e810`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Compose/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Compose)
- [JSON](https://mindscape.pages.dev/bootstrap/Compose.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
