Second Credible Mini-Lab
systems-foundations adds a second focused mini-lab: projects/linux-socket-observe.
This release packages a narrow workflow for reviewing local Linux networking state from saved command-output snapshots:
- build one normalized JSON snapshot from
ssplus selectediproute2outputs - compare two snapshots deterministically
- generate a Markdown diff report for added, removed, and changed state
- keep the workflow local-file-based and reviewable
- support for
sstext input - support for
ip -j addr show - support for
ip -j link show - support for
ip -j neigh show - optional support for
ip -s -s link show - one normalized snapshot artifact with
sockets,interfaces,addresses, andneighbors - CLI workflow for
snapshotanddiff - golden regression coverage for baseline and changed snapshots
- malformed input coverage for
ssparsing andip -j link showparsing
python -m pytest -qcurrently passes inprojects/linux-socket-observe- current tests cover parser basics for
sstext and iproute2 JSON inputs - current tests cover golden snapshot regression for both baseline and changed fixtures
- current tests cover snapshot diff basics for added, removed, and changed state
- current tests cover CLI smoke behavior and bounded error reporting for malformed inputs
/proc/net/tcp- pcap parsing
- live monitoring
- raw sockets or packet sockets
- network namespaces
ip monitor
- The snapshot schema remains intentionally small and currently centers on
sockets,interfaces,addresses, andneighbors interfaces[].statsis only populated whenip -s -s link showinput is provided- The current diff report is meant for state comparison, not traffic inspection or packet forensics