Repository navigation
feat(runtime): enforce JEV checkpoints and add effort transport - #72
Merged
Merged
Conversation
Avoid a Keychain read on every model request while preserving refresh, rotation, removal and endpoint binding. Invalidate the credential epoch before backend mutation so failed updates cannot authorize stale cached material.\n\nVerified with 42 fake-credential tests and independent review of diff1597d978. Does not change macOS ACLs or solve cross-build signing identity. Refs ENG-791.
Track ENG-791 R1 provider effort, R2 runtime routing, and R3 durable TUI qualification in the existing root ledger. Preserve the complete requirement and distinguish the unmerged dependency from delivered routing.
Exercise every supported wire value through compiled loopback providers, including retry preservation and absent-field compatibility. Verify unsupported adapters fail before transport or lazy credential initialization and bound scripted fixture accepts.
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
qq jev setupand native enforced TypeSafe checkpoints after tool results and final candidates, with durable notices, corrective turns, child propagation, and fail-closed handling of unavailable reviews.Why
Romy requested one integrated QQ PR that can be independently reviewed, repaired, and merged rather than another collection of unintegrated branches. The customer need is a workspace agent whose configured JEV review is part of the runtime, not an optional model-requested tool call.
Tracking: ENG-791. Source requirements and decisions:
docs/adr/0028-mandatory-typed-jev-checkpoints.md,docs/plans/progress/root.md,docs/runbooks/tui-qa.md.Source and ownership
c404ae53aa5d2c1c87ad00a8d41885af3c29412c(canonical main at preflight).dc59d14f9c7763a8252899bb465f64b10e6927d8.qq_pr_full_review. Independent runtime reviewer:qa_root_candidate_review(not an author).Verification completed for R1
Production/test bytes at
abe71f34bd5088e548fa7c352fa9ea6f62e51011are identical atdc59d14; the latter changes only the progress ledger. Both the author and non-author executed the following locally using the pinned Rust toolchain,CARGO_INCREMENTAL=0,TMPDIR=/private/tmp, and pipefail for captured commands:Default: 208 provider tests passed, one ignored; 17 interface tests passed. Minimal profile: 161 provider tests and 17 interface tests passed. The reviewer deliberately exercised all effort values, omitted-effort compatibility, retry identity, and unsupported-provider pre-transport rejection. The independent run reused compiled artifacts; it was not a clean rebuild. An initial ENOSPC build failure and subsequent corrected-profile results are retained, not counted as a pass.
Full-PR acceptance still in progress
Historical credential-free loopback/PTY evidence is useful QA, not a claim that the current real-Astra/JEV workflow completed. Review findings and command results will be added here before requesting merge.
Initial independent findings being repaired
The full-source reviewer identified three candidate blockers: interrupted final-candidate reviews need durable settlement; user-answer evidence needs the same secret masking as other tool results; and TypeSafe response parsing needs an explicit bounded body contract. These require regression tests and final-head re-review before this draft can be accepted. The complete canonical-base-to-head redacted gitleaks scan returned zero findings (gitleaks 8.30.1, exit 0).
Risk and rollout
Visual/runtime evidence
The credential-free TUI QA profile and commands are documented in
docs/runbooks/tui-qa.md. Existing PTY evidence is not represented as a live-provider or computer-use video. The live demonstration remains a separate acceptance gate.