Repository navigation
Development arc units 1-46: reliability, demand-driven telemetry, lazy lifecycle, Discord dynamic component, alert/bottleneck removal, PR-audit remediation (BREAKING config) - #1
Conversation
Q-1a partial conversion accepted: the 15 ms device window at mod.rs:683 sits inside the production range, so no 2 s bound applies. Q-4 (unreturning_owner load sensitivity) queued as WO-QA-04; Q-3 (hang.rs real-time bound) stays manager-scope.
Driven via the QA-02 announce/block/release-after-assertions pattern; 1 ms bound byte-kept; audit R2 theorem: no reply can land during the timed call in any interleaving. Count parity 529/0/11.
F-b: TC-4 token carried into the provider health record and drawn under strict precedence RC-5 > N DOWN > token > OK; zero deletions, goldens unmoved, hang.rs untouched; audit T6: visible prefix probe-i... collision-free, full token in record + log.
WO-QA-05: replace the 30 ms wall-clock span in the alloc-window load test with a self-measured actor witness; asserts (a)/(b) verbatim, (c) predicate verbatim + additive witness. Audit A2: provability chain re-derived (Relaxed bump -> SeqCst publish, N=12, polluters never cohort). C3 clippy fix: iterator-form loop. Test region only; QA-01 infra 7E26A6CC byte-identical.
F-4: INSTRUCTION-MANUAL gains the probe-indeterminate entry (count meaning, precedence, per-slot truncation probe-.../probe-i...) and the agreed terminal-mark sentence verbatim; EC-8-pattern machine pins in telemetry test region. Audit D2 refuted 2/13 overstatements (no-target claim; blanket probe-i... label); remediation landed per prescription with lockstep pins, refuted substrings absent. Suite 534/0/11; terminal-mark paragraph byte-identical.
WO-F3-NET: the EC-8 audit's proven gap (post-probe re-check L263-276; deletion gave full-suite exit 0) is now loop-driven covered by 3 mid-probe scenarios (generation bump, policy-content flip, disable) via synthetic channel-handshake probes. Seam = single additive probe fn-pointer param, production spawn call-identical; seam-removal fails compile. Audit P-a reproduction: same deletion -> 534 passed; 3 failed; 11 ignored. !active() disjunct ruled defensively redundant (F-A register). EC-8 network row cites shifted +1.
WO-TEL-B R2: loop-local generation trackers + conditional last_attempt clears at the four sampling loops (8 semantic additions, after the generation read, before the cadence gate; network-worker equivalence). Verified structurally per the superseded contract: audit T2 24/24 site checks; honesty gate T3: no hardware-free production-sensitive behavioral test exists (real-thread paths do live provider I/O; hardware-free content effects are idempotent) - behavioral coverage NOT passed, registered as WO-TEL-C seam candidate (4 injected samplers; not added). Auditor-deleted telemetry.rs restored byte-exact (DA1F325C; canonical 430ff71f re-verified at exit). Suite 538/0/11 incl. structural include_str! pin; ARCHITECTURE lockstep.
Drop the old vector on decoded leave or nonempty, different channel ID. Keep same-ID and current malformed-empty-ID reuse and preserve tracker membership, order and flags. This is not an active-roster cap. Independent GO on 98f54dbebf7f4ce9f4adcde2ebf284e078c5a268. Baseline and integrated clear-only mutation failed the intended capacity assertion; restored control and all 15 Windows gates passed. Staged 1024-member vector retention falls 81920 to 320 B on a two-member handoff, and to zero on leave. Repeated-switch CPU +2.17%, repeated leave +1.11%; steady same-ID inconclusive. No whole-app CPU or RAM claim.
|
Unit 65 (WO-OPT15 / O10 roster-boundary release) is on this PR. Independent GO on
|
Use caller-owned graph bins and traverse the occupied ring in chronological order. Preserve exact elapsed windows, gaps, equal timestamps, rollback behavior, and existing graph geometry. Independent GO for FINAL2 16a4b1fed5d513f327e46b62895c50a4175e6658. Baseline and actual old-path mutation reproduce four extra dual-disk allocations; exact restored control passes. Staged pixel digest matches c0d9082394103fb4. Equal-work graph helpers CPU -35.00% with 23 valid pairs; offline only. All 18 Windows gates pass, 750 distinct release and both original Test.ps1 -ReleaseOnly runs 754 distinct each.
|
Unit 66 (WO-OPT11 / O9 graph history) is on this PR. Independent GO on
|
Apply the existing fixed-width formula once and select the fitting UTF-8 scalar boundary. Keep the existing exact-fit, narrow-width and ASCII ellipsis behavior. Independent GO on c08d92daedd8ec039e1f339ebf8d87b7b389c48f. Release baseline and rebuilt mutation reproduce 1,136 vs 1 clipped allocations; byte-exact restored control passes. Short label timing is inconclusive; long fixture wall is lower but fast CPU is below two ticks. All 18 isolated Windows gates passed with 751 distinct locked release tests and both original release-only runs 755 distinct.
|
Unit 67 (
|
Borrow the checked 992-byte report from the compared key and retain the same allocation only after the existing guarded device write succeeds. Keep wire equality, raw frame progress, replay, close/refusal and SDK behavior unchanged. Independent GO on 1d20e2565709b6c2c02aaa5fe989543203f92dec. Exact old and rebuilt mutant pack counts 2/1/2; candidate 1/1/1 with identical two full reports and ordered acknowledgments. Offline equal-work CPU -39.58% over 12 pairs, requests 5 to 3 per group. All 18 Windows gates pass, 752 distinct locked release and 756 in each unchanged release-only run.
|
Unit 68 (WO-OPT18 / O9 HID report reuse) is on this PR. Independent GO on exact
|
Copy the normalized key into the existing reusable session buffer, never lend the worker key to an owner. Keep the owned request/reply lifecycle, refusal, timeout and quarantine behavior unchanged. Independent GO on a8fa54ffa45ccc11b18fe8f002021d3b9c589b99. Actual old-path mutation reproduces one extra 6880-byte key allocation per warm changed write; exact restored control passes with identical bytes and owner payload pointer. Matched offline CPU -41.37% and -17.88% in two shapes, 12 pairs each. All 21 Windows gates green, 753 distinct locked release passes and both original release-only runs 757 each.
|
Unit 69 (WO-OPT19 / O9 SDK compared-key reuse) is on this PR. Independent GO on
|
Preserve stable score-and-ID order and avoid scoring zero or one eligible row. Keep explicit override, vendor fallback, and exact sensor validation behavior unchanged. Independent scoped GO on 87e31796a5a871bdbd8886f4b7d9768bfe29422f. Old-sort RED 384 vs 97 scores; restored V2 passes. Staged paired CPU -2.89% singleton, -92.28% many selection, -48.75% many ingest; zero inconclusive. Original 20/21 gates and first plain retry hit unexplained PresentMon test teardown; fixed exact original-command pair passed parent/candidate (753/756 distinct). Original release-only runs 760 each; final integrated acceptance must disclose both reds and any recurrence.
|
Unit 70 (WO-OPT14 / O11 LHM selection) is on this PR. Independent scoped GO on
|
Decode from the checked initialized aligned buffer inside each table read. Preserve established counts, the IPv4/IPv6 read order and error priority, and successful sample timestamps. Independent GO on 3b0be258dd2b2254d9929d73a391fc72398cff3f. Old RED and rebuilt mutation 4 versus 2 allocations; exact restoration and control pass. Matched injected-fill CPU -37.76%, -32.27%, -48.04% for 0, 32, 4096 rows per family. All 21 original Windows gates green, 757 distinct workspace and two original release-only runs 761 each. No Unit 70 gate exception carried forward.
|
Unit 71 (WO-OPT22 / O11 TCP table copies) is on this PR. Independent GO on
|
Remove the monotonic read that the drain would overwrite on every accepted row. Retain wall time, the batch observation clock, existing error ordering and partial progress. Independent GO on 0151c1b8ae2d0955914b7f380629f4e466b3b9ca. Exact accepted-row oracle two old sampled clocks vs zero, rebuilt mutation and byte-exact restored control. Strict offline 7237-row digest parity, parser/batch CPU -2.89% and -3.43% (12 paired runs per size). All 21 original Windows legs passed, 758 distinct workspace and each original release-only 762. Historical Unit 70 fixture failures did not recur; no exception carried.
|
Unit 72 (WO-OPT20 / O6 discarded PresentMon clock) is on this PR. Independent GO on
|
Validate and update the cached activity through one mutable lookup. Own a copy only on invalid mapping removal, preserving fresh identity checks, PID reuse and candidate policy. Independent GO on 5b679d97e87839fe92156f8c56d0f1812f6340c7. Actual old method and mutation fail only on 5 vs 3 warm allocations; exact restored control passes. Matched synthetic warm-hit CPU -36.35% and -41.73%, 12 pairs each. All 21 original Windows checks, 759 distinct workspace and each original release-only 763, no historical exception.
|
Unit 73 (WO-OPT25 / O6 cached PresentMon activity key) is on this PR. Independent GO on
|
Keep ordered indices for known aliases while preserving duplicate resolution, short-row fallback, and present empty cells. Leave the complete quote validation and frame data path unchanged. Independent GO on bcee5240b72d33731aef50c44c08ab7aa3d5dc8e. Exact old lookup and rebuilt mutation fail only on 29 vs 0 probes; restored control passes. Pinned 7237 accepted rows and digest unchanged, staged CPU -21.96% (12 pairs) and requests unchanged. All 21 original Windows checks, 760 distinct workspace and 764 each release-only. Non-blocking pinned-fixture doc placement to follow separately.
|
Unit 75 (WO-OPT26 / O6 compiled PresentMon CSV columns) is on this PR. Independent GO on
|
Use the admitted header width as a capped allocation hint, not an input field limit. Keep full line and quote validation, aliases, and all existing timestamps/error handling. Restore the pinned fixture comment alongside its constants. Independent GO on c17d3335e96fd757d01494ee3fe694346abe0ea6. Actual old row-growth and rebuilt mutation fail only on 5 vs 2 allocator operations; restored exact control passes. Matched parser CPU -17.54% captured and -19.26% ten-field with equal results, fewer reallocations and unchanged measured peak requested bytes. All 21 original checks, 761 distinct workspace and 765 each unchanged release-only, no historical exception.
|
Unit 76 (WO-OPT27 / O6 PresentMon row capacity) is on this PR. Independent GO on
|
Select s over z after a controlled z/s/2/3 comparison. It is the smallest tested profile that improves all eight staged workloads. Keep LTO, codegen units, panic, strip and dependency inputs unchanged. Independent scoped GO on 088f11f8d96ebfcc7ea96590a79d883c92ad9467. Shipping EXE+DLL +205824 bytes (+17.22%); staged CPU -43.55% to -47.69% PresentMon, -35.95% to -41.90% renderer, -16.87% Discord. All 21 original Windows gates (761 distinct workspace and 765 each release-only), unchanged protections. Final committed-head reproducibility and integrated audit remain separate.
|
Unit 77 (WO-OPT17 / O12 release profile) is on this PR. Independent scoped GO on
|
|
Independent OPT-13 offline gates: PASS on
Remaining: The integrated review found repeat policy construction on otherwise disabled worker wakes (O1); this is an actionable offline gap, not a failing gate. O5's demonstrated protected-title ranking divergence still needs a policy ruling. O10 has an unconfirmed runtime edge from a pre-existing source-traced account-reset error-discard path and no approved roster admission policy. Whole-app sustained CPU on the 9950X3D, non-gaming resident private working set, real PresentMon freshness/cleanup, write-time ownership/recovery, and physical UI/panel behavior were not verified. Module and profile timings do not establish those targets, packaging smoke, or deployment readiness. No merge requested. |
Borrow unchanged disabled policy fields between generation reads, retaining same-generation content edits and all active/in-flight checks. Do not change timed parks, reset publication, or shutdown. Scoped independent GO on 01a197f9d6872a74ba48da03c8a1932e2b8dc057. Real worker old RED and rebuilt mutation [1,1,1] vs [0,0,0] full clones; exact restored control passes. Separate check meter 3968 to zero allocator operations per 64 checks. All 21 original Windows and three focused network legs pass; 762 distinct workspace and 766 per unchanged release-only. Prior integrated PASS remains scoped to parent.
|
Unit 78 (O1 disabled network request dormancy) is on this PR. The independent reviewer approved exact
The previously independent integrated PASS applies to |
Reuse the settled disabled state only after processing a nonzero configuration generation. Preserve the original park, transition publication, uncached generation-zero behavior and active or mid-cycle work. Scoped independent GO on 8236e1ec3a6dfa91f10fb91c79e6a181c391ff92; rebuilt old path RED and byte-restored control GREEN. All 21 original Windows and three focused Hang legs pass. The staged check meter reports 384 to zero allocations per 64 checks, not whole-app CPU.
|
Unit 79 (O1 disabled Hang policy) is on this PR. Independent offline audit approved exact freeze
PR readiness remains HOLD. The newer head needs its own integrated gates, reproducibility and audit after follow-up work. No live provider test, deployment or merge. |
December 2: Windows x64 test candidateLocal candidate:
The local unsigned 0.3.0 test installer (SHA-256 Focused release checks passed: 123 backend and 21 parser tests, with one existing ignore. Rebuilding with the old visible-window restriction restored reproduced the reconnect failure; the byte-exact restored control passed. The packaged executable accepted the existing test-machine profile without changing its bytes. Runtime review blockers:
The remaining freshness-only publication and parked-GPU queue cases are lower-priority audit findings, not closed by this candidate. Installer and compatibility review blockers:
Use this test setup on disposable Windows. The installer findings are from source review and were not exercised against the user's installation. Full qualification is separate: exact-head repeated software gates, reproducible release artifacts, disposable Windows installation lifecycle, physical G13 recovery and controls, and current-build performance evidence. The earlier CPU and private working-set measurements apply to the builds recorded in their receipts. This is not a 1.0 release or a request to merge. |
Summary
Full accepted development arc from the reviewed baseline
0a02f53tod7ceedb(56 commits): units 1–42, the integration-gap remediation941faf6, review units 43–45c, and the unit 46 lane (10 commits42132a7..d7ceedb) that resolves this PR's outstanding review findings plus a 20-finding whole-repository audit. Every unit is audit-gated: implementer → canonical diff-blob freeze → fresh independent REAudit → manager verification → commit.Units 1–42 (historical, unchanged): reliability cause-naming + self-heal + reconnect termination + recovery journal; demand-driven telemetry (measured CPU-s/min 14.84 → 13.02 overall, idle 13.19 → 11.73); lazy lifecycle with core-always CPU/GPU/RAM/VRAM (+9.6% idle disclosed); Discord as a true dynamic component (
lcdsirplus_discord.dll, 10-function C ABI, exe shedswinhttp28→27); test determinism; and the unit-42 BREAKING removal of the entire non-hang alert/bottleneck subsystem (PROC_HANGremains the only attention-demanding feature, guards audited unweakened).Unit 46 lane (this push,
42132a7..d7ceedb)PR-review findings + ponytail audit dispositions, each applicability-confirmed with pre-fix red regressions recorded on disk:
1bb38bf(46a) — SDK owner bookkeeping bound to owner generations (claim =AtomicU64slot, CAS claim/release, identity-bound retire: a returning old owner can no longer steal a newer owner's window, census entry, or active-claim; circuit closes only on a health-publishing round-trip from the current generation — close-only replies never close); detached-owner bound 8, justified from the live thread/handle shape.ca35f93(46b) — SDK circuit recovery gated on the configured backend mode; explicithidcan never receive an SDK device (16-cell table-driven matrix: modes × circuit × LCore).6b9b268(46c) — a pending, reachable PresentMon-backed dynamic fallback now demands collection: thePROC_HANG FPS_CURRENT GPU_TEMPfall-through case can no longer park PresentMon forever. Demand releases when no consumer requires it; stock-default demand word unchanged (auditor byte-comparison).ed4289c(46d) — corrupt-component error-mode suppression made thread-scoped (SetThreadErrorMode+ out-param restore on every return path). Measured host probe showed the oldSetErrorModeraised the process-wide view — a real scope narrowing; the classification/publish/log_warnrecord block is byte-identical (dialog suppression per the standing recording rule; dialogs remain recorded in diagnostics).12ff06d(46f) — four regression tests pinning Discord backoff session semantics (see thread dispositions: the defect was already fixed in-lane at941faf6; these tests prove the pins bite via transcribed pre-fix-shape reds).416d8ac(46g) — recovery-wedge closure: a timed-out SDK call that returns an error self-retires; recovery authorization is now episode-scoped, so the (circuit-open, quarantined, empty-window) state self-heals at the grown gap instead of blocking every backend until restart; the detached-owner bound is now process-wide (episode recovery no longer erases accounting for still-live owners); explicithidis no longer blocked by the SDK-scoped circuit (normal arbitration + LCoreOwnerConflictpreserved);validate_peuses checked arithmetic (corrupt vendor DLL ⇒ descriptive error, no panic-abort); backend-thread spawn failure is a published named outcome, not a panic.72ea2ba(46h) — startup cadence without clock arithmetic (explicit initial-due; first collection/render stay immediate); reload-rejection log dedup (identity-based, repair detection preserved, suppression resets on success); config watcher TOCTOU closed (detection-time snapshot installed) with a metadata fast path + bounded 16-sweep content recheck (documented latency); joined-value caps at the real 4,096-byte rule;--discord-clear-tokenmade config-independent. Duplicate slot modules: ruled no-defect (observably identical to a single-module list; uniqueness contract isPROC_HANG-only; rejection would break legal configs for zero benefit).d749c44(46i) — PresentMon Authenticode verification bounded (one outstanding verifier thread per provider; timeouts fail closed and are counted; no thread stranding; no latch lockout) and PresentMon joined the coordinator freshness contract (stall ⇒ FPS visibly stale ⇒ unavailable; stamp advances only on accepted current-generation data); ETW session cleanup runs even when the child-stop path times out; parked GPU loops republish explicit unavailable rows after config applies; Discord component timestamps use checkedSystemTimearithmetic (overflow ⇒ no timestamp, lifecycle verified); Discord worker-spawn failure published as a retryable unavailable outcome.1028847(46j) — dead surface removed (CPU_CACHE_TEMP/CPU_FREQ_TEMPmodules,headset_estimate_hourskey — with stated compatibility consequences: previously-legal configs naming them are now rejected); blanket dead-code allowances retired under a compiler census (dead rows 0); PresentMon signer pinned by thumbprint derived from the tracked artifact; docs/inventories reconciled (module inventory 52→50).d7ceedb(46k) — the registeredsdktest contention-flake family eliminated test-region only: the primary failure was a self-poisoning assert (read inside the assertion, panic poisons the shared mutex ⇒ 13-row cascade); fix = snapshot-under-guard, assert-after-drop. Production slice byte-identical; assertion counts and message-literal multisets verified equal (nothing weakened).Config migration (breaking)
Retired keys (17, unit 42) as below, plus
headset_estimate_hours(was parsed/validated/ignored since it had no consumer) and retired modulesCPU_CACHE_TEMP,CPU_FREQ_TEMP(no producer existed; they could never display). Old configs naming them are rejected with precise diagnostics (--validate-configexits 2; hot reload keeps last-valid). The tracked template is migrated: 50 modules / 105 parser keys / 79 template keys; default slot 3 =THERMALS POWER_LIMIT. Compatibility note: the watcher now records detection-time snapshots (a save landing mid-reload is applied on the next cycle, never recorded-as-applied unparsed).Build layout
Unchanged:
LCDSirPlus.exewithlcdsirplus_discord.dllbeside it; use--workspace. Package payload verified: the DLL is in the portable tree (Build.ps1:195), installer staging +LCDSirPlus.iss[Files](:213/:92), reproducible-build byte-equality + export (Test-ReproducibleBuild.ps1:247-251/:288/:318), and asserted byPackage-Test.ps1inventories + paired-hash proof (:528/:545/:1515/:1522-1530) — entered at941faf6.Tests & quality (current validation at
d7ceedb)cargo fmt --all -- --check0;cargo clippy --workspace --all-targets [--release] --locked -j 1 -- -D warnings0/0;cargo test --workspace --release --locked -j 1green;scripts\Test.ps1 -ReleaseOnlyEXIT=0 (incl. documentation/fmt/clippy/suite sections).Test.ps1(lifecycle smoke + hardware transport; briefly drives the physical panel) is a consented step on this machine and has not been run at this head — deliberately not claimed.d7ceedb.Known limits (stated honestly)
hang.rszero hunks).Deployment state
The live instance on the development machine runs the pre-46 fallback build (exe 992,768 B
DE9B9DEE…, pid 31292, 0 [ERROR] across soak) — the unit-46 content is not deployed; deploy/swap is an owner decision. Candidate pair ford7ceedbbuilt in isolation and hash-recorded:LCDSirPlus.exe1,010,176 B6637006E1465AE14…644CC+lcdsirplus_discord.dll190,464 B4AD54B90190EC3AF…F0BA(artifacts/phase3/builds/u46-final-target/release). Merge, master updates, and installation remain owner decisions.