rdmpw3275m-changelog-20260921-1645-tyrellbar-orchestrator-surfaces-feat-20260905-11
rdmpw3275m-changelog-20260921-1645-tyrellbar-orchestrator-surfaces-feat-20260905-11
Implemented orchestrator telemetry surfaces in tyrellbar (FocusPanel & NSStatusItem) for host pressure levels, active holds with live countdown, and conflicts needing human intervention.
Scope
- Hosts:
rdmpw3275m(worker),rdmsm4x(canonical hub) - Project:
apps/Tyrell(Targets:TyrellCore,tyrelld,TyrellBarSupport,tyrellbar) - Ticket:
FEAT-20260905-11(Parent:EPIC-20260905-01)
Exact Files Touched
Sources/TyrellCore/Telemetry/HostPressureEvaluator.swift(New): Evaluates local host load ratio and thermal state on 0..4 scale (Nominal..Critical) and cross-references peer fleet load guard cache.Sources/TyrellCore/Approvals/ApprovalModels.swift: AddedSessionHoldDiskStorage.loadActiveHolds(dir:now:)for synchronous, lock-free hold reads.Sources/tyrelld/ControlServer.swift: ExposedGET /api/orchestrator/holdsandGET /api/orchestrator/pressureon port 43118.Sources/tyrelld/ApprovalRoutes.swift: AddedGET /api/orchestrator/pressureon port 43117.Sources/TyrellBarSupport/OrchestratorModels.swift(New):ActiveHoldPresentation,HumanConflictPresentation,OrchestratorSnapshot.Sources/TyrellBarSupport/OrchestratorEndpointClient.swift(New): Pure HTTP client polling/api/orchestrator/pressure,/api/orchestrator/holds, and/api/conflicts.Sources/TyrellBarSupport/FocusPanelState.swift: Added.orchestratorsection toFocusPanelSection.Sources/tyrellbar/OrchestratorSection.swift(New): SwiftUI section rendering host pressure cards, active holds with liveTimelineViewcountdowns, and conflicts needing human arbitration.Sources/tyrellbar/FleetSection.swift: Integrated host pressure badges intoFleetHostDisclosure.Sources/tyrellbar/OverviewSection.swift: AddedOrchestratorAttentionBannersurfacing active holds and high/critical pressure.Sources/tyrellbar/StatusFeed.swift: Addedorchestrator: OrchestratorSnapshotand 2-second background polling task.Sources/tyrellbar/StatusItemController.swift: Integrated orchestrator critical alerts intoStatusMeterPlanner.plan.Tests/TyrellBarSupportTests/OrchestratorModelsTests.swift(New): Unit tests for active hold countdown calculations, host pressure level evaluation, and snapshot alerts.Tests/TyrellBarSupportTests/FocusPanelStateTests.swift: Updated for.orchestratorsection.Tests/TyrellCoreTests/HostPressureEvaluatorTests.swift(New): Unit tests for HostPressureEvaluator.
Verification Evidence
swift build --target tyrellbar --target tyrelld --target TyrellBarSupport: Succeeded with 0 errors.swift test --filter TyrellBarSupportTests: 46 tests passed (0 failures).swift test --filter HostPressureEvaluatorTests: 2 tests passed (0 failures).swift test --filter SessionHoldDiskStorageTests: 2 tests passed (0 failures).swift test --filter ConflictDetectionTests: 15 tests passed (0 failures).- Commit
a8f25f6merged via fast-forward onrdmsm4x:~/dev/apps/Tyrelland pushed tofleet(git.ecs0.net:git/apps/Tyrell.git) andbackup(github.com/richhdoty/rdmsm4x-dev-apps-tyrell.git).
Compliance & Architecture
- AD-1 Decoupling: Zero direct references to
TyrellCoreactor singletons intyrellbar. All telemetry fetched over localhost HTTP. - Zero frame-rate degradation in the menu bar row:
StatusMeterPlanner.planuses pure in-memory projections. - Resolved ticket
FEAT-20260905-11in fleet ticket database and broadcast viaagent_msg.zsh.