Skip to content

feat(cli): add opt-in passive Jev advisory observer - #78

Merged
lg2m merged 5 commits into
feat/eng-791-jev-routing-accountingfrom
feat/eng-791-jev-advisory
Sep 19, 2026
Merged

lg2m merged 5 commits into
feat/eng-791-jev-routing-accountingfrom
feat/eng-791-jev-advisory

Conversation

@lg2m

@lg2m lg2m commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator

Adds explicit qq jev observe so 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.

@lg2m
lg2m added this pull request to stack #75 September 19, 2026 00:41
@lg2m
lg2m marked this pull request as ready for review September 19, 2026 00:41
@lg2m
lg2m merged commit 22b0e0a into main Sep 19, 2026
4 checks passed
@lg2m
lg2m deleted the feat/eng-791-jev-advisory branch September 19, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant