Skip to content

Merge workstation AgentMemory hardening stack - #1

Merged
wrightpt merged 4 commits into
mainfrom
fix/viewer-stream-write-amplification
Jul 10, 2026
Merged

wrightpt merged 4 commits into
mainfrom
fix/viewer-stream-write-amplification

Conversation

@wrightpt

Copy link
Copy Markdown
Owner

What changed

  • harden AgentMemory session context, pagination, workstation tool visibility, and hook project attribution
  • preserve session activity timestamps during context migration
  • expose the exact deployment source revision through health checks
  • keep shared viewer updates transient while retaining durable per-session streams

Why

These four commits are the tested workstation patch stack already deployed from the wrightpt/agentmemory fork. Merging them into this fork's main makes the owned default branch the canonical source instead of depending on a long-lived feature branch.

The final fix corrects a synthetic-observation path that persisted every viewer update with stream::set. iii consequently rewrote the entire growing viewer group file every five seconds. Viewer fanout now uses stream::send; per-session streams remain durable.

No AgentMemory data, sessions, or stream files are deleted by this PR.

Validation

  • npm test — 1,429 tests passed
  • npm run build — passed before packaging and deployment
  • live deployment health reports source revision bbdb80215ced36c23f2d2c19dc55484b860ac493
  • live iii write rate fell from 120.81 MB/min to 7.91 MB/min
  • the existing viewer file stayed unchanged while new observations updated per-session streams

@wrightpt
wrightpt marked this pull request as ready for review July 10, 2026 11:07
@wrightpt
wrightpt merged commit bb18f80 into main Jul 10, 2026
@wrightpt
wrightpt deleted the fix/viewer-stream-write-amplification branch July 13, 2026 22:11
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