Skip to content

Agent Audit: DSP fix, zero-alloc PCM loop, 100% i18n parity, and agent infrastructure - #1

Merged
MrQuster merged 6 commits into
mainfrom
chore/agent-audit
Oct 24, 2026
Merged

MrQuster merged 6 commits into
mainfrom
chore/agent-audit

Conversation

@MrQuster

Copy link
Copy Markdown
Owner

Summary of Changes

This PR incorporates the results of a comprehensive technical audit, bug fixing, optimization, and agent infrastructure deployment for HyperBoost (io.github.mrquster.hyperboost).

1. DSP & Audio Engine

  • Limiter Continuity: Fixed $C^1$ jump of ~3,700 amplitude units at the knee boundary ($0.75 \times \text{threshold}$) in SoftwarePcmDspProcessor and AudioBoosterService soft-knee tanh limiters.
  • Zero-Allocation PCM Loop: Eliminated 48,000 Pair<Double, Double> heap allocations per second in PCM audio capture loop via zero-allocation processStereoSampleDirect.
  • Audio Lifecycle: Added missing audioManager.requestAudioFocus(req) call in AudioBoosterService and registered AudioDeviceCallback with clean unregistration on service destroy.

2. UI & Navigation

  • Lens Tab Bar: Connected freeLensDragEnabled setting to GlassLensTabBar, ensuring 100% reliable tab switching on normal tap without accidental drag interception.
  • Deprecated Icons: Replaced deprecated Compose icons (FactCheck, OpenInNew) with AutoMirrored counterparts.
  • Condition Optimization: Cleaned up redundant condition check in tab bar backdrop blur.

3. Localization (i18n)

  • Eliminated hardcoded strings in Glance Widget, Home, Island JSON Builder, and System screens.
  • Achieved 100% key parity between English (values/strings.xml) and Russian (values-ru/strings.xml) resources (verified via automated unit test).

4. Agent Infrastructure & Documentation

  • Added core agent rules (AGENTS.md, .agent/rules/), 10 specialized skills, 7 workflows, and 2 sub-agent roles.
  • Restored complete release instructions in docs/RELEASING.md, updated CHANGELOG.md, and cleaned README.ru.md.
  • Comprehensive technical report: docs/agent/AUDIT_REPORT.md.

Verification

  • ./gradlew test passes 100% (8 unit tests).
  • ./gradlew lintDebug passes.
  • ./gradlew assembleDebug and ./gradlew assembleRelease (R8 size: 4.1 MB) succeed without errors.

@MrQuster
MrQuster merged commit eb5a223 into main Oct 24, 2026
1 check passed
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