Skip to content

chore(sync): quality-hardening + SDK sessions module, client/tools/types updates#21

Merged
Patel230 merged 5 commits into
mainfrom
chore/sync-quality-hardening-and-sessions
Jun 30, 2026
Merged

chore(sync): quality-hardening + SDK sessions module, client/tools/types updates#21
Patel230 merged 5 commits into
mainfrom
chore/sync-quality-hardening-and-sessions

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

Sync quality-hardening changes from local-main development to the public main branch in a single auditable PR. Includes:

  • ci: add CODEOWNERS, dependabot.yml, SHA-pinned actions (CI infra)
  • chore: remove dependabot.yml (rotation step)
  • chore: merge quality-hardening into main (CI scoring consolidation)
  • feat: ... (was branched separately in this repo; see commit log)

Verification

  • lefthook pre-push gates (govulncheck, go vet, go test) pass locally. Two trace tests (TestResolveCommitUnambiguous_MultipleCommitMatches, TestPromptYN_ContextCanceled) are flaky under heavy local parallelism; both pass when run in isolation and were green in the prior merged PR for the same files on remote CI.
  • Branch is pushed as a feature branch (not direct-pushed) per repo's protected-branch policy.

Patel230 and others added 5 commits June 26, 2026 06:24
CI mypy --strict flagged two ToolResult() call sites in tools.py for
missing the `is_error` named argument, and ruff flagged 13 lint issues
in the new sessions.py / test_sessions.py module added in the previous
commit.

- Pass `is_error=` explicitly at both chat_with_tools entry points,
  using `bool(tool_name) and tool_name not in tool_map` so unknown
  tool names are flagged as errors.
- Replace deprecated `typing.Dict` / `typing.List` with `dict` /`list`
  (PEP 585; SDK already targets Python 3.9+ where these work natively).
- Drop unused `Optional` import and `typing.Dict` import.
- Strip quotes from forward-reference `"Phase"` annotation (UP037).
- Replace en-dash in `phase_share` docstring with hyphen-minus
  (RUF002).
- Organize and prune unused imports in tests/test_sessions.py
  (I001, F401).
@Patel230 Patel230 merged commit aa01451 into main Jun 30, 2026
10 checks passed
@Patel230 Patel230 deleted the chore/sync-quality-hardening-and-sessions branch June 30, 2026 06:14
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.

2 participants