Repository navigation
Conversation
CG-8663
force-pushed
the
feat/server-posture
branch
from
December 5, 2026 10:02
74e8898 to
b1cf4de
Compare
…readings A joined computer's connector reports whether it needs a restart, how many system services have failed and which ports it listens on, and its machine page shows them beside the gauges. This server showed none of that about itself. - omarchyd/posture.mjs reads the same things for this server: a restart needed after a kernel update (or when the system says so), failed system services (systemctl, asked at most once a minute) and TCP ports listening beyond this machine (/proc/net/tcp and tcp6). Reads only, nothing needs root. - New query system.posture, owner only, as a joined computer's details are. A member's browser never asks for it. - This server's card and machine page pass it to the same readings a joined computer uses, so no new screen or drawing. Security updates stay absent for this server: its waiting updates are not split into security and other. Co-Authored-By: Chronara AI <info@chronara.io>
CG-8663
force-pushed
the
feat/server-posture
branch
from
December 5, 2026 10:09
b1cf4de to
2238046
Compare
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.
What this changes
This server's machine page shows its own restart, failed-service and listening-port readings, the way a joined computer's page already does.
A joined computer's connector reports those readings and they appear beside its gauges. This server reported none of them about itself, so the one machine everything depends on was the one with no such readings.
omarchyd/posture.mjs(new) reads the same things for this server:/var/run/reboot-required).systemctl --system list-units --state=failed, asked at most once a minute./proc/net/tcpandtcp6.system.posture(new query) is owner only, as a joined computer's details are. A member's browser never asks for it.LiveStats), so the account's stat view and picks apply as usual.This follows
docs/plans/ux-security-posture.md: findings sit on the machine page, not in a separate Security screen.How you tested it
npm run typecheckandnpm run buildpass onmain(02c7fdb).test/posture.test.mjs(6 tests): port parsing including loopback, damaged files and the 50-port cap; failed-service counting; restart after a kernel update and from the system's flag; the once-a-minute limit. A new test inomarchyd.test.mjschecks a member is refused and the owner is answered.mainthere.system.posture): Machines › this server shows Restart Needed, 1 failed service and 2 ports beside the gauges.test/api-proxy.test.mjs, on unchangedmaintoo), so the full run is the one GitHub does here.Anything to know
swarm.alerts; doing the same for this server is a separate change.Built with Chronara AI