When to use
- •You changed how team start parameters map into merge behavior.
- •You changed merge configuration defaults or validation in team startup paths.
- •You edited code that affects the start-time merge config shape.
Goal
Keep team start/merge configuration deterministic and covered by a focused contract test.
Checklist
- •
Identify the contract
- •What are the supported config inputs?
- •What are the defaults when values are omitted?
- •What is the final resolved config (shape + values) the team uses?
- •
Make resolution deterministic
- •Avoid nondeterministic ordering in any serialized/rendered config.
- •Ensure defaulting is explicit and consistent.
- •
Update/add contract coverage
- •Edit
tests/test_team_start_merge_config.pyto assert:- •default config values
- •override precedence rules
- •deterministic ordering for any lists/sections
- •Edit
- •
Verification gate
- •
uv run basedpyright - •
uv run ruff check . - •
uv run pytest tests/test_team_start_merge_config.py
- •
Common failure modes
- •Defaults change silently without test updates.
- •Order-dependent string rendering produces flaky assertions.
- •Multiple call sites resolve config differently (split-brain defaults).
Manual notes
This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.