{"id": "PC-001", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A 404 from GitHub can mean 'exists, but your token cannot see it'", "tags": ["status-codes", "github", "rest"], "error_strings": ["404 Not Found", "Not Found"], "source": "https://docs.github.com/en/rest/using-the-rest-api/troubleshooting-the-rest-api", "checked_on": "2026-10-31"} {"id": "PC-002", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "GitHub answers 404 for a wrong HTTP method or a trailing slash", "tags": ["status-codes", "github", "rest"], "error_strings": ["404 Not Found", "405 Method Not Allowed"], "source": "https://docs.github.com/en/rest/using-the-rest-api/troubleshooting-the-rest-api", "checked_on": "2026-10-31"} {"id": "PC-003", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "403 means retrying with the same credentials will not help", "tags": ["status-codes", "http", "rfc9110"], "error_strings": ["403 Forbidden"], "source": "https://www.rfc-editor.org/rfc/rfc9110.html", "checked_on": "2026-10-31"} {"id": "PC-004", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "On GitHub a 403 can be a rate limit, not a permission error", "tags": ["status-codes", "github", "rest", "rate-limits"], "error_strings": ["403 Forbidden", "429 Too Many Requests", "secondary rate limit", "x-ratelimit-remaining"], "source": "https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api", "checked_on": "2026-10-31"} {"id": "PC-005", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "GitHub GraphQL can return HTTP 200 for a rate-limited request", "tags": ["status-codes", "github", "graphql", "rate-limits"], "error_strings": ["x-ratelimit-remaining"], "source": "https://docs.github.com/en/graphql/overview/rate-limits-and-query-limits-for-the-graphql-api", "checked_on": "2026-10-31"} {"id": "PC-006", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A streaming Claude response can fail after a 200", "tags": ["status-codes", "anthropic", "streaming"], "error_strings": ["overloaded_error"], "source": "https://platform.claude.com/docs/en/api/errors", "checked_on": "2026-10-31"} {"id": "PC-007", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "With GraphQL over HTTP the body, not the status code, tells the result", "tags": ["status-codes", "graphql", "http"], "error_strings": ["\"errors\":"], "source": "https://raw.githubusercontent.com/graphql/graphql-over-http/main/spec/GraphQLOverHTTP.md", "checked_on": "2026-10-31"} {"id": "PC-008", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A 429 from OpenAI can be a billing or quota error that retries cannot fix", "tags": ["status-codes", "openai", "billing"], "error_strings": ["429", "insufficient_quota", "credit_balance_exhausted", "organization_spend_limit_exceeded", "project_spend_limit_exceeded"], "source": "https://developers.openai.com/api/docs/guides/error-codes", "checked_on": "2026-10-31"} {"id": "PC-009", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A Claude 429 with no retry-after header is a spend cap, not a burst limit", "tags": ["status-codes", "anthropic", "billing"], "error_strings": ["429", "rate_limit_error", "enforced_spend_limit_reached"], "source": "https://platform.claude.com/docs/en/api/rate-limits", "checked_on": "2026-10-31"} {"id": "PC-010", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A Stripe 429 without rate-limit headers may be a lock timeout", "tags": ["status-codes", "stripe", "rate-limits"], "error_strings": ["429", "Stripe-Rate-Limited-Reason"], "source": "https://docs.stripe.com/rate-limits", "checked_on": "2026-10-31"} {"id": "PC-011", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Browsers and fetch drop Authorization on a cross-origin redirect", "tags": ["redirects", "http", "fetch", "browsers"], "error_strings": ["401 Unauthorized"], "source": "https://fetch.spec.whatwg.org/", "checked_on": "2026-10-31"} {"id": "PC-012", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "curl will not forward your credentials to another host on redirect", "tags": ["redirects", "curl", "http"], "error_strings": ["401 Unauthorized", "403 Forbidden"], "source": "https://curl.se/docs/manpage.html", "checked_on": "2026-10-31"} {"id": "PC-013", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "curl turns a POST into a GET after a 301, 302 or 303", "tags": ["redirects", "curl", "http"], "error_strings": ["301 Moved Permanently", "302 Found", "303 See Other"], "source": "https://curl.se/docs/manpage.html", "checked_on": "2026-10-31"} {"id": "PC-014", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "GitHub list endpoints return only the first 30 items by default", "tags": ["pagination", "github", "rest"], "error_strings": ["link: <", "rel=\"next\""], "source": "https://docs.github.com/en/rest/using-the-rest-api/using-pagination-in-the-rest-api", "checked_on": "2026-10-31"} {"id": "PC-015", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "GitHub search returns at most 1,000 results, and may be incomplete", "tags": ["pagination", "github", "search"], "error_strings": ["incomplete_results", "total_count"], "source": "https://docs.github.com/en/rest/search/search", "checked_on": "2026-10-31"} {"id": "PC-016", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Stripe lists give 10 objects by default", "tags": ["pagination", "stripe"], "error_strings": ["has_more", "starting_after"], "source": "https://docs.stripe.com/api/pagination", "checked_on": "2026-10-31"} {"id": "PC-017", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Retry-After is either a number of seconds or a date", "tags": ["rate-limits", "http", "rfc9110"], "error_strings": ["Retry-After"], "source": "https://www.rfc-editor.org/rfc/rfc9110.html", "checked_on": "2026-10-31"} {"id": "PC-018", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "OpenAI x-ratelimit-reset headers are durations like 6m0s, not seconds", "tags": ["rate-limits", "openai"], "error_strings": ["x-ratelimit-reset-requests", "x-ratelimit-reset-tokens", "6m0s"], "source": "https://developers.openai.com/api/docs/guides/rate-limits", "checked_on": "2026-10-31"} {"id": "PC-019", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "OpenAI uses 429 for slow_down and 503 for model overload", "tags": ["rate-limits", "openai"], "error_strings": ["slow_down", "server_is_overloaded", "429", "503"], "source": "https://developers.openai.com/api/docs/guides/rate-limits", "checked_on": "2026-10-31"} {"id": "PC-020", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "GitHub tells you exactly how long to wait, in three different ways", "tags": ["rate-limits", "github"], "error_strings": ["retry-after", "x-ratelimit-reset", "x-ratelimit-remaining"], "source": "https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api", "checked_on": "2026-10-31"} {"id": "PC-021", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Gemini API limits are per project, not per API key", "tags": ["rate-limits", "gemini"], "error_strings": ["429", "RESOURCE_EXHAUSTED"], "source": "https://ai.google.dev/gemini-api/docs/rate-limits", "checked_on": "2026-10-31"} {"id": "PC-022", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Do not auto-retry non-idempotent requests without a safeguard", "tags": ["rate-limits", "http", "rfc9110"], "error_strings": [], "source": "https://www.rfc-editor.org/rfc/rfc9110.html", "checked_on": "2026-10-31"} {"id": "PC-023", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Google refresh tokens for apps in 'Testing' expire after 7 days", "tags": ["oauth", "google"], "error_strings": ["invalid_grant"], "source": "https://developers.google.com/identity/protocols/oauth2", "checked_on": "2026-10-31"} {"id": "PC-024", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Other reasons a Google refresh token stops working", "tags": ["oauth", "google"], "error_strings": ["invalid_grant"], "source": "https://developers.google.com/identity/protocols/oauth2", "checked_on": "2026-10-31"} {"id": "PC-025", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A GitHub refresh token works only once", "tags": ["oauth", "github"], "error_strings": [], "source": "https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens", "checked_on": "2026-10-31"} {"id": "PC-026", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Device flow polling: authorization_pending and slow_down mean keep polling, other errors mean stop", "tags": ["oauth", "device-flow", "rfc8628"], "error_strings": ["authorization_pending", "slow_down", "access_denied", "expired_token"], "source": "https://www.rfc-editor.org/rfc/rfc8628.html", "checked_on": "2026-10-31"} {"id": "PC-027", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "git can hang waiting for a password prompt", "tags": ["headless", "git"], "error_strings": [], "source": "https://git-scm.com/docs/git", "checked_on": "2026-10-31"} {"id": "PC-028", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "git and gh can open a pager and block a non-interactive session", "tags": ["headless", "git", "pager"], "error_strings": [], "source": "https://git-scm.com/docs/git", "checked_on": "2026-10-31"} {"id": "PC-029", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "apt and dpkg can stop on configuration questions", "tags": ["headless", "debian", "apt"], "error_strings": [], "source": "https://manpages.debian.org/bookworm/debconf-doc/debconf.7.en.html", "checked_on": "2026-10-31"} {"id": "PC-030", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "pip can wait for input unless --no-input is set", "tags": ["headless", "pip", "python"], "error_strings": [], "source": "https://pip.pypa.io/en/stable/cli/pip/", "checked_on": "2026-10-31"} {"id": "PC-031", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "gh: set GH_TOKEN so it never prompts, and GH_PROMPT_DISABLED for other prompts", "tags": ["headless", "github-cli"], "error_strings": [], "source": "https://cli.github.com/manual/gh_help_environment", "checked_on": "2026-10-31"} {"id": "PC-032", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "claude -p in a repository connects project MCP servers and runs hooks without asking", "tags": ["headless", "claude-code"], "error_strings": [], "source": "https://code.claude.com/docs/en/headless", "checked_on": "2026-10-31"} {"id": "PC-033", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "claude -p reports in-run failures on stdout, not stderr", "tags": ["headless", "claude-code"], "error_strings": [], "source": "https://code.claude.com/docs/en/headless", "checked_on": "2026-10-31"} {"id": "PC-034", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "codex exec runs read-only by default and prints only the final message on stdout", "tags": ["headless", "codex"], "error_strings": [], "source": "https://developers.openai.com/codex/noninteractive", "checked_on": "2026-10-31"} {"id": "PC-035", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Gemini CLI headless mode starts when stdin is not a TTY", "tags": ["headless", "gemini-cli"], "error_strings": ["Input error (invalid prompt or arguments)", "Turn limit exceeded"], "source": "https://geminicli.com/docs/cli/headless/", "checked_on": "2026-10-31"} {"id": "PC-036", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "For unpaid-tier and Google One users, Gemini CLI was replaced by Antigravity CLI", "tags": ["headless", "antigravity", "gemini-cli"], "error_strings": ["Gemini CLI was replaced by Antigravity CLI"], "source": "https://geminicli.com/docs/cli/headless/", "checked_on": "2026-10-31"} {"id": "PC-037", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A handful of MCP servers can eat tens of thousands of tokens before any work", "tags": ["context-bloat", "mcp", "anthropic"], "error_strings": [], "source": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool", "checked_on": "2026-10-31"} {"id": "PC-038", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Tool selection gets worse beyond roughly 30 to 50 tools", "tags": ["context-bloat", "mcp", "anthropic"], "error_strings": [], "source": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool", "checked_on": "2026-10-31"} {"id": "PC-039", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Claude Code limits MCP tool output to 25,000 tokens by default", "tags": ["context-bloat", "mcp", "claude-code"], "error_strings": ["MAX_MCP_OUTPUT_TOKENS"], "source": "https://code.claude.com/docs/en/mcp", "checked_on": "2026-10-31"} {"id": "PC-040", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Gemini CLI can allow-list MCP tools per server", "tags": ["context-bloat", "mcp", "gemini-cli"], "error_strings": ["includeTools", "excludeTools"], "source": "https://geminicli.com/docs/tools/mcp-server/", "checked_on": "2026-10-31"} {"id": "PC-041", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Codex can enable or disable single MCP tools, and a slow server may not start within the default 10 seconds", "tags": ["context-bloat", "mcp", "codex"], "error_strings": ["startup_timeout_sec", "enabled_tools", "disabled_tools"], "source": "https://developers.openai.com/codex/mcp", "checked_on": "2026-10-31"} {"id": "PC-042", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Claude Code reads AGENTS.md only when there is no CLAUDE.md", "tags": ["instruction-files", "claude-code", "agents-md"], "error_strings": ["AGENTS.md"], "source": "https://code.claude.com/docs/en/memory", "checked_on": "2026-10-31"} {"id": "PC-043", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "CLAUDE.md is context, not enforcement", "tags": ["instruction-files", "claude-code"], "error_strings": ["PreToolUse"], "source": "https://code.claude.com/docs/en/memory", "checked_on": "2026-10-31"} {"id": "PC-044", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Gemini CLI reads GEMINI.md by default; to read AGENTS.md set context.fileName", "tags": ["instruction-files", "gemini-cli", "agents-md"], "error_strings": ["context.fileName"], "source": "https://geminicli.com/docs/cli/gemini-md/", "checked_on": "2026-10-31"} {"id": "PC-045", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Codex stops reading AGENTS.md files at 32 KiB combined", "tags": ["instruction-files", "codex", "agents-md"], "error_strings": ["project_doc_max_bytes"], "source": "https://developers.openai.com/codex/guides/agents-md", "checked_on": "2026-10-31"} {"id": "PC-046", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "GitHub Copilot's agent uses the nearest AGENTS.md; CLAUDE.md or GEMINI.md are accepted at the repository root", "tags": ["instruction-files", "copilot", "agents-md"], "error_strings": [".github/copilot-instructions.md"], "source": "https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions", "checked_on": "2026-10-31"} {"id": "PC-047", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Antigravity silently discards rules with wrong frontmatter and ignores nested rule folders", "tags": ["instruction-files", "antigravity"], "error_strings": [], "source": "https://antigravity.google/docs/rules/", "checked_on": "2026-10-31"} {"id": "PC-048", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Antigravity truncates a single rule file larger than 24,000 bytes", "tags": ["instruction-files", "antigravity"], "error_strings": [], "source": "https://antigravity.google/docs/rules/", "checked_on": "2026-10-31"} {"id": "PC-049", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "An MCP server must answer 401 with a WWW-Authenticate header pointing to its metadata", "tags": ["remote-mcp-oauth", "mcp", "oauth"], "error_strings": ["WWW-Authenticate", "resource_metadata"], "source": "https://modelcontextprotocol.io/specification/latest/basic/authorization", "checked_on": "2026-10-31"} {"id": "PC-050", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Missing scopes should be a 403 insufficient_scope, not a generic failure", "tags": ["remote-mcp-oauth", "mcp", "oauth"], "error_strings": ["insufficient_scope", "403 Forbidden"], "source": "https://modelcontextprotocol.io/specification/latest/basic/authorization", "checked_on": "2026-10-31"} {"id": "PC-051", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Claude Code: a url entry without type is skipped as a stdio server", "tags": ["remote-mcp-oauth", "claude-code", "mcp"], "error_strings": ["has a \"url\" but no \"type\"", "add \"type\": \"http\""], "source": "https://code.claude.com/docs/en/mcp", "checked_on": "2026-10-31"} {"id": "PC-052", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Claude Code: a rejected Authorization header does not fall back to OAuth", "tags": ["remote-mcp-oauth", "claude-code", "mcp"], "error_strings": ["headers.Authorization"], "source": "https://code.claude.com/docs/en/mcp", "checked_on": "2026-10-31"} {"id": "PC-053", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Claude Code: 'does not support dynamic client registration' needs a pre-registered OAuth client", "tags": ["remote-mcp-oauth", "claude-code", "mcp"], "error_strings": ["Incompatible auth server", "does not support dynamic client registration"], "source": "https://code.claude.com/docs/en/mcp", "checked_on": "2026-10-31"} {"id": "PC-054", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Gemini CLI MCP OAuth needs a local browser and a localhost callback", "tags": ["remote-mcp-oauth", "gemini-cli", "mcp"], "error_strings": [], "source": "https://geminicli.com/docs/tools/mcp-server/", "checked_on": "2026-10-31"} {"id": "PC-055", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Gemini CLI rejects OAuth callbacks that lack the iss parameter", "tags": ["remote-mcp-oauth", "gemini-cli", "mcp"], "error_strings": ["authorizationResponseIssParameterSupported", "iss"], "source": "https://geminicli.com/docs/tools/mcp-server/", "checked_on": "2026-10-31"} {"id": "PC-056", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Codex: run 'codex mcp login' for OAuth servers; with no credential it connects unauthenticated", "tags": ["remote-mcp-oauth", "codex", "mcp"], "error_strings": ["codex mcp login"], "source": "https://developers.openai.com/codex/mcp", "checked_on": "2026-10-31"} {"id": "PC-057", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Claude custom connectors call your server from Anthropic's cloud, even in desktop apps", "tags": ["remote-mcp-oauth", "claude", "mcp"], "error_strings": [], "source": "https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp", "checked_on": "2026-10-31"} {"id": "PC-058", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "ChatGPT and Codex reject MCP auth servers that do not advertise PKCE S256", "tags": ["remote-mcp-oauth", "chatgpt", "mcp"], "error_strings": ["S256", "code_challenge_methods_supported"], "source": "https://developers.openai.com/apps-sdk/build/auth", "checked_on": "2026-10-31"} {"id": "PC-059", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "A stdio MCP server must never print non-protocol text to stdout", "tags": ["remote-mcp-oauth", "mcp", "stdio"], "error_strings": [], "source": "https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/stdio", "checked_on": "2026-10-29"} {"id": "PC-060", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "Treat fetched web content as data, never as instructions", "tags": ["prompt-injection", "web-content", "security", "agents"], "error_strings": [], "source": "https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6372438", "checked_on": "2026-10-29"} {"id": "PC-061", "part": "pitfall-cards", "file": "pitfall-cards/cards.jsonl", "title": "What your agent parses from a page can differ from what a person sees", "tags": ["prompt-injection", "html", "content-injection", "security"], "error_strings": ["