Repository navigation
Report-only observation policy and leap hw stop cli - #58
Merged
Merged
Conversation
Add grouped freshness, typed health signals, optional ROS previews and native-depth encoders. Drain daemon clients during graceful shutdown and cover ownership, release, and restart paths with regression tests.
Signed-off-by: 班扬 <xingjun.wxj@alibaba-inc.com>
- Stop tracking .qoder/ (Qoder agent scratch space: build artifacts, repo snapshots and vendored wheels, ~70MB) and ignore it going forward. Local files are retained. - Map the tooling-mislabeled "Cheney Zhang <chen.zhang@zilliz.com>" author, written by a commit skill that hardcoded --author, to the committer's real identity via .mailmap. Published history on main and the release branches is deliberately not rewritten. Signed-off-by: wangxingjun778 <wangxingjun778@163.com>
The 18 commits whose author field was overridden by the commit skill are now rewritten in history, so the display-layer alias is dead weight. Signed-off-by: wangxingjun778 <wangxingjun778@163.com>
- add report-only observation policy (soft bounds, confirmation, adaptive noise margin) with hot reload; hard envelope and write authority unchanged - attach observation episodes to hardware events; persist notification checkpoints so findings survive watch/daemon restarts - evaluate raw sample safety evidence before presentation pacing - qualify physical rate on source acquisition epochs and declared sequence scopes instead of poll counters or host arrival timing - add `leap hw stop`: node record discovery, systemd-owned or SIGTERM stop of the local LHP node with ordered cleanup and no automatic SIGKILL - report unsettled effect causes in device-busy refusals; mark Piper gripper force as an unqualified SDK report and split target-not-sent from target-refused motion failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
hardware.observation): soft bounds, confirmation/recovery dwell, adaptive noise margin from fresh samples, per-device/per-channel overrides. Never grants write authority or changes task accuracy; channel bounds are checked at admission.leap hw stop: gracefully stops the local LHP node — profile-scoped discovery from node records (plus Linux/procfallback for legacy nodes), stop through the owning systemd unit or an identity-revalidated SIGTERM (pidfd), waits for node and workers, refuses ambiguous targets, never auto-SIGKILLs.hardware/observation.pyunifies policy validation, episode confirmation, and bounded dispersion shared by detection and advisory reporting.Enhancements
*_omitted) and refuses to persist an oversized frame instead of writing it silently.device_busyrefusals name the actual owner (session, control loop, transaction, unsettled dispatch) and the correct remedy.Readingnow carriessequence_scope,acquisition_at,acquisition_epoch; every transport declares its own scope.Fixes
AsyncExitStack, so one failing closer cannot skip remaining cleanup; completeness is recorded.TargetNotSentseparates pre-target motion failures from target refusals, removing a false "effect unknown" verdict.Docs
leap hw stopusage, graceful-shutdown scope (not power-off; holding torque/grip unverified), resume instructions.hardware.observationconfig field description including hot-reload semantics.Tests
tests/test_hw_stop.py; expanded stream, observability, piper, LHP, leapcalib, and config coverage.