Repository navigation
test(conversations): the agent loop reproduces the true conversations end to end (phase 4 item 5) - #330
Merged
Conversation
… end to end (phase 4 item 5) A scripted agent answers every batch of an invented 400-message chat from its known parents, through the service: build, batches next, links add, build. The stored conversations equal the true grouping exactly, a tenth of the answers given by the messenger's own replies. The IRC corpus run with a real agent stays by hand. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Task
Storage phase 4, item 5 (plan): prove that batches, answers and a build reproduce known conversations exactly.
What
src/conversations/agent-loop.test.tsbuilds an invented chat of 400 messages with known parents: each message answers one of the 40 before it, or starts a conversation, and a tenth of the answers are the messenger's own replies.batches next,links add, then build again.Testing
The test passes in about a second; lint and typecheck pass.
🤖 Generated with Claude Code