Skip to content

feat!: prefix team-harness config fields with team_harness_#10

Merged
fazpu merged 1 commit into
mainfrom
feat/team-harness-prefix-config-fields
Apr 22, 2026
Merged

feat!: prefix team-harness config fields with team_harness_#10
fazpu merged 1 commit into
mainfrom
feat/team-harness-prefix-config-fields

Conversation

@fazpu

@fazpu fazpu commented Apr 22, 2026

Copy link
Copy Markdown
Member

Summary

Rename the five loopy_loop_config.yaml root-config fields that map directly to the team-harness SDK so their purpose is explicit in the file:

before after
model team_harness_model
agents team_harness_agents
api_base team_harness_api_base
api_key_env team_harness_api_key_env
system_prompt_extension team_harness_system_prompt_extension

Other root-config fields (goal, goal_slug, completion_criteria, stop_criteria, max_turns, goal_check_consecutive_failures_cap) are loopy-loop's own concerns and stay unprefixed.

Touches RootConfig, RootConfigSnapshot, the @field_validator target, resolve_api_key, the harness_runner snapshot accesses, the loopy init YAML template, README, docs/http-contract.md, and all affected tests/fixtures.

BREAKING CHANGE

Existing loopy_loop_config.yaml files must rename the five fields. No backwards-compatible aliases — loading a pre-rename config fails validation.

Test plan

  • uv run pytest src/tests/ — 62 passed
  • uv run ruff check src/ — clean
  • uv run pyright src/loopy_loop/ — 0 errors

The five fields in loopy_loop_config.yaml that map directly to the
team-harness SDK are renamed so their purpose is explicit:

- model -> team_harness_model
- agents -> team_harness_agents
- api_base -> team_harness_api_base
- api_key_env -> team_harness_api_key_env
- system_prompt_extension -> team_harness_system_prompt_extension

RootConfig, RootConfigSnapshot, the field validator target, the
resolve_api_key lookup, the harness_runner snapshot access, the init
YAML template, README, http-contract docs, and all tests updated.

BREAKING: Existing loopy_loop_config.yaml files must be updated. No
backwards-compatible aliases.

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