Skip to content

fix: mark compacted memory injection part as synthetic - #248

Merged
lindixu6-hash merged 1 commit into
tickernelz:mainfrom
phil-lipp:fix/synthetic-compaction
Aug 19, 2026
Merged

fix: mark compacted memory injection part as synthetic#248
lindixu6-hash merged 1 commit into
tickernelz:mainfrom
phil-lipp:fix/synthetic-compaction

Conversation

@phil-lipp

Copy link
Copy Markdown
Contributor

The compaction restore injected the memory dump as a normal text part, so it was echoed into the live session transcript. Mark the part synthetic so the TUI does not render it.

Follow-up to #239, which preserved the session agent on compaction restore but did not mark the injected part synthetic.

The compaction restore injected the memory dump as a normal text part,
so it was echoed into the live session transcript. Mark the part
synthetic so the TUI does not render it.

Follow-up to tickernelz#239, which preserved the session agent on compaction
restore but did not mark the injected part synthetic.

@lindixu6-hash lindixu6-hash left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified at 30374c3. The change follows the existing synthetic-part convention used by chat.message injection, and the new regression is failure-sensitive.

Local verification with an isolated HOME:

  • frozen root and web installs
  • compaction target: 9/9 passed
  • full suite after build: 408/408 passed
  • typecheck, Prettier check, and production build passed
  • mutation check: reverting only the implementation while retaining the test produced the expected 1 failure (synthetic was undefined)

The scope is small and preserves the existing agent/noReply behavior.

@lindixu6-hash
lindixu6-hash merged commit 25a419a into tickernelz:main Aug 19, 2026
1 check passed
@lindixu6-hash

Copy link
Copy Markdown
Collaborator

Post-merge validation for exact merge commit 25a419a4860eeb802215809202b0204e2309e2f6: Platform Package Smoke run 32279260250 passed all six jobs (Ubuntu, Windows, macOS 15/26 on Apple Silicon, and macOS 15/26 Intel). Each job completed dependency installation, typecheck, production build, the full test suite, package creation/install, and native/runtime smoke checks.

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.

3 participants