M6: Bugfix & Stability — milestone integration #39
Merged
gronod
merged 8 commits from 2026-09-08 15:18:53 +01:00
milestone/m6-bugfix-stability into develop
No Reviewers
Labels
Clear labels
Bug/Architecture
Bug/Backend
Bug/DevOps
Bug/Documentation
Bug/Performance
Bug/Security
Bug/Testing
Bug/UI
Compat/Breaking
Feature/Architecture
Feature/Backend
Feature/DevOps
Feature/Documentation
Feature/Performance
Feature/Security
Feature/Testing
Feature/UI
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Project/Antigravity
Architecture & Foundation Defect
Backend, service, or low-level logic defect
CI/CD, build system, and automation defect
Documentation inaccuracy or fix
Performance regression or degradation defect
Security vulnerability or flaw
Test failure or testing defect
User interface and presentation defect
Breaking change that won't be backward compatible
Architecture & Foundation Feature
Backend, service, or low-level logic feature
CI/CD, build system, and automation feature
Documentation additions and features
Performance optimization feature
Security capability or hardening feature
Test suite, mock, or testing harness feature
User interface and presentation feature
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Part of the Antigravity Project specification
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gronod/MacMonitor#39
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Milestone 6 integration — fixes all reported post-v0.0.1 defects.
Contents
isUp, processisStopped/isZombie, fanname); newMMSnapshotContractTests(6 tests).IOServiceMatching("AppleSMC")+ removed#pragma pack(1)that shrankSMCKeyData_tto 74 bytes (driver requires 80). Both bugs independently fatal to all SMC telemetry. AlertbatteryLevelnow uses the SMC-independentbatteryHealthpath..badge-after-.tagdetached the row's tag.Quality Gate
#KEYGetKeyInfo returns valid data).Closes #30, closes #31, closes #32, closes #33, closes #34.
Providers emitted identifiers and field keys that decodeSnapshot never looked up, leaving CPU/kernel/load/disk sections zeroed and memory%, storage%, network, process RSS, and fan fields decoded as zero. Store-side decode now reads the emitted schema; providers gain the previously-missing fields: network isUp (IFF_UP via getifaddrs), process isStopped/isZombie (pbi_status), fan name (F{i}ID). Memory utilization is computed as used/total in the decoder. decodeSnapshot is internal for @testable access; new MMSnapshotContractTests cover the emitted-key contract with synthetic dictionaries (93 tests total, 0 failures). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>Two latent bugs kept all SMC telemetry dead: - IOServiceMatching("AppleSMCClient") never matched — the kernel service is AppleSMC, so openWithError always failed and every SMC-gated provider (thermal, fan, component, power) reported unavailable. - #pragma pack(1) shrank SMCKeyData_t to 74 bytes; the SMC user client requires the canonical 80-byte layout and rejected every IOConnectCallStructMethod with kIOReturnBadArgument. Verified live on Intel hardware: unpacked calls succeed and return key data. Also sources the alert engine's batteryLevel from the SMC-independent batteryHealth path (currentCapacity/maxCapacity), falling back to the power provider. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>