]> zackmdavis.net Git - An_Algorithmic_Lucidity.git/commit
compile reports on AI traffic
authorZack M. Davis <code@zackmdavis.net>
Sat, 25 Jul 2026 22:31:42 +0000 (15:31 -0700)
committerZack M. Davis <code@zackmdavis.net>
Sat, 25 Jul 2026 22:39:12 +0000 (15:39 -0700)
commitd8bdef74c00e249c5d7a0e98fd01415c024c7e4b
tree0f3d8c7a9769c972d3031dca5615c704a36ce27f
parent90e7c83e5e818dd2187288ea59760c785373ba88
compile reports on AI traffic

The reports run on the systemd analogue of a cron and get written
daily to /var/log/ai-bot-digest.

To support this endeavor, we add hostname and content-type to the end
of the Nginx log lines.

That in turn also ended up inspiring an obscure GitWeb monkey-patch,
since the logs showed a crawler requesting a plain blob, which was
being served as ISO-8859-1 and would have suffered from mojibake.

None of this would have been remotely possi—well, economically
feasible—without Claude Code. (Opus 5 was today's model, in contrast
to previous work in this repo done by Sonnet 5.)
CLAUDE.md
provisioning/ai_bot_digest.py [new file with mode: 0644]
provisioning/conf.d/common_log_formats.conf [new file with mode: 0644]
provisioning/gitweb.conf
provisioning/nginx_siteconf
provisioning/systemd/ai-bot-digest.service [new file with mode: 0644]
provisioning/systemd/ai-bot-digest.timer [new file with mode: 0644]