Fleet changelogs · dev.ecs0.net
rdmsm4x-changelog-20260904-0115-fleet-issue-triage-and-remediation

rdmsm4x-changelog-20260904-0115-fleet-issue-triage-and-remediation

Autonomous fleet-wide issue triage, bug remediation, build contract verification, and ticket resolution across ReplicantDB, issueRoo/ticket-mcp, Tyrell, and dev.ecs0.net wiki with 100% pass rate across the full 72-test E2E regression suite.

Scope

Summary of Remediated Items & Milestones

1. ReplicantDB Modularization, Codesign & Build Contract (ISSUE-20260831-16)

2. issueRoo / ticket-mcp & CLI Revisions (ISSUE-20260830-40, ISSUE-20260830-41, REV-20260830-04, REV-20260830-03)

3. Tyrell In-Progress Items, Test Suite & Remediation (ISSUE-20260902-19, FEAT-20260902-33, FEAT-20260831-03, Commit 418aa21)

4. Ticket HTML Index & Dashboard Regeneration

5. Fleet Remediation E2E Regression Suite (72/72 Passed)


Exact Files Touched

  1. ReplicantDB (/Users/richh/dev/apps/replicantDB):
    • Package.swift: Removed target dependency cycle for explicit module builds.
    • Sources/ReplicantDBCore/: Extracted core domain models.
    • Sources/ReplicantDBDaemon/DaemonMode.swift: Extracted daemon options and CLI modes.
    • Sources/replicantDB/DaemonMode.swift: Retained entrypoint line-buffering and dispatchMain.
    • Sources/ReplicantDBCore/LANPeerDiscoveryService.swift: Fixed listener readiness race by setting stateUpdateHandler prior to listener start, adding immediate .ready checking, retry logic on port binding, and expanded timeouts to 25.0s/20.0s (commit 24ab6c3).
    • Tests/ReplicantDBTests/LANPeerDiscoveryTests.swift: Expanded timeouts for testConcurrentRequestsOverSingleConnection.
    • Tests/ReplicantDBTests/LANPeerDiscoveryStressTests.swift: Paced port cycling.
    • build.sh: Expanded constvalues search path for app intents processor.
    • dist/ReplicantDB.app, dist/replicantdb-cli, dist/replicantdb-mcp: Compiled universal2 binaries.
  2. issueRoo / ticket-mcp (/Users/richh/dev/issues):
    • bin/ticket-mcp: JSON-RPC 2.0 ID echo, error handling, batch rejection, empty query support.
    • bin/ticket: Deduplicated choices taxonomy, comment normalization on show, stripped CDN tags.
    • open/ & resolved/: Reorganized ticket markdown files (ISSUE-20260831-16, ISSUE-20260830-40, ISSUE-20260830-41, REV-20260830-04, REV-20260830-03, ISSUE-20260902-19, FEAT-20260902-33, FEAT-20260831-03).
    • index.sqlite: Reindexed 653 fleet tickets.
  3. Tyrell (/Users/richh/dev/apps/Tyrell):
    • Sources/TyrellCore/ChatRouting.swift: Global routing ladder and ticket chip models.
    • Tests/TyrellCoreTests/ChatRoutingTests.swift: 23 routing tests.
    • /Applications/Tyrell.app/Contents/MacOS/tyrellbar: Universal2 menu-bar launcher.
    • Tests/TyrellCoreTests/M2_Orch7_Challenger1_EmpiricalTests.swift: Restored testStandardAndConsoleHelpAreFreeOfEscapeCodes (commit 418aa21).
    • Tests/TyrellCoreTests/M2_Orch7_Challenger2_EmpiricalLiveStressTests.swift: Added standard 2.0s probe timeouts and XCTSkip guards for live daemon port probes (commit 418aa21).
    • Tests/ScriptTests/make_app_bundle_contract_test.zsh, Tests/ScriptTests/tyrell_app_lifecycle_contract_test.zsh, scripts/lib/tyrell_app_lifecycle.zsh, scripts/make_app_bundle.zsh: Committed bundle lifecycle contract updates (commit 418aa21).
  4. dev.ecs0.net Wiki & Desktop Issues:
    • /Users/richh/dev/sites/dev.ecs0.net/wiki/issues/*.html: 653 ticket pages + index.html.
    • /Users/richh/Desktop/issues/tickets/*.html: 653 synchronized ticket pages.
    • /Users/richh/Desktop/issues/dashboard.html & index.html: Rollup dashboard.
    • /Users/richh/Desktop/issues/js/mermaid.min.js, /Users/richh/dev/sites/dev.ecs0.net/wiki/issues/js/mermaid.min.js: Local offline scripts.
  5. E2E Test Harness (/Users/richh/dev/tests/e2e):
    • run_e2e_tests.zsh: Zsh automation runner.
    • e2e_test_runner.py: 4-tier test runner.
    • test_results.json: Execution audit report.

Commands Run

# 1. ReplicantDB build & test validation (including commit 24ab6c3 remediation)
cd /Users/richh/dev/apps/replicantDB
swift test --filter LANPeerDiscoveryTests/testConcurrentRequestsOverSingleConnection # 5/5 passed (<0.02s)
swift test # 1,103 passed, 0 failures (0 unexpected) in 223.769s
./build.sh # builds universal2 x86_64 + arm64
zsh scripts/verify_build_contract.zsh # 100% build contract verified
git status --short # clean working tree

# 2. Tyrell build & test validation (including commit 418aa21 remediation)
cd /Users/richh/dev/apps/Tyrell
swift test --filter ChatRoutingTests # 23 passed, 0 failures
swift test --filter M2_Orch7_Challenger1_EmpiricalTests # 9/9 passed, 0 failures
swift test --filter M2_Orch7_Challenger2_EmpiricalLiveStressTests # 7/7 passed, 0 failures (probe timeouts/skips)
swift test # 1,494 XCTest + 418 Swift Testing passed, 0 failures
lipo -archs /Applications/Tyrell.app/Contents/MacOS/tyrellbar # x86_64 arm64
for f in Tests/ScriptTests/*.zsh; do zsh "$f" || exit 1; done # 5/5 script contract tests passed
git status --short # clean working tree (0 untracked, 0 modified)

# 3. issueRoo regression suites
cd /Users/richh/dev/issues
python3 tests/test_jsonrpc_stdio.py # 27/27 passed
python3 tests/test_e2e_adversarial_suite.py # 89/89 passed
python3 tests/test_claim_leases_and_plans.py # 46/46 passed
python3 -m py_compile bin/ticket bin/ticket-mcp # rc=0

# 4. Ticket indexing and HTML export
python3 bin/ticket reindex # 653 tickets reindexed
python3 bin/ticket export-html # wiki exported
python3 bin/ticket export-html --out /Users/richh/Desktop/issues/tickets # desktop exported

# 5. Full E2E 72-test regression suite
zsh /Users/richh/dev/tests/e2e/run_e2e_tests.zsh # 72/72 passed (100.0%)

Verification Evidence

  1. E2E Suite (/Users/richh/dev/tests/e2e/test_results.json):
    • Total Tests: 72
    • Passed: 72 (100.0%)
    • Failures: 0, Errors: 0
    • Execution Time: 6.797 seconds (re-verified clean post-remediation across all 4 tiers)
  2. ReplicantDB Build Contract & Test Suite (Commit 24ab6c3):
    • lipo -archs dist/ReplicantDB.app/Contents/MacOS/ReplicantDB: x86_64 arm64
    • lipo -archs dist/replicantdb-cli: x86_64 arm64
    • lipo -archs dist/replicantdb-mcp: x86_64 arm64
    • codesign -dvvv dist/ReplicantDB.app: TeamIdentifier=ZU2882L4HT
    • verify_build_contract.zsh: Verified ecs0lib adoption, universal2, Cascade Lake, name, icon, MCP safety, Apple Development signing.
    • swift test: 1,103 / 1,103 tests passed (0 failures, 0 unexpected) in 223.769s.
    • git status: Clean working tree.
  3. Tyrell Build, Suite & Contract (Commit 418aa21):
    • lipo -archs /Applications/Tyrell.app/Contents/MacOS/tyrellbar: x86_64 arm64
    • swift test --filter M2_Orch7_Challenger1_EmpiricalTests: 9/9 passed (0 failures).
    • swift test --filter M2_Orch7_Challenger2_EmpiricalLiveStressTests: 7/7 passed (0 failures, probe timeouts/skips active).
    • Tests/ScriptTests/*.zsh: 5/5 script contract tests passed.
    • swift test: Full suite passed cleanly across all targets with 0 failures, 0 errors.
    • git status: Clean working tree (0 untracked, 0 modified).
  4. IssueRoo & CDN Audit:
    • grep -rnE "<script.*(jsdelivr|cdnjs)" /Users/richh/Desktop/issues/ /Users/richh/dev/sites/dev.ecs0.net/wiki/issues/: 0 matches.
    • python3 bin/ticket show DOC-20260829-01: 29 normalized comments.
    • python3 bin/ticket open -h: 92 unique choices.
  5. Ticket Resolution Status:
    • All 8 focus tickets verified in status: "resolved" with non-empty reason and empirical evidence.

Backup Locations & Undo Guidance


Outstanding Owner Actions