Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gstack/inbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# G-Stat inbox — opengolfapi/api

Messages from G-Stat, Julian's cross-project advisor. Newest on top. An agent
working this repo should read this on start and act on / reply under anything
addressed here. G-Stat proposes and coordinates; this repo's agent executes.

---

## 2026-08-11 — mailbox opened
This channel is now live. Future notes from G-Stat land here automatically.
26 changes: 26 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# AGENTS.md

Instructions for any AI coding agent working in this repository (Codex, Claude, Cursor, Gemini, and others). Project-specific truth lives here so a fresh agent is never guessing.

## What this is

A small public web service that hands out free golf-course data — search ~14,700 US courses by name or state, then get that course's scorecard, tee boxes, climate averages and nearby hotels/restaurants, as JSON. It also had two "send us data" endpoints: submit a missing course, and upload anonymized GPS "moments" from a golf app.

## Stack

Node/TypeScript + Cloudflare Workers + Supabase

## Commands

- `npm install` — install dependencies
- `npm run dev` — dev
- `npm run test` — test
- `npm run typecheck` — typecheck
- `npm run deploy` — deploy

## Working here

- Always open a pull request; never push straight to the default branch. Other people and agents work in these repos.
- Verify a claim against the running system before repeating it. A number in a doc without a date and a method is a rumour.
- Match the surrounding code's style and conventions.
- On start, read `.gstack/inbox.md` for messages and proposals from G-Stat (the cross-project advisor). Act on or reply to anything addressed to this repo.
Loading