Skip to content
This repository was archived by the owner on Oct 27, 2026. It is now read-only.

Support explicit TypeSafe long-context evaluation - #13

Open
brianorwhatever wants to merge 1 commit into
mainfrom
fix/explicit-long-context
Open

brianorwhatever wants to merge 1 commit into
mainfrom
fix/explicit-long-context

Conversation

@brianorwhatever

Copy link
Copy Markdown
Contributor

Large complete PR evidence can exceed TypeSafe's default token limits even when it fits REV's byte limit. Add an explicit long-context input (default false) that sends the documented TypeSafe-Danger-Zone-Long-Context: true header for evaluation and advisory diagnostics.

Preserve all evidence, questions, thresholds and denial behavior. Invalid boolean values fail configuration; there is no automatic retry or escalation. SDK #1003 currently receives HTTP 400 before evaluation; this option allows testing the documented long-context transport without dropping evidence.

Validation: all 77 tests pass; syntax checks and git diff checks pass. Transport regression covers default-off, explicit enablement, unchanged payload, retained denials and no retry on HTTP 400.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant