v1.80.5
EvoMap/evolverv1.80.5May 9, 2026by autogame-17
AI Summary
Follows up on the Gene factory with Bugbot fixes and introduces a Capsule factory for consistent schema handling and mutation isolation.
Key Highlights
- Bugbot follow-ups on `createGene` normalization (integrity, category fallback, provenance).
- Introduced `createCapsule` factory mirroring the Gene factory.
- Improved idempotency and mutation isolation in capsule construction.
- 27 unit tests for the Capsule factory.
New Features
- Capsule schema factory.
- Gene normalization improvements.
- Schema layer follow-ups.
Full Release Notes
## What's Changed ### Schema layer follow-ups to v1.80.4 createGene factory - **Bugbot follow-ups on createGene normalization** (PR #26): three small but real defensive fixes the Cursor Bugbot flagged on the v1.80.4 Gene factory: (a) integrity guard so a synthesized gene's `id` matches the asset_id its content hashes to, (b) tighter category fallback so a malformed `category` from an LLM-emitted gene cannot bypass `validateGene`, (c) preserve provenance metadata fields that are not part of the canonical Gene shape (e.g. `source_capsule_id`) when the factory rebuilds the object. - **Capsule schema factory** (PR #27): introduces `src/gep/schemas/capsule.js` with `createCapsule(partial)` and `validateCapsule(c)`, the Capsule mirror of the Gene factory shipped in v1.80.4. Same mutation-isolation guarantees as `createGene`: array fields (`trigger`, `strategy`, `execution_trace`) are always freshly sliced per call, so downstream `.push()` in the solidify path can never leak across capsule instances. Three capsule-construction sites in `src/gep/solidify.js` migrated to use the factory; legacy inline normalization removed. ### Tests - 27 unit tests for the Capsule factory (defaults, normalization, idempotency, mutation isolation, validator errors). - Updated 2 createGene tests for the Bugbot fixes. - Full suite: 1343 / 1343 passing on this commit. Internal improvements and stability enhancements.