Repository navigation
feat(runtime): make Jev review opt-in and account for bounded assessments - #74
Merged
Merged
Conversation
J2/J4/J5: preserve child policy, bound requests and repairs, charge typed reviewer spend, settle cancellation as unknown, and expose durable pending/outcome receipts. Protocol 24 fixtures and docs accompany the behavior. Workspace: 1575 passed, 5 ignored; fmt, Clippy, build pass. Tail qualification and routing/advisory slices remain open.
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.
Make Jev explicitly optional and repair review correctness
Stacked on #72 (
feat/jev-runtime-checkpoints, dc59d14). A stored TypeSafe credential previously activated strict review globally, and an explicit off setting could not disable it. This PR separates credential setup from activation: review defaults off,finalretains normal tool batching, andenforceexplicitly selects strict review.Spec: J1–J5 and visible J7 receipts. Tracking: ENG-791. Linear's connector requires reauthentication; its state has not been updated.
What changed
Verification
At 1d2b360, local workspace: 1,575 passed, 5 ignored, zero failures.
env -u NO_COLOR cargo test --workspace --locked --offline --quietcargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo build --workspaceAll Cargo commands used the shared target directory; build/Clippy also used locked/offline dependencies. Removing inherited NO_COLOR is required by existing terminal color tests.
Independent Spec and Standards reviews approve the repaired implementation. Regression coverage includes steering, child inheritance/followups, cancellation, budgets, no-tool corrections, long evidence, HTTP payload/body bounds and protocol replay fixtures.
Measurements
30 alternating release A/B pairs against dc59d14, plus 30 same-binary A/A pairs:
Medians meet 5%; tail qualification remains open. Tool-loop sample p95 rose 72,338→77,873 ns (+7.65%), versus A/A +1.77%, at host I/O pressure 18.31–26.35%. No waiver: a quiet-host repeat is needed. These are loop averages, not full startup/fanout qualification or evidence of real Jev speed/quality gains.
Docs and compatibility
Architecture, protocol docs, ADR-0030, the Jev runbook, plan and ledger are updated together. Wire protocol 23→24, with new golden fixtures; matching clients/servers required. No database migration or dependency addition.
Still open