Before filing
Closest existing issue
none found
What is broken
Harness and model settings saved for a bundled agent are replaced by the packaged defaults the next time Berd starts.
Steps to reproduce
- Launch Berd.
- Open Agents and edit a bundled agent.
- Select a harness and model, then wait for the edit to save.
- Quit and reopen Berd.
- Reopen that agent.
What you expected to happen
The selected harness and model persist across restarts.
What actually happened
The agent returns to its packaged configuration and the saved provider, modelProviderId, and model fields disappear.
How often does it happen?
Every time — reliably reproducible when a previously seeded bundled agent differs from its packaged copy.
Berd version
0.6.2
Operating system
macOS 26.5.2, Apple Silicon
Model and provider
n/a — this occurs in agent configuration before any chat turn.
Relevant log output
[2026-08-20][05:45:47][berd_lib][INFO] Seeded 7 bundled agent(s)
Screenshots, recordings, or other context
The editor preserves metadata.berdBundled: true. At startup, should_install_agent refreshes any previously seeded, still-marked file whose bytes differ from the packaged source. install_agent_file then atomically replaces the edited file. The repository test replaces_edited_seeded_agent_before_launch confirms this behavior.
User-owned routing fields need to survive bundled-agent refresh, or editing a bundled agent should convert it to a personal copy.
Before filing
Closest existing issue
none found
What is broken
Harness and model settings saved for a bundled agent are replaced by the packaged defaults the next time Berd starts.
Steps to reproduce
What you expected to happen
The selected harness and model persist across restarts.
What actually happened
The agent returns to its packaged configuration and the saved
provider,modelProviderId, andmodelfields disappear.How often does it happen?
Every time — reliably reproducible when a previously seeded bundled agent differs from its packaged copy.
Berd version
0.6.2
Operating system
macOS 26.5.2, Apple Silicon
Model and provider
n/a — this occurs in agent configuration before any chat turn.
Relevant log output
Screenshots, recordings, or other context
The editor preserves
metadata.berdBundled: true. At startup,should_install_agentrefreshes any previously seeded, still-marked file whose bytes differ from the packaged source.install_agent_filethen atomically replaces the edited file. The repository testreplaces_edited_seeded_agent_before_launchconfirms this behavior.User-owned routing fields need to survive bundled-agent refresh, or editing a bundled agent should convert it to a personal copy.