docs: add AGENTS.md, ground-truth.json, and Makefile#627
Merged
Conversation
AGENTS.md (agents.md standard) gives every coding agent — Claude, OpenCode, Codex, Cursor — one predictable operating manual: commands, prod-breaking invariants, owner doctrines (lean/clean-links/no-AI- bios/highest-confidence), and PR rules including the all-CI-green merge rule. ground-truth.json is the machine-readable slow-moving canon (venue/event ids and dates, constants, infra identifiers) so agents stop re-deriving or guessing facts. The Makefile is the canonical task runner — real exit codes end the pipe-masking bug class, and make e2e codifies the full local Playwright recipe that previously lived in session notes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Searching for band links is the time sink; validation is a 2-second owner yes/no. The probe checks canonical bandcamp subdomain patterns for every linkless band with plain HTTP (no search engine, no AI) and buckets results: AUTO (exact name match + Ontario location — doctrine- safe), REVIEW (page exists, identity unproven), NONE. Existence is not identity: unclaimed subdomains redirect to signup, and popular names are taken by unrelated acts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The unthrottled 93-band run tripped bandcamp's rate limiter: late 429s were silently bucketed as NONE (false negatives) and the location scan never got a fair test (it also only read the first 120KB — the location markup sits deep in the sidebar). Requests now space 2s apart with a 30s backoff on 429; rate-limited bands land in a RETRY bucket, never NONE. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
BreakableHoodie
marked this pull request as ready for review
July 17, 2026 19:31
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
Three artifacts that give every agent and human the same operating manual, per Dre's direction:
AGENTS.md(agents.md standard) — tool-agnostic instructions for Claude Code, OpenCode, Codex, Cursor, etc.: Makefile-first commands, the prod-breaking invariant shortlist (full catalogue stays in CLAUDE.md), the owner doctrines (lean-and-performant, clean links, no AI bios, highest-confidence facts), and PR rules including nothing merges unless ALL CI is green.ground-truth.json— machine-readable slow-moving canon: Vol 17 target-event facts, the six-venue canon with DB ids, all 19 event slugs/ids/dates, timezone + after-midnight constants, infra identifiers, process rules. Live data (lineups, profiles) deliberately excluded — that belongs to the database.Makefile— canonical task runner:make gate(full pre-commit),make e2e(the complete local Playwright recipe: isolated D1 seed, wrangler serve with pidfile, run, guaranteed cleanup),make schema-check, etc. Real exit codes structurally end thecmd | tailexit-masking bug class.Draft — open for Dre's review of content choices (especially ground-truth.json's scope) before merge.
What changed
AGENTS.mdground-truth.jsonMakefilemake help,make lintrun green)Security / correctness notes
ground-truth.json includes the prod D1 database name and id — these are identifiers, not credentials (already visible in wrangler.toml comments and useless without account auth). No secrets in any file.
Verification
make lintexercised end-to-end (0 errors)validate:openapi: n/apython3 -m json.tool ground-truth.jsonvalid;make helplists all targets;make lintgreenBuilt by Theo · Reviewed by Theo · 🤖 Claude Code