Repository navigation
fix(claude): leave the workflow journals out of the walk and the sweep - #28
Merged
Merged
Conversation
A workflow keeps a journal beside its sub-agents' transcripts, `<session>/subagents/workflows/wf_*/journal.jsonl`, with no turn in it. The seed and the hooks' sweep picked it up with the transcripts: every journal converted to an empty spool file, the same one for all of them since they share a name, which funes then logged as holding nothing. The seed and the sweep now leave `journal.jsonl` out, by name: the workflow's sub-agent transcripts sit in the same directory and stay in. The setup and hooks tests write a journal beside a session and check that neither a walk nor a sweep converts it. Co-Authored-By: Claude Fable 5.1 <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.
A workflow keeps a journal beside its sub-agents' transcripts,
<session>/subagents/workflows/wf_*/journal.jsonl, with no turn in it. The seedsetup addruns and the hooks' sweep picked it up with the transcripts: every journal converted to an empty spool file, the samejournal.funes.jsonlfor all of them since they share a name, which funes then logged as "no indexable content". One history here has 23 of them, read again on every full walk.The seed and the sweep now leave
journal.jsonlout, by name: the workflow's sub-agent transcripts sit in the same directory and stay in. The setup and hooks tests write a journal beside a session and check that neither a walk, a re-run over what is newer than the mark, nor a sweep converts it. Both tests fail on the scripts before this change.🤖 Generated with Claude Code