Add harness turn replay contracts#397
Merged
Merged
Conversation
Expand the generated turn harness schema, align runtime event emission across supported runtimes, and add generated model coverage for the new event payloads. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Define session-level harness events, checkpoint and trajectory records, host tool and permission protocol shapes, and generated runtime models across TypeScript, C#, Python, Rust, and Go. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Clarify hook scope, distinguish permission event payloads from live decisions, and align session start schema versioning across generated runtimes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate Go model output with the published Typra 0.3.0 emitter. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document how to route the existing OpenAI provider through compatible endpoints such as Tuning Engines. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Mirror the README example in the public OpenAI how-to docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move Typra generated markers below YAML frontmatter so Astro content collections can parse the reference pages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate reference docs with frontmatter-safe generated markers from Typra 0.3.1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Compose harness event, journal, checkpoint, permission, and host tool contracts into a deterministic single-turn runner for TypeScript and Python. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…n-runner-orchestration
|
|
||
| def save(self, checkpoint: Checkpoint) -> Checkpoint: | ||
| """Persist a session checkpoint and return the stored checkpoint""" | ||
| ... |
|
|
||
| async def save_async(self, checkpoint: Checkpoint) -> Checkpoint: | ||
| """Persist a session checkpoint and return the stored checkpoint (async variant)""" | ||
| ... |
|
|
||
| def load(self, session_id: str, checkpoint_id: str) -> Checkpoint | None: | ||
| """Load a checkpoint by session and checkpoint identifier""" | ||
| ... |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.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.
Summary
Validation