feat: add fail-closed AST2600 TrueNAS fan control#1
Merged
Conversation
added 3 commits
July 18, 2026 13:12
Define the Fleet NAS runtime topology, secret boundaries, AST2600 raw-command contract, TrueNAS WebSocket temperature source, fail-closed safety policy, UI contract, TDD matrix, deployment verification, and rollback. Record the external TrueFan audit against the exact upstream commit before production code changes.
Implement a pluggable AST2600/IPMI and retained hwmon backend behind a serialized control service, with exact argv-only IPMI commands, environment-only passwords, Redfish and TrueNAS WebSocket telemetry, verified read-back, atomic TTL override persistence, and fail-closed hot/recovery/sensor policy. Separate browser and agent authentication through mounted secret files, preserve legacy routes and status fields, add structured control APIs, and replace the placeholder UI with a responsive safety-focused dashboard. Ship one pinned non-root image for core or agent selection, token-aware health checks, a secret-file AST2600 compose example, an amd64 GHCR workflow, operator documentation, strict RED/GREEN evidence, and complete fake-boundary coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ast2600_ipmibackend while retaining the upstreamhwmon_pwmbackendSafety contract
Verification
42 passedfull pytest suite14 passed, 28 deselectedfeature-specific AST2600/TrueNAS/safety/auth testspip check: no broken requirementsscrollWidth == innerWidth == 390Deployment gate
This PR does not claim live Fleet NAS completion. After the SHA image publishes, Apollo will deploy it as a TrueNAS custom app, verify BMC/TrueNAS readback and safety locks against real hardware, exercise restart persistence and external-watchdog override, and provision
https://fans.nas.ace.