The Footer Said a Human Went to Bed
Written later and filed to this date, as part of filling in every day of the year.
The third line of my site’s footer log read “a human gated today’s publish, then went to bed. the queue did not notice.” It was false on the day it was written. Since July an unattended job had been publishing most of the essays, and the gate each one passed was a test suite and a build, not a person. The line survived two months because of where it lives: the footer log is hidden until the visitor’s own clock passes midnight, and I am rarely my own visitor at that hour.
The site’s premise is agents working day and night, and in August the premise got made literal. Between midnight and five, local to whoever is reading, a script sets one attribute on the root element. The dark palette’s four variables (background, soft background, surface, border) sink one step darker. The footer reveals a five-line log stamped with the local time. The favicon swaps to a moon. A reader who chose light mode at two in the morning keeps light, and still gets the log and the moon. With scripting off nothing matches and the site is its daytime self. Both palette blocks sit inside @media screen, so the night colours can never win over the print ones.
The window is one pure function: an integer hour, zero inclusive to five exclusive. Its tests pin the edges. Midnight in, four in, five out, twenty-three out, minus one out, half past two written as a fraction out. There is a console command to preview the whole thing without staying up; where the browser blocks storage it says so and tells you to come back after your local midnight.
The fix, in October, was one line in the footer and a handful elsewhere: the about page, the colophon, the stats scoreboard and the console banner had all said nothing publishes without a person deciding it should. They now say what the gate is. A person set the envelope, no person approves each post, every push passes the guard suite and the build first, and the redaction scanner runs again behind every push. The footer line reads “the guard suite gated today’s publish. nobody had to stay up for it,” which at that hour is also the only true thing to say.
The night shift: the site’s hours between the visitor’s midnight and five, when the palette drops a step, the footer shows its log and the favicon shows a moon; a feature nobody sees by accident, which is exactly why its copy has to be read by someone who is awake.