From 3baf619a6ddf29f00d16dc2da6032898db179e83 Mon Sep 17 00:00:00 2001 From: Jeremy Daer Date: Wed, 29 Jul 2026 02:01:04 -0700 Subject: [PATCH] Drop a miscounted exit-code claim and list the third prompt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "8 typed exit codes (0–8)" is nine codes: output/codes.go defines ExitOK through ExitAmbiguous, 0 to 8 inclusive. Rather than correct 8 to 9 and leave a number to drift the next time a code is added, the count is replaced by a pointer to the file that defines them. prompts/ was described as two files and holds three -- close-input-gap.md was missing. --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 1ce9894..ab31a8c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,7 +15,7 @@ surface/ CLI surface snapshots and compatibility diffing seed/ Templates for bootstrapping new CLIs actions/ Reusable GitHub Actions (rubric-check, surface-compat, sync-skills) skills/ Agent skills distributed via basecamp/skills -prompts/ Agent prompts (seed-cli.md, close-gap.md) +prompts/ Agent prompts (seed-cli.md, close-gap.md, close-input-gap.md) RUBRIC.md 37signals CLI rubric specification Makefile Build and test targets @@ -27,7 +27,7 @@ All packages import from `github.com/basecamp/cli/`. | Package | Purpose | |---------|---------| -| `output` | JSON response/error envelopes, 8 typed exit codes (0–8), TTY auto-detection | +| `output` | JSON response/error envelopes, typed exit codes (see `output/codes.go`), TTY auto-detection | | `credstore` | System keyring with file fallback (0600); caller-configured `DisableEnvVar` forces file mode | | `pkce` | `GenerateVerifier()` and `GenerateChallenge()` for OAuth PKCE flows | | `oauthcallback` | `WaitForCallback()` starts local server, returns authorization code |