mbproxy: strip historical phase/wave/plan references from source comments
Comments described the *history* of how the code arrived (phase numbers, wave IDs, review IDs, dated TODOs) instead of what it does today. That scaffolding rotted as the codebase evolved. Cleaned 60 source files + .gitignore; behaviour unchanged (387/387 tests still pass). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,8 +10,8 @@ namespace Mbproxy.Tests.Bcd;
|
||||
/// NOTE on allocation profile:
|
||||
/// BcdCodec is a purely static class operating on value types (ushort, int, tuples).
|
||||
/// It allocates only when constructing exception objects (the error path), never on
|
||||
/// the success path. TryGet / hot-path decode callers in Phase 04 will be
|
||||
/// allocation-free for valid BCD registers.
|
||||
/// the success path. TryGet / hot-path decode callers are allocation-free for valid
|
||||
/// BCD registers.
|
||||
/// </summary>
|
||||
[Trait("Category", "Unit")]
|
||||
public sealed class BcdCodecTests
|
||||
@@ -45,8 +45,8 @@ public sealed class BcdCodecTests
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Phase 12 (W3 test gap #11) — locks the boundary contract for the `(uint)value > Max16`
|
||||
/// range check. `int.MinValue` cast to `uint` becomes `0x80000000`, which is well above
|
||||
/// Locks the boundary contract for the `(uint)value > Max16` range check.
|
||||
/// `int.MinValue` cast to `uint` becomes `0x80000000`, which is well above
|
||||
/// `Max16` (= 9999), so the throw fires cleanly without arithmetic surprise. Prevents
|
||||
/// regressions if the bounds check is ever rewritten with a two-sided int comparison
|
||||
/// that would underflow on extreme negatives.
|
||||
|
||||
Reference in New Issue
Block a user