Compose
Building complex behavior from simple primitives
Mechanism
Recursive Assembly: Given solved subproblems, Combine solutions respecting interfaces. Check: does combined solution satisfy original problem constraints? If interaction effects emerge, add coordination layer or revise decomposition. It often employs PromptChain 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.
Signature
- Combine(PromptChain)
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.
Where this came from
—
Builds on
- Check references
- Combine references
- PromptChain references
Used by
- SynergisticMode references
Identity
- Ref:
Compose#1960 - Hash: sema:Compose#mh:SHA-256:196091975a98531824eec411da641b3e07a8b11d7c807e5f666d45eda717f5f7
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository