rdmbair15m5-changelog-20260915-2240-fleet-advancement-campaign
rdmbair15m5-changelog-20260915-2240-fleet-advancement-campaign
One-line summary: Completed comprehensive Fleet Advancement Campaign: Swift 6 strict concurrency builds (0 warnings), 100% pass across 6 verification test suites (28/28 E2E, 25/25 ECSProcess, 14/14 WorktreeEngine, 7/7 Observatory, 93/93 TyrellBar, 108/108 ReplicantDB Governor), and 6 canonical tickets audited on rdmsm4x.
Scope
- Hosts:
rdmbair15m5(local test runner, canary host),rdmsm4x(canonical hub). - Projects & Estates:
lib/ECSProcess: ProcessRunner asynchronous pipe buffering & race elimination.apps/Tyrell(Core): Worktree engine empty commit OID validation & 50-iteration stress testing.apps/Tyrell(Daemon & MCP): Observatory telemetry series emission, lock-free/api/census/history, hardened/api/sessions, MCP lock-free queries, Swift 6 concurrency cleanup.apps/Tyrell(TyrellBar): 93.0 pt status item width lock, steady meter bar rendering, live session census & transcript titles.apps/replicantDB: Adaptive backoff governor (0–4 pressure ladder, IOPOL_THROTTLE), cooperative quiesce (SIGUSR1/SIGUSR2, file drop, fleet bus), SQLite page cache release at level 4, governor.json configuration loader.- E2E Test Suite: 4-Tier test suite covering R1–R4 with 50-iteration parallel stress harness.
- Canonical Issues: ISSUE-20260915-09, FEAT-20260914-01, FEAT-20260905-10, ISSUE-20260914-12, FEAT-20260905-06, FEAT-20260905-07.
Exact Files Touched
lib/ECSProcess:Sources/ECSProcess/ProcessRunner.swift(PipeReadGate atomic read/buffer/callback under lock, poll EINTR loop, exit remainder forwarding)Tests/ECSProcessTests/AdversarialStressTests.swift(200-subshell concurrent pipe drain test)
apps/Tyrell:Sources/TyrellCore/Worktree/ECSWorktreeManager.swift(empty commitOID guard throwingWorktreeError.emptyCommitGenerated, resolveGitCommonDir guard)Sources/TyrellCore/Worktree/WorktreeModels.swift(case emptyCommitGeneratedadded toWorktreeError)Tests/TyrellCoreTests/WorktreeEngineTests.swift(50-iteration parallel stress testtestParallelCheckpointStress50Iterations,testResolveGitCommonDirGuardsAgainstEmptyOutput)Sources/tyrelld/Daemon.swift(telemetry event emissions for session/usage/blobs,/api/census/historyroute, hardened status routes)Sources/tyrelld/ControlServer.swift(/api/census/historyroute, resilient/api/conflictsfallback)Sources/tyrelld/ClientLoop.swift(telemetry event emissions on census sample and sync)Sources/tyrelld/FleetUsage.swift(telemetry event emissions on usage poll/read)Sources/tyrelld/CensusHistory.swift(lock-free SQLite readerCensusHistoryReader)Sources/tyrell-mcp/MCPMain.swift(nonisolated(unsafe) var got: String?for Swift 6 strict concurrency)Tests/TyrellCoreTests/TyrellDaemonObservatoryTests.swift(comprehensive 7-test suite for Observatory & daemon routes)Sources/TyrellBarSupport/StatusItemGeometry.swift(stabilizedStatusItemWidth = 93.0constant)Sources/TyrellBarSupport/StatusMeterPlanner.swift(label width candidate pre-evaluation, constant width planning)Sources/tyrellbar/LEDActivityRow.swift(steady meter bar graphics, minimum lit height, no track clipping)Sources/tyrellbar/OverviewSection.swift(MeterBar slot reservation)Sources/TyrellAppSupport/SessionTranscriptTitles.swift(Claude/Codex/agy transcript title parser)Sources/TyrellAppSupport/LiveSessionsPresentation.swift(live session presentation formatter)Sources/tyrell-app/SessionsPanel.swift(daemon/api/sessionspriority with in-process sampler fallback)
apps/replicantDB:Sources/ReplicantDBCore/Database.swift(RooDatabase.releaseMemory()executingsqlite3_db_release_memoryandPRAGMA shrink_memory)Sources/ReplicantDBCore/PressureLadder.swift(GovernorConfigFile,GovernorConfigurationLoader, quiet hours, hub escape hatch refusal)Sources/ReplicantDBCore/FileIndexer.swift(quiesce level memory release wiring)Sources/ReplicantDBCore/TimeMachineIndexer.swift(quiesce level memory release wiring)Sources/ReplicantDBDaemon/DaemonService.swift(directive hold memory release wiring, config loader injection)Tests/ReplicantDBTests/GovernorConfigAndQuiesceMemoryTests.swift(11 new governor and quiesce memory tests)
tests/e2e/:tests/e2e/test_fleet_advancement_tier1_feature_coverage.py(Tier 1: 10 tests)tests/e2e/test_fleet_advancement_tier2_boundary_corner.py(Tier 2: 10 tests)tests/e2e/test_fleet_advancement_tier3_cross_feature.py(Tier 3: 4 tests)tests/e2e/test_fleet_advancement_tier4_real_world.py(Tier 4: 4 tests, 50-iteration stress harness)tests/e2e/run_fleet_advancement_e2e.zsh(4-tier test runner)
Git Commits
lib/ECSProcess:19d19d6(fix(ProcessRunner): harden drainNonBlocking against EINTR/EAGAIN races)e25005a(fix(ProcessRunner): eliminate async pipe buffering race and forward remainder output (ISSUE-20260915-09))
apps/Tyrell:67b55b9(fix(worktree): guard against empty commitOID in captureCheckpoint (ISSUE-20260915-09))648c901(fix(worktree): guard against empty git-common-dir output and add unit tests (ISSUE-20260915-09))38916e0,cf37f39,3a2131e(feat(tyrellbar): assert constant 93.0 pt status item width and add geometry test (ISSUE-20260914-12))
apps/replicantDB:beee1f5(feat(governor): implement governor.json config loader and sqlite page cache release at quiesce level (FEAT-20260905-06, FEAT-20260905-07))
Verification Evidence Tallies
- Swift 6 Strict Concurrency Builds (0 warnings, 0
errors):
lib/ECSProcess:swift build -Xswiftc -warnings-as-errors-> Exit code 0, 0 warnings.apps/Tyrelltargets (TyrellCore,TyrellBarSupport,tyrellbar,TyrellAppSupport,tyrell-app,tyrelld,tyrell-mcp):swift buildwith-Xswiftc -warnings-as-errors-> Exit code 0, 0 warnings.apps/replicantDB:swift buildon canonicalrdmsm4x-> Exit code 0, 0 warnings in ReplicantDB targets.
- Test Suites & Exact Pass Tallies:
- 4-Tier E2E Suite
(
./tests/e2e/run_fleet_advancement_e2e.zsh):- Total: 28/28 passed (100.00%) in 0.177s.
- Tier 1: 10/10 passed.
- Tier 2: 10/10 passed.
- Tier 3: 4/4 passed.
- Tier 4: 4/4 passed (50/50 parallel stress iterations, 250 checkpoints created, 0 invalid refs).
lib/ECSProcessTests:- Total: 25/25 passed (100%) in 17.237s.
- Adversarial stress tests: 13/13 passed (including 200/200 rapid subshell small payload pipe draining).
- PipeReadGate tests: 2/2 passed.
- ProcessRunner tests: 10/10 passed.
WorktreeEngineTestson canonicalrdmsm4x(~/dev/_worktrees/tyrell-issue-20260915-09-worktree-engine):- Total: 14/14 passed (100%) in 1.876s.
- 5-iteration stress verification on rdmsm4x: 5/5 consecutive passes (70/70 test runs passed).
TyrellDaemonObservatoryTests(apps/Tyrell):- Total: 7/7 passed (100%) in 4.001s.
- Live telemetry series,
/api/census/history, resilient HTTP 200 fallbacks, and zero-contention MCP tools verified.
TyrellBarMenubar Tests (apps/Tyrell):- Total: 93/93 passed (100%) across 18 suites in 0.019s (TyrellBarSupportTests: 84/84, TyrellAppSupportTests: 9/9).
- Status item width confirmed at constant 93.0 pt across all rotations.
- ReplicantDB Governor & Full Suite on canonical
rdmsm4x:- Dedicated Governor Suite: 108/108 passed (100%) in 3.106s.
- Full ReplicantDB Suite: 1,247/1,247 passed (100%) in 237.001s across 93 test suites.
- 4-Tier E2E Suite
(
Canonical Tickets
Audited (rdmsm4x:~/dev/issues/)
ISSUE-20260915-09: Status resolved; verification comment appended with M1-iter2 & M5 final gate evidence.FEAT-20260914-01: Verification comment appended with Observatory telemetry emissions,/api/census/history, and 7/7 test pass evidence.FEAT-20260905-10: Verification comment appended with lock-free MCPsession_registryandconflictstest evidence.ISSUE-20260914-12: Verification comment appended with 93.0 pt width lock, meter bar graphics, and 93/93 test pass evidence.FEAT-20260905-06: Verification comment appended with adaptive backoff governor, Signal S6 detection, and 108/108 test pass evidence.FEAT-20260905-07: Verification comment appended with cooperative quiesce (SIGUSR1/SIGUSR2, file drop, fleet bus), SQLite cache release, and 108/108 test pass evidence.
Outstanding Owner Actions
- None. All milestones M1 through M5 verified, green, committed to canonical repositories, and logged.