Phase 2a: read-only scan/classification and process observation (verified against live repack)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-09-30 07:01:44 +05:00
1 parent c39ff556a3
commit e1b8267022
7 files changed
+865 -9

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
use std::path::Path;
fn main() {
let path = std::env::args().nth(1).expect("usage: scan <server folder>");
let root = Path::new(&path);
let report = coa_core::layout::scan(root).expect("scan failed");
println!("{}", serde_json::to_string_pretty(&report).unwrap());
let observed = coa_core::process::observe(root, &report.ports);
println!("{}", serde_json::to_string_pretty(&observed).unwrap());
}