Architecture remediation: P2 tier (completeness & polish) #122
Reference in New Issue
Block a user
Delete Branch "fix/archreview-p2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Architecture remediation — P2 tier (completeness & polish). Third and final tier of the 2026-07-08 architecture review, stacked on the merged P0 (#120) and P1 (#121). Base
main@69ea793.Result: 35 of 38 P2 findings Done
Every change lands its fix and the affected docs in the same commit, with the
archreview/remediation/00-tracking.mdStatus column kept in lockstep. Verified per toolchain: .NET / Go / Rust / Python / Java client suites green; gateway fake-worker + reconnect e2e tests green on macOS (TMPDIR=/tmp); worker hot-path windev-verified.Session-resilience / client-parity epic (this closes Phase 3)
ReplayGapreconnect sentinel as a typed, non-terminal signal (.NETMxEventStreamItem, GoEventResult.ReplayGap, RustEventItem::ReplayGap, PythonReplayGapdataclass, JavaMxEventStreamItem). Never synthesized, never swallowed.AdviseSupervisory,WriteSecured/WriteSecured2,AuthenticateUser,ArchestrAUserToId,AddBufferedItem,SetBufferedUpdateInterval,Suspend,Activate). Same MXAccess-level reply validation as the bulk helpers; MXAccess parity preserved (WriteSecured-before-authenticate surfaces the native failure). Credentials route through each client's secret-redaction seam — tests assert they never reach logs/exceptions/ToString/Debug. New CLI subcommands take credentials via flag/env, never echoed.unregistertyped helper for Rust + .NET.GatewayEndToEndReconnectReplayTests: no-gap tail replay + stale-cursorReplayGapsentinel) plus the client consumers above.Gateway + worker hot-path
Stopwatch.GetTimestamp, dropped defensive event clones), pooled + coalesced worker pipe frame I/O, replay ringLinkedList→ circular array, per-scrape queue-depth gauge.MXSTATUS_PROXYfield reflection, removed enqueue clone (with value-cache snapshot), coalesced the worker frame flush across a drained batch. windev-verified (x86 Worker + Worker.Tests).Security / dashboard
__Host-cookie prefix only when the cookie is Secure (else the plain name).ShowTagValuesis off (default); value-log doc trimmed to "not yet implemented".Docs currency + versioning
Directory.Build.props.Deferred (tracked, not dropped)
TODO(per-session-acl)stays.*-docs-*.mdworking files (owner action; zero repo impact).Full Finding / Impact / Design / Verification for every ID lives in
archreview/remediation/*.md.https://claude.ai/code/session_01DMXXvNuPekkkrTEyPNxEkW
Pull request closed