Skip to content

How to run the reviewer

The reviewer reads what telltale recorded for each of your apps, asks Claude to turn related problems and feedback into proposed fixes, and adds them to each app’s review queue. You need Python 3.11 or newer, uv, and the claude command line.

  1. Install it from the telltale checkout:

    Terminal window
    cd reviewer && uv sync
  2. Copy the example config:

    Terminal window
    mkdir -p ~/.config/telltale-review
    cp reviewer.example.toml ~/.config/telltale-review/reviewer.toml
  3. Add one [[sources]] entry per app, and set the two environment variables it names:

    [[sources]]
    app = "myapp"
    base_url = "https://myapp.example.org/api/_telltale"
    read_key_env = "MYAPP_TELLTALE_READ_KEY"
    admin_key_env = "MYAPP_TELLTALE_ADMIN_KEY"

    The admin key is used only to add proposals.

  4. Do a dry run. It writes what it would send to ~/.local/state/telltale-review/ and sends nothing:

    Terminal window
    uv run telltale-review --config ~/.config/telltale-review/reviewer.toml run
  5. When the drafts look right, post them:

    Terminal window
    uv run telltale-review --config ~/.config/telltale-review/reviewer.toml run --post
  6. Run step 5 daily from cron or another scheduler.

The reviewer README lists every config setting.

The reviewer never files issues. Its drafts appear in the console under Suggested fixes, and a person files the ones worth filing. This needs TELLTALE_REPO set to the app’s repo.

  1. Open a suggested fix and read the draft. If the repo is public and the draft is not marked safe to post, the console lists the reasons. Edit the text or dismiss the item.
  2. Press Open issue on GitHub. GitHub’s new-issue form opens with the title and body filled in. Submit it there.
  3. Paste the new issue’s URL into the console and press Mark as filed. The problems and feedback the fix cites are marked filed with it.

From a terminal, telltale issue ID --open opens the form, and telltale link ID URL records the issue.

How it works explains what makes a draft unsafe to post.