Task: Bring ores.cli to the clean standard
Table of Contents
This page documents a task in the Clean ores.cli to the component clean standard story. It captures the goal, current status, acceptance, and any notes or results.
1. Goal
ores.cli passes the Component Clean Standard for a component of kind All.
2. Status
| Field | Value |
|---|---|
| State | ABANDONED |
| Parent story | Clean ores.cli to the component clean standard |
| Now | Closed unstarted. The component retires instead. |
| Waiting on | Nothing. |
| Next | Nothing. |
| Last touched | 2026-09-23 |
3. Acceptance
- Every checklist item that applies to a component of kind All passes, with its evidence recorded on the task.
- Every item that does not apply is recorded as not applicable, with the reason.
- Every generator defect found is fixed at its source, with a regression test.
- ores.cli is listed in
COMPONENTS_UNDER_TEST, andcheck_component_drift.py --allpasses.
4. Plan
Work the Component Clean Standard in its section order, one entity at a time, and record each item's result in the table below.
- Baseline and inventory (B01 to B05). Record the baseline before any edit.
- Models (M01 to M10).
- Protocol (P01 to P06).
- Generation (G01 to G06).
- Wiring and data (W01 to W04).
- Shell (S01, S02).
- Structure and hygiene (H01 to H03).
- Verification (V01 to V06), ending with the registry entry.
| Item | Result | Evidence |
|---|---|---|
5. Notes
6. Test Scenarios
Manual QA scenarios (scaffolded via compass add test_scenario)
that verify this task. Link
new ones here as they're created; the scenario doc itself links back
via its "Verifies task" field.
| Scenario | State | Notes |
|---|---|---|
7. PRs
| PR | Title |
|---|---|
8. Review
| Comment summary | File | Decision | Notes |
|---|---|---|---|
9. Result
Closed without running the checklist. A decommission review on 2026-09-23 found no capability that the shell or the service layer does not already provide, so cleaning the component would have spent effort on code that then gets deleted. The work moves to Decommission ores.cli.
What the review established:
ores.clipasses the automated half of the standard today (validate_docs.pyreports all 42 components clean), so the clean pass had no validator failure to fix.- Its 125 test cases are 95% argument parsing. The six that touch the
database are covered better elsewhere:
currency_repositoryby 12 cases inores.refdata/core/tests, andimport_currency_configby 3 cases inores.ore/core/tests. - The shell covers the same entity surface through the service layer, with 73 command units against the CLI's direct-repository calls.
- Compute host registration, the one capability that looked unique, is
not:
work_handler::heartbeatauto-registers a host on its first heartbeat. - The only capability with no replacement is bulk file import and export straight to the database, and no automated path calls it.