refactor(trace): separate daemon, hook, and session ownership - #142
Merged
Conversation
This was referenced Jul 19, 2026
Contributor
Author
This was referenced Jul 19, 2026
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 21, 2026 00:29
730cfc2 to
d7db8f3
Compare
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 21, 2026 04:39
d7db8f3 to
9571397
Compare
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 21, 2026 05:34
9571397 to
9114b43
Compare
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 21, 2026 06:30
9114b43 to
00b402b
Compare
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
2 times, most recently
from
July 21, 2026 17:07
493c5f1 to
8483cb6
Compare
rgao-coreweave
changed the base branch from
109-07-sdk-core
to
graphite-base/142
July 22, 2026 04:23
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 22, 2026 04:23
8483cb6 to
b36e367
Compare
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 22, 2026 05:38
b36e367 to
03aef7a
Compare
HiveMind Sessions10 sessions · 2h 3m · $121
View all sessions in HiveMind → Run |
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 22, 2026 23:45
152b5d1 to
781eb1c
Compare
This was referenced Jul 22, 2026
rgao-coreweave
marked this pull request as ready for review
July 23, 2026 05:42
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 23, 2026 16:24
865e3c4 to
cb81c17
Compare
ro31337
reviewed
Jul 23, 2026
rgao-coreweave
force-pushed
the
109-14-chat-tool-spans
branch
from
July 23, 2026 22:46
cb81c17 to
dce92bd
Compare
ro31337
approved these changes
Aug 6, 2026
rgao-coreweave
marked this pull request as draft
August 7, 2026 16:40
rgao-coreweave
marked this pull request as ready for review
August 7, 2026 16:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Separate daemon transport, hook handling, and per-session tracing into explicit owners:
Daemon: Unix socket, Weave setup, and process lifecycleHookHandler: hook validation, per-session ordering, dispatch, and session lookupSession: transcript state and root-turn lifecycleRoot turns are created from live conversation hooks.
SessionEndcan reconcile the final transcript turn after restart, while daemon shutdown only finalizes turns already known to the process.Validation
npm run check