---
id: TASK-1
title: Add unit tests for core/config modules and remove dummy tests
status: Done
assignee: []
created_date: '2026-02-23 12:50'
updated_date: '2026-02-23 19:30'
labels:
  - tests
dependencies: []
references:
  - src/core/mod.rs
  - src/core/cli.rs
  - src/core/exec.rs
  - src/core/config.rs
  - src/config/load.rs
  - src/config/schema.rs
  - tests/
documentation:
  - docs/spec.md
  - docs/plan.md
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Establish unit test coverage for the implemented core and config functionality, and remove placeholder tests. Focus on real behaviors in core and config modules (and their submodules), excluding main for now.
<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 Placeholder/dummy unit tests (e.g. it_works) are removed from the codebase.
- [x] #2 Unit tests cover core module behaviors (cli, exec, config) without relying on main.
- [x] #3 Unit tests cover config module behaviors (load, schema) including overlay and arg parsing.
- [x] #4 Tests avoid network/IO beyond controlled temp directories where needed.
- [x] #5 Test suite passes via just test or cargo test as appropriate.
<!-- AC:END -->

## Implementation Notes

<!-- SECTION:NOTES:BEGIN -->
All subtasks (TASK-1.1/1.2/1.3) completed and verified with just test/just check. User requested closing TASK-1.
<!-- SECTION:NOTES:END -->
