v1.10.4

Gentleman-Programming/engramv1.10.4Mar 22, 2026by github-actions[bot]

Upgrading?

Release notes summary

This release addresses severe session inflation issues caused by OpenCode sub-agent executions, which were incorrectly registering as separate Engram sessions, and fixes a bug in the session creation event handler.

Key Highlights

  • Fixed session inflation preventing thousands of duplicate sessions
  • OpenCode plugin now detects sub-agent sessions via `parentID`
  • Secondary detection via title suffix ` subagent)` for defense-in-depth
  • Fixed event handler reading `event.properties.info.id` instead of `event.properties.id`

Full Release Notes

## Highlights
- Fix session inflation: OpenCode Task() sub-agent executions no longer register as separate Engram sessions
- Fix pre-existing bug in session.created event handler reading the wrong property path

## What Changed
- The OpenCode plugin now detects sub-agent sessions via `parentID` (set by OpenCode on all Task() sessions) and skips session registration for them
- Secondary detection via title suffix ` subagent)` provides defense-in-depth
- Sub-agent session IDs are tracked to prevent cross-hook inflation via `tool.execute.after`
- Fixed `event.properties.id` to `event.properties.info.id` (correct path per OpenCode SDK types)

## Impact
Before this fix, a single user conversation using sub-agents could generate 170+ sessions in the Engram DB. After this fix, only the real user session is registered.

## Included Work
- fix(plugin): skip sub-agent session registration in OpenCode plugin

Related Repositories