Skip to content

fix(threads): preserve historical subagent message attribution - #916

Merged
nixuuu merged 2 commits into
devfrom
fix/subagent-message-attribution
Nov 17, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/subagent-message-attribution

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Change

Scrolling back in a long thread could render older subagent messages as user messages with a raw [canopy] prefix. History windows kept only recent steer metadata, page merging omitted it, and persisted tails dropped older sender records.

Keep each visible message's steer text and sender with its item across local windows, offline mirrors, inherited fork history, page merging and persisted tails. Required steer records share the item byte budget and are deduplicated; overlapping pages preserve newer metadata already loaded. Update the UI API and linked-computer documentation.

Fixes: #541

Verification

  • 16 integration tests passed through check:tmp across thread-steer-window, thread-range-steers, history-pages and thread-work-window.
  • Regressions cover 40 child-to-parent messages, initial and older pages, fork inheritance, persisted protobuf roundtrips, stale overlapping pages, byte budgets, deduplication and epoch isolation.
  • Gateway, domain and integration-test typechecks passed; scoped lint, formatting and diff checks passed.
  • Full repository checks and builds remain with CI. Existing successful local results were reused; the rebase onto current dev changed no tested files.
  • Copy audit: not applicable; no UI text or layout changed.

Keep referenced steer metadata with historical items across local and offline windows, page merges, forks and persisted tails. Charge required steer records to item byte budgets.

Fixes: #541
@nixuuu
nixuuu enabled auto-merge (squash) November 17, 2026 08:15
@nixuuu
nixuuu merged commit bd44d59 into dev Nov 17, 2026
28 of 30 checks passed
@nixuuu
nixuuu deleted the fix/subagent-message-attribution branch November 17, 2026 08:31
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