Skip to content

fix(core): resolve 15 verified audit issues across UI, API, concurrency, audio, and packaging (v2.12.1) - #82

Merged
mlgitdev merged 1 commit into
mainfrom
fix/audit-remediation-67
Dec 2, 2026
Merged

mlgitdev merged 1 commit into
mainfrom
fix/audit-remediation-67

Conversation

@mlgitdev

@mlgitdev mlgitdev commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

Comprehensive v2.12.1 hardening patch resolving 15 live-verified bugs across Settings/API wiring, BamSEC opt-out & search UX, pop-out Tape quick-add, hotkey modifier combos & remapping, thread-safe TradingView sessions, Alpaca live/paper routing, Tape startup seeding, Telegram worker error handling, bounded LRU caches, cross-platform audio, macOS packaging, and local CSRF/XSS security protections.

Resolves #67, Resolves #68, Resolves #69, Resolves #70, Resolves #71, Resolves #72, Resolves #73, Resolves #74, Resolves #75, Resolves #76, Resolves #77, Resolves #78, Resolves #79, Resolves #80, Resolves #81.

Motivation / Context

A structured static and live Chrome DevTools Protocol (CDP) audit against v2.12.0 confirmed 15 concrete defects — including 3 critical UI/API crashes (Settings.open("tv"), missing /api/open_app_dir & /api/reset_config routes, and bypassed BamSEC backend opt-out) along with concurrency, caching, cross-platform audio, hotkey, security, and packaging issues. All 15 defects were tracked under issues #67–#81 prior to implementation and are resolved together in v2.12.1.

Changes

Verification & Testing

  • Windows local run verification: Ran live Chrome DevTools Protocol (CDP) verification (scratch/verify_fixed_cdp.py) against .worktrees/fix-audit-remediation-67 confirming v2.12.1 badge, #67, #68, #69, #70, #71, #75, #76, and #81 all pass with zero uncaught console exceptions.
  • Cross-platform compatibility check (macOS / Linux): Verified POSIX sound path resolution (PurePosixPath), Linux paplay --volume command construction, sys.stdout=None guard, NewsAlerts.spec dynamic VERSION, and scripts/package_macos_dmg.sh packaging logic.
  • Unit & regression tests:
    • .venv\Scripts\python.exe -m compileall app run_app.py -> exit code 0.
    • .venv\Scripts\python.exe -m unittest discover -s tests -p "test_*.py" -> 84 tests passed in 0.865s (OK), including 17 new regression tests in tests/test_audit_fixes.py.

Checklist

  • My PR title follows Conventional Commits: type(scope): description
  • I have filled out all sections of this PR template
  • I have verified that NO secrets, tokens, passwords, or keys are committed
  • I have updated relevant documentation in docs/ and docs/wiki/ (including version badge in _Footer.md) if applicable
  • I have verified the code locally without syntax errors or regressions

@mlgitdev mlgitdev self-assigned this Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

✅ PR Validation Passed

  • Conventional Commit title syntax
  • Required template sections present
  • Security audit ready

Ready for review by @mlgitdev!

@mlgitdev mlgitdev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after extended live terminal testing — no problems observed across UI, Screener, News/BamSEC, Tape, hotkeys, or alerts. All multi-OS CI checks green. Merging for v2.12.1 release.

@mlgitdev
mlgitdev merged commit 8f72699 into main Dec 2, 2026
6 checks passed
@mlgitdev
mlgitdev deleted the fix/audit-remediation-67 branch December 2, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment