Skip to content

feat: add resumable diagnostic cases and evidence checks - #414

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/diagnostic-case-evidence
Nov 30, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/diagnostic-case-evidence

Conversation

@ohgeeceee

Copy link
Copy Markdown
Owner

What this adds

Implements the next diagnostic investigation slices from docs/next-updates.md:

  • Diagnostic cases: Garage-linked, versioned local cases persist notes, selected fault reads, guided-check progress, and bounded session summaries across restarts. Corrupt or future-version stores are preserved instead of overwritten.
  • Analysis evidence: v3/v4 diagnostic panels expose source records, replay state, channels, sample ranges, rejected rows, missing evidence, and freshness limitations through one expandable view.
  • Repair verification: Baseline and follow-up scans retain fresh live values and report matched, mismatched, partial, or insufficient operating conditions, including cold/warm and unit mismatches. Results remain evidence comparisons, not repair verdicts.
  • Release-gate hardening: Windows assertions use Git's executable mode and CRLF-normalized lockfile text; asynchronous marketplace tests wait for observable conditions instead of fixed 50 ms sleeps.

Tier A only. No transport, protocol, command surface, ECU write, release, or production files are changed.

Verification

  • JavaScript, Node 26: 1217 passed, 0 failed, 1 existing skip.
  • Python 3.14: 300 passed, 33 subtests passed.
  • Browser CI equivalents passed: plugin install/lifecycle/isolation, connection retry and freshness, and Chrome/theme audit (74 surfaces/controls, zero near-white dark-theme surfaces).
  • TOML lint: 59 files, zero problems.
  • Script-collision guard: 84 scripts, zero collisions.
  • DOM tests cover case restart recovery, corrupt storage, evidence rendering, stale/missing conditions, cold/warm warnings, and unreadable repair baselines.
  • Browser flow verified case creation, note saving, reload restoration, analysis error/evidence rendering, and the narrow-screen shell using a temporary no-op Tauri stub.

No real-car validation was performed. No profile verification markers were promoted.

Rust / platform note

Local Windows GNU compilation reaches Beemuu and compiles its Rust source, but the test cdylib cannot link because rustc exports more than 65,535 DLL symbols (about 137k). This reproduces with Rust 1.90 and 1.100, GNU ld 2.44 and 2.47, and Rust LLD. No crate-type or test skip was introduced to bypass it. The GitHub Ubuntu cargo test job must pass on the exact PR head before merge.

cargo fmt --check also reports broad pre-existing formatting drift in untouched Rust files; this PR deliberately does not create an unrelated whole-core formatting diff.

Review notes

  • Case snapshots are bounded session summaries, not a duplicate full snapshot library. Whole-workspace export/restore remains update 7.
  • Analysis evidence explains panel inputs; it does not independently validate an engine or calibrate a diagnostic probability.
  • Only fresh live-sweep values are used for repair operating conditions. Missing evidence produces a limitation, not a pass.
  • Pre-existing local edits under docs/validation/ are excluded from both commits.

After green CI and review, release versioning, tags, installers, and production deployment remain separate maintainer-controlled operations.

@ecc-tools

ecc-tools Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 4fb17c1fb2f353ef30256fe202a25e0fba1a225b

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 24 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 4fb17c1fb2f353ef30256fe202a25e0fba1a225b

PR taxonomy review recommended (neutral)

Detected 1 PR taxonomy bucket(s): CI/CD Recommendation.

Scanned 24 changed file(s).

Roadmap taxonomy buckets:

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • User-facing UI changes may ship without browser coverage
  • 8 CI or workflow path(s) changed

Paths:

  • frontend/version_surface.test.js
  • src/js/analysis_evidence.test.js
  • src/js/diagnostic_cases.test.js
  • src/js/diagnostic_cases_boot.test.js
  • src/js/marketplace_ui.test.js
  • src/js/repair_verification.test.js
  • src/js/repair_verification_boot.test.js
  • src/js/test/v4_wiring.test.cjs

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 4fb17c1fb2f353ef30256fe202a25e0fba1a225b

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 24 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 4fb17c1fb2f353ef30256fe202a25e0fba1a225b

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 24 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@github-actions
github-actions Bot merged commit 4ee07a5 into main Nov 30, 2026
17 checks passed
@github-actions
github-actions Bot deleted the feat/diagnostic-case-evidence branch November 30, 2026 21:13
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