---
id: TASK-6
title: Document private config helpers
status: Done
assignee:
  - '@codex'
created_date: '2026-02-24 13:55'
updated_date: '2026-02-24 14:02'
labels: []
dependencies: []
references:
  - src/core/config.rs
documentation:
  - docs/spec.md
  - docs/plan.md
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Add Rust doc comments for private helper functions in config module to satisfy missing_docs_in_private_items and match existing style.
<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 `src/core/config.rs` has doc comments for `find_upwards`, `select_profile`, `default_profile`, `is_sysbuild`, `discover_zephyr`, and `find_zephyr_workspace` consistent with existing module style.
- [x] #2 `just check` shows no missing-doc warnings for config helpers.
<!-- AC:END -->

## Implementation Notes

<!-- SECTION:NOTES:BEGIN -->
Started work on documenting private config helpers.

Added doc comments for find_upwards, select_profile, default_profile, is_sysbuild, discover_zephyr, and find_zephyr_workspace in src/core/config.rs. `just check` not run yet.

Ran `just check -- -D warnings`; failed due to missing docs in src/core/cmd.rs and src/config/schema.rs (not config helpers). Acceptance criterion #2 not met yet.

`just check -- -D warnings` now passes; missing-doc warnings resolved.
<!-- SECTION:NOTES:END -->
