Repository navigation
Fix portable Linux collection, bounded execution, and lossless AI context size - #3
Merged
Merged
Conversation
…context Correct package/runtime observations and final budgets; batch metadata and finalization; add AI v2 with type-sensitive round trips and distro CI.
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.
What changed
Correct false host observations (Debian residual packages, absent container modules, installed versus running managers, wildcard socket families, IPv6 and coexisting firewall state), add portable Python timeout/UID-GID and metadata/statvfs/procfs paths, and stop nested collector process trees before returning from a watchdog.
Batch collector metadata/staging/checksums and final redaction/validation/AI/scan/manifest work. Lossless AI encoding v2 interns endpoints, labels, provenance and repeated observations, preserves boolean/number types and conflicts, and retains v1 decoding/canonical v5. Final sanitized byte sizes and graph integrity are checked before publication.
Validation
make check: all 31 regression scripts passed locally.--no-archive: median quick 1.656 → 0.952 s; standard 1.497 → 1.232 s; max 1.750 → 1.681 s. These are local measurements; actual token savings and universal distro compatibility are not claimed.The local namespace maps only UID 0; CI verified real sudo owner handoff to UID/GID 65534, including the Python fallback on Alpine. Containers validate userland compatibility, not every live init manager, hardware/desktop daemon or distribution-specific inventory. Gentoo/Nix/Slackware package inventories are outside this change. Docker fixtures inject only the socket filesystem predicate without contacting a host daemon.
See docs/AUDIT.md for findings, measurement scope and limits.