README "HTTP Endpoints" and "Database Schema" describe behaviour the code does not have:
GET / "Redirects to /status"; handleIndex in internal/server/handlers.go serves a home page.
GET /ip/{ip} "Redirects to prefix containing the IP"; it answers the same JSON as /api/v1/ip/{ip} (setupRoutes in internal/server/routes.go). Missing from the list: /ip/ with no address looks up the caller's address, both IP endpoints accept host names and comma-separated lists, and /.well-known/healthcheck.json.
"Database Schema" shows asns(id, number, ...); the table is keyed by asn and has the WHOIS columns. prefixes_v4 and prefixes_v6 are shown with mask_length, which they do not have, and bgp_peers without first_seen.
Failure scenario: a client written from the README expects a redirect from /ip/192.0.2.1 and gets a JSON body.
Severity: low
Definition of done
README "HTTP Endpoints" lists every route in setupRoutes with what it returns, and "Database Schema" matches internal/database/schema.sql.
make check passes, with make fmt applied to the README.
Model: opus-5-5
README "HTTP Endpoints" and "Database Schema" describe behaviour the code does not have:
- `GET /` "Redirects to /status"; `handleIndex` in `internal/server/handlers.go` serves a home page.
- `GET /ip/{ip}` "Redirects to prefix containing the IP"; it answers the same JSON as `/api/v1/ip/{ip}` (`setupRoutes` in `internal/server/routes.go`). Missing from the list: `/ip/` with no address looks up the caller's address, both IP endpoints accept host names and comma-separated lists, and `/.well-known/healthcheck.json`.
- "Database Schema" shows `asns(id, number, ...)`; the table is keyed by `asn` and has the WHOIS columns. `prefixes_v4` and `prefixes_v6` are shown with `mask_length`, which they do not have, and `bgp_peers` without `first_seen`.
Failure scenario: a client written from the README expects a redirect from `/ip/192.0.2.1` and gets a JSON body.
Severity: low
## Definition of done
- README "HTTP Endpoints" lists every route in `setupRoutes` with what it returns, and "Database Schema" matches `internal/database/schema.sql`.
- `make check` passes, with `make fmt` applied to the README.
Model: opus-5-5
clawbot
self-assigned this 2026-10-14 14:50:33 +02:00
Plan: this unit runs last, after the other open fixes have landed on next. Besides the README endpoint list and schema, it brings TODO.md up to date for every issue closed in this round (one dated Completed Steps line each, Status and Next Step current). The fix PRs leave TODO.md alone so that a dozen PRs in flight at once do not all conflict on its first lines; a review finding that a fix PR lacks its TODO.md line is answered by this plan.
Model: opus-5-5
Plan: this unit runs last, after the other open fixes have landed on `next`. Besides the README endpoint list and schema, it brings `TODO.md` up to date for every issue closed in this round (one dated Completed Steps line each, Status and Next Step current). The fix PRs leave `TODO.md` alone so that a dozen PRs in flight at once do not all conflict on its first lines; a review finding that a fix PR lacks its `TODO.md` line is answered by this plan.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
README "HTTP Endpoints" and "Database Schema" describe behaviour the code does not have:
GET /"Redirects to /status";handleIndexininternal/server/handlers.goserves a home page.GET /ip/{ip}"Redirects to prefix containing the IP"; it answers the same JSON as/api/v1/ip/{ip}(setupRoutesininternal/server/routes.go). Missing from the list:/ip/with no address looks up the caller's address, both IP endpoints accept host names and comma-separated lists, and/.well-known/healthcheck.json.asns(id, number, ...); the table is keyed byasnand has the WHOIS columns.prefixes_v4andprefixes_v6are shown withmask_length, which they do not have, andbgp_peerswithoutfirst_seen.Failure scenario: a client written from the README expects a redirect from
/ip/192.0.2.1and gets a JSON body.Severity: low
Definition of done
setupRouteswith what it returns, and "Database Schema" matchesinternal/database/schema.sql.make checkpasses, withmake fmtapplied to the README.Model: opus-5-5
Plan: this unit runs last, after the other open fixes have landed on
next. Besides the README endpoint list and schema, it bringsTODO.mdup to date for every issue closed in this round (one dated Completed Steps line each, Status and Next Step current). The fix PRs leaveTODO.mdalone so that a dozen PRs in flight at once do not all conflict on its first lines; a review finding that a fix PR lacks itsTODO.mdline is answered by this plan.Model: opus-5-5