Store reviewer logs as markdown files - #110
Open
skaltman wants to merge 17 commits into
Open
Conversation
|
Preview deployed to Connect ( Deployed from commit a6b457d. |
|
Preview deployed to Connect ( Deployed from commit a6b457d. |
… and expand configuration details
…ng to batch updates
skaltman
marked this pull request as ready for review
August 14, 2026 23:38
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.
Change trajectory reviewer log format from
.jsonlto Markdown.Each conversation gets its own Markdown file. Each Markdown file has a YAML header and a Markdown body:
Locally, the review files are written to a directory set by the
COMMONS_REVIEW_DIRenvironment variable or thereview_dirarg totrajectory_review(). On Connect, they are stored in a pin so they persist across sessions.Markdown format
Rendered
--- generated_by: commons::trajectory_review schema_version: 1 conversation: 20260728t222656.055-r0ai9xw7ic last_active: 2026-07-28T15:33:48-0700 updated_at: '2026-08-14T22:14:01Z' flags: conversation: no exchanges: - 1 notes: - user: unknown time: '2026-08-14T21:58:01Z' text: note about question 1 exchange: 1 - user: unknown time: '2026-08-14T22:13:45Z' text: note on question with searched context exchange: 3 - user: unknown time: '2026-08-14T22:14:01Z' text: note on question with search pool exchange: 1 ---20260728t222656.055-r0ai9xw7ic
Conversation-level review
Flagged: No
Review notes: None
Exchange 1
Trust: Verified (A)
Flagged: Yes
Review notes:
User
Tool call:
search_poolArguments
{ "query": "patients with at least one serious adverse event by arm" }Tool result:
search_poolDiscovery result omitted from the review log.
Tool call:
call_measureArguments
{ "name": "ae_overview", "arguments": "{\"population\": \"SAF\"}" }Tool result:
call_measureResult stored as
r1, available in your R session.A data frame with 11 rows and 4 columns:
Assistant