Phase 6.1 Stream B (partial) - Tier registry invariant + MemoryTracking with hybrid formula #79
Reference in New Issue
Block a user
Delete Branch "phase-6-1-stream-b-stability"
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?
Lands Stream B.1 + B.2 of Phase 6.1. MemoryRecycle (B.3), ScheduledRecycleScheduler (B.4), WedgeDetector (B.5) follow in subsequent commits on this branch.
Summary
DriverTypeMetadatagains a requiredDriverTierfield. Every registered driver type must declare its tier so MemoryTracking, resilience policies, and the upcoming MemoryRecycle/WedgeDetector resolve the right defaults. Compliance check "every driver type has a non-null Tier" is now structurally impossible to fail.Core.Stability.MemoryTrackingper decision #146: captures post-init baseline as median of 5-min warmup samples, then classifies againstsoft = max(multiplier × baseline, baseline + floor)withhard = 2 × soft. Per-tier constants: A mult=3 floor=50 MB, B mult=3 floor=100 MB, C mult=2 floor=500 MB. Never kills — HardBreach just returns a signal; the process-level recycle action is Tier C only and lives in the separate MemoryRecycle (decisions #74, #145).Test plan
dotnet test: 963 passing (baseline 906, +57 net across Phase 6.1 so far).🤖 Generated with Claude Code