Urgent.News

What's breaking now, across thousands of outlets.

AI

Engram Corruption: What Happens When a Skill Container Doesn't Own Its Payload

The setup In a modular AI framework like LivinGrimoire, behavior comes from small, swappable units called skills. A Brain holds them in lobes, and a skill's input() runs on every think cycle. On top of plain skills sits a second tier I'll call AH skills : skills that manage other skills. Examples: AHNight / AHDay add and remove sets of skills depending on the time of day. AHDebuff / AHBuff unplug…

In a modular AI framework, behavior is created from small, interchangeable units known as skills. These skills are managed by higher-level "AH" skills, which handle the management of other skills. The payload of these managers is the set of skills they control. The problem arises when two managers or a manager and another component both think they are responsible for controlling the same payload skill.

The original AHHibernate function operates by snapshotting every skill in every lobe into an "engram," which is then used to clear the brain and restore it. However, this process inadvertently includes and restores payload skills that belong to other managers, leading to duplication issues. When the brain is restored, the engram replays the snapshot, causing the payload skills to be added twice, resulting in each skill being present in the brain twice. This duplication causes the skills to respond twice, leading to slightly incorrect behavior.

Another issue occurs when time-of-day containers change their payload on a schedule. If a nag-cooldown or hibernation starts at one time and sunset happens mid-way through, the container swaps day skills for night skills during the cooldown. Upon waking, the engram restores the old snapshot, causing the day skills to come back at night. Both containers now believe they are in the correct state, as they have updated their own flags correctly, so nothing corrects it until the next flip, which can take up to 12 hours.

The third issue is that stale restore failures can go unnoticed. Containers track their own state, and when a restoration re-adds a container, the manifest() function runs again, recomputing the flag from the current time. However, the payload, restored from an older snapshot, may no longer match what the flag claims. This discrepancy can lead to the skill and its manager disagreeing about reality, causing issues if certain conditions are not met.

Lastly, global wipes also affect skills that were not intended to be touched. This can lead to announcements made during hibernation having no place to go and skills being quietly resurrected by another manager after being removed by one. These problems stem from shared ownership, and the fix is to establish single ownership - a rule that ensures each skill is controlled by exactly one manager and that a manager only ever touches skills that were handed to it.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

S1MB Número Uno: un juez de cero tokens que lideró el ranking de motores de decisión

Resumen En el ranking de motor de decisión de la System One Mosaic Benchmark (S1MB), nuestro modelo Darwin-27B-ZTC-v2 es número uno entre 102 modelos, con una puntuación Borda de 89.58 y un promedio…

  • Darwin-27B-ZTC-v2 named top decision-making model in S1MB
  • Zero-token generation process sets it apart from competitors
  • Achieved Borda score of 89.58 and average task score of 66.46

One Self-Improving Model, Eleven Number-One Titles: What That Takes

TL;DR One self-improving model family now holds eleven public number-one benchmark records at the same time, across math, science, law, structured output, and decisions.

  • S1MB model breaks records in eleven categories simultaneously
  • Recursive self-improving loop pushes multiple benchmarks to top
  • Zero-token decision method enhances accurate and efficient decision-making

I built Chloe: an open-source TypeScript framework for AI agents you control

I built Chloe for developers who want to build AI agents for businesses, especially small businesses. The idea is simple: use code for predictable tasks, and use AI where you need it.

  • I developed Chloe, an open-source TypeScript framework for AI agents.
  • Framework uses code for predictable tasks and AI for necessary operations.
  • Chloe provides developers control over agents, maintaining ownership of code.

More from Sunday 11 October →