Skip to content

fix(agent): pin nanobot so a restart cannot take the agent off Matrix - #59

Merged
arthware-dev merged 1 commit into
mainfrom
fix/pin-nanobot
Aug 2, 2026
Merged

fix(agent): pin nanobot so a restart cannot take the agent off Matrix#59
arthware-dev merged 1 commit into
mainfrom
fix/pin-nanobot

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

The agent installed nanobot-ai unpinned, and stack restart rebuilds the image, so any unrelated restart could pull a new release. When 0.2.x turned nanobot.channels.matrix from a module into a package, the runtime shims that patch it stopped attaching — and because they fail soft on purpose, the container still started, still reported healthy, and the family's bot had simply gone quiet.

Pinned to the version the shims are written against, so bumping it is a deliberate change.

Also corrects what the shim tests claim to prove. They run against a hand-written stub, so they catch our own mistakes but never upstream moving a symbol: the stub keeps the old one and the lane stays green while production is broken. The pin guards that, not the unit lane.

The upgrade to a current nanobot follows separately.

The agent installed `nanobot-ai` unpinned, and `stack restart` rebuilds
the image, so any unrelated restart could pull a new release. When 0.2.x
turned `nanobot.channels.matrix` from a module into a package, the
runtime shims that patch it stopped attaching. They fail soft on purpose
so a broken shim never stops the agent answering, which meant the
container still started, still reported healthy, and the family's bot
had simply gone quiet.

Pinned to the version the shims are written against. Bumping it is now a
deliberate change, which is when someone is looking.

Also corrects what the shim tests claim to prove: they run against a
hand-written stub, so they catch our own mistakes but never upstream
moving a symbol. The pin is what guards that, not the unit lane.
@arthware-dev
arthware-dev merged commit cd92649 into main Aug 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant