Skip to content

Clean up review findings: remove dead clarification code, fix stale version, honest max_turns docs#54

Merged
sbroenne merged 1 commit into
mainfrom
stbrnner-microsoft-silver-meme
Jul 14, 2026
Merged

Clean up review findings: remove dead clarification code, fix stale version, honest max_turns docs#54
sbroenne merged 1 commit into
mainfrom
stbrnner-microsoft-silver-meme

Conversation

@sbroenne

Copy link
Copy Markdown
Owner

Acts on the expert repo review. Small, focused cleanup — no behavior change to shipped features.

Changes

Removed dead code

  • Deletes execution/clarification.py (check_clarification). It had zero callers anywhere in the codebase and was never wired into the Copilot execution path, yet "clarification detection" was advertised in the README. Removed the module and the two README claims to keep docs honest (per the repo's no-dead-code policy).

Honest docs for max_turns

  • CopilotEval docstrings claimed the runner "enforces turn limits externally". It does not — the runner enforces timeout_s (hard wall-clock limit). max_turns is advisory for the top-level session and is only used to cap subagent turns. Docstrings corrected to match reality.

Packaging hygiene

  • pyproject.toml version 0.5.70.6.14 (was 8 releases stale; the release workflow derives version from git tags so the committed value had drifted).
  • Trove classifier Development Status :: 3 - Alpha4 - Beta.

Housekeeping

  • Roll CHANGELOG.md [Unreleased] into a dated [0.6.13] section and add entries for this PR.
  • Git-ignore the .pytest-execution-servers/ scratch directory some server tests create.

Verification (WSL venv — native ARM64 can't build deps)

  • ruff checkruff format --checkpyright src ✅ (0 errors)
  • pytest tests/unit520 passed

…ersion, honest max_turns docs

- Remove unused execution/clarification.py (check_clarification had zero
  callers and was never wired into the Copilot path) plus its README claims.
- Correct CopilotEval max_turns docstrings: the runner enforces timeout_s;
  max_turns is advisory (not hard-enforced mid-run) and caps subagent turns.
- Bump pyproject version 0.5.7 -> 0.6.14 and classifier Alpha -> Beta.
- Roll CHANGELOG [Unreleased] into a dated [0.6.13] section; add new entries.
- git-ignore the .pytest-execution-servers/ test scratch directory.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: afaf3899-ebf3-4aef-930d-989f2eadaeb4
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sbroenne
sbroenne merged commit ecd34c5 into main Jul 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant