Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codehs/bool-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1374f26
Choose a base ref
...
head repository: codehs/bool-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 324d2f0
Choose a head ref
  • 5 commits
  • 16 files changed
  • 1 contributor

Commits on May 8, 2026

  1. Align CLI with Printing Press agent-native conventions

    Adopt the standard agent-native flag set, typed exit codes, and
    auto-JSON-on-pipe behavior described at https://printingpress.dev/.
    
    - Global flags on every command: --json, --csv, --select, --compact,
      --quiet, --no-color, --no-input, --dry-run.
    - Auto-emit JSON when stdout is piped (no flag needed).
    - Typed exit codes: 0 success, 2 usage, 3 not found, 4 auth, 5 API,
      7 rate limited. API client maps HTTP status accordingly.
    - Errors include a hint pointing at the offending flag/value or the
      remediation step so agents can self-correct in one retry.
    - New 'auth doctor' subcommand reports key presence, reachability,
      and authenticated-call validity as a structured check list.
    - Shared action wrapper (src/utils/action.js) plumbs global flags
      into every handler and turns CliError into the right exit code.
    - Status messages route to stderr; structured data to stdout, so
      pipelines like `bool list | jq` work without losing logs.
    claude committed May 8, 2026
    Configuration menu
    Copy the full SHA
    2a5f927 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a73bf11 View commit details
    Browse the repository at this point in the history
  3. Fix auth status exit code in structured output mode

    In JSON/CSV/piped mode auth status returned early after printing the
    payload, leaving exit code 0 even when the health check had failed.
    Set EXIT.API before returning, matching how auth doctor already
    handles the same case.
    
    Reported by Devin Review on PR #10.
    claude committed May 8, 2026
    Configuration menu
    Copy the full SHA
    5d14f3b View commit details
    Browse the repository at this point in the history

Commits on May 12, 2026

  1. Add git push-to-deploy via a bool::<slug> remote helper

    Run `bool git init` to register a `bool` remote, then `git push bool main`
    to deploy. Git invokes the new `git-remote-bool` helper when it sees the
    `bool::<slug>` URL scheme. The helper:
    
    - Speaks the git remote-helper protocol on stdin/stdout.
    - Accepts pushes (we don't track remote refs — empty `list for-push`
      means git treats every local ref as new).
    - For each `push <src>:<dst>`, resolves the source ref, materializes it
      into a temporary detached `git worktree`, and runs `bool deploy <slug>`
      there with a `git push <branch> (<sha7>)` commit message.
    - Writes `ok <ref>` / `error <ref> <reason>` back so git prints the
      familiar `* [new branch] main -> main` summary.
    
    `bin/git-remote-bool.js` is registered in package.json `bin` so a global
    install puts it on PATH alongside `bool`, where git can find it.
    
    The new `bool git init` command adds (or updates) the remote from the
    project's `.bool/config` slug.
    claude committed May 12, 2026
    Configuration menu
    Copy the full SHA
    dcfea93 View commit details
    Browse the repository at this point in the history
  2. Pass explicit '.' to bool deploy in git-remote-bool

    bool deploy's first-positional-arg heuristic reinterprets the slug as
    a directory path when a top-level folder of the same name exists. In a
    git-push-to-deploy worktree this meant pushing to e.g. bool::docs would
    silently auto-create a new Bool named after the directory instead of
    deploying to the intended slug. Pass '.' explicitly to lock the slug in
    as a slug.
    
    Reported by Devin Review on PR #11.
    claude committed May 12, 2026
    Configuration menu
    Copy the full SHA
    324d2f0 View commit details
    Browse the repository at this point in the history
Loading