Repository navigation
feat: attach chat knowledge packets to coding tasks - #11
Merged
Peyton-Spencer merged 5 commits intoAug 30, 2026
Merged
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
5 of 6 tasks
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
from
August 29, 2026 07:32
af4b3e3 to
5a95af2
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
from
August 29, 2026 19:09
5a95af2 to
d501fa3
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
from
August 29, 2026 19:12
d501fa3 to
67c00fd
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
from
August 29, 2026 19:17
67c00fd to
1887c90
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
from
August 29, 2026 20:51
1887c90 to
ec490d2
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
2 times, most recently
from
August 29, 2026 21:41
07b4e54 to
43b2b17
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
3 times, most recently
from
August 29, 2026 22:03
d1de125 to
bd7e094
Compare
Peyton-Spencer
force-pushed
the
feat/chat-knowledge-packets
branch
from
August 29, 2026 22:08
bd7e094 to
ef6dbec
Compare
Peyton-Spencer
marked this pull request as ready for review
August 30, 2026 18:50
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Turns selected local chats into private, agent-native knowledge packets for coding tasks.
Type
/discord Liam,/telegram Brian White, or/chat Omarin the coding composer, select a conversation, and the task receives a navigable packet containing the bounded transcript plus available attachments.@remains reserved for workspace files.Task-native behavior
/discordand/telegramquery only their matching adapter;/chatintentionally aggregatesEach packet is written atomically under a task-specific
.t3/knowledge-packets/<task-turn>/<packet>/directory with:INDEX.mdas the agent entry pointtranscript.mdwith chronological content and provenancemanifest.jsonwith scope, truncation, attachment metadata, hashes, and copy errorsGit's local exclude plus a packet-root deny-all
.gitignorekeep the data out of commits. Symlink redirection is rejected, remote downloads are host/redirect/size bounded, and packet identity includes message content and attachment metadata rather than message IDs alone.Validation
Remaining boundary
Telegram cannot yet supply arbitrary historical chats or attachments. A full orchestration integration test proving the final filesystem location immediately before provider dispatch is still follow-up work.
Stack
Layer 4 of 6 in Stack pingdotgg#13, based on #8 (
feat/discord-live-inbox).Note
Add chat knowledge packet attachment for coding tasks
KnowledgePacketWritermodule and server logic in ws.ts to materialize chat transcripts and attachments into git-ignored worktree directories frombootstrap.knowledgePackets./chat,/discord,/telegramtriggers in ChatComposer.tsx to search and attach conversations. ChatView.tsx treats attached packets as sendable content, adds a bootstrap prompt, and clears them after sending.makeChannelRegistryin ChannelRegistry.ts changeslistConversations(withoutaccountId) to ignore failing adapters viaorElseSucceed(() => []), returning partial results instead of failing the whole call.Macroscope summarized ef6dbec.