docs(comments): strip internal task/milestone/bundle bookkeeping from code comments
Remove project bookkeeping citations from shipped code comments across the solution: hyphenated task IDs (WP-14, StoreAndForward-025), milestone/task/ issue refs (M3, Task 4, Audit Log #23, #21), Bundle X task-bundle labels, and C/D/K/S/T phase labels. Comment text only — no code logic, string/log literals, or XML-doc structure changed. Genuine descriptions are preserved (only the citation is stripped), and technical lookalikes are retained (UTF-8, SHA-256, T00:00:00, M365, UTC-5, pre-C4/pre-C5 schema versions). Flagged by the new CommentChecker TaskReferenceInComment / TrackingReferenceInComment checks plus targeted grep passes; full solution builds clean, append-only guard tests pass.
This commit is contained in:
@@ -63,7 +63,7 @@ public static class StartupValidator
|
||||
.Require("ScadaBridge:Database:MachineDataDb",
|
||||
_ => !string.IsNullOrEmpty(configuration.GetSection("ScadaBridge:Database")["MachineDataDb"]),
|
||||
"connection string required for Central")
|
||||
// Task 1.4: the LDAP server key moved into the nested Security:Ldap
|
||||
// The LDAP server key moved into the nested Security:Ldap
|
||||
// sub-section (bound to the shared LdapOptions). Validate the nested key so
|
||||
// the pre-host preflight still fails fast on a missing LDAP server for
|
||||
// Central. The full LDAP option set (SearchBase / ServiceAccountDn /
|
||||
@@ -75,7 +75,7 @@ public static class StartupValidator
|
||||
.Require("ScadaBridge:Security:JwtSigningKey",
|
||||
_ => !string.IsNullOrEmpty(configuration.GetSection("ScadaBridge:Security")["JwtSigningKey"]),
|
||||
"required for Central")
|
||||
// Review #4 (fail-fast pepper validation): the inbound API-key pepper
|
||||
// The inbound API-key pepper
|
||||
// backs the peppered-HMAC secret compare in the shared
|
||||
// ZB.MOM.WW.Auth.ApiKeys verifier (wired by AddZbApiKeyAuth at the
|
||||
// Central composition root). A missing or too-short pepper does not
|
||||
@@ -97,13 +97,13 @@ public static class StartupValidator
|
||||
// collisions + SiteDbPath + seed-node-port loop, in the original order.
|
||||
.When(role == "Site", p =>
|
||||
{
|
||||
// Host-007 / REQ-HOST-4: GrpcPort range, then GrpcPort vs RemotingPort.
|
||||
// GrpcPort range, then GrpcPort vs RemotingPort.
|
||||
p.Require("ScadaBridge:Node:GrpcPort", _ => grpcValid, "must be 1-65535");
|
||||
// Identical GrpcPort/RemotingPort make Kestrel and Akka.Remote contend
|
||||
// for the same TCP port. Uses the resolved GrpcPort, including 8083.
|
||||
p.Require("ScadaBridge:Node:GrpcPort", _ => port != grpcPort, "must differ from RemotingPort");
|
||||
|
||||
// Host-007 / REQ-HOST-4: MetricsPort range, then MetricsPort vs both ports.
|
||||
// MetricsPort range, then MetricsPort vs both ports.
|
||||
p.Require("ScadaBridge:Node:MetricsPort", _ => metricsValid, "must be 1-65535");
|
||||
// The Kestrel metrics (HTTP/1.1) listener port must differ from BOTH the
|
||||
// Akka remoting port and the gRPC port. Uses the resolved MetricsPort (8084 default).
|
||||
@@ -114,7 +114,7 @@ public static class StartupValidator
|
||||
_ => !string.IsNullOrEmpty(configuration.GetSection("ScadaBridge:Database")["SiteDbPath"]),
|
||||
"required for Site nodes");
|
||||
|
||||
// Host-004: a seed node must reference an Akka.Remote endpoint, never the
|
||||
// A seed node must reference an Akka.Remote endpoint, never the
|
||||
// Kestrel HTTP/2 gRPC port. A seed entry whose port equals this node's
|
||||
// GrpcPort would make a joining node attempt an Akka.Remote TCP
|
||||
// association against the gRPC listener and fail.
|
||||
|
||||
Reference in New Issue
Block a user