Commit Graph
4124 Commits
Author SHA1 Message Date
Gabriel Fontes abcec31b41 feat(projects/site): remove telegram link 2026-08-12 03:51:16 -03:00
Gabriel Fontes 80a00cb29d fix(projects/website): move feed link to footer
Move the RSS link from its brittle absolute position above the blog listing into the global social footer, and remove the obsolete positional selector.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:49:23 -03:00
Gabriel Fontes 0c9471a4f2 fix(projects/website): update source link
Point the footer source link at the website path in the Foundry monorepo.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:46:42 -03:00
Gabriel Fontes f37f6314f2 fix(projects/website): brighten ambient sparks
Increase spark core size, palette contrast, halo, and shimmer range so the ambient layer remains subtle but actually visible.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:41:33 -03:00
Gabriel Fontes 6cbfc9e959 feat(projects/website): add ambient star sparks
Layer sparse palette-tinted sparks behind the site with slow staggered shimmer, no pointer interaction, and explicit reduced-motion and print fallbacks.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:40:04 -03:00
Gabriel Fontes b5901a4eaa fix(projects/website): move atlas a bit right 2026-08-12 03:40:04 -03:00
Gabriel Fontes b3744d9d8e fix(projects/website): smooth theme selection ring
Replace the aliased circular outline with an inset antialiased shadow ring and a faint outer glow for both selection and keyboard focus.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:33:10 -03:00
Gabriel Fontes 5a32f05d7f fix(projects/website): outline selected theme star
Apply the constellation control's circular focus outline to the active palette as a persistent selection indicator.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:28:05 -03:00
Gabriel Fontes 7ff867ed2f feat(projects/website): adopt star glyph motif
Use conventional hash markers for heading permalinks, frame the site identity with decorative stars, and render constellation points as luminous star glyphs while preserving their 48px controls and interaction behavior.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:26:08 -03:00
Gabriel Fontes 832fb45016 feat(projects/website): add heading permalinks
Add accessible self-links to rendered h2-h6 headings without embedding HTML in Markdown. Reveal the star marker on hover or keyboard focus, keep it visible on touch devices, and omit it from print.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:22:30 -03:00
Gabriel Fontes d693b272c8 feat(projects/website): extend constellation interactions
Carry the constellation's glow and motion into links, navigation, and form controls, add palette-lit structural rules, and glint anchored headings on arrival. Respect reduced-motion preferences throughout.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:16:28 -03:00
Gabriel Fontes a17674d086 fix(projects/website): restore light background tint
Mix native light surfaces with each scheme's primary role instead of its near-white primary container, preserving a distinct atmospheric tint across all eight themes.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:06:31 -03:00
Gabriel Fontes 2464495974 refactor(projects/website): consume mode-aware colorschemes
Adopt the new top-level colorscheme structure and emit each scheme's native dark and light Material roles directly. Remove the manual light-role remapping and obsolete print scheme, update the legacy colorscheme page, and promote Electra to an interactive constellation theme.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 03:00:01 -03:00
Gabriel Fontes 2784bfa85c refactor: expose colorscheme set in flake 2026-08-12 02:48:54 -03:00
Gabriel Fontes 6e5547495d feat: rename mgc to electra, add to schemes 2026-08-12 02:42:14 -03:00
Gabriel Fontes 69c71bee0a fix(projects/website): refine pleiades geometry
Align the seven theme stars more closely with the Pleiades reference and add muted, non-interactive Electra and Sterope stars to complete the cluster.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 02:38:34 -03:00
Gabriel Fontes 4169d2760f fix(projects/website): adapt star previews to color mode
Give each constellation star dark and light preview roles from its own palette, switching automatically with prefers-color-scheme.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 02:34:34 -03:00
Gabriel Fontes e7822d39d0 fix(projects/website): restore tinted backgrounds
Mix each selected palette into the light and dark surface hierarchy so theme changes affect the page atmosphere again without altering semantic role mapping.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 02:31:39 -03:00
Gabriel Fontes 427d49a420 feat(projects/website): follow system color mode
Expose each selected scheme as a stable palette, then map that same palette to dark or light semantic roles according to prefers-color-scheme. Preserve constellation selection, persistence, live system changes, and the dedicated print palette without adding a mode switch.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 02:28:46 -03:00
Gabriel Fontes 4a005875c8 fix(projects/website): tweak header padding 2026-08-12 02:17:26 -03:00
Gabriel Fontes 9d85420a7a refactor(projects/website): decrease h1, remove _ suffix 2026-08-12 02:13:17 -03:00
Gabriel Fontes de85f5bb62 refactor(projects/website): simplify constellation caption
Remove the explanatory heading and current-theme readout, leaving only a quiet centered invitation beneath the constellation.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 02:07:28 -03:00
Gabriel Fontes 4ed4983e55 feat(projects/website): add pleiades theme selector
Replace the colorscheme select with a full-width Pleiades constellation whose seven accessible, touch-friendly star buttons preview and apply their matching themes. Keep active state, persistence, keyboard labels, reduced motion, and JavaScript-disabled behavior in sync.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 02:04:14 -03:00
Gabriel Fontes beadd19c5a fix(projects/website): center document prose
Center narrow non-listing prose within the shared content shell while keeping page titles aligned across routes.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 01:53:05 -03:00
Gabriel Fontes 7059ac0c09 fix(projects/website): stabilize page title alignment
Keep every page article at the shared content width while constraining only non-listing prose sections to the narrower reading measure.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 01:52:03 -03:00
Gabriel Fontes ba0206d450 refactor(projects/website): soften document rhythm
Narrow document pages to a comfortable reading measure, tighten the masthead and heading rhythm, reduce display scale, and use regular Fira Sans for friendlier section headings while preserving full-width archive layouts.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 01:50:47 -03:00
Gabriel Fontes 2248d605d8 feat(projects/website): redesign site
Replace Water.css with a classless technical-editorial design for the about, blog, publications, CV, and post pages. Add responsive document and listing layouts, Fira Sans Condensed display typography, semantic page regions, and a persistent JavaScript-gated colorscheme picker.

Assisted-by: pi (gpt-5.6-sol)
2026-08-12 01:43:52 -03:00
Gabriel Fontes fecb27979c chore(projects/website): regenerate colorschemes
Assisted-by: pi (gpt-5.6-sol)
2026-08-11 19:46:22 -03:00
Gabriel Fontes 8709fe0b7a feat(jagex-auth): accept pasted authentication responses
Allow authorization to consume either a raw ID token or the complete Jagex successful-login URL from stdin when no desktop URL handler is available.

Assisted-by: pi (gpt-5.6-sol)
2026-08-11 18:21:29 -03:00
Gabriel Fontes 15a19e5db0 refactor(jagex-auth): adopt rs hub authentication flow
Replace the legacy chained OAuth flow with the official launcher beta's single ID-token exchange and game session API. Register the rshub callback and permit its narrowly scoped qutebrowser handoff.

Assisted-by: pi (gpt-5.6-sol)
2026-08-11 18:16:59 -03:00
Gabriel Fontes 1ad2dd7564 fix(hosts/merope/sabnzbd): drop MemoryHigh, register for oomd swap kills
MemoryHigh is enforced by reclaim, and reclaiming anonymous pages means
writing them to swap. Holding sabnzbd near 4G resident therefore pushed 5.2G
into the 8G swapfile: the limit did not contain the growth, it converted a
RAM problem into swap exhaustion, which is the failure that actually
threatens the box. Without it sabnzbd grows in RAM, where oomd's pressure
rule can see it stall.

ManagedOOMSwap=kill registers this unit alone as a swap-monitoring
candidate. oomd ranks swap candidates by usage, so scoping it here means the
early trigger at 90% swap can only ever select sabnzbd, while jellyfin's
cold pages stay ineligible. The pressure rule on system.slice remains the
broader net for anything else.

Assisted-by: pi (claude-opus-5)
2026-08-11 10:12:46 -03:00
Gabriel Fontes 06c59fbf2a feat(hosts/merope): replace earlyoom with systemd-oomd
earlyoom only acts when available memory AND free swap are both under
threshold. During the 2026-08-11 swap exhaustion, swap crossed 5% at 02:14
but RAM did not until 06:10, so it watched the swapfile drain to zero for
four hours. It then sent 88 SIGTERMs without landing a kill: SIGKILL
escalation is gated at half the threshold (2.5%), RAM bottomed at 4.74%,
and sabnzbd's graceful shutdown took 12 minutes under thrash.

systemd-oomd was already running but monitoring zero cgroups, since every
unit defaults to ManagedOOMSwap=auto. It acts on PSI stall time, which does
not distinguish waiting on reclaim from waiting on swap I/O, and it SIGKILLs
the cgroup rather than negotiating. Candidates are ranked by reclaim
activity, so a service holding cold pages in swap is picked last rather
than first.

Set on system.slice directly because systemd.oomd.enableSystemSlice
hardcodes ManagedOOMSwap=kill, which would rank jellyfin's ~1.2G of cold
swap ahead of whatever is actually thrashing.

Assisted-by: pi (claude-opus-5)
2026-08-11 10:10:16 -03:00
Gabriel Fontes 61e044f1fa fix(hosts/merope/sabnzbd): restart after out-of-memory kills
earlyoom SIGTERMed sabnzbd at 06:10 after it grew to 4.2G resident plus
5.2G of swap, exhausting the box's 8G swapfile. sabnzbd caught the signal,
saved its queue and exited 0 twelve minutes later, and with Restart=no it
stayed dead for the next three and a half hours.

Restart=on-failure would not have helped: the graceful shutdown path is a
clean exit.

Assisted-by: pi (claude-opus-5)
2026-08-11 10:02:48 -03:00
Gabriel Fontes 8869064076 chore(hosts/merope/sabnzbd): drop timeout setting
No need to, I thought the issue was server timeout, but it actually was unaiv. artc.
2026-08-10 23:42:27 -03:00
Gabriel Fontes f884d8e087 fix(hosts/merope/sabnzbd): fix paths 2026-08-10 23:16:38 -03:00
Gabriel Fontes 9c5a9b074b fix(hosts/merope/sabnzbd): trim article retry cost
Every server was on defaults: timeout=60, and max_art_tries=3 across six
servers. That is up to eighteen rounds, each willing to wait a minute,
before SAB concludes an article is gone. Nothing legitimate takes that
long -- TLS handshakes to all six hosts complete in under a second.

Drop timeout to 20s and max_art_tries to 2. This is a straightforward
reduction in the cost of the failure path, not a fix for any particular
incident.

Explicitly not addressed: a stall found while investigating, where the
queue sat at ~0.13 MB/s with every server idle -- eweka and blocknews
holding ten established connections each with no article assigned to any
of them, and frugal at zero of thirty. Nothing was requesting articles at
all. An earlier draft of this commit blamed connections blocked on
timeouts and marked the blocknews pair optional; the connection dump
showed those sockets were idle rather than busy, so both the mechanism and
the remedy were wrong and have been dropped. Root cause still unknown.

Assisted-by: pi (claude-opus-5)
2026-08-10 23:13:42 -03:00
Gabriel Fontes 4d28bb9a29 fix(hosts/merope/sabnzbd): deprioritise cpu and io
par2/unrar routinely take a full core each and the media disk hits 83%
utilisation during a grab, both competing with jellyfin direct play and
library scans. sabnzbd was still at the default weight of 100, tied with
jellyfin, while the *arrs sit at 50.

Drop it to 20 so its pipeline yields under contention and keeps the whole
box when nothing else wants it. Children inherit the cgroup weight, so
this covers par2 and unrar without touching sabnzbd's own nice setting.

Assisted-by: pi (claude-opus-5)
2026-08-10 22:03:26 -03:00
Gabriel Fontes e3673ed9cd fix(grafana): use dashboard range for disk discovery
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 20:49:36 -03:00
Gabriel Fontes e14a866cce fix(grafana): hide hosts dashboard variables
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 20:24:33 -03:00
Gabriel Fontes 76a2e37f88 fix(grafana): update hosts dashboard layout
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 20:20:22 -03:00
Gabriel Fontes 92a74d1f92 fix(mgc): set root home during bootstrap
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 18:15:20 -03:00
Gabriel Fontes 41508a8f14 fix(system-manager): provide D-Bus session config
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 18:04:31 -03:00
Gabriel Fontes bb979ec2eb fix(mgc): run Nix installer as cloud-init root
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 18:04:31 -03:00
Gabriel Fontes b9f055458b refactor(mgc): wrap bootstrap in attended autoinstall
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 18:04:31 -03:00
Gabriel Fontes 7ee2e76610 fix(mgc): enforce local-only login during bootstrap
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 18:04:31 -03:00
Gabriel Fontes cebd2a2273 refactor(mgc): replace installer with cloud-init config
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 18:04:31 -03:00
Gabriel Fontes 699c87621d refactor(alcyone/grafana): rebuild hosts dashboard
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 14:18:46 -03:00
Gabriel Fontes 2378d52ec0 fix(hosts): un-exclude partitions from node exporter 2026-08-10 13:38:57 -03:00
Gabriel Fontes 331dbb57b6 feat(alcyone/grafana): enable section-level variables
Assisted-by: pi (gpt-5.6-sol)
2026-08-10 12:48:25 -03:00
Gabriel Fontes a6c9d512f2 fix(hosts/merope): remove speedtest exporter
Had memory leaks
2026-08-10 12:29:30 -03:00