Strengthen the automated coverage for the core test and tooling surfaces.
Scope:
- Add at least one regression test for a bug-prone backend path.
- Cover a frontend or API behavior that currently relies on manual verification.
- Expand assertions so failures are easier to diagnose.
Acceptance criteria:
- A new or updated test fails before the bug fix and passes after it.
- The touched area has a clear test name and a short note about the scenario it protects.
Strengthen the automated coverage for the core test and tooling surfaces.
Scope:
Acceptance criteria: