feat/issue-3-observation-probes #8

Merged
yorunikakeru merged 25 commits from feat/issue-3-observation-probes into main 2026-06-23 15:31:12 +02:00
Owner
No description provided.
Add Code Style and allow policy sections to AGENTS.md:
whitespace between logical blocks, early returns, no #[allow]
without user approval.
Add doc comments to parse_cpu_line, CpuSample helper methods, CpuProbe.prev,
and the Probe::probe impl with # Errors sections. Add concrete bad/good
comment examples to CODESTYLE.md to illustrate the narration-vs-reason rule.
Also fix an if_not_else clippy lint in probe() delta computation.
Consolidates battery, cpu, and process into src/process/ to
prevent top-level module sprawl as probe count grows.
SystemState aggregates all probe outputs into a single snapshot type.
ExistingUsersProbe reads /etc/passwd and extracts usernames.
CmdRunner abstracts shell command execution for testability.
ServiceStatusProbe parses dinitctl list for active service names.
InstalledPackagesProbe parses nix profile list for installed packages.
ToadActor runs all probes on a configurable interval and publishes
aggregated SystemState via a tokio watch channel. ToadHandle gives
callers a receiver to observe the latest state.
refactor: organize probes and io modules
All checks were successful
CI / linux (pull_request) Successful in 3m42s
71c0a5d724
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FrogOS/Toad!8
No description provided.