swarmauri_crypto_composite 0.3.0.dev5__tar.gz → 0.11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ swarmauri_crypto_composite
2
+
3
+ Distribution: swarmauri_crypto_composite
4
+ Repository: https://github.com/swarmauri/swarmauri-sdk
5
+
6
+ Author attribution: Jacob Stewart.
7
+ Licensed under Apache-2.0; see LICENSE.
@@ -0,0 +1,516 @@
1
+ Metadata-Version: 2.4
2
+ Name: swarmauri_crypto_composite
3
+ Version: 0.11.0
4
+ Summary: Algorithm-routing crypto provider for Swarmauri
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ License-File: NOTICE
8
+ Keywords: swarmauri,sdk,standards,crypto,composite,cryptography
9
+ Author: Jacob Stewart
10
+ Author-email: jacob@swarmauri.com
11
+ Requires-Python: >=3.10,<3.15
12
+ Classifier: Natural Language :: English
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Topic :: Security :: Cryptography
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Requires-Dist: swarmauri_base
25
+ Requires-Dist: swarmauri_core
26
+ Description-Content-Type: text/markdown
27
+
28
+ # swarmauri_crypto_composite
29
+
30
+ <!-- readme-standards:begin branding -->
31
+ <p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
32
+ <p align="center"><strong>swarmauri_crypto_composite</strong></p>
33
+ <p align="center">Algorithm-routing crypto provider for Swarmauri</p>
34
+ <p align="center">
35
+ <a href="https://pypi.org/project/swarmauri_crypto_composite/"><img alt="pypi: swarmauri_crypto_composite" src="https://img.shields.io/pypi/v/swarmauri_crypto_composite?labelColor=1E293B&amp;color=1D4ED8"></a>
36
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&amp;message=0.11.0&amp;labelColor=1E293B&amp;color=4338CA"></a>
37
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml"><img alt="Python: &gt;=3.10,&lt;3.15" src="https://img.shields.io/static/v1?label=Python&amp;message=%3E%3D3.10%2C%3C3.15&amp;labelColor=1E293B&amp;color=0F766E"></a>
38
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml"><img alt="Layer: standards" src="https://img.shields.io/static/v1?label=Layer&amp;message=standards&amp;labelColor=1E293B&amp;color=6D28D9"></a>
39
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&amp;message=active&amp;labelColor=1E293B&amp;color=166534"></a>
40
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&amp;message=Apache-2.0&amp;labelColor=1E293B&amp;color=86198F"></a>
41
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&amp;message=attribution&amp;labelColor=1E293B&amp;color=86198F"></a>
42
+ </p>
43
+ <p align="center">
44
+ <a href="https://pypi.org/project/swarmauri_crypto_composite/"><img alt="Monthly PyPI downloads: swarmauri_crypto_composite" src="https://img.shields.io/pypi/dm/swarmauri_crypto_composite?labelColor=1E293B&amp;color=0E7490"></a>
45
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/README.md"><img alt="README hits: swarmauri_crypto_composite" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/40-standards/swarmauri_crypto_composite/README.md.svg?label=README%20hits&amp;labelColor=1E293B&amp;color=0E7490"></a>
46
+ </p>
47
+ <p align="center">
48
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&amp;message=CI%20gate&amp;labelColor=1E293B&amp;color=1D4ED8"></a>
49
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&amp;message=example%20source&amp;labelColor=1E293B&amp;color=0F766E"></a>
50
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&amp;message=not%20certified&amp;labelColor=1E293B&amp;color=92400E"></a>
51
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&amp;message=repository%20policy&amp;labelColor=1E293B&amp;color=4338CA"></a>
52
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&amp;message=source%20and%20CI&amp;labelColor=1E293B&amp;color=6D28D9"></a>
53
+ </p>
54
+ <p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
55
+ <!-- readme-standards:end branding -->
56
+
57
+ ---
58
+
59
+ ## Overview
60
+
61
+ ### Summary
62
+
63
+ `swarmauri_crypto_composite`: Algorithm-routing crypto provider for Swarmauri
64
+
65
+ ### Why This Package
66
+
67
+ `swarmauri_crypto_composite` isolates this responsibility: Algorithm-routing crypto provider for Swarmauri. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py) exposes `CompositeCrypto`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
68
+
69
+ ### When to Use
70
+
71
+ Choose `swarmauri_crypto_composite` when your integration needs algorithm-routing crypto provider for Swarmauri. Match the imports below to your application boundary and install its declared dependencies before using the example.
72
+
73
+ ### Features
74
+
75
+ - `CompositeCrypto`: Algorithm-routing crypto provider.
76
+
77
+ ### Non-Goals
78
+
79
+ `swarmauri_crypto_composite` owns algorithm-routing crypto provider for Swarmauri. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
80
+
81
+ ---
82
+
83
+ ## Getting Started
84
+
85
+ ### Prerequisites
86
+
87
+ Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`. Read the example’s inputs and service requirements before execution.
88
+
89
+ ### Installation
90
+
91
+ Choose the tool that best fits your workflow:
92
+
93
+ ```bash
94
+ pip install swarmauri_crypto_composite
95
+ ```
96
+
97
+ ```bash
98
+ poetry add swarmauri_crypto_composite
99
+ ```
100
+
101
+ ```bash
102
+ uv add swarmauri_crypto_composite
103
+ ```
104
+
105
+ #### uv
106
+
107
+ <!-- readme-standards:begin installation.uv -->
108
+ ```bash
109
+ uv add swarmauri_crypto_composite
110
+ ```
111
+ <!-- readme-standards:end installation.uv -->
112
+
113
+ #### pip
114
+
115
+ <!-- readme-standards:begin installation.pip -->
116
+ ```bash
117
+ python -m pip install swarmauri_crypto_composite
118
+ ```
119
+ <!-- readme-standards:end installation.pip -->
120
+
121
+ #### Poetry
122
+
123
+ <!-- readme-standards:begin installation.poetry -->
124
+ ```bash
125
+ poetry add swarmauri_crypto_composite
126
+ ```
127
+ <!-- readme-standards:end installation.poetry -->
128
+
129
+ ### Quick Start
130
+
131
+ #### Example
132
+
133
+ <!-- readme-standards:begin example.quick-start -->
134
+ Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/docs/readme/quick_start.py).
135
+
136
+ ```python
137
+ """Route crypto operations to a provider that supports the algorithm."""
138
+
139
+ import asyncio
140
+
141
+ from swarmauri_core.crypto.ICrypto import ICrypto
142
+ from swarmauri_core.crypto.types import (
143
+ AEADCiphertext,
144
+ ExportPolicy,
145
+ KeyRef,
146
+ KeyType,
147
+ KeyUse,
148
+ )
149
+ from swarmauri_crypto_composite import CompositeCrypto
150
+
151
+
152
+ class DummyCrypto(ICrypto):
153
+ def __init__(self, name: str, alg: str) -> None:
154
+ self._name = name
155
+ self._alg = alg
156
+
157
+ def supports(self):
158
+ return {"encrypt": (self._alg,)}
159
+
160
+ async def encrypt(self, key, pt, *, alg=None, aad=None, nonce=None):
161
+ return AEADCiphertext(
162
+ kid="dummy",
163
+ version=1,
164
+ alg=alg or self._alg,
165
+ nonce=b"",
166
+ ct=self._name.encode(),
167
+ tag=b"",
168
+ )
169
+
170
+ async def decrypt(
171
+ self, key, ct, *, aad=None
172
+ ): # pragma: no cover - demo only
173
+ raise NotImplementedError
174
+
175
+ async def wrap(
176
+ self, kek, *, dek=None, wrap_alg=None, nonce=None
177
+ ): # pragma: no cover - demo only
178
+ raise NotImplementedError
179
+
180
+ async def unwrap(self, kek, wrapped): # pragma: no cover - demo only
181
+ raise NotImplementedError
182
+
183
+ async def seal(
184
+ self, recipient, pt, *, alg=None
185
+ ): # pragma: no cover - demo only
186
+ raise NotImplementedError
187
+
188
+ async def unseal(
189
+ self, recipient_priv, sealed, *, alg=None
190
+ ): # pragma: no cover - demo only
191
+ raise NotImplementedError
192
+
193
+ async def encaps(
194
+ self, recipient, *, alg=None
195
+ ): # pragma: no cover - demo only
196
+ raise NotImplementedError
197
+
198
+ async def decaps(
199
+ self, recipient_priv, encapsulated_key, *, alg=None
200
+ ): # pragma: no cover - demo only
201
+ raise NotImplementedError
202
+
203
+
204
+ async def main() -> None:
205
+ # Compose two providers that advertise different algorithms.
206
+ chacha = DummyCrypto("chacha", "CHACHA20-POLY1305")
207
+ aes = DummyCrypto("aes", "A256GCM")
208
+ composite = CompositeCrypto([chacha, aes])
209
+
210
+ key = KeyRef(
211
+ kid="k",
212
+ version=1,
213
+ type=KeyType.SYMMETRIC,
214
+ uses=(KeyUse.ENCRYPT, KeyUse.DECRYPT),
215
+ export_policy=ExportPolicy.SECRET_WHEN_ALLOWED,
216
+ material=b"\x00" * 32,
217
+ )
218
+
219
+ ciphertext = await composite.encrypt(key, b"payload", alg="A256GCM")
220
+ print(f"Selected provider: {ciphertext.ct.decode()}")
221
+
222
+
223
+ if __name__ == "__main__":
224
+ asyncio.run(main())
225
+ ```
226
+ <!-- readme-standards:end example.quick-start -->
227
+
228
+ #### Expected Result
229
+
230
+ The example demonstrates the documented `swarmauri_crypto_composite` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
231
+
232
+ ---
233
+
234
+ ## Usage
235
+
236
+ ### Common Workflows
237
+
238
+ <!-- readme-standards:begin example.usage -->
239
+ Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/docs/readme/usage.py).
240
+
241
+ ```python
242
+ """Route crypto operations to a provider that supports the algorithm."""
243
+
244
+ import asyncio
245
+
246
+ from swarmauri_core.crypto.ICrypto import ICrypto
247
+ from swarmauri_core.crypto.types import (
248
+ AEADCiphertext,
249
+ ExportPolicy,
250
+ KeyRef,
251
+ KeyType,
252
+ KeyUse,
253
+ )
254
+ from swarmauri_crypto_composite import CompositeCrypto
255
+
256
+
257
+ class DummyCrypto(ICrypto):
258
+ def __init__(self, name: str, alg: str) -> None:
259
+ self._name = name
260
+ self._alg = alg
261
+
262
+ def supports(self):
263
+ return {"encrypt": (self._alg,)}
264
+
265
+ async def encrypt(self, key, pt, *, alg=None, aad=None, nonce=None):
266
+ return AEADCiphertext(
267
+ kid="dummy",
268
+ version=1,
269
+ alg=alg or self._alg,
270
+ nonce=b"",
271
+ ct=self._name.encode(),
272
+ tag=b"",
273
+ )
274
+
275
+ async def decrypt(
276
+ self, key, ct, *, aad=None
277
+ ): # pragma: no cover - demo only
278
+ raise NotImplementedError
279
+
280
+ async def wrap(
281
+ self, kek, *, dek=None, wrap_alg=None, nonce=None
282
+ ): # pragma: no cover - demo only
283
+ raise NotImplementedError
284
+
285
+ async def unwrap(self, kek, wrapped): # pragma: no cover - demo only
286
+ raise NotImplementedError
287
+
288
+ async def seal(
289
+ self, recipient, pt, *, alg=None
290
+ ): # pragma: no cover - demo only
291
+ raise NotImplementedError
292
+
293
+ async def unseal(
294
+ self, recipient_priv, sealed, *, alg=None
295
+ ): # pragma: no cover - demo only
296
+ raise NotImplementedError
297
+
298
+ async def encaps(
299
+ self, recipient, *, alg=None
300
+ ): # pragma: no cover - demo only
301
+ raise NotImplementedError
302
+
303
+ async def decaps(
304
+ self, recipient_priv, encapsulated_key, *, alg=None
305
+ ): # pragma: no cover - demo only
306
+ raise NotImplementedError
307
+
308
+
309
+ async def main() -> None:
310
+ # Compose two providers that advertise different algorithms.
311
+ chacha = DummyCrypto("chacha", "CHACHA20-POLY1305")
312
+ aes = DummyCrypto("aes", "A256GCM")
313
+ composite = CompositeCrypto([chacha, aes])
314
+
315
+ key = KeyRef(
316
+ kid="k",
317
+ version=1,
318
+ type=KeyType.SYMMETRIC,
319
+ uses=(KeyUse.ENCRYPT, KeyUse.DECRYPT),
320
+ export_policy=ExportPolicy.SECRET_WHEN_ALLOWED,
321
+ material=b"\x00" * 32,
322
+ )
323
+
324
+ ciphertext = await composite.encrypt(key, b"payload", alg="A256GCM")
325
+ print(f"Selected provider: {ciphertext.ct.decode()}")
326
+
327
+
328
+ if __name__ == "__main__":
329
+ asyncio.run(main())
330
+ ```
331
+ <!-- readme-standards:end example.usage -->
332
+
333
+ ### Configuration
334
+
335
+ Configure `swarmauri_crypto_composite` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
336
+
337
+ ### Error Handling
338
+
339
+ The inspected `swarmauri_crypto_composite` source raises `UnsupportedAlgorithm`, `ValueError`. Handle these at the calling boundary and consult the implementation for the triggering conditions.
340
+
341
+ ### Best Practices
342
+
343
+ Use the explicit `swarmauri_crypto_composite` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `CompositeCrypto`; an import or successful installation alone does not establish its runtime guarantees.
344
+
345
+ ---
346
+
347
+ ## Package Boundary
348
+
349
+ ### What It Owns
350
+
351
+ `swarmauri_crypto_composite` is located in `standards` and owns algorithm-routing crypto provider for Swarmauri. Source-declared APIs include `CompositeCrypto`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml) records its direct dependency boundary.
352
+
353
+ ### Public API and Import Surfaces
354
+
355
+ Import namespace: `swarmauri_crypto_composite`.
356
+
357
+ Source-declared exports or types: `CompositeCrypto`.
358
+
359
+ Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
360
+
361
+ ### Entry Points
362
+
363
+ <!-- readme-standards:begin entry-points -->
364
+ - `peagen.plugins.cryptos` → `composite` → `swarmauri_crypto_composite:CompositeCrypto`
365
+ - `swarmauri.cryptos` → `CompositeCrypto` → `swarmauri_crypto_composite:CompositeCrypto`
366
+ <!-- readme-standards:end entry-points -->
367
+
368
+ The provider is registered under the `swarmauri.cryptos` entry-point as `CompositeCrypto`.
369
+
370
+ ### Injected Dependencies
371
+
372
+ The direct installation dependencies of `swarmauri_crypto_composite` are `swarmauri-core`, `swarmauri-base`. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py).
373
+
374
+ ### Protocol Consumers
375
+
376
+ No direct package-manifest dependency on `swarmauri_crypto_composite` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
377
+
378
+ ### Extensions
379
+
380
+ For `swarmauri_crypto_composite`, use the source-declared public interfaces (`CompositeCrypto`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
381
+
382
+ ---
383
+
384
+ ## Operations and Readiness
385
+
386
+ ### Operational Requirements
387
+
388
+ Operate `swarmauri_crypto_composite` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
389
+
390
+ ### Health and Observability
391
+
392
+ This README does not establish a standalone health endpoint for `swarmauri_crypto_composite`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
393
+
394
+ ### Security and Resource Limits
395
+
396
+ Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py). The `swarmauri_crypto_composite` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
397
+
398
+ ### Compatibility
399
+
400
+ This source version of `swarmauri_crypto_composite` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
401
+
402
+ ---
403
+
404
+ ## Verification
405
+
406
+ ### Tests
407
+
408
+ Run `python -m pytest tests/unit/test_readme_sources.py` from the `swarmauri_crypto_composite` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
409
+
410
+ - [tests/test_composite_crypto.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/tests/test_composite_crypto.py)
411
+ - [tests/test_readme_example.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/tests/test_readme_example.py)
412
+
413
+ The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
414
+
415
+ ### Certification Status
416
+
417
+ No external certification is asserted for `swarmauri_crypto_composite` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
418
+
419
+ ### Evidence
420
+
421
+ The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
422
+
423
+ ---
424
+
425
+ ## FAQ
426
+
427
+ ### Why
428
+
429
+ **Why select this package?** `swarmauri_crypto_composite` provides algorithm-routing crypto provider for Swarmauri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
430
+
431
+ ### How
432
+
433
+ **How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swarmauri_crypto_composite`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py) for the exact types and signatures involved.
434
+
435
+ ### When
436
+
437
+ **When should I validate an upgrade?** Recheck `swarmauri_crypto_composite` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
438
+
439
+ ---
440
+
441
+ ## Documentation and Related Packages
442
+
443
+ ### More Documentation
444
+
445
+ The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/swarmauri_crypto_composite/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml) provide the supporting context for `swarmauri_crypto_composite`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
446
+
447
+ ### Related Packages
448
+
449
+ - [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
450
+ - [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
451
+
452
+ ### Project Links
453
+
454
+ <!-- readme-standards:begin project-links -->
455
+ - [pypi: swarmauri_crypto_composite](https://pypi.org/project/swarmauri_crypto_composite/)
456
+ <!-- readme-standards:end project-links -->
457
+
458
+ ---
459
+
460
+ ## Contributing
461
+
462
+ ### How to Contribute
463
+
464
+ If you want to contribute to swarmauri-sdk, read up on our
465
+ [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
466
+ that will help you get started.
467
+
468
+ ### Development Setup
469
+
470
+ Work from the `pkgs/40-standards/swarmauri_crypto_composite` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
471
+
472
+ ### Notes for Maintainers
473
+
474
+ **Swarmauri Crypto Composite**
475
+
476
+ `CompositeCrypto` is an algorithm-routing crypto provider that delegates encryption
477
+ operations to the first child provider that advertises support for the requested
478
+ algorithm. Its behaviour is defined entirely by the wrapped providers:
479
+
480
+ - Aggregates each provider's `supports()` capabilities and removes duplicates.
481
+ - Normalises requested algorithms before routing so stylistic variants still match.
482
+ - Requires at least one child provider to be supplied at construction time.
483
+ - Exposes the full asynchronous `ICrypto` surface area (encrypt, wrap, seal, etc.).
484
+
485
+ ---
486
+
487
+ ## Governance
488
+
489
+ ### Ownership and Decision Making
490
+
491
+ Changes to `swarmauri_crypto_composite` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/pyproject.toml); this README does not assign new publishing or administrative authority.
492
+
493
+ ### Standards and Policies
494
+
495
+ `swarmauri_crypto_composite` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
496
+
497
+ ### Lifecycle and Migration
498
+
499
+ The `swarmauri_crypto_composite` source version is `0.11.0`.
500
+
501
+ ---
502
+
503
+ ## License and Attribution
504
+
505
+ ### License
506
+
507
+ <!-- readme-standards:begin license -->
508
+ Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/LICENSE).
509
+ <!-- readme-standards:end license -->
510
+
511
+ ### Notices
512
+
513
+ <!-- readme-standards:begin notices -->
514
+ See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_composite/NOTICE) for attribution.
515
+ <!-- readme-standards:end notices -->
516
+