Skip to content

Review kit: small follow-ups from the #955 reviews #957

Closed

Description

@scuttletoby

Small follow-ups from the three lens reviews of #955 (all SAFE TO MERGE). None changes what the gate passes or fails; they make the kit's advice match the gate and its cost numbers right.

  1. fork-kit/review/lib/review_kit.py:151: when the base config exists but git cannot read it (missing object, offline partial clone), plan says "no queue config" and exits 0 with one lens. Tell "file not there" apart from other git errors and fail with exit 2.
  2. fork-kit/review/lib/review_kit.py:183: plan does not run the gate's Checkout.problem() before reading changes, so a repo with info/grafts can give different paths than the gate. Run the same check, or soften the docstring's "never fewer paths than the gate sees".
  3. fork-kit/review/lib/review_eval.py:316-360: the cost count misses sub-agent transcripts saved beside the run's file (when the run is itself a sub-agent) and under subagents/workflows/wf_*/; sub-agent tokens are priced at the run's model, and model_seen can become a sub-agent's model.
  4. plan without --settings on the fork says "normal, one lens". Add --settings to the copyable commands in COMMENTS.md:12 and SKILL.md:38/158/192, and print a hint in the "no queue config" message when a fork-review-kit.json or similar settings file is present.
  5. Fork facts in the general kit: fork-kit/review/tests/plan.test.py:333 (Fork class) and REVIEW.md:71. Move the test to the fork's contract tests.
  6. .github/fork-pr-queue.json:35: keep the list in alphabetical order.

Review comments: #955 (state, merge-path, code lenses).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions