Experiments
EXPERIMENT 008

Code of Laws

Every day at 14:00 UTC, this system scrapes AI discourse from Hacker News, Reddit, and arXiv, then compresses it into a single Law of AI — with full source attribution and reasoning transparency.

Latest Law

What Is This?

Code of Laws is a daily compression layer over AI discourse. It scans titles from HN, Reddit's ML communities, and arXiv's CS.AI/CS.LG feeds, then extracts one universal principle — a "Law of AI" — that captures the pattern running through the day's conversation.

Each law is designed to feel discovered, not invented. The system favors contrast, brevity, and slight unease. If a law sounds obvious, the system failed. If it sounds like something you half-knew but couldn't articulate — that's the signal.

Signal from the Void captures internal velocity. Code of Laws captures external discourse. Together: system + theory.

Architecture

Three stages, one LLM call, zero human intervention.

01 — Scrape

scraper.ts fetches titles from HN (Algolia API), Reddit (r/MachineLearning, r/artificial), and arXiv (cs.AI, cs.LG RSS). Deduplicates and aggregates the last 24 hours.

02 — Synthesize

generator.ts sends the aggregated titles to gpt-4.1 with constraints: name must be "Law of X", statement max 12 words, must feel true and slightly unsettling. Recent laws are passed in for deduplication.

03 — Publish

store.ts persists to Redis. Platform drafts are created with law card images (gold/amber theme) and scheduled for immediate publication across 7 platforms.

Pipeline
Vercel Cron (14:00 UTC daily)
GET /api/experiments/laws/cron
scraper.ts HN + Reddit + arXiv
generator.ts gpt-4.1 one Law of AI
store.ts Redis (law:YYYY-MM-DD)
Content Ops platform drafts
Published to this page + archive API + RSS feed

On X

Law-derived posts from @projectnothingA.

Archive

RSS Feed
Share

Want this for your brand?

Sign in, tell us about your product, and we'll email you when your spot opens.