CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m55s
CI / Check (pull_request) Successful in 19m30s
The graph registry read source files with read_to_string and skipped any
that were not UTF-8, so Visual Studio's UTF-16 files and older .NET/PLC
tools' Windows-1252 files never reached the graph, in every language. A
UTF-8 BOM was kept as a leading U+FEFF.
- compliance_graph::encoding::read_source: a BOM (UTF-8, UTF-16 LE/BE)
names the encoding and is dropped; otherwise UTF-8, else Windows-1252
(encoding_rs, already in the lock). Malformed UTF-16, a NUL in non-UTF-8
bytes (a binary) and I/O errors are errors.
- The registry counts the files it still can't read, warns once per build
(paths at debug only) and the tree build stores the count on the build
run (unreadable_file_count, serde default for older runs).
- GET /api/v1/graph/{id}/summary returns unreadable_files; the target
page's Codegraph card shows "N Dateien nicht lesbar" / "N files
unreadable" when it is above 0.
- The same decoder where a file is read again or in the same stage: graph
chunking, the graph's file view, PLC read_tree and native_projects,
.NET read_text (replaces its own BOM code), finding snippets
(source_text), embedded header versions, LLM and control triage context.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[workspace]
|
|
members = [
|
|
"compliance-core",
|
|
"compliance-agent",
|
|
"compliance-dashboard",
|
|
"compliance-graph",
|
|
"compliance-dast",
|
|
"compliance-mcp",
|
|
"compliance-smoke",
|
|
"werkbank-exec",
|
|
"control-map",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
|
|
[workspace.dependencies]
|
|
compliance-core = { path = "compliance-core", default-features = false }
|
|
control-map = { path = "control-map" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
mongodb = { version = "3", features = ["rustls-tls", "compat-3-0-0"] }
|
|
reqwest = { version = "0.12", features = ["json", "rustls-tls", "multipart", "cookies", "stream"], default-features = false }
|
|
thiserror = "2"
|
|
# Source files in UTF-16 or Windows-1252 (code graph, PLC, .NET).
|
|
encoding_rs = "0.8"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
uuid = { version = "1", features = ["v4", "v5", "serde"] }
|
|
secrecy = { version = "0.10", features = ["serde"] }
|
|
regex = "1"
|
|
zip = { version = "9", features = ["aes-crypto", "deflate"] }
|
|
# Uploaded tar and tar.gz source archives (ingest).
|
|
tar = "0.4"
|
|
flate2 = "1"
|
|
dashmap = "6"
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
aes-gcm = "0.10"
|
|
rand = "0.9"
|
|
base64 = "0.22"
|