# Adapter Sidecars: ADP1, ASP1, and ALR1

> TinyRustLM treats adapters as typed local sidecars that must be verified, semantically preflighted by Rust, and applied before generation.

- Site: TinyRustLM
- Canonical: https://TinyRustLM.mirust.com/adapters/
- Version: 1.3.0
- Updated UTC: 2026-06-29T22:59:10Z

## Adapter families

The project defines three adapter lanes: ADP1 raw f32 task deltas, ASP1 sparse f32 task deltas, and ALR1 low-rank task deltas. Each exists to update model behavior without shipping an entire replacement .slm artifact.

- ADP1 raw delta
- ASP1 sparse delta
- ALR1 low-rank delta
- Manifest-bound artifacts

## Rust validation before apply

The browser may fetch and checksum adapter bytes, but Rust remains the authority for semantic validation. validate_adapter_delta checks tensor identity, tokenizer identity, layout checksum, shape compatibility, finite values, sparse bounds, and low-rank dimensions before apply_adapter_delta mutates model state.

- validate before apply
- Reject incompatible packages
- Clear KV cache after success
- Record adapter diagnostics

## Auto-assembly

Generated roots can declare a receipt-preferred adapter stack. The browser verifies module plans, adapter-family receipts, adapter manifests, artifact byte counts, and stack budgets before Rust validation and application. Generation is authorized only after the declared stack reaches the required state.

- 1 MiB adapter auto-apply budget
- Module-plan phases
- Family receipt verification
- Stack preflight
