Repository navigation
feat(cli): add opt-in passive Jev advisory observer - #78
Merged
lg2m merged 5 commits intoSep 19, 2026
Merged
Conversation
J7: verify non-gating observation, durable dispatch cancellation, journal replay and bounded evidence. Keep external advisory spend separate from authoritative run accounting.
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.
Adds explicit
qq jev observeso users can assess completed task runs without delaying subsequent work or enabling runtime enforcement or routing. Jev remains entirely opt-in.Stacked on #77. Implements passive J7 from the Jev plan; related ENG-791.
The observer uses bounded, masked evidence from existing session snapshots and a finite external token, request and cost allowance. Its locked JSONL journal syncs pending dispatch before inference and settlement before publishing receipts. Restart never retries pending requests; unknown spend prevents further dispatch. External advisory receipts remain separate from authoritative run accounting and preserve unknown combined totals.
Verification at d405afb: 1,602 workspace tests passed, five ignored; formatting, all-target/all-feature Clippy with warnings denied, workspace build and diff checks passed. Five focused advisory checks cover scope/evidence, journal restart and an actual local-server demonstration that a held review cannot delay the next run and cancellation retains pending dispatch. Independent read-only review approved with no blockers.
Updated architecture, plan, ledger and Jev runbook. No dependencies, protocol/schema changes or core runtime hot-path changes. Recent snapshot windows may omit evidence; these cases produce unavailable receipts without inference. No paid evaluation or speed/quality improvement is claimed. Full-stack performance qualification and separately budgeted live evaluation remain open. Linear connector reauthentication prevents updating the issue.
Full-stack qualification: two full candidate recordings and main/same-binary recordings completed (77 metrics, all correctness checks passing). Default/minimal binaries grew 1.32%/1.54%; both absolute size limits already fail on main. Thirty paired shell/eight-stream samples passed their relative fixture gates; repeated idle shutdown also passed. Full-suite timing failures vary across recordings, including load throughput, so quiet-host acceptance remains open rather than waived. Exact numbers and retained receipt paths are in the ledger. Lead decision requested on carrying qualification and existing size overruns as follow-ups; no approval inferred.
Landing: preserve the fixes before original #72 reaches main. Maintainers can merge reviewed PRs downward (#78 into #77, then #77 into #76, #76 into #74, #74 into #72) and check the resulting #72 head before landing. Original #72 still has failing standalone CI; the follow-up heads have passed. No self-merge performed.