Skip to content

fix: remediate verified bughunt findings across agent, clients and loop - #557

Merged
huichen merged 1 commit into
mainfrom
claude/bughunt-fixes
Sep 11, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/bughunt-fixes

Conversation

@huichen

@huichen huichen commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Consolidate the verified bug-hunt remediation into one PR. All 224 original finding IDs are reconciled in docs/bughunt/{fix-agent,fix-loop-tui,fix-cli,fix-apps}.md, alongside supervisor/verifier additions. Duplicate, refuted, latent and externally unverified claims are distinguished from repaired production defects.

  • Fix shell approval/security boundaries, bounded and cancellable execution, UTF-8 handling, SSE limits/linear scanning, session snapshots and persistence ordering.
  • Correct loop closure/deferred clocks, leases/ownership, worker attribution, safe WebUI handling and TUI layout/cursor behavior.
  • Harden channel admission/file writes/approvals/stream cleanup, browser transactions/navigation and CLI failure/timeout handling.
  • Preserve additive typed-RPC event metadata and backward field numbering; repair frontend/mobile error and replay/upload paths.
  • Correct the shipped catalog with 158 source-backed output-only additions, excluding 110 known non-chat models while explicitly retaining 432 unmatched identities as unknown.
  • Include integration-review fixes for native token layout, Windows locked-handle reads, decorated-Unicode input and test observer lifecycle isolation.

Explicitly deferred workflow changes

At the user's request, this PR does not change .github/workflows/ in its tree or new commit history. The proposed CI additions are retained separately for later work. Test source files remain. Existing CI still runs normally, but the newly proposed Windows installer/token/PowerShell/process/loop test execution is not enabled here; native execution of those new regressions is not claimed.

The production/test sources are byte-identical to the already locally validated integration tree; this final scope adjustment only removes workflow changes and clarifies the review index.

Validation

  • Rust 1.97.0: per-crate fmt, clippy --all-targets -- -D warnings, and full crate tests for all six workspace crates, including integration/doc targets.
  • Tauri: fmt/clippy/full tests, 1146 library + 1 binary test passed, one doctest ignored.
  • Desktop: typecheck, ESLint, 870 tests passed.
  • Mobile: typecheck, ESLint, 699 tests passed.
  • Offline Python regressions; actual-source Node geometry/HTML-JS/console tests.
  • make generate-proto: generated files unchanged.
  • Mechanical coverage reconciliation: 224/224 original IDs present.

Timeout/failed attempts and the fixes they prompted are retained in docs/bughunt/supervisor-review.md, not counted as passes.

Compatibility / limits

  • Manual shell approval is intentionally conservative; path-aware file reads remain available.
  • DingTalk now requires sender_allowlist; empty denies all and explicit "*" means trust all. Upgrade guidance is in both channel config documents.
  • External Windows denial attribution, progressive usage semantics and platform JWT lifetime remain unverified rather than guessed. Native/live-service limitations and unsupported-producer cases are listed per finding.
  • An optional extra model-based native review failed at the LLM service and is not represented as a successful review. Supervisor review/local checks and actual CI results remain authoritative.

@huichen
huichen enabled auto-merge (squash) September 11, 2026 14:13
@huichen
huichen merged commit 914f27f into main Sep 11, 2026
12 checks passed
@huichen
huichen deleted the claude/bughunt-fixes branch September 11, 2026 14:20
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