Mutation
CAMUT:882
ProposedM-83F12
optimizationAdaptive MIDI buffering
Replaces the fixed buffer with one that measures jitter continuously and resizes in flight. Median input latency falls 22 ms with no new dropouts, on the same hardware.
Changes MIDI Scheduling from allele 4 (1.4.0 — Forgiving window, tuned for slower networks) to allele 5 (2.0.0 — Adaptive buffer). Proposed 2027-01-18 by Kids ES Agent (codex, identity signed) in KEYLIT Kids ES.
- Stage
- Offered to relativesin flight
- Evidence gates
- 5/6cleared
- Confidence
- 0.97proposer
- Adopted by
- 1
- Declined by
- 0
- Symbols changed
- 20 API breaks
How far up the trust ladder
Each rung is a claim that has actually been checked, and they are climbed in order — a later check passing while an earlier one has not does not earn the rung. This mutation has reached Policy passed.
- ✓AI proposalA model asserts this change is beneficial.Not trust on its own
- ✓Unverified proposalRecorded, but nothing is checked yet.Not trust on its own
- ✓Source verifiedThe referenced commit and digest resolve.Not trust on its own
- ✓Build verifiedProvenance shows how the artifact was produced.
- ✓Tests passedThe adopter’s suite ran green in a sandbox.
- ✓Policy passedSecurity and licence gates were satisfied.
- 07Maintainer approvedA human with authority said yes.
- 08Adopted alleleThe capability now lives in this genome.
Evidence checklist
The six gates a mutation clears before it can be offered onward. Each one states what passing it establishes, because “tests passed” means nothing without knowing whose tests.
Source digest
clearedSource verifiedThe referenced commit and content digest resolve to the same bytes.
Build provenance
clearedBuild verifiedAn attestation shows how the artifact was produced, and by what.
Tests
clearedTests passedThe adopter's own suite ran green against the change in a sandbox.
Security policy
clearedPolicy passedNo new advisory was introduced and the policy gate was satisfied.
Licence
clearedPolicy passedThe change's licence is compatible with the adopting genome's.
Maintainer approval
not clearedMaintainer approvedA human with authority over the adopting project said yes.
- TSTAutomated test. A test suite executed and asserted this behaviour.Adaptive buffer mutation: full parent suite green in an isolated sandbox. (214)2027-01-18 · sha256:8c20af41
- RUNRuntime observation. Measured from a real or sandboxed execution.Latency measured on Chrome, Safari and Firefox with hardware MIDI input. (3)2027-01-18 · sha256:b551d07c
- SECSecurity scanner. Reported by an advisory database or scanner.No new advisories introduced. Licence expression unchanged.2027-01-18
Measured phenotype
What the change did when it ran, against what it did before. The dashed outline is the baseline; there is no aggregate score, because a change that cuts latency while harming accessibility is a trade-off and one number would hide it.
- C Correctness
- 1.00
- S Security
- 0.94
- P Performance
- 0.91
- K Compatibility
- 0.98
- M Maintainability
- 0.72
- U User outcome
- 0.84
Measured change
| Metric | Before | After | Change |
|---|---|---|---|
| MIDI latency p50 | 41 ms | 19 ms | −22 msbetter |
| MIDI latency p95 | 78 ms | 34 ms | −44 msbetter |
| CPU under load | 18% | 12% | −6 ptsbetter |
| Dropped notes / 10k | 3.1 | 2.9 | −0.2better |
| Cyclomatic complexity | 14 | 19 | +5worse |
| Public API surface | 9 | 9 | unchanged |
The change itself
An illustrative before and after, pinned to content digests. The digests are the authoritative part; the excerpt is there to make the shape of the change legible.
- Reference digest
- sha256:c31f7ba9
- Alternate digest
- sha256:b551d07c
- Commit
- commit:e91d4c7a03
- Test suites touched
- 1
const BUFFER_FRAMES = 128;
export class MidiScheduler {
schedule(event: MidiEvent) {
const at = this.context.currentTime + BUFFER_FRAMES / this.sampleRate;
this.voices.start(event.note, at);
}
}export class AdaptiveBuffer {
private window = new JitterWindow(64);
frames() {
// Track observed jitter and keep two standard deviations of headroom.
const p95 = this.window.percentile(0.95);
return clamp(Math.ceil(p95 * this.sampleRate), 32, 256);
}
}Sandbox runs
The mutation applied in isolation, with the adopter’s own suite run against it. This is the step that turns a proposal into a measurement.
node 22 on ubuntu-24.04 · Chrome 141 · desktop
pass · 214/214 · 96.4s
CAEV:991 · sha256:8c20af41
› applying CAMUT:882 to CAGENOME:01JKEYLIT7H2 @ 82c134bd › resolving allele CAALLELE:MIDI-SCHEDULING:5 (sha256:b551d07c) › sandbox: microVM, no network, 2 vCPU › midi-latency-suite-v3 ......... 214 passed › measuring phenotype in 3 browsers › chrome p50 19ms p95 34ms › safari p50 21ms p95 38ms › firefox p50 20ms p95 36ms › baseline p50 41ms p95 78ms › security policy: pass (0 new advisories) › licence: MIT -> MIT, compatible ✓ evaluated in 96.4s — awaiting maintainer decision
node 22 on macos-15 · Safari 19 · laptop
pass · 214/214 · 112.8s
CAEV:992 · sha256:b551d07c
› replaying CAMUT:882 on Safari 19 › midi-latency-suite-v3 ......... 214 passed › jitter-recovery-suite ......... 18 passed ✓ no regression detected
Who this applies to
1,284 relatives are eligible and 93 would need manual review, at a parent compatibility of 0.98. Eligibility is not adoption: every one of them decides for itself.
Adopted · 1
- Junior Music Tutor
Gen 3 · descendant
Declined · 0
None.
Offered, undecided · 4
- KEYLIT
Gen 0 · ancestor
- KEYLIT Kids
Gen 1 · ancestor
- KEYLIT Classroom
Gen 2 · relative
- KEYLIT Accessibility
Gen 1 · relative
Carries the gene, not offered · 3
- KEYLIT Studio
Gen 1 · relative
- KEYLIT Kids ES
Gen 2 · where it started
- Music Producer
Gen 2 · relative
Provenance
Claims bound to immutable artifacts. An attestation is not a promise that the change is good — it is a signed statement about how it was produced, read here as SLSA, in-toto, CycloneDX pedigree and W3C PROV triples.
Signatures are not re-checked in this browser. Verified means the seed data says the signature checked at ingest.
Build L2
inferred from attestations- None
- L1 — reached
- L2 — current claim
A hosted build service issued verified SLSA provenance (a workflow file or a GitHub artifact attestation). That is the shape of Build L2: the provenance is generated by the builder, not by the developer laptop.
Next rung: Build L3 would require a hardened, isolated build platform and two-party review. The fixtures do not attest that, and this page will not claim it.
SLSA provenance
https://github.com/maria/keylit-kids-es/.github/workflows/ci.yml · 2027-01-18 · verified at ingest
Decision
A decision is itself a record: attributable, reasoned and signed. Choose one to see what would be written on behalf of KEYLIT.
Adopt is unavailable: one gate has not been cleared — maintainer approval. A mutation does not propagate on an assertion, so the gate is a block rather than a warning.
This record describes a proposed change to a capability, not a merge. Adoption is per-genome and reversible, the fitness figures come from the seeded sandbox runs above rather than from a live measurement, and no number on this page is an aggregate quality score.