Skip to content

Meta: Prioritise refactoring audit findings #347

Description

@lodyai

Goal

Track and prioritise the refactoring and documentation findings from the Rust/router + leta + wyvern audit.

Priority Order

  1. Remove dead duplicated source first; it is low risk and reduces search/review noise immediately.
  2. Decouple runner process execution from CLI and make stderr routing explicit. These two should be designed together because they touch the same boundary.
  3. Fix reporter/timing output injection. This improves testability before deeper status changes.
  4. Extract repeated CLI hint scanning. This is a small mechanical refactor with focused tests.
  5. Split runner generation from reporting and manifest expansion from telemetry. These are broader architecture cleanups and should follow the boundary work.
  6. Repair stale documentation paths and improve Rustdoc examples. Docs path fixes are small, while broad example coverage can be staged.

Blocked By

Finding Issues

Notes

Each issue should be handled as an atomic change with the repository quality gates run before merging. For code changes, use the Makefile targets required by AGENTS.md: make check-fmt, make lint, and make test.

Rescope (2026-08-12)

Checklist refresh from the relevance sweep against main:

The stale June draft PRs for several of these children (#364, #365, #366, #371, #373, #374, #375, #376, #382) predate the crate rename and the env-seam series; treat them as reference material, not starting points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationmediumRoadmap items to schedule within the current quarter. Clear scope, normal review cycles.refactorBehaviour-preserving restructuring that improves code health.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions