Repository navigation
nodeos: NODEOS-001-LAB observability layer, tty1 console and evidence bundle - #4
Merged
Merged
Conversation
… bundle - Add POSIX-sh/ANSI tty1 lab console (nodeos-console) with hardware, fabric link, gate status, and interactive key actions - Add fine-grained 9-stage state machine and reason codes (BOOTING -> NODE_READY) in nodeos-agent & nodeos-lib.sh - Add PCIe link telemetry (current/max gen & width, downtrain detection, best-observed tracking) and hardware metrics - Add direct-LAN network gate (nodeos-netgate) measuring link, ICMP ping, RTT, packet loss, and iperf3 throughput - Add key-only SSH listener (S55nodeos-ssh) for direct-LAN remote debugging - Add automated hash-sealed evidence bundle generator (nodeos-evidence) and host verification tool (tools/verify-evidence.py) - Add 50 unit tests covering lab state machine, telemetry, network gate, evidence roundtrips, and console rendering
added 8 commits
October 7, 2026 21:26
…strict evidence verification, PCIe link pair tracking, and compact TUI
…coring & compact console - P0 Host Evidence Transfer: strict LASTEXITCODE checks, isolated timestamped subdirectories, explicit TCP listener check for iperf3, Remote Evidence ID binding, clean stdout/stderr separation. - P0 Host Verifier: safe JSON parsing without unhandled tracebacks, expected profile CLI parameters (--expected-cc, --expected-profile) with local KNOWN_PROFILES mapping, regex/parser validation for PCI BDF, PCIe source, IPv4 interface, GPU UUID, and network cross-file consistency. - P1 PCIe Scoring: replaced Gen*Width heuristic with theoretical per-lane MB/s capacity table (Gen1=250, Gen2=500, Gen3=985, Gen4=1969, Gen5=3938) multiplied by lane count, with tie-break favoring higher generation; non-numeric string validation for pcie-best.env. - P1 iperf & SSH: listener address/port validation with timeout, known_hosts pinning support, and strict host key checks. - P1 Compact Console: top-level sourcing guard for testability, max 22 lines / 80 cols compact view, explicit 'waiting for nodeos-agent' fallback when status.env missing. - Gate preservation: fail-closed ready logic requiring STATE=NODE_READY & VERDICT=PASS.
- Replace Start-Process with native execution in dell-directlan-host.ps1 to fix InvokeMethodOnNull exceptions and guarantee $LASTEXITCODE. - Enforce strict 64-char regex matching and exactly 1 exported Evidence ID. - Migrate Python test mocks from batch scripts to robust inline sys.executable wrappers to prevent False Positives. - Secure verify-evidence.py tar extraction against path traversal and filter data strictly for Python 3.12+. - Implement explicit jsonschema validation for manifest, capability, and gate-report in verify-evidence.py. - Harden PCIe Best-Observed scoring by adding a counterexample test case.
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.
Summary
This PR implements the NODEOS-001-LAB pre-boot observability, telemetry, and evidence verification layer for the Haswell GTX 1070 Ti compute appliance.
Included Ergänzungen / Features:
NodeOS Lab Console (
odeos-console on ty1):
Fine-Grained State Machine & Reason Codes:
Hardware & PCIe Telemetry:
Direct-LAN Network Gate (
odeos-netgate):
Key-Only SSH over Direct-LAN (\S55nodeos-ssh):
Reproducible Evidence Bundle & Host Verifier (
odeos-evidence):
odeos-evidence-export\ generates
odeos-evidence-.tar.
Test Coverage & Contracts:
ode-capability-v1,
odeos-gate-report-v1,
odeos-evidence-manifest-v1.