Skip to content

feat!: rename Harness SDK to TeamHarness and env vars to TEAM_HARNESS_*#53

Merged
fazpu merged 1 commit intomainfrom
feat/rename-harness-to-team-harness
Apr 22, 2026
Merged

feat!: rename Harness SDK to TeamHarness and env vars to TEAM_HARNESS_*#53
fazpu merged 1 commit intomainfrom
feat/rename-harness-to-team-harness

Conversation

@fazpu
Copy link
Copy Markdown
Member

@fazpu fazpu commented Apr 22, 2026

Summary

  • BREAKING: Renames public SDK classes HarnessTeamHarness, HarnessResultTeamHarnessResult, HarnessErrorTeamHarnessError so they match the package name. Also renames the internal HarnessConsole UI class to TeamHarnessConsole.
  • BREAKING: Renames environment variables HARNESS_*TEAM_HARNESS_* (TEAM_HARNESS_PROVIDER, TEAM_HARNESS_MODEL, TEAM_HARNESS_API_BASE, TEAM_HARNESS_CODEX_AUTH_PATH, TEAM_HARNESS_DEPTH). No backwards-compatible aliases.
  • README and CHANGELOG updated.

Downstream impact

Any consumer importing Harness, HarnessResult, or HarnessError from team_harness, or setting HARNESS_* env vars, must be updated. Internally this includes any downstream wrapper (e.g. loopy-loop's harness_runner).

Test plan

  • uv run pytest src/tests/test_harness.py src/tests/test_config.py src/tests/test_codex_auth.py src/tests/test_registry.py src/tests/test_agent_tools.py src/tests/test_console.py src/tests/test_todo_tools.py — 155 passed
  • uv run ruff check src/ — all checks passed
  • Run full test suite once CI picks it up

…_HARNESS_*

BREAKING CHANGE: Public SDK classes `Harness`, `HarnessResult`,
`HarnessError` are renamed to `TeamHarness`, `TeamHarnessResult`,
`TeamHarnessError` so they match the package name. The internal
`HarnessConsole` UI class is renamed to `TeamHarnessConsole`.

Environment variables `HARNESS_PROVIDER`, `HARNESS_MODEL`,
`HARNESS_API_BASE`, `HARNESS_CODEX_AUTH_PATH`, and `HARNESS_DEPTH`
are renamed to their `TEAM_HARNESS_*` equivalents. No
backwards-compatible aliases — existing scripts and deployments
must be updated.

README and CHANGELOG updated accordingly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@fazpu fazpu merged commit ff6dca3 into main Apr 22, 2026
3 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